RESET: One Demonstration, One Verified World, Self-Improved Skills Across Embodiments
Large language model (LLM) coding agents can iteratively self-improve robot manipulation skills in simulation benchmarks, yet real-world tasks provide neither ground-truth success scorers nor resettable practice environments. Our key observation is that a single real demonstration simultaneously specifies scene geometry, defines the terminal success criterion, and serves as a physical reference trajectory for verifying world fidelity---all decoupled from the source robot's kinematics.
From the abstract. Our summary is in progress.
Full paper
RESET: One Demonstration, One Verified World, Self-Improved Skills Across Embodiments
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.31894 (PDF).
Abstract
Large language model (LLM) coding agents can iteratively self-improve robot manipulation skills in simulation benchmarks, yet real-world tasks provide neither ground-truth success scorers nor resettable practice environments. Our key observation is that a single real demonstration simultaneously specifies scene geometry, defines the terminal success criterion, and serves as a physical reference trajectory for verifying world fidelity—all decoupled from the source robot’s kinematics. We present RESET: we reconstruct a contact-rich world and derive a frozen read-only criterion from one demonstration (Rebuild); check that world against the demonstration by open-loop replay and silhouette consistency (Examine); evolve modular white-box task graphs and skill code from per-node failure evidence (Self-improve); deploy frozen code on real robots with zero runtime LLM calls (Execute); and share the verified world and criterion with unseen robots without new demonstrations (Transfer). On 8 manipulation tasks, each rebuilt from one real demonstration, RESET achieves 97% average success on unseen layouts in simulation, whereas zero-shot code reaches 27%, per-task fine-tuned \pi_{0.5} policies 31%, and Diffusion Policy 50%; injecting reconstruction defects shows that practice tolerates many reconstruction errors, that geometric errors can still stall or mislead it, and that the check flags most of them while physical randomization covers the rest. Without any target demonstrations, 3 heterogeneous robots acquire the same task skills in the shared world: a robot with similar arms copies 95% of its skill functions unchanged from the source robot, while robots with different arms and hands write their own. In real-robot experiments, the resulting programs run on 4 robots and succeed in 80% of 280 trials.
†
1 Introduction
LLM-driven coding agents are emerging as a compelling paradigm for acquiring robot manipulation skills. Whereas hand-crafted or one-shot synthesized control programs [10] struggle to scale across contact-rich tasks and diverse robots, closed-loop recursive self-improvement (RSI) lets an agent inspect failure evidence, revise control code, and retain verified improvements, steadily advancing performance on simulation benchmarks such as RoboDojo [24, 19, 9, 15, 6, 2]. Yet this paradigm relies on a strong hidden premise: human engineers have already built the simulation scene, reset mechanism, and ground-truth success scorer. Physical tasks supply none of these. Recent attempts to run self-improvement directly on real robots [22] rely on manual or heuristic self-checks and custom reset fixtures, requiring hours to tens of hours of physical trial-and-error per task without generalizing across embodiments. Scaling code self-improvement to the real world thus hinges on a foundational question: without a hand-engineered benchmark, where do a reliable success criterion and a trustworthy practice world come from?
Reconstructing real scenes into simulation, practicing inside them, and transferring back to the real world (Real-to-Sim-to-Real) offers a natural route [17, 5, 4], but existing pipelines fall short in three ways. First, reconstructed worlds lack pre-training verification: prior methods proceed straight from scene reconstruction to policy learning, leaving world fidelity to be discovered only post hoc via real-world failure [12]. Second, success criteria rely on manual reward design and invite reward hacking: under multi-round code search, agents readily exploit loose criteria with unintended behaviors [17]. Third, demonstrations remain entangled with source kinematics: imitating recorded trajectories binds task knowledge to one robot morphology, invalidating the demonstration whenever degrees of freedom (DoF) or end-effectors change [17, 4].
Our core insight is that a single successful real-world demonstration simultaneously provides a blueprint of the world, a success criterion, and a physical reference for verifying that world—all independent of the source robot’s kinematics. The initial RGB-D frame captures scene geometry, while the terminal state specifies exact geometric completion relations. Crucially, because the demonstration is a known-successful physical trajectory, an accurate world should reproduce object grasps and motion under open-loop contact replay of the recorded joint commands and align rendered object silhouettes with observed masks. Moreover, by distilling the demonstration into an embodiment-agnostic specification (world + frozen criterion + local contact priors) rather than imitating its trajectory, an agent can write modular control code on its own. This both resolves the scalability bottleneck of manual code-skill authoring and exploits the white-box nature of code skills—explicit geometric guards, stage-level verification, and deterministic execution—for long-horizon stability.
Guided by this insight, we propose RESET (Rebuild, Examine, Self-improve, Execute, Transfer; Fig. 1). The name reflects what the method restores to a real task: a world that can be reset and practiced in at will. Rebuild reconstructs an interactive MuJoCo scene from one RGB-D demonstration and extracts a read-only terminal scorer. Examine checks the rebuilt world against the demonstration by dynamic replay and silhouette alignment before practice, leaving unidentifiable mass and friction to randomized practice. Self-improve evolves an object-centric task graph and white-box skill library from per-node failure evidence under diagnostic/hold-out gating. Execute runs frozen code online with zero LLM calls, low cost, and node-level debuggability. Transfer hands the verified world and criterion unchanged to target robots that adapt only a thin hardware layer.
We evaluate RESET across 4 diverse embodiments and 8 real manipulation tasks. From one demonstration on the source robot, RESET achieves 97% success on unseen layouts in simulation, where zero-shot code and per-task fine-tuned \pi_{0.5} policies stay near 30% and Diffusion Policy reaches 50%. Controlled defect injection shows that practice tolerates many reconstruction errors. A geometric error, however, can make a task unsolvable or hide a failure during practice, and it changes what a simulated success rate means; Examine flags most such errors, and physical randomization covers mass and friction. Without any target demonstration, Dual-arm Franka, ARX LIFT2, and Unitree G1 acquire their own skills in the shared world. The final programs succeed in 80% of 280 real-robot trials on 4 physical platforms.
Our main contributions are threefold:
- A framework from one demonstration to skills across embodiments. RESET turns a single real demonstration into frozen, deployable code skills, both for the demonstrated robot and for robots that never received one.
- The demonstration replaces the benchmark. One demonstration supplies what self-improvement otherwise takes from a hand-built benchmark: a practice world, a success criterion, and a reference for checking that world. Agent self-improvement can therefore run on real tasks without hand-built scenes, rewards, or resets.
- Evidence on eight real tasks and four embodiments. RESET reaches 97% success on unseen layouts in simulation where zero-shot code reaches 27%; three target robots learn the tasks with no new demonstration, by practicing in the shared world rather than by copying the source robot’s code; practice tolerates many reconstruction errors; and frozen skills run on 4 physical platforms (80% success over 280 real-robot trials).
2 Related Work
Code-skill self-improvement in simulation benchmarks.
Code as Policies [10] and Voyager [18] pioneered synthesizing control programs and skill libraries with LLMs. Recent closed-loop RSI frameworks—including RATs [24], the concurrent RPG [19], EmbodiedEvo [9], PhysEvo [15], Embodied Turing Machines [6], PyRUA-Lean [13], and ReSkill [14]—iteratively refine task graphs and skill code from execution feedback on benchmarks such as RoboDojo [2]. However, all assume human-engineered simulation scenes, resets, and ground-truth scorers. RESET removes this benchmark dependency by running self-improvement inside a world reconstructed from and verified against a single real demonstration, while also enabling transfer across robot embodiments.
Self-improvement on physical robots.
To bypass simulation benchmarks, ENPIRE [22] explores and revises policies directly on real robots. While demonstrating real-world RSI feasibility, physical exploration demands hours of robot wear, custom reset mechanisms, and robot-specific verification logic. RESET confines trial-and-error to a verified simulation world, reserving the real robot for executing the final code and reusing the world across embodiments.
Real-to-Sim-to-Real and scene verification.
RialTo [17], Re3Sim [5], and RoboSplat [23] reconstruct scenes to train neural policies or synthesize data; X-Sim [4] derives cross-embodiment dense rewards from simulated object motion; EmbodiRSI [8] and D-World [21] update digital twins from single images or online rollouts. Yet prior pipelines treat reconstruction as an open-loop preprocessing step without checking the rebuilt world before training [12]. RESET uses the demonstration itself as a dynamic and visual verification standard, characterizes how reconstruction errors affect code policies, and outputs inspectable white-box programs.
Learning from a single demonstration.
Demo2Code [20] summarizes demonstrations into code specifications, RoboSplat [23] augments single demonstrations via novel-view synthesis, and Human2Sim2Robot [11] bridges human-robot morphology gaps via RL from one video. Unlike methods that imitate demonstrated trajectories, RESET uses the demonstration solely to build and verify the environment and terminal criterion; runtime controllers never replay the demonstration, unlocking zero-demonstration transfer.
3 Method
3.1 Motivation
Three questions shape the design of RESET. Each starts from an observation about what happens without the corresponding component (Sec. 4).
Why does code need practice, and where can it practice?
Code written once is not enough. Given the same interfaces and contact hints that RESET uses, an agent’s first program succeeds on 27% of unseen simulated layouts on average, varies widely between samples (70%, 0%, and 36% on one task), and never succeeds on the four hardest tasks (Tab. 1). Such a program improves only by being run, failing, and being revised, which takes an environment that resets at will and a score that needs no human. A real task offers neither, and practicing on a real robot costs hours of supervised trials per task [22]. One successful demonstration, however, already contains both: its first frame shows the scene and its final state defines success, which motivates Rebuild.
Why check the rebuilt world against the demonstration?
No reconstruction is perfect, and a success rate measured in a wrong world says little about the real one. When object scale is off by 10% or the table is 2\,\mathrm{cm} too low, a skill that is perfect in the correct world falls to 0% on several tasks (Tab. 2); and under a loosely worded criterion, a program that knocks the carton flat is scored 100%. The demonstration gives a check for both. It is a physical execution known to succeed, so a usable world must reproduce it; and its final state, not a text description, defines success. What one demonstration cannot determine, mass and friction, we do not claim to verify and instead randomize during practice. This motivates Examine.
Why code, and why share the task rather than the motion?
The demonstrated motion itself transfers poorly: replayed open-loop it succeeds on 8% of new layouts, and a vision-language-action policy fine-tuned on 100 trajectories per task reaches 31% and a Diffusion Policy trained on the same trajectories 50%. A program differs in three ways. It exposes which step failed, which gives an agent something specific to revise (Sec. 4.4). It runs on the real robot with no model in the loop. And it keeps what the task requires, the world and the criterion, apart from how one robot meets that requirement, so a robot with different arms or hands can practice in the same world (Sec. 4.5). This motivates Self-improve, Execute, and Transfer.
3.2 Problem Formulation and Overview
Let \mathcal{D}=\{(I_{t},D_{t},q_{t},g_{t})\}_{t=0}^{T} be one successful real demonstration on a source robot \mathcal{E}_{s}, with RGB image I_{t}, depth map D_{t}, joint angles q_{t}, and gripper command g_{t}. The scene has observable geometry \theta_{\mathrm{obs}} (object scale, table height, camera pose), which \mathcal{D} constrains, and latent physics \theta_{\mathrm{lat}} (mass, friction), which one successful execution cannot identify. Given target robots \{\mathcal{E}_{k}\} with no demonstration, we synthesize control programs P_{s} and \{P_{k}\} that complete the task from unseen object layouts, without hand-written rewards. RESET does so in five stages (Fig. 2): Rebuild, Examine, Self-improve, Execute, and Transfer.
- Open-loop Demo Replay
- 4%
- 0%
- 12%
- 0%
- 38%
- 0%
- 0%
- 10%
- 8%
- Zero-shot Code (3-run mean)
- 85%
- 35%
- 55%
- 39%
- 0%
- 0%
- 0%
- 0%
- 27%
- Zero-shot Code (3-run best)
- 100%
- 70%
- 96%
- 76%
- 0%
- 0%
- 0%
- 0%
- 43%
- \pi_{0.5} fine-tuned (per-task) [7]
- 4%
- 0%
- 76%
- 6%
- 72%
- 4%
- 32%
- 52%
- 31%
- Diffusion Policy (per-task)
- 20%
- 0%
- 94%
- 6%
- 94%
- 26%
- 70%
- 88%
- 50%
- RESET (Ours)
- 100%
- 98%
- 96%
- 100%
- 100%
- 100%
- 88%
- 94%
- 97%
3.3 Rebuild: World and Read-Only Criterion
Contact-rich world reconstruction.
We recover the camera pose by aligning the robot’s kinematics with the images across the demonstration, and segment the task objects in the first frame (I_{0},D_{0}) with a pretrained promptable segmentation model. A multimodal coding agent iteratively models each object as a mesh, keeping the cavities and articulated parts that stacking, insertion, and drawer pulling depend on. The meshes are registered and scaled to the first-frame depth point cloud, the table plane is fitted, and the scene is exported to a physics simulator together with the robot’s URDF. \theta_{\mathrm{lat}} receives nominal values.
Terminal criterion and read-only scorer.
The success criterion is read from the demonstrated final state as a conjunction of geometric relations (containment, support, insertion, hanging, upright orientation) plus a stillness condition after release. The criterion is confirmed once by a person, after the world has been rebuilt and has passed Examine. The scorer is then read-only and hidden from the controller, so practice cannot game it.
3.4 Examine: Dual-Channel World Verification
Sensor noise, camera error, and scale error make every rebuilt world deviate from the real scene. Because \mathcal{D} is known to succeed, Examine checks whether the rebuilt world can reproduce it, through two complementary channels. The dynamic channel places objects at their first-frame poses and replays the recorded joint and gripper commands open-loop; objects are never attached to the gripper, so grasping and placement must arise from contact. It measures how many of the demonstrated grasps are reproduced and how far the objects deviate from their tracked motion, which constrains table height and contact support. The visual channel renders the world at the recorded joint angles before contact and measures the silhouette IoU of each task object against the demonstration masks, which constrains camera pose and object scale. These measurements are used to compare reconstructions of the same scene and to discard those that reproduce the demonstration clearly worse; the margins are fixed on development tasks before held-out evaluation. Examine is a check that the world is usable, not a guarantee of fidelity: mass and friction leave both channels almost unchanged and are covered by randomized practice.
3.5 Self-Improve: Two-Level Code Evolution
The verified world, randomized collision-free layouts, and the read-only scorer form a task-specific benchmark that resets automatically. In it the controller is a white-box program P=(G,\Pi,\Lambda): an object-centric task graph G whose nodes call skills with entry and exit checks and retry budgets, a skill library \Pi (pose estimation, inverse kinematics, and grasp, place, sweep, and handover primitives), and the bindings \Lambda between them. P may read only what a physical robot provides: camera streams, calibration, joint encoders, and the gripper-to-object contact offsets observed in the demonstration. It never reads simulator state or the scorer, so the same program runs unchanged on the real robot.
In each round, a coding agent runs P on diagnostic layouts, reads the status and failure reason of every node together with keyframes, locates the earliest node that went wrong, and revises the program at two levels. Task-level revisions change the graph (e.g., a retry after an empty grasp, a handover between arms); skill-level revisions change the geometry inside a skill (e.g., where to grasp). To avoid fitting to particular failures, a revised program replaces the current one only if it succeeds more often on a separate set of hold-out layouts. When practice converges or the round budget is spent, P is fixed and evaluated once on sealed layouts.
3.6 Execute and Transfer
The final program runs on the physical robot as ordinary code, with no LLM call and no human intervention. Before each node it estimates object poses from segmentation and depth, then executes the skill. All reasoning happens offline, and because the program is frozen after practice, the code that runs on the real robot is exactly the code evaluated in simulation; a failure can be traced to a specific node.
A target robot \mathcal{E}_{k} receives everything that is independent of the robot unchanged: the verified world, the criterion, the layout distribution, and the source robot’s task graph with its notes on physical pitfalls. It supplies its own URDF, camera calibration, and contact offsets for its end-effector, and runs Self-improve in the shared world to obtain P_{k}. No trajectory or skill code of the source robot is required: a target robot reuses a source function when it suits its own arms or hands and otherwise writes its own (Sec. 4.5). The demonstration is thus used once, to build and check the world, and never as a motion to imitate.
4 Experiments
We evaluate five core questions—Q1: layout generalization vs. baselines; Q2: tolerance to reconstruction errors; Q3: Self-improve component ablations; Q4: zero-demonstration cross-embodiment transfer; and Q5: physical deployment and episode-level Sim-to-Real agreement.
4.1 Experimental Setup
Embodiments and tasks.
We evaluate 4 platforms with different kinematics, cameras, and end-effectors (Fig. 1c). The dual-arm 6-DoF xTrainer (parallel grippers) is the only source embodiment and provides one demonstration per task. The three target embodiments receive none: ARX LIFT2 (6-DoF arms on a lift), Unitree G1 (five-finger hands; lower body fixed in simulation), and a 7-DoF Dual-arm Franka. We test 8 tabletop tasks (Fig. 3): Apple, Cubes, Stack Cups, Build Tower, Mug-Box (bimanual handover), Open Drawer (articulated pull + place), Sweep (tool sweeping), and Lift-Box (upright orientation).
Implementation.
Rebuild uses GPT-6 Astra (object assets, in Blender), SAM3 [1] (segmentation), and MuJoCo [16]; Self-improve uses Claude Code with Claude Opus 5.5. A person confirms the success criterion once per task; this changed the criterion only for Lift-Box.
Protocol and sandbox isolation.
Q1–Q4 are evaluated in simulation, in the rebuilt worlds. Layouts use disjoint seeds: Diagnostic (DEV 0–19), Hold-out Adoption (DEV 20–39), and sealed Blind Test (TEST 0–49, evaluated once, after development ends, under the final read-only scorer). Each layout moves every task object by up to \pm 3–6\,\mathrm{cm} along each table axis and rotates it by up to \pm 10^{\circ}–180^{\circ} about the vertical, around its demonstrated pose; layouts with collisions or objects out of reach are discarded. Ablations and reruns use isolated agents that see only the initial code, the task text, and their own logs.
4.2 Main Results on Source Embodiment (Q1)
Baselines and quantitative comparison.
Table 1 compares RESET against Open-loop Demo Replay, Zero-shot Code (3 independent samples per task with the same interfaces and contact priors), and per-task \pi_{0.5} policies [7] (fine-tuned for 6,000 steps on 100 RESET trajectories from disjoint layouts). Open-loop replay averages 8%: the layouts cannot be solved by memorizing a trajectory. Zero-shot code averages 26.8% with extreme variance (Cubes: 70/0/36%; Stack Cups: 96/18/50%) and scores 0% across all 3 samples on Mug-Box, Open Drawer, Sweep, and Lift-Box. Per-task \pi_{0.5} averages 30.8%, and a Diffusion Policy [3] trained from scratch on the same trajectories 49.8%: it approaches RESET on Stack Cups, Mug-Box, and Lift-Box, but stays at or below 26% on Apple, Cubes, Build Tower, and Open Drawer, which need precise grasps or placements. Both policies use their default settings; 100 trajectories are little data for fine-tuning a model as large as \pi_{0.5}, which may explain its lower score. RESET reaches 97.0% overall and 88%–100% on the four tasks where zero-shot code scores 0%.
Repeatability and criterion precision.
Independent reruns from zero-shot starts reach 100% on Build Tower, 98% on Open Drawer, and 86% on Sweep. On Lift-Box, a loose text-translated criterion (“carton on box”) scores a zero-shot program 100% for knocking the carton flat; the demonstration-derived upright criterion scores it 0%.
4.3 How Much Reconstruction Error Can RESET Tolerate? (Q2)
No reconstruction is perfect, so we inject one defect at a time into the rebuilt worlds: geometric errors (object scale \times 0.8–\times 1.2, a table 2\,\mathrm{cm} too low, a shifted camera) and latent physical errors (friction \times 0.3, mass \times 3). We ask whether practice in such a world still yields a skill that works in the correct one, whether a success rate measured there can be trusted, and whether Examine flags the world.
- None (correct world)
- 0/6
- 0/6
- –
- Scale \times 0.8, \times 0.9
- 1/12
- 11/12
- 1/1
- Scale \times 1.1–\times 1.2
- 12/18
- 11/18
- 9/12
- Table -2\,\mathrm{cm}
- 3/6
- 6/6
- 3/3
- Camera shift
- 0/6
- 6/6
- –
- Friction \times 0.3
- 0/6
- 0/6
- –
- Mass \times 3
- 2/6
- 0/6
- 0/2
Finding 1: Practice tolerates most reconstruction errors; a wrong world hurts when it hides a failure.
We run the full Self-improve inside defective worlds and test the result in the correct world (Tab. 3). In most cases the outcome is the same as after practice in the correct world: Mug-Box reaches 100% from all three defective worlds, Build Tower 98%–100%, Apple 94% with the table 2\,\mathrm{cm} too low, and Stack Cups 82%–100% in four of six runs with enlarged objects. The revisions an agent makes re-anchor the skill on what it perceives (e.g., a grasp height relative to the perceived rim instead of the demonstrated absolute height), and such revisions carry over. Two cases fail. A geometric error can make the task unsolvable in the practice world, so the program stays where it started (Apple with enlarged objects). More subtly, a geometric error can hide a failure: with the table 2\,\mathrm{cm} too low, the zero-shot Stack Cups program happens to release at the right height and succeeds in 98% of practice episodes, so practice finds nothing to fix. In three independent runs the resulting program reaches only 18%–20% in the correct world, against 96% after practice there.
- Apple
- 78%
- 100%
- 78%
- 78%
- 94%
- Build Tower
- 42%
- 100%
- 100%
- 98%
- 100%
- Mug-Box
- 0%
- 100%
- 100%
- 100%
- 100%
- Stack Cups
- 18%
- 96%
- 18/98/98%
- 8/82/100%
- 18/20/18%
Finding 2: A success rate measured in a wrong world cannot be trusted.
The opposite direction is not tolerant. A skill that is perfect in the correct world breaks in 12 of 18 worlds with objects enlarged by 10%–20% and in 3 of 6 with the table 2\,\mathrm{cm} lower, whereas camera shifts and friction changes are absorbed by online localization. A geometric error therefore changes what a simulated success rate means, even when it does not prevent learning, which is why we check the world against the demonstration and verify that it predicts real-robot outcomes (Sec. 4.6).
Finding 3: Examine flags most geometric errors; randomization covers physics.
Examine compares versions of the same scene and flags those that reproduce the demonstration clearly worse than the best one. It flags no correct world and 13 of the 16 geometric defects that break a skill, including every lowered table (Tab. 2), and every world in Tab. 3 where practice always failed. It misses three enlarged worlds, so it is a check, not a guarantee. Mass and friction are invisible to Examine and are covered by practicing across 4 worlds with randomized mass and friction: on Mug-Box this lifts success under an unseen mass \times 3 from 10% to 100% (Tab. 4); the 3\times heavy Open Drawer stays unsolved.
- Mug-Box
- Nominal only
- 100%
- 10%
- 100%
- 100%
- Randomized
- 100%
- 100%
- 100%
- 100%
- Open Drawer
- Nominal only
- 98%
- 0%
- 100%
- 95–100%
- Randomized
- 98%
- 0%
- 100%
- 100%
- xTrainer (source)
- Sim.
- 100%
- 98%
- 96%
- 100%
- 100%
- 100%
- 88%
- 94%
- 97%
- Real
- 10/10
- 10/10
- 9/10
- 8/10
- 10/10
- 10/10
- 6/10
- 10/10
- 73/80
- Dual-arm Franka
- Sim.
- 94%
- 98%
- 100%
- 100%
- 94%
- 100%
- 78%
- 100%
- 96%
- Real
- 10/10
- 10/10
- 10/10
- 10/10
- 10/10
- 8/10
- 8/10
- 10/10
- 76/80
- ARX LIFT2
- Sim.
- 86%
- 76%
- 90%
- 92%
- 84%
- 70%
- 58%
- 80%
- 80%
- Real
- 7/10
- 8/10
- 9/10
- 7/10
- 9/10
- 9/10
- 6/10
- 6/10
- 61/80
- Unitree G1
- Sim.
- 86%
- 70%
- 100%
- 70%
- 80%
- 100%
- 32%
- 80%
- 77%
- Real
- 5/10
- 2/10
- 3/10
- –
- 3/10
- –
- –
- –
- 13/40
4.4 Self-Improvement Ablations (Q3)
On Mug-Box and Open Drawer, starting from zero-shot programs that score 0% (Tab. 6), removing node-level failure logs and keyframes (outcome-only feedback) leaves performance at 12% and 0% after 8 rounds, whereas full RESET converges in 3–5 rounds to 100% and 98%: node-level failure evidence is essential. Removing hold-out gating, the rule that adopts a revision only if it does better on the hold-out layouts, still solves Mug-Box (100%) but stays at 0% on Open Drawer after all 8 rounds.
- Full RESET
- 100%
- 3
- 98%
- 5
- w/o hold-out gating
- 100%
- 3
- 0%
- 8
- Outcome-only feedback
- 12%
- 8
- 0%
- 8
4.5 Cross-Embodiment Transfer (Q4)
Transfer performance across morphologies.
We hand xTrainer’s 8 verified worlds and criteria to three target robots (Tab. 5). Dual-arm Franka and ARX LIFT2 reach 95.5% and 79.5%, and Unitree G1, with five-finger hands instead of parallel jaws, reaches 77.3% (32% on Sweep, where its fingers lack lateral stiffness on the flat brush handle).
Is it the shared world, or just copied code?
To separate the two, we run the source robot’s final programs unchanged on each target robot, with no practice. On Dual-arm Franka, whose arms are close to xTrainer’s, five programs work as they are (94%–100%); the other three reach 10%, 24%, and 0% (Stack Cups, Sweep, Lift-Box) and rise to 100%, 78%, and 100% after practice in the shared world. On ARX LIFT2 the source programs succeed on no task, and on Unitree G1 only on Apple (18%); after practice the two robots average 80% and 77%. The source robot’s task graph and notes are not required either: given only the shared world and criterion and starting from scratch, LIFT2 reaches 94% and 84% on Mug-Box and Open Drawer and G1 reaches 74% and 92%, comparable to the 84%, 70%, 80%, and 100% obtained when they are inherited.
Skill-level reuse analysis.
Comparing function-level syntax trees across the final skill libraries (Fig. 4), 94.5% of Dual-arm Franka’s skill functions are identical to another robot’s and LIFT2 reuses 78.2%, whereas Unitree G1 writes 86.7% of its skills from scratch yet still reaches 77% on average. What carries over across embodiments is the verified world and criterion, not the code.
4.6 Real-World Deployment and Sim-to-Real Agreement (Q5)
We deploy the frozen programs on four physical robots with no code edits and no human intervention (10 trials per task, objects placed by hand at varied positions). The source xTrainer and the zero-demonstration Dual-arm Franka and ARX LIFT2 run all 8 tasks, and Unitree G1 runs 4 (Tab. 5, Fig. 3). In total, 223 of 280 real-robot trials succeed (80%), and 210 of 240 (88%) on the three fixed-base robots. xTrainer succeeds in 73/80 trials (91%) and Dual-arm Franka in 76/80 (95%), close to their simulation rates (97% and 96%); both arms have a large workspace and localize objects accurately in our scenes. ARX LIFT2 reaches 61/80 (76%, against 80% in simulation): its arms have a smaller reachable workspace, so some layouts place objects near the limit of its reach. Unitree G1 succeeds in 13/40 trials on its four tasks (33%, against 84% in simulation on the same tasks). Its whole-body controller shifts the base whenever the arms move, and the open-loop program does not compensate for this shift (Sec. 5).
Does the verified world predict real outcomes?
For every real trial we register the first camera frame to recover the actual object layout, reproduce that layout in the verified world, and run the same frozen program there. Simulation and the real robot give the same outcome in 95% of the 80 trials on xTrainer and in 90% on ARX LIFT2, a robot that took no part in building or examining the world.
Cost.
Self-improve converges in 2–8 rounds, using 100–320 simulation episodes and about 30M LLM tokens per task and robot. Deployment uses no LLM tokens.
5 Limitations and Conclusion
Limitations.
RESET currently targets rigid, articulated, and quasi-static sweeping tasks, not deformable cloth or dynamic throwing. Extreme latent parameter jumps that demand a wholly different contact topology (e.g., a 3\times heavy drawer) remain beyond parameter randomization. Finally, practice does not yet model the effect of a humanoid’s whole-body controller: on Unitree G1 the controller shifts the base whenever the arms move, so real-robot success falls well below that of fixed-base arms (Tab. 5); adapting RESET to real humanoids is left to future work.
Conclusion.
We presented RESET, which brings agent-driven code self-improvement from hand-built benchmarks to real tasks. One real demonstration provides the practice world, the success criterion, and the reference for checking that world, so what a task requires is separated from how a particular robot performs it. The rebuilt world need not be perfect: practice tolerates most reconstruction errors, and checking the world against the demonstration flags those that would mislead it. More broadly, RESET offers a one-shot, cross-embodiment route to robot skills that is carried by an agent’s general knowledge of the world and of code: a user demonstrates a task once, and different robots obtain inspectable, ready-to-run skills.
References
Appendix
- Demonstration
- Rebuilt world
- Goal
- Apple inside the bowl.
- All five blocks inside the bowl.
- Purple cup nested in the blue cup, both upright.
- Purple cube on the purple bar, yellow cube on top.
- No data
- Mug-Box
- Open Drawer
- Sweep
- Lift-Box
- Demonstration
- Rebuilt world
- Goal
- Mug upright on the wooden box.
- Drawer opened and the orange block inside.
- Block swept into the dustpan with the brush.
- Juice carton on top of the wooden box, standing upright.
Appendix A Tasks and rebuilt worlds
Each of the eight tasks is demonstrated once on the source robot xTrainer (Sec. 4.1). Fig. S1 shows each demonstration together with the world rebuilt from it (Sec. 3.3) and the goal that the success criterion reads from the demonstrated final state. Every criterion also requires the objects to be released and still at the end of the episode.
Appendix B Examine examples
Examine (Sec. 3.4) checks a rebuilt world against the demonstration through two channels. Figs. S3 and S3 show both channels on the Apple task, in the correct world and in worlds with one of the geometric defects injected in Sec. 4.3: the table 2\,\mathrm{cm} too low, and all objects scaled by \times 1.2.
Appendix C One round of Self-improve
In each round, Self-improve (Sec. 3.5) runs the program on diagnostic layouts, reads the status and failure reason of every node, and revises the code. Fig. S4 follows one such revision on the Apple task on the source robot xTrainer, from a failed practice episode of the round-0 program to the program after the round-1 revision.
Appendix D Simulation execution on four robots
In Transfer (Sec. 3.6), each target robot practices in the same rebuilt worlds with the same criteria, without a demonstration of its own. Fig. S5 shows one key frame of the final program of each of the four robots on each of the eight tasks. Success rates are reported in Tab. 5.
Appendix E Real-robot execution
The final programs run on the real robots as ordinary code, with no code edits, no human intervention, and no LLM call (Sec. 3.6). Figs. S6b–S6d show, for each robot and task, three frames of one trial: the start, a key moment, and the final state. xTrainer, Dual-arm Franka, and ARX LIFT2 ran all eight tasks on the real robot, and Unitree G1 ran four of them (Apple, Cubes, Stack Cups, and Mug-Box), so Fig. S6d has two rows. Fig. S7 shows one program of Dual-arm Franka run from three different object layouts on each of three tasks.
Appendix F Protocol and baselines
Real-robot protocol.
The final programs are frozen after practice in simulation and run on the real robots as ordinary code, with no code edits, no human intervention, and no LLM call at run time (Sec. 3.6). Each task is run for 10 trials, with the objects placed by hand at varied positions. xTrainer, Dual-arm Franka, and ARX LIFT2 run all 8 tasks; Unitree G1 runs 4 of them (Apple, Cubes, Stack Cups, and Mug-Box). Dual-arm Franka, ARX LIFT2, and Unitree G1 received no demonstration. Results per task and robot are in Tab. 5; examples are shown in Fig. 3(b), in Figs. S6b–S6d and S7, and in the video.
Baselines.
All baselines are evaluated in simulation on the source robot xTrainer, on the same 50 unseen test layouts per task (TEST 0–49) as RESET (Tab. 1).
- Open-loop Demo Replay replays the demonstration.
- Zero-shot Code takes 3 independent samples per task, with the same interfaces and contact priors as RESET; Tab. 1 reports the mean and the best of the three.
\pi_{0.5}is fine-tuned for 6,000 steps on 100 RESET trajectories from disjoint layouts, one model per task.- Diffusion Policy is trained from scratch on the same trajectories, one model per task.
Both policies use their default settings.
Appendix G Supplementary video
The video on the project page presents, in order, the problem (why self-improving robot code needs a world to practice in), the idea (what one real demonstration provides), the method (the five steps of RESET: Rebuild, Examine, Self-improve, Execute, and Transfer), and the simulation results. It then shows simulation rollouts of all four robots on all eight tasks and real-robot rollouts of the final programs on the four robots. Rollouts are sped up.