TL;DR
Robots, like humans, learn a lot more from messing up than from getting things right on the first try—yet most robotics datasets only show polished successes. RoboFailAtlas flips the script by introducing a massive dataset of over 124,000 robot trajectories (70% of which are failures) with fine-grained, event-level annotations of what went wrong, why it mattered, and whether the robot recovered. Using this structured failure data to train a reward model, the authors boost robot reinforcement learning success rates by 24% over standard environment rewards.
What Problem Does This Paper Address?
If you only ever watch a master chef bake a cake, you learn the ideal steps—but you have no idea what happens if you over-whip the cream or drop an egg. Similarly, robots trained purely on successful demonstrations struggle when things go slightly off-script, because they don't understand the boundary between competent and incompetent behavior.
While recent efforts have started including failed robot trajectories in training data, two major gaps remain:
- Lack of scale and diversity: Broad task coverage rarely comes with detailed, fine-grained failure labels.
- Missing event-level structure: Simply labeling a 10-second video as "failed" doesn't tell a learning algorithm when the gripper slipped, which action caused it, or if the robot tried to fix it.
Methods
The authors tackle this in three stages:
- A Three-Dimensional Failure Taxonomy: They define a structured language for robot mistakes:
- 36 Failure Types: What went wrong physically or logically (e.g., grasp slip, contact disturbance, wrong object).
- 15 Failure Outcomes: Which task conditions remained unmet (e.g., grasp unmet, position unmet).
- 3 Recovery States: Did the robot fix it (Recovered), try and fail (Retry unresolved), or give up (Not recovered)?
- 70 Atomic Actions: A vocabulary of basic movements (like Grasp, Open, Retry) to anchor failures in time.
- Structured Annotations & Progress Scoring: Using a vision-language model (Gemini-3.8-flash) followed by automated checks and human review, they localize failure events to exact video frames and action segments. They also compute a step-based progress score ($A_t$) that can actually drop if a robot invalidates a step (like dropping a pot) and rise again if it recovers.
- Structured Reward Learning: They train a vision-language reward model (based on Qwen3-VL-4B-Instruct) to jointly predict task progress, terminal success, and structured failure diagnostics. During reinforcement learning (PPO), this frozen reward model gives the robot a "failure-aware" reward: it rewards progress, but applies bounded penalties when specific failure types or unmet outcomes occur.
Datasets
- RoboFailAtlas: A newly introduced dataset of 124,354 complete trajectories (85,969 failures and 38,385 successes) collected from autonomous $\pi_{0.5}$ policy rollouts across 85 manipulation tasks in the RoboTwin and RoboDojo simulators.
- RoboFailAtlas-Structured: A richly annotated subset of 29,500 trajectories across 50 RoboTwin tasks, featuring the event-level failure taxonomy, atomic actions, and step-based progress scores.
Key Insights and Ideas
- Separating "what" from "how": Traditional rewards only measure what the robot achieved (progress and terminal success). By adding structured failure penalties, the reward model captures how the execution departed from good behavior—even if the robot eventually got lucky.
- Task-only learned rewards aren't enough: Interestingly, a learned reward model trained only on task progress and terminal success (without failure structure) didn't consistently beat simple environment rewards in PPO. The structured failure feedback was the secret sauce that unlocked policy improvements.
- Failures are a compass for data collection: Knowing where a robot fails lets you collect smarter data. Selecting expert demonstrations that specifically target weak action categories—or having human operators step in to correct failures mid-trajectory—beats collecting standard, from-scratch demonstrations.
Key Results
- Reward Model Accuracy: On the RoboTwin test set, the joint structured reward model achieved a progress Mean Absolute Error (MAE) of 0.0956 and a terminal success ROC-AUC of 0.9949, outperforming external baselines like Robometer-4B and DenseReward. It also diagnosed failure actions, types, and outcomes with Micro-F1 scores above 0.93 (and 0.7605 for recovery states).
- Policy Optimization (PPO): Across five RoboTwin tasks, PPO with structured rewards achieved an average success rate of 50.6%, beating environment terminal rewards (40.8%, a 24.0% relative improvement) and task-only rewards (40.0%, a 26.5% relative improvement).
- Failure-Guided Data Selection: In simulation, fine-tuning on demonstration segments chosen to target known failure actions reached 46.2% success, compared to 39.6% for random selection (16.7% relative improvement).
- Real-World Robots: On real AgileX PiPER robots (stacking and placing blocks), fine-tuning with corrective demonstrations from failure states achieved an 8.9% relative improvement (+7.0 percentage points) over standard successful demonstrations.
Limitations and Future Work
- Task-dependent benefits: Failure-guided demonstration selection improved four out of five tasks, but actually hurt performance on one task (
adjust_bottle, dropping 7 points compared to random selection), showing that failure-targeted data isn't a silver bullet for every task. - Inference cost vs. history: Longer visual histories improve reward prediction, but gains plateau after 8 frames while inference latency climbs steeply—forcing a trade-off between accuracy and speed during online RL.
- Future Directions: The authors note that using failure information to guide both simulated data selection and real-world corrective data collection is a promising avenue for scaling robot learning.
Summary updated