RoboFailAtlas:
Structured Reward Learning from Diverse Robot Failures

Jiye Zhao1,* Kesen Zhao2,* Zehui Kong1 Mu Wang1 Fengda Zhang2 Yin Li3 Hanwang Zhang2 Dongze Lian1,†
1 Nanjing University 2 Nanyang Technological University 3 Shanghai Xirang Kaiwu Technology Co., Ltd.

* Equal contribution † Corresponding author

Video Summary

Overview

RoboFailAtlas dataset overview from the manuscript
124,354 complete trajectories across 85 tasks, with an event-level annotated subset of 29,500 trajectories.

We introduce RoboFailAtlas, a dataset of complete robot executions collected in RoboTwin and RoboDojo. It preserves successes, failures, retries, and recoveries across diverse manipulation tasks. The RoboFailAtlas-Structured subset links local failure events to atomic actions and visual evidence, while separately recording task progress and terminal success. These annotations support structured reward learning and downstream policy improvement.

Abstract

Failed trajectories capture a broad range of policy behaviors, but large-scale failure data spanning diverse manipulation tasks with fine-grained, event-level annotations remain underexplored. We introduce RoboFailAtlas, containing 124,354 robot execution trajectories across 85 manipulation tasks, and define a taxonomy of 36 failure types, 15 failure outcomes, and three recovery states to describe what goes wrong, which conditions remain unmet, and whether the policy recovers.

We provide a structured subset of 29,500 trajectories across 50 RoboTwin tasks. Each temporally localized failure event is linked to its atomic-action segments and visual evidence, alongside task progress and terminal success. A jointly supervised reward model predicts task completion and structured failure information, enabling fine-grained failure diagnosis and failure-aware policy optimization.

Across five tasks, PPO with structured rewards achieves 50.6% average success, compared with 40.0% for task-only rewards and 40.8% for environment rewards. Further experiments examine failure-guided demonstration selection in simulation and learning from corrective demonstrations on real robots.

Method

Our framework combines complete-trajectory collection, event-level structured annotation, and joint reward learning. The representation separates failure types, unmet task conditions, and recovery states; 70 atomic-action categories supply the execution context.

Structured Annotations

Failure taxonomy and event-level microwave annotation from the manuscript
A local grasp slip, a later retry, and successful recovery are linked to video frames, action segments, progress scores, and structured JSON.

Multimodal annotation drafts are refined through human spot checks, automated verification, and review of flagged cases. Missing or uncertain fields are masked independently. A recovered local failure can coexist with an unsuccessful full trajectory, so recovery and terminal success are recorded separately.

Structured Reward Learning

Offline reward-model training and online PPO from the manuscript
Joint training predicts task progress, terminal success, and structured failures. The reward model remains frozen during PPO.

Given a task instruction and observation history, a Qwen3-VL-based reward model predicts progress, terminal success, failure-associated actions, failure types, outcomes, and recovery states. Its predictions provide task feedback and bounded failure penalties for policy optimization.

Experiments

Reward Model Evaluation

We evaluate all models on the paper's fixed RoboTwin test set. The joint model retains strong task prediction while supporting structured failure diagnosis.

Task prediction on the fixed RoboTwin test set (main paper, Table 1)
ModelProgress MAE ↓Terminal AUC ↑Balanced Acc. ↑Success F1 ↑
Robometer-4B0.34050.748371.13%0.6016
RoboReward-4B0.25360.543458.11%0.5059
RoboReward-8B0.25590.518350.63%0.2020
DenseReward0.33550.639961.88%0.5167
Ours (Task-only)0.08570.995297.72%0.9673
Ours (T-only, Full)—0.996998.15%0.9683
Ours (Joint)0.09560.994997.58%0.9636

Structured Prediction (Micro-F1)

Joint model structured prediction, as reported in the main paper (Table 1).
ModelAction F1 ↑Type F1 ↑Outcome F1 ↑Recovery F1 ↑
Ours (Joint)0.93760.93690.96820.7605

All four scores are Micro-F1. Recovery predictions with maximum class probability below 0.5 are treated as abstentions, following the main paper.

Manuscript examples comparing reference progress, Joint RM, DenseReward, and RoboReward
Qualitative progress prediction for success, grip loss, failure and recovery, and wrong-object manipulation.

Trajectory Replays

In the pot replay, the cursor follows the original video frame. Each curve connects 16 scores from Figure 4 and displays the most recent sampled value.

Lift the pot — Grip loss

00:00 / 00:16
401 original frames · 0.84× encoded playback speed · Trajectory label T = 0. Precomputed replay of the paper example.

Place the empty cup — Successful recovery

At frame 89 the cup is on its side. The other gripper begins to re-grasp it at frame 112 and returns it upright to the coaster by frame 143. Full trajectory at 0.5× speed · Terminal success (T = 1).

Policy Optimization with Structured Rewards

All variants start from the same task-specific SFT policy and are evaluated on the same 100 scenes per task. Structured rewards achieve 50.6% average success, versus 40.8% for environment rewards and 40.0% for task-only rewards.

PPO policy success rates from the manuscript
Task-wise and average PPO success rates on five RoboTwin tasks. Values are percentages.
View numerical results
PPO success rates from the main paper (Figure 5), with 100 fixed evaluation scenes per task (%)
RoboTwin taskInitial SFTEnvironment rewardTask rewardStructured reward
Press stapler58615976
Hammer the block29323135
Move can to pot4426
Place empty cup67706575
Adjust bottle32374361
Average38.040.840.050.6

Failure-Guided Demonstration Selection

Failure-associated actions guide the selection of expert demonstration segments. With matched data amounts and training budgets, failure-guided selection reaches 46.2% average success, compared with 39.6% for random selection.

Failure-guided demonstration selection results from the manuscript
Failure-guided selection improves average success over matched random selection across five tasks.

Real-World Learning from Failure Corrections

On two PiPER tasks, corrective demonstrations start from failure states reached by the initial policy. With matched additional data and training budgets, they improve average success by 7.0 percentage points over adding standard successful demonstrations.

Manuscript PiPER block-stacking and block-placement results
Real-world evaluation on block stacking and block placement, with 50 trials per policy and task.

Block stacking

PiPER robot · 2× speed

Block placement

PiPER robot · 2× speed

Interactive Demo

Explore 30 curated examples from 19 recorded rollouts. Inspect the associated failure type, unmet condition, recovery state, action segments, and frame-indexed evidence.

Frame 0
Current action: —
Atomic action segments Click a segment to seek
Inspect the structured JSON

Frame indices refer to the original encoded video. Playback time is not physical execution time. Examples are selected for illustration, not for estimating class frequencies or model accuracy.