Keep failed robot demonstrations and label them, instead of throwing them away. A failed episode usually contains good motion right up to the moment things went wrong, and a model trained only on clean successes has never seen a recovery. Label each episode with whether it succeeded, where it failed, why, and whether it recovered, so you can choose at training time what to include instead of deciding at collection time what to delete.
That's a change from how robotics datasets were built. SayCan collected 276,000 episodes and kept 12,000, discarding more than 95%. AgiBot World, with over a million trajectories, keeps its failures and records the cause and whether recovery was possible. This guide gives a labeling schema you can adopt as is, the rules that make labels consistent across annotators, and how to QA them at volume.
Why throw away failures?
Historically, because the simplest training recipe, behavior cloning, copies whatever it sees, and nobody wanted to copy a dropped cup. Filtering to successes was the easy way to get clean data.
The cost of that choice is now clearer:
- No recovery examples. Real deployments are messier than a lab. A policy that has never seen a regrasp after a slip doesn't know how to regrasp.
- Wasted collection spend. Teleoperation rigs cost $50,000 to $150,000 each, and a teleoperator produces fewer than 200 demonstrations a day. Discarding most of them throws away some of the most expensive data in AI.
- Lost diagnostics. Failures clustered on one object, one operator, or one camera angle tell you what to fix in collection. Deleted failures tell you nothing.
Labeled failures can be used several ways: as negative examples, as recovery demonstrations (the segment after a failure), for training success detectors and reward models, or simply filtered out at training time. All of those need labels. None of them work if the episode was deleted.
What should a failure label contain?
Enough to filter, slice, and train on any part of an episode later. This schema extends the success, failure, cause, and recoverability fields that AgiBot World uses:
{
"episode_id": "ep_2026_11_04_0137",
"task": "place_mug_on_shelf",
"operator_id": "op_07",
"embodiment": "single_arm_7dof",
"start_s": 0.0,
"end_s": 41.6,
"outcome": "success_after_recovery", // success | success_after_recovery | failure | aborted | invalid
"invalid_reason": null, // e.g. calibration_drift, dropped_frames, wrong_task
"subtasks": [
{ "name": "reach", "start_s": 0.0, "end_s": 6.2, "success": true },
{ "name": "grasp", "start_s": 6.2, "end_s": 11.9, "success": false },
{ "name": "regrasp", "start_s": 11.9, "end_s": 19.4, "success": true, "is_recovery": true },
{ "name": "transport","start_s": 19.4, "end_s": 33.0, "success": true },
{ "name": "place", "start_s": 33.0, "end_s": 41.6, "success": true }
],
"failures": [
{
"t_s": 10.8,
"subtask": "grasp",
"cause": "grasp_slip", // from the fixed cause list
"cause_confidence": "clear_from_video", // clear_from_video | needs_sensor_data | unclear
"recoverable": true,
"recovered": true,
"recovery_start_s": 11.9,
"recovery_end_s": 19.4,
"note": "Mug handle rotated in gripper during lift"
}
],
"annotator_id": "an_14",
"reviewed_by": "an_03",
"schema_version": "1.2"
}
The comments list allowed values; strip them in real files. Most fields are filled once per episode. Subtask and failure fields are per segment, timestamped against the episode's own clock.
How do you label episode boundaries and success consistently?
With written rules and worked edge cases, because "success" is ambiguous more often than teams expect. Is a cup placed upright but 3 cm off the target a success? Is a grasp that slipped and was recovered a success with a recovery, or a failure followed by a success?
| Question | Decide and write down | Example rule |
|---|
| When does an episode start and end? | Signal, not judgment | Starts at the operator's start signal; ends at the end signal or 2 s after the robot is still |
| What counts as success? | A measurable end state | Object within 2 cm of target, upright, released, and stable for 1 s |
| Is a recovered failure a success? | A separate outcome value | Outcome = success_after_recovery; the failure is still logged with its cause |
| Where does a failure happen? | The first moment it's visible | Timestamp at first slip or contact error, not when the object lands |
| When is an episode invalid, not failed? | Problems with the data, not the robot | Calibration drift, dropped frames, wrong task, operator distracted |
| What if the cause isn't visible? | Never guess | Mark cause_confidence = unclear or needs_sensor_data |
Write your answer to each of these before labeling starts, with a video example for each, and put them in the annotator handbook. Ambiguity you settle up front doesn't show up later as disagreement.
Which failure causes should you track?
A short, fixed list, specific enough to act on. More than about a dozen causes and annotators stop agreeing; fewer than six and the labels don't tell you what to fix.
| Cause | What it covers | Usually fixed by |
|---|
| grasp_slip | Object moves or falls out of the gripper after grasping | Grasp pose, gripper force, more grasp data |
| grasp_miss | Gripper closes without securing the object | Perception, approach angle |
| collision | Arm or object hits the environment unexpectedly | Planning, scene variation in data |
| position_error | Object placed or moved to the wrong location | Perception, calibration |
| wrong_object | Robot acts on the wrong item | Perception, instruction clarity |
| timeout | Task not finished in the allowed time | Policy speed, task difficulty |
| operator_error | Teleoperator mistake (collected data only) | Operator training, interface |
| hardware_fault | Joint, gripper, or sensor malfunction | Maintenance; often mark invalid |
| other_describe | Anything else, in free text | Weekly review; promote repeats to a category |
Add an "other, describe" option and review it weekly. When the same free-text description shows up repeatedly, promote it to a category.
How do you QA failure labels at volume?
The same way as any labeling program, plus checks specific to robot data:
- Sample a fixed share for second review. Robotics teams commonly review 1 to 5% of episodes weekly. For failure labels, oversample failures, since that's where disagreement concentrates.
- Measure agreement on cause, not just outcome. Two annotators agreeing that an episode failed is easy. Agreeing on why is the hard part. Track agreement per cause and fix the definitions with the lowest scores.
- Check boundaries against signals. Compare labeled episode starts and ends against the operator's start and end signal, and failure timestamps against gripper and force data where you have it. Large mismatches mean the rules aren't being followed.
- Feed operators the results. Track failure rate and recovery rate per operator, and review a few exemplary and failed demonstrations together each week. Operators with unusually low or high recovery rates both need a look.
- Mark, never delete. Mark bad episodes with a reason and keep the raw recording. You'll want them when your training recipe changes.
What can video alone not tell you?
Contact. A camera shows how a task looks, but not the force, torque, and slip that decide whether a grasp holds. Phone-on-head video, such as the household footage some data companies now pay $15 an hour to collect, is useful for what tasks look like at scale. It can't supply the contact signals that dexterous manipulation needs.
For labeling, that means some failure causes can only be confirmed with sensor data. If you have force-torque or gripper signals, give annotators a synchronized plot alongside the video, and let them mark "cause unclear from video" rather than guess.
How Akmon helps
Akmon collects and labels robot and egocentric data with the QA that physical AI programs need:
- Episode labeling to your schema, including boundaries, subtasks, success, failure cause, and recovery, with timestamped segments.
- Agreement on the hard fields. We measure and report agreement on failure cause and recovery, not just outcome, and fix the handbook where it's weak.
- Collection and labeling together. We collect and label different types of data (egocentric, gameplay, manipulation). Let us know what you need and we'll match you with the best solution.
Send us 100 episodes, and we'll label and QA them to this schema. Book a call.
FAQ
Should failed robot demonstrations be removed from training data? Not at collection time. Keep and label them, then decide at training time whether to exclude them, use them as negatives, or train on the recovery segments. Deleted episodes can't be recovered.
How do you annotate robot demonstration data? Label each episode's boundaries, task, and outcome, then segment it into subtasks with their own success flags. For failures, record the timestamp, the cause from a fixed list, and whether and how the robot recovered.
What is a recovery demonstration? The part of an episode where the robot, or the operator controlling it, corrects a mistake such as a slipped grasp. These segments teach a policy how to recover, which success-only data can't.
How many demonstrations do I need? Published guidance suggests about 200 to 400 for a narrow single-arm task and 500 to 1,000 for bimanual tasks, though it depends heavily on task variation.
How much should I QA robot data? Review 1 to 5% of episodes weekly at random, oversample failures, and measure agreement on the failure cause, not just on success or failure.
Sources