TL;DR
LLM coding agents are surprisingly good at teaching robots new skills in simulation by writing code, watching it fail, and fixing it—until you move to the real world, where there is no "reset" button or automatic scoreboard. RESET solves this by extracting a verified virtual practice arena and a strict success rule from just one real-world demonstration. Better yet, because it extracts the task rather than memorizing the motion, completely different robots—from dual-arm manipulators to five-fingered humanoids—can enter that same virtual arena and teach themselves the skill without ever seeing a demonstration of their own.
What Problem Does This Paper Address?
Imagine learning to shoot free throws, except every time you miss, an engineer has to manually rebuild the hoop, fetch the ball, and write an equation to decide if it went in. That is the current bottleneck of Recursive Self-Improvement (RSI) in robotics. In simulation benchmarks, LLM agents iteratively refine control programs until they master complex tasks. The catch? Humans had to painstakingly engineer the simulator, the reset mechanism, and the ground-truth reward function beforehand.
Real-to-Sim-to-Real pipelines try to bypass this by scanning real scenes into simulation. However, they usually treat 3D reconstruction as a blind, open-loop step—if the virtual table is two centimeters too low, nobody notices until the real robot crashes. Furthermore, traditional methods rely on loose text rewards (which coding agents happily "reward hack," like knocking a box flat instead of standing it up) and imitate recorded trajectories, meaning a demonstration recorded on a two-finger gripper is useless if you swap in a five-fingered robotic hand.
Methods
The authors realize that a single successful RGB-D demonstration is a three-in-one Rosetta Stone: its first frame shows the scene geometry, its final frame defines exact geometric success, and the trajectory itself is a physical ground truth that any valid simulator must be able to reproduce.
RESET operates in five stages:
- Rebuild: Using segmentation (SAM3) and a multimodal agent (GPT-6 Astra in Blender), the system turns the initial RGB-D frame into an interactive MuJoCo physics scene, preserving cavities and hinges. It extracts the final object state as a frozen, read-only success scorer (confirmed once by a human) that is hidden from the coding agent to prevent reward hacking.
- Examine (Novel Verification): Before any training happens, RESET tests the simulator against the demonstration via two channels. Dynamic consistency replays the recorded joint commands open-loop—grasps must emerge purely from contact physics. Visual consistency checks if rendered object silhouettes overlap with the real video masks. Unobservable physics like mass and friction are randomized during practice.
- Self-Improve: An LLM coding agent (Claude Opus 5.5) writes a modular, white-box Python program—a task graph of skills (grasp, sweep, handover) with entry/exit checks. It practices on randomized layouts, inspects node-level failure logs and keyframes, and updates its code only if performance improves on held-out test layouts.
- Execute & Transfer: The final frozen code runs directly on the real robot with zero runtime LLM calls. To transfer to new robots, RESET shares the verified world and success criterion unchanged; new robots simply bring their own kinematics (URDF) and practice in the shared arena.
Datasets
Rather than using static, pre-existing datasets, the authors construct task-specific benchmarks on the fly from 8 real-world demonstrations (one per task) recorded on a dual-arm 6-DoF xTrainer robot. The tasks cover contact-rich tabletop manipulation: Apple, Cubes, Stack Cups, Build Tower, Mug-Box (bimanual handover), Open Drawer, Sweep, and Lift-Box. Each rebuilt world generates disjoint simulated object layouts: 20 for diagnostics, 20 for hold-out adoption gating, and 50 sealed layouts for blind testing, alongside 280 physical trials across four robot platforms.
Key Insights and Ideas
- Practice forgives bad worlds, unless a bug hides a failure: Injecting defects into the simulator revealed something fascinating: agents practicing in slightly warped worlds usually still learn working real-world skills because they write perception-anchored code (e.g., grasping relative to a detected rim). However, if a 2 cm low table accidentally makes a sloppy cup-drop succeed in simulation, practice fixes nothing and real-world performance craters to ~19%. Examine catches 13 of 16 such skill-breaking geometric errors upfront.
- Transferring the world beats transferring the motion: When handing the verified world to three unseen robots, a morphologically similar robot (Dual-arm Franka) copied 94.5% of the source robot's Python skill functions unchanged. Meanwhile, a humanoid with five-fingered hands (Unitree G1) wrote 86.7% of its skill code from scratch—yet still mastered the tasks because the environment and goal were preserved.
- White-box failure logs are non-negotiable: Giving the LLM pass/fail outcome scores instead of node-level failure traces drops simulation success from 100% and 98% down to 12% and 0% on complex tasks.
Key Results
- Simulation (Source Robot): Across 50 unseen layouts per task, RESET achieves 97% average success, outperforming Open-loop Replay (8%), Zero-shot LLM Code (27%), fine-tuned $\pi_{0.5}$ VLA policies (31%), and Diffusion Policy trained on 100 trajectories (50%).
- Zero-Demonstration Transfer: With zero demonstrations of their own, Dual-arm Franka achieves 96% in simulation, ARX LIFT2 reaches 80%, and Unitree G1 reaches 77%.
- Real-World Deployment & Sim-to-Real Agreement: Running frozen code with zero human intervention, RESET succeeds in 80% of 280 physical trials across all four robots (and 88% across the three fixed-base robots: 91% on xTrainer, 95% on Franka, 76% on LIFT2). Replaying real initial layouts in the verified simulator predicted the exact real-world outcome 90%–95% of the time.
Limitations and Future Work
- Material & Dynamic Limits: RESET currently handles rigid, articulated, and quasi-static tasks, not deformable cloth or dynamic throwing. Extreme physics shifts (like a $3\times$ heavier drawer requiring a totally different gripping strategy) also break parameter randomization.
- The Moving-Base Humanoid Gap: While Unitree G1 scored 84% in simulation on its four evaluated tasks, its real-world success dropped to 33% (13/40). In simulation, G1's lower body was fixed; in reality, its whole-body controller subtly shifts the torso whenever the arms reach, throwing off the open-loop manipulation code. Modeling whole-body controller dynamics during practice is a prime target for future work.
Summary updated