After 50 self-made tasks, RATs lifts LIBERO-PRO success from 23.2% to 43.8%

2026-11-10

RATs invents 50 rounds of practice with Gemini and stores working robot code as skills, lifting LIBERO-PRO from 23.2% to 43.8% and MolmoSpaces from 21.0% to 38.0%.

What problem this solves

Agentic robot systems can already write Code-as-Policy programs, read feedback, and revise the code. The skills they keep are usually leftovers from tasks a person assigned. Before any instruction arrives, nothing pushes the system to practice routines it might need later.

Children often learn by trying interactions that are new but still within reach. RATs, Robotics Agent Teams, from UC Berkeley and Impossible Research, turns that idea into a loop with no external task during play. A team of agents proposes its own tasks, writes control code, checks substeps, and saves successful pieces as callable functions. When downstream tasks arrive, the library is frozen. There is no more exploration and no weight update.

Method

The main coding model is gemini-3.1-pro-preview. Play runs for 50 iterations on LIBERO-PRO and 50 on MolmoSpaces. There is no gradient and no reinforcement learning. What changes is which code gets reused, plus the text feedback from failures.

Each round uses three teams.

The proposer reads the scene, a summary of the skill library, and failure memory, then drafts a pool of candidate tasks. A Goldilocks score picks one. The score multiplies novelty by learnability. Novelty favors rarely tried object-skill pairs: for a historical count N it averages 1/√(N+1). Learnability averages the Wilson lower bound on each required skill's success rate, called r̄, and uses 4·r̄·(1−r̄), which peaks near r̄ = 0.5. Skills that almost always work, and skills that almost never work, both score low. The Wilson bound is a conservative small-sample estimate, so one lucky success is not treated as reliability.

Execution is a write, run, verify, diagnose loop. A planner lists steps and marks which skills to retrieve. A policy writer turns the plan into Python that calls perception and low-level control. Checks are split: whether the plan matches the scene, whether the code has obvious unsafe patterns, whether the goal is met, and whether each step is right. On failure, a diagnoser says what to change. If the stuck piece is a grasp or an articulation, a sub-agent can practice that sub-action and return a helper.

Memory has two stores. Success yields self-contained functions, inserted as experimental skills. A skill becomes verified after at least three uses with success rate at least 0.5, and retrieval prefers that tier. After at least ten uses with success rate at most 0.2 it is deprecated and hidden from the planner by default. Failures do not replay the whole trace. They leave a short lesson: which precondition was missing, and what to try next. Every five iterations a curator merges near-duplicates.

At test time, proposal and curation turn off. The frozen library can be dropped into the context of CaP-Agent0, a single-agent baseline that otherwise has only the original primitives. That is the no-play condition. Or the full RATs execution team can run, without adding new skills.

Results

LIBERO-PRO uses 60 held-out tasks and 10 initial states each, 600 trials.

MethodAverage success
OpenVLA0.0%
π00.0%
π0.512.8%
CaP-Agent023.2%
RATs43.8%

The gain over CaP-Agent0 is 20.6 points. Object splits reach 61.0% and 63.0%, goal splits 43.0% and 36.0%, spatial splits 29.0% and 31.0%. OpenVLA and π0 are 0 on all six splits. π0.5 peaks at 38% on the goal position swap and scores 1% on the object task perturbation. The paper does not say whether those vision-language-action policies were zero-shot or fine-tuned on LIBERO-PRO.

MolmoSpaces uses 10 tasks in each of four categories and 10 trials each, 400 trials. CaP-Agent0 scores 21.0% and RATs 38.0%, a gain of 17.0 points. Open goes from 14% to 20%, close from 36% to 73%, pick from 23% to 37%, and pick-and-place from 11% to 22%.

For transfer, the LIBERO-PRO library is inserted into CaP-Agent0 and evaluated on RoboSuite, which was never a play environment. Across 7 tasks and 50 trials each, success moves from 141/350 (40.3%) to 172/350 (49.1%), plus 8.9 points. Two-arm lifting moves from 5/50 to 17/50, plus 24 points, even though play used a single arm. Nut assembly stays at 0/50, spill wiping stays at 50/50, and two-arm handover falls from 12/50 to 10/50.

On a real robot there is no extra play and no fine-tuning. Two tasks, 40 trials each, move from 24/80 (30.0%) to 31/80 (38.8%). Picking up a red cube goes from 14/40 to 17/40. Placing a cube in a bowl goes from 10/40 to 14/40.

The ablation says the headline 20.6 points are not all play. On LIBERO-PRO, random play with CaP-Agent0 moves 23.2% to 24.7%, while curious play reaches 32.3%. The RATs executor with no play already scores 36.3%, and with curious play 44.3%. That table uses 5 trials per task for the executor, not the 10 used in the main table, so 44.3 and 43.8 are not the same statistic. On MolmoSpaces, curious play inside CaP-Agent0 reaches only 25.8%. The executor with no play is already at 32.8%, and the combination reaches 38.0%. On pick tasks, curious play with CaP-Agent0 drops from 23.0% to 14.0%.

The appendix token account uses gpt-5.5, not the Gemini model in the main runs. Fifty play iterations cost about 30 million tokens. Spread over 60 held-out tasks, that is roughly a few extra test-time retries. CaP-Agent0 at a 10-turn budget scores 23.2%. A compute-matched budget of about 15 turns reaches 26.0%. Spending a similar token budget on play, then testing with the standard 10 turns plus the learned library, reaches 32.3%. A 10-iteration slice totals about 5.12 million tokens: failure diagnosis 40.5%, policy writing 28.8%, failure-memory distillation 19.4%, and task proposal 1.9%.

Why it matters

The portable piece is the library, not necessarily the whole multi-agent stack. Each skill is a Python function with a docstring, preconditions, and a reliability tier. Another Code-as-Policy agent can retrieve it into context without a weight update. The RoboSuite gain of 8.9 points and the real-robot gain of 8.8 points are that kind of plug-in.

Play strategy matters inside a fixed budget of 50 rounds. Random tasks barely move the score. Goldilocks selection does. Extra retries at test time help less than turning failures into functions that can be looked up later. Closing is the clearest case: MolmoSpaces close rises from 36% to 73%. In the qualitative traces the baseline is still searching for a handle, while RATs calls a close function that has already been checked.

Step-level verification is also expensive, and it accounts for a large share of the gain even with no play. Reproducing only the library, without that loop, should be expected to land nearer the plug-in gap of about 9 points than the headline gap of about 20.

Limitations

The paper's own limits hold. Evaluation is mostly in simulation. The real robot covers two simple tasks and 80 trials. Objects and dynamics are bounded by the simulators the agent can play in. A retrieved skill that does not fit can hurt, and two-arm handover drops 4 points. Inference costs more, and the system is stuck at the primitive control APIs, so dexterous manipulation is out of scope.

A few gaps are not filled in. The all-zero VLA numbers come without a training or adaptation protocol, so they are not evidence that a coding agent has cleanly surpassed π0. The token ledger swaps in a different model, and 30 million tokens should not be quoted as the Gemini bill. The reliability cutoffs are design choices, not a searched optimum. The paper does not say how many skills were verified after 50 rounds, or how much of the gain would remain with a smaller open model.

Terms

Source

What people are saying

All paper explainers