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

How one robot's experience can improve the whole fleet

Hard frames and failed cycles are a robot fleet's best training data. How to collect them, respect privacy and retrain without spreading mistakes.

Illustration for "Learning from the field": a tractor, a camera, with the label "hard frames → dataset"

There's a question I keep coming back to since we started PhysicalFleet: how does one machine's experience help the rest of the fleet improve, without spreading its mistakes?

At Upswift, this question didn't exist. A welding machine didn't learn anything from a day of welding. If one unit had a problem, we fixed the code, and the fix went to every unit. The machines themselves had nothing to teach each other.

AI-powered machines are different. They're living minds. They decide from what they see, many times a second. Their model changes when you retrain it. The world around them changes every day. And each of them, far from your team, is quietly seeing things your training data never had.

That last part is the opportunity.

The field is the best dataset you'll ever have

Your training data came from a lab, a pilot site, maybe a simulator. It's clean. Somebody chose the lighting, the parts, the angles.

Then the robot ships. Within a week it sees a box with a new label printed by a different supplier. A wet floor that reflects the overhead lights. A part that arrived slightly bent. A worker's sleeve in the corner of the frame. A camera that got nudged during cleaning and now sees the tray from a few degrees off.

Some of those moments the model handles fine. Some it handles badly. And a few of them, if you collect them and label them, would make your next model better on every robot in the fleet.

The problem is finding those few. A robot with two cameras at 30 fps produces over five million frames a day. Almost all of them are boring: the same tray, the same part, the same light, a confident and correct decision. Sending all of it home is expensive, a privacy problem, and useless, because nobody will label five million frames of a tray.

You need the robot to tell you which moments are worth your attention.

What's worth collecting

Not all field data is equal. These are the moments I'd go after, roughly in order of value per byte:

  • Failed task cycles. The robot tried to do its job and didn't. That's the most direct signal you'll ever get. If you mark cycles and steps in your app, you know exactly which step failed and when.
  • Hard frames. Images where a vision model was unsure of its answer. More on these below, because they're the cheapest place to start.
  • Inputs outside the training range. A joint state or sensor value the model never saw during training. Often this is a calibration problem, not a learning problem, and you want to know which one before you retrain.
  • Disagreements in shadow mode. When you test a candidate model next to the current one on live inputs, the moments where they disagree tell you exactly where the new model behaves differently. That's where you look first.
  • Interventions. If an operator stops the robot, takes over, or resets a cycle, those moments are labelled for free by a human who knew something was wrong.

Notice what's not on the list: random samples. A random sample of field data mostly tells you that the robot does what it already does well.

Hard frames, in detail

A hard frame is an image the model wasn't sure about. For a vision classifier, that's easy to measure on every prediction:

  • Low top confidence. The highest class probability is below some threshold, say 0.6.
  • Small margin. The gap between the top two classes is small, say under 0.15. A model that says "60% good part, 38% defective" is telling you it's on the fence, even if 60% clears your threshold.

When either is true, save the frame with its context and send it home.

That's the idea. The details are what make it work in production.

Rate-limit, or drown

The first time you turn this on, a single robot will send you three thousand frames in an afternoon. Not because there are three thousand interesting moments, but because the sun came through a window at 4 p.m. and every frame for an hour looked the same and confused the model the same way.

So limit it on the device. At most one hard frame every ten seconds or so, and a daily cap per robot, maybe a hundred. You'll still catch the 4 p.m. sun problem. You'll catch it once, which is all you need to know it exists.

Keep the context

A frame on its own is half a data point. Each hard frame should carry:

  • The robot and the camera.
  • The model and its exact version or checkpoint.
  • The prediction, the confidence and the margin.
  • The time, so you can see daily patterns.

With that, you can ask useful questions. Are these hard frames all from one site? One camera? Did they start after a release? Did they start when the customer changed suppliers? A gallery of hard frames grouped by robot and time often explains a problem before anyone labels a single image.

Low confidence catches doubt, not mistakes

Be honest with yourself about what hard frames miss. Classifier confidence isn't calibrated. A model can be confidently wrong, 97% sure of the wrong class, and it will never show up as a hard frame.

That's why hard frames should never be your only source. Pair them with outcomes. A failed cycle where the vision model was 97% sure is exactly the frame you want most, and confidence alone would never have flagged it.

Continuous actions are harder

Hard frames are clean for classifiers. For policies that output continuous actions, like a VLA producing joint targets, there's no single confidence number. There you lean on other signals: failed cycles, inputs outside the training range, sharp jumps between action chunks, actions that saturate at their limits. Those don't sort frames by doubt, but they do point at the moments when the policy was struggling. A flight recorder that saves the window around those moments gives you the frames to go with them.

Privacy and bandwidth

This is where a lot of field-learning plans die, and they should, if they weren't thought through.

Choose on the device, send little. The whole point of hard frames and failed-cycle recordings is that the selection happens on the robot. A hundred frames a day is a few megabytes. That fits on a cellular data plan and through a customer's security review. Five million frames don't.

Respect data budgets. On a SIM plan, set a daily or monthly budget. Field data is useful but not urgent. It can wait for an unmetered link or the quiet hours.

Cameras see people. Robots work next to humans. A hard frame from a packing station may include someone's hands or face. Tell your customers exactly which images leave, when and why. Give them a setting on the device that turns image collection off and can't be turned back on remotely.

Agree on ownership before you collect. Whose data is a frame from a customer's factory? Can you use it to train a model that goes to a different customer? Answer this in the contract, not after you've built a dataset from it. Some customers will say yes happily, because they'll get a better model. Some will say no, and you should build so that their data stays out.

Closing the loop

Collecting is the easy part. The value comes from the whole loop, from the field back into the field. This is how I'd run it:

  1. Collect hard frames, failed cycles and interventions on the device, rate-limited and tagged with context.
  2. Review them in a gallery. Group by robot, site, model version and time. Often you'll find a hardware or calibration cause here, and you fix that instead of retraining.
  3. Label what's left. Export it as a dataset with the context preserved, so you know where every example came from.
  4. Retrain or fine-tune. Record exactly which data went into which checkpoint.
  5. Evaluate offline on two sets: the new field examples, and a fixed regression set that never changes. The second one is what protects you.
  6. Shadow test the candidate on live inputs on a few robots. It sees the real world but never touches the motors. You compare its decisions with the current model's. My post on shadow mode covers how.
  7. Roll out in phases, comparing updated robots with not-yet-updated ones on latency, errors and task success, with an automatic halt. That's phased rollouts with automatic rollback.
  8. Measure the impact after the fact. Did hard frames per day drop? Did cycle yield go up? On which robots?

And then back to step one, because the world kept changing while you did all this.

How not to spread mistakes

This is the half of the question that keeps me up. Learning from the field is powerful exactly because a lesson from one robot reaches all of them. So does a mistake.

Ways it goes wrong:

  • Overfitting to one site. One customer's warehouse produces most of your hard frames because it has the worst lighting. You retrain on them, and the model gets better there and worse everywhere else. The fixed regression set and the phased rollout are what catch this.
  • Bad labels. Field data is labelled fast, often by people who weren't there. A few hundred wrong labels on the hardest examples can do real damage. Have a second person check the labels on hard examples, and keep the raw frames so you can relabel.
  • The model choosing its own lessons. Hard frames are selected by the current model. It shows you what it finds hard, not necessarily what's hard. Mix in failed cycles and operator interventions, which are selected by the world.
  • Fixing a hardware problem with data. A camera with a smudge on the lens produces hard frames forever. If you train on them, you teach the model to see through smudges, until the next robot doesn't have one and behaves differently. Check for a physical cause before you label.
  • Pushing a site-specific model everywhere. If you fine-tune for one site, keep it on that site. Tag robots by site and target releases with those tags, so a fine-tune for the cold-storage warehouse never reaches the bakery.
  • Losing the path back. Every checkpoint should be reproducible: which data, which code, which base model. When a release goes wrong, you need to roll back the robots and also know which examples to pull from the dataset.

None of these are reasons not to learn from the field. They're reasons to never let field data go from robot to production model without a human, an evaluation, a shadow test and a phased rollout in between. Fully automatic retraining on field data, pushed straight to the fleet, is how you turn one robot's bad afternoon into a fleet-wide regression.

A starting point

If you're doing none of this today, start small:

  • Turn on hard frames for one vision model, with a low daily cap.
  • Mark task cycles and steps in your app, so failed cycles become visible.
  • Look at the gallery once a week. You'll learn something about your robots, even before you label anything.
  • Build a fixed regression set from your current test data. Never change it.
  • Make shadow testing and phased rollouts the only path to production.

The fleet that learns safely will beat the fleet with the better launch model. I really believe that. The lab gives you a model. The field gives you the world.

How we do it at PhysicalFleet

For vision classifiers in PyTorch or ONNX Runtime, PhysicalFleet records confidence on every prediction and sends frames the model was unsure of to a hard-frames gallery, with on-device thresholds and daily caps, and you can export them as a dataset. Failed task cycles are recorded with step markers. On the update side, model.shadow tests a candidate on live inputs before model.promote switches to it, inside a phased rollout with a health gate. More on our observability page and OTA updates page.

If you're already feeding field data back into training, I'd love to hear what worked for you, and what went wrong.

Common questions

What are hard frames in machine learning?

Hard frames are images a vision model was unsure about, measured by a low top-class confidence or a small margin between the top two classes. They're cheap to detect on every prediction, and they point at the cases the model finds difficult. Saved with their context, they're good candidates for the next training set.

How do I collect training data from robots in the field?

Let the robot choose what's worth sending: failed task cycles, hard frames, inputs outside the training range, shadow-mode disagreements and operator interventions. Rate-limit on the device, for example one hard frame every ten seconds and a daily cap per robot, and tag each item with the robot, camera, model version and time. Random samples mostly show you what the robot already does well.

Can a vision model's confidence tell me when it's wrong?

Only partly. Confidence catches doubt, not mistakes, and a model can be 97% sure of the wrong answer. Pair low-confidence frames with outcomes like failed cycles, so the confidently wrong cases get collected too.

How do I retrain a robot model on field data without making it worse?

Never let field data go straight from the robot into a production model. Review and label it, rule out hardware causes first, evaluate the new model on a fixed regression set that never changes, then shadow test it and roll it out in phases with an automatic halt. Keep site-specific fine-tunes on their own sites, and record which data went into which checkpoint.

Who owns the data a robot collects at a customer site?

It depends on your contract, and you should agree on it before you collect anything. Decide whether frames from one customer can train a model that goes to another. Some customers will say yes because they get a better model, some will say no, and you should build so their data can stay out.

#hard frames#fleet learning#robot training data#active learning#data flywheel#vision model retraining#physical ai
Amit EzerCo-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