← Paper Digest

Agentic Data Curation: Coding Agents Can Train Policies to Privileged-Code Success Rates

Xinyue Zhu, Shuangyu Xie, Kaiyuan Chen, Uksang Yoo, Yuke Zhu, Linxi Fan, Spencer Huang, Ken Goldberg

December 2026

TL;DR A coding agent writes privileged-code teachers for simulated tasks, then repeatedly trains student policies, diagnoses their failures and rewrites the code and data. Average student success on 11 single tasks rises from 34.5% with the benchmarks' published data to 98.0%, and two policies transfer zero-shot to a real robot (20/20 and 19/20 trials).

What they do

Simulation benchmarks often generate demonstrations with privileged code that reads ground-truth object states, yet the policies trained on that data can fall far short of the code. On four MimicGen tasks, programs that succeed on at least 97% of scenes train ACT policies that reach only 10-69%. The authors call this the teacher-student performance gap and hand the whole job of closing it to a coding agent, with no human in the loop.

How it works

  • Teacher. An agent writes the privileged code as a graph of perception and motion nodes and revises it until it solves at least 98% of 200 development scenes.
  • Loop. One Claude Opus 5.5 agent per run collects demonstrations, trains the student, evaluates it and edits the code, the data mix, the training length, the checkpoint and the actions per chunk. The training algorithm stays fixed, and data, training and held-out submissions (at most 3 per run, 5 for the VLA suites) are charged to a budget.
  • Tools. A node-aligned failure analysis matches failed rollouts to the demonstrations node by node and flags pauses, ambiguous strategies and large wrist turns. Repair guides cover observability, consistency and robustness, and perturbation tools add action noise or push the robot or objects.

Results

  • Across 25 tasks on nine benchmarks, with policies from BC-RNN to SmolVLA and π0.5, single-task mean success rises from 34.5% (benchmark data) to 98.0%. The privileged code averages 99.1%.
  • Multi-task: SmolVLA on LIBERO-Long goes from 33.4% (initial code data) to 93.6%; one π0.5 policy reaches 96.8% on five RoboTwin 2.0 tasks.
  • Example fixes: removing pauses cut freezing on LIBERO-Long from 42% to 2% of runs, and recovery data raised Three Piece Assembly from 22% to 95%.
  • Trained in randomized digital twins, two policies succeed zero-shot in 20/20 (Insert Plate) and 19/20 (Tape in Drawer) real trials.

Limitations

Fixed scene distributions only, with no generalization to new objects or layouts. Each task was run once, so run-to-run consistency is unknown. Only two tasks were tested on a real robot, and the multi-task suites have at most ten tasks.

Figures

From Figure 1: The Agentic Data Curation loop. A coding agent writes privileged code that uses ground-truth object po...
From Figure 1: The Agentic Data Curation loop. A coding agent writes privileged code that uses ground-truth object poses, collects demonstrations, trains a policy, evaluates and analyzes its failures, and refines the code. Each iteration yields a new code version, dataset and policy, closing the gap between the privileged code and the policies trained on its data.
From Figure 2: The teacher-student performance gap. On each of four MimicGen tasks, four coding agents wrote privileg...
From Figure 2: The teacher-student performance gap. On each of four MimicGen tasks, four coding agents wrote privileged code that succeeds on at least 97% of scenes (blue), yet ACT policies trained on 1,000 demonstrations from each (orange) differ widely in success on 200 held-out scenes.
From Figure 5: One improvement run on MimicGen Coffee. Each iteration measures, hypothesizes, intervenes and checks: ...
From Figure 5: One improvement run on MimicGen Coffee. Each iteration measures, hypothesizes, intervenes and checks: the agent switches the code to one grasp angle, replans after 2 instead of 20 actions, and adds demonstrations with action noise for recovery. The check row shows success on 100 development scenes; held-out success rose from 42.5% to 98.5%.
From Figure 7: Data flaws the agents found and fixed. Observability: pauses, ambiguous cues and an occluded view. Con...
From Figure 7: Data flaws the agents found and fixed. Observability: pauses, ambiguous cues and an occluded view. Consistency: ambiguous strategy, large motion and retry loops. Robustness: little error margin and no recovery data. Each example shows the flaw (orange) and the fix (green).
Abstract

Many imitation learning robot policies are trained in simulation on demonstrations from a teacher, privileged code that reads ground-truth object states and contacts. However, these policies can perform poorly and substantially underperform the privileged code that generated their data. We call the gap between the success of privileged code and that of the policies trained on its data the teacher-student performance gap. To address this gap, we introduce Agentic Data Curation, a novel, fully autonomous Agentic Robotics paradigm that uses coding agents to iteratively write code that generates demonstrations, trains policies, evaluates and analyzes their failures and refines the code to maximize policy success. We find that agents can autonomously discover and fix subtle data flaws such as long pauses, ambiguous strategies and error-prone motions. Across 25 tasks on nine benchmarks, with policies from state-based BC-RNN to the vision-language-action models SmolVLA and $π_{0.5}$, average robot policy success on the eleven single tasks rises from 34.5% with the benchmarks' published data and training recipes to 98.0% with Agentic Data Curation, and some policies trained in simulation can transfer to real robots zero-shot.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.