NEWAI chat: ask your fleet anything, in plain language. Chat with your fleet Read more →

How to find the one robot that's different. Baselines and peer comparison for robot fleets

Fixed thresholds miss most problems on AI robots. How learned baselines, peer comparison and config differences find the one robot that's off, and why.

Illustration for "Find the robot that's different": three robot arms, one in a different colour, with the label "3.8x slower than its peers"

Picture forty arms on four lines. Same hardware, same model, same release. Every dashboard is green. No alert has fired in a week.

One of them takes 900 ms per inference. The other thirty-nine take about 250.

Nobody noticed, because 900 ms is under the 1-second alert threshold someone set when the fleet ran an older, slower model. The arm still finishes its picks. It's just slow, and it drops a few more parts per shift than the rest. The customer will notice before you do.

That's the kind of problem I expect most in AI-powered fleets. A robot that still works, just differently from the others.

The short answer: Compare each robot with its own normal for that hour of the day, and with peers running the same model right now. When one stands out, check how its setup differs from its peers: camera resolution, checkpoint, weights, compute device, versions. Fixed thresholds miss most of this, because model problems drift instead of crossing a line.

Why this got harder with models

At Upswift, most of the devices our customers ran were deterministic. A coffee roaster ran a profile. If something was wrong, it usually crossed a clear line: the disk filled, the process crashed, the temperature went over a limit.

Robots running learned policies are living minds. They decide from what they see, many times a second. The model changes with every checkpoint you ship. The world around each robot changes by the hour. And each robot is far from your team. Problems rarely cross a line. They drift.

Why fixed thresholds fail

Thresholds are still useful for hard limits. Disk at 95%. Temperature at 85 °C. Keep those. But for model behavior, they fail in predictable ways:

  • Normal is different on every robot. An arm with a GPU and an arm running on CPU have different normal inference times. One threshold is either too loose for the first or too tight for the second.
  • Normal changes with every release. A new checkpoint cuts latency from 300 ms to 200 ms. Your 500 ms threshold now hides a robot that regressed to 450.
  • Normal changes during the day. A camera topic that runs at 30 Hz during the shift and 0 Hz at night isn't broken at night. A nightly job that pins the CPU at 3 a.m. isn't an incident.
  • Models degrade, they don't crash. A policy that's 20% slower or 5% less successful doesn't cross a line someone drew six months ago.
  • Nobody maintains them. With a few hundred metrics per robot, the thresholds are set once, then ignored or muted.

You end up with alerts that are either noisy or silent. Both train your team to stop looking.

Two better questions

Instead of "is this number above X?", ask two questions:

  1. Is this robot different from itself? Compared with its own normal, at this hour of the day.
  2. Is this robot different from its peers? Compared with the robots running the same thing right now.

They catch different problems. Together, they catch most of what thresholds miss.

Baselines: is this robot different from itself?

A baseline is the learned normal range of one metric on one robot. Here's how I'd build one.

  • Learn per device, per metric. Not per fleet. Robot 12's normal camera rate might be 29 Hz because of its USB hub. That's fine, as long as it stays 29.
  • Use hourly rollups. You don't need raw samples. An hourly median per metric is enough to learn from, and cheap to keep for weeks.
  • Use the median and the median absolute deviation, not the mean and standard deviation. One spike to 5 seconds during a restart will drag a mean and blow up a standard deviation for days. The median doesn't care.
  • Learn the daily rhythm. If a metric has a pattern by hour of day, a day shift or a nightly job, keep a profile per hour. Then 3 a.m. is compared with other 3 a.m.s, not with noon.
  • Add weekday effects later. After about three weeks you have enough data to see that Sundays are quiet. Before that, you'd be guessing.
  • Use a rolling window. Two weeks is a good default. Long enough to be stable, short enough to follow real changes like a new release.
  • Don't judge too early. A baseline needs about a day of data before it's worth anything. Until then, say "still learning" instead of raising alerts.

Then flag a metric when it's far from normal by two measures at once: many deviations away (I'd start around five), and a meaningful relative difference (around 30%). The second condition matters for quiet metrics. If a value is usually very stable, a tiny change can be many deviations away and still mean nothing.

A good finding reads like a sentence a person would say: "arm-305: /camera/image rate down to 12 Hz, usually 30 Hz at this hour."

Where baselines go wrong

  • Slow drift becomes normal. If a robot gets 2% slower every day for a month, a two-week baseline follows it down. Peer comparison catches what baselines learn to accept.
  • A broken robot from day one. If a robot was misconfigured at install, its baseline is the broken state. Again, peers catch this.
  • Real changes look like anomalies. A release changes normal on purpose. Expect a burst of findings after an update, and use release impact, below, to explain them.

Peers: is this robot different from the others?

The rest of the fleet is the best baseline you have. It's live, it shares the same conditions, and it updates itself every time you ship.

The hard part is choosing peers.

  • Peers run the same thing. Same policy, same ROS topic, same process. Comparing the inference time of a VLA with the inference time of a small classifier tells you nothing.
  • Hardware matters for system metrics. CPU and temperature should be compared on the same board. A Jetson and a Raspberry Pi aren't peers for temperature.
  • Leave the robot out of its own peer group. Compare it with the median of the others. Otherwise a robot in a small group pulls the median toward itself.
  • Require enough peers. With fewer than three, you can't say who's odd. Two robots that disagree are just two robots.
  • Use median and deviation again, plus a floor. Flag when the robot is far from its peers, at least 25% apart, and above an absolute minimum for that metric. A 2 ms difference in a 5 ms call is 40%, and nobody cares.

The finding looks like: "arm-302: inference time 937 ms vs 249 ms on its 10 peers (3.8x)."

That sentence is already more useful than a hundred green dashboards. But it only tells you what. The next part tells you why.

Config differences: the usual explanation

When one robot behaves differently from its peers, its setup is usually different too. Somebody changed something on that robot and forgot. A camera was replaced with a different model. A container came up without GPU access and fell back to CPU.

So for every robot, record the facts that shape model behavior, and compare them across peers:

  • Model inputs. Input shapes, number of images, action shape.
  • Camera format. Resolution and pixel format. A camera at 240x320 when every peer sends 480x640 will make any vision model worse.
  • Checkpoint and weights. The checkpoint name, and a fingerprint of the actual weights file. Fingerprint the file, not the name. A file called model_v3.pt can contain anything.
  • Compute. CPU or CUDA, dtype, number of denoising steps for diffusion-style policies.
  • Software. Agent version, OS and kernel (on the same hardware).

Then flag what most peers, say 70% or more, agree on and this robot doesn't: "arm-307: observation.images.camera_1 is 1x3x240x320 while 10 of its 10 peers have 1x3x480x640."

The best part is putting the two together. When a robot is a peer outlier on inference time, attach the setup differences you found: "its compute is cpu while 10 of its 10 peers have cuda." Now the finding has a probable cause, and the person reading it knows where to look.

Missing things

Some differences are absences. A robot that's missing something its whole group has:

  • A ROS node. "arm-309: no /vla_policy node, which 5 of its 5 peers on line 1 have."
  • A topic. The node is up but never advertised its output.
  • A camera. Unplugged, or fell off the USB bus after a reboot.
  • A model process. The container is running but the model never loaded.

None of these are threshold problems. There's no number to cross. You only see them by comparing with peers. If you run ROS, my post on monitoring ROS 2 across a fleet goes deeper on what to watch in the graph.

Version effects: groups that are different

Sometimes the odd one is a whole group. Split the fleet by a setting and look for a clear gap:

  • Robots on checkpoint pi05-v2 vs pi05-v1.
  • Robots on CUDA vs CPU.
  • Robots on agent 0.13 vs 0.14.
  • Robots on one board revision vs another.

"Devices with checkpoint pi05-v2 have 34% lower inference time than with pi05-v1 (5 vs 6 devices)." That's the kind of fact you'd otherwise only find by accident, months later.

Release impact: did the update actually help?

After a release, someone always asks if it made things better. The naive answer compares the week before with the week after. That's wrong more often than you'd think. Maybe the after week had a lighter shift. Maybe a site was closed for a holiday. Maybe it was hotter.

The better answer is difference-in-differences:

  1. Take the robots that got the update. Compare each one with itself, in equal windows before and after its own update, leaving out the update itself.
  2. Do the same for robots that didn't get the update, over the same calendar windows.
  3. The release's effect is the change on updated robots minus the change on the others.

The robots you didn't update absorb everything that isn't the release: the weather, the holiday, the lighter shift. Require at least three updated robots, a few controls, and an effect clearly larger than the noise before you claim anything.

That's also why I don't like updating everyone at once, even when it feels safe. If every robot updates, you have no controls, and you'll never know what the release really did. The same comparison, run between phases, is what a health gate uses to stop a bad rollout. Amit covers that in phased rollouts and automatic rollback.

If you're building this yourself

  • Group and tag robots so peers mean something. Same line, same hardware, same model. Bad groups make bad peers.
  • Record setup facts per robot. Input shapes, camera format, checkpoint, weights fingerprint, compute device, versions.
  • Keep hourly rollups for at least two weeks.
  • Use the median and median absolute deviation everywhere.
  • Require both a relative and an absolute difference before flagging.
  • Attach the probable cause to every outlier.
  • Write every finding as one sentence with the robot, the metric, its value and what normal is.
  • Recompute often. Every 15 minutes is plenty. Close findings that are no longer true.

And compare the model's metrics along with the computer's: inference time, control-loop rate, action saturation, errors, task success. If you don't collect those yet, start with how to monitor a robot policy in production.

How PhysicalFleet does it

PhysicalFleet learns a normal range for each metric on each robot by hour of day, and compares every robot with peers running the same policy, topic or process. It flags config differences like camera resolution, checkpoint, weights or compute device, missing ROS nodes, topics, cameras and models, version effects, and release impact against robots that weren't updated. Each one is a single sentence with the probable cause. More on our Debug page.

If you're running a fleet and have found your own odd one out in a strange way, I'd love to hear the story.

Common questions

Why don't fixed alert thresholds work for robot fleets?

Normal is different on every robot, it changes with every release, and it changes during the day. Models also degrade gradually instead of crashing, so a policy that's 20% slower never crosses a line drawn six months ago. Keep fixed thresholds for hard limits like disk and temperature, and use baselines and peer comparison for model behavior.

How do I find the anomalous robot in a fleet?

Ask two questions: is this robot different from its own normal at this hour, and is it different from the peers running the same thing right now? Flag it only when the gap is large both in deviations and in relative terms. Then attach the setup differences you find, like a lower camera resolution or a model on CPU instead of CUDA, so the finding comes with a probable cause.

Why use median absolute deviation instead of standard deviation for robot metrics?

Because one spike, like a 5-second inference during a restart, drags the mean and inflates the standard deviation for days. The median and the median absolute deviation barely move. That keeps baselines stable on noisy metrics where occasional outliers are normal.

How long does a robot baseline need to learn what's normal?

About a day before it's worth anything, and around three weeks before weekday patterns like quiet Sundays show up. A rolling window of about two weeks is a good default. Until there's enough data, report that it's still learning instead of raising alerts.

How do I choose peers when comparing robots?

Peers should run the same policy, topic or process, and for system metrics like CPU and temperature they should also run on the same hardware. Leave the robot out of its own peer group and compare it with the median of the others. With fewer than three peers, you can't say which one is odd.

#robot fleet anomaly detection#baselines#peer comparison#fleet monitoring#release impact#robot observability
Eitan ChudnovskyCo-founder, PhysicalFleet

From the lab bench. To the entire fleet.

Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.

Free for up to 3 machines · Then pay as you go