Research
Agentic RSR: Real-to-Sim-to-Real through Scene Reconstruction and Execution-Grounded Robot Policies
Turning a video of a real workspace into a simulation that a robot can actually use is usually done in one place, while writing the robot's control policy is done in another, with little connection…

- arXiv
- 2610.10479 · Preprint · not peer-reviewed
- Published
- 2026-10-07 · revised · 2026-10-11
- Authors
- Yihan Li, Yating Feng, Shengjiu Sun, Jianing Chen, Hao Ren, Bowen Yang, Weisheng Xu, Qiwei Wu, Hui Cheng, Renjing Xu
In plain words
Turning a video of a real workspace into a simulation that a robot can actually use is usually done in one place, while writing the robot's control policy is done in another, with little connection between the two. The result is a simulated scene that looks right but does not support the right interactions, and a policy that was never tested against the observations the real robot will actually see.
AI summary
Overview
- Research area: Robot learning, specifically Real-to-Sim-to-Real transfer, 3D scene reconstruction, and LLM-based programmatic (code) robot policies.
- Technical level: Advanced. The paper assumes familiarity with sim-to-real transfer, camera registration, and LLM coding agents, though its core argument is stated plainly.
- Scope (one sentence): The paper describes Agentic RSR, a closed-loop system in which agent-driven reconstruction of a captured workspace video, agent-written executable policies refined in MuJoCo, and a shared task-level interface are chained together so a policy developed in simulation can run on a real Franka FR3 or Agilex Piper robot.
What This Paper Is About
Turning a video of a real workspace into a simulation that a robot can actually use is usually done in one place, while writing the robot's control policy is done in another, with little connection between the two. The result is a simulated scene that looks right but does not support the right interactions, and a policy that was never tested against the observations the real robot will actually see.
Agentic RSR attacks this by tying reconstruction, policy development, and hardware execution to the same manipulation task. An agent reconstructs a metrically scaled, physically checkable scene from a workspace video; a second agent writes and iteratively debugs a programmatic policy inside that scene, moving from privileged object poses to real visual observations to randomized conditions; then that policy plus a written "experience memory" is carried to the real robot through a shared interface, where fresh observations and safety checks govern execution.
Key Contributions
- Agentic Real-to-Sim reconstruction for executable tasks. The method anchors a video-reconstructed workspace to known robot geometry (URDF) using multi-scale Sim(3) registration, then lets DeepSeek Harness (DSH) agents iteratively refine the Blender scene against four fixed reference views, with acceptance decided by a programmatic evaluator rather than the agent's own judgment. A separate agent session classifies meshes and checks task-relevant physical interactions in MuJoCo.
- An execution-grounded programmatic policy built by a Codex agent. The agent writes a policy bundle containing a full program plus reusable steps. Within a single program invocation the policy may interleave multiple observations and actions, and the agent uses execution feedback to continue, reset and retry, or revise. The submitted policy version is locked during final evaluation.
- A unified Real-to-Sim-to-Real closed loop. A consistent task-level observation and action interface connects reconstruction, simulation-based policy testing, and hardware execution, with a policy plus experience memory transferring to the robot and robot-side safety mechanisms gating actions.
Main Findings
- Reconstruction quality: With Claude Opus 5.5 through DSH, all 18 scenes pass the joint visual check within a five-round budget, with a mean first acceptance round of 2.22. Mean four-view Depth MAE is 0.08078 m, mean Lab ΔE76 is 8.0104, and mean full-frame grayscale SSIM is 0.73375.
- Comparison against reconstruction baselines: On the same 18 task videos, Re³Sim reports Lab ΔE76 of 20.60 and SSIM of 0.5835 with no depth reported; RL-GSBridge 22.87 and 0.5568; RoboSimGS 20.43 and 0.5939; SimFoundry 60.48 and 0.4495 with Depth MAE 0.3916, CD 0.1736, F1@1cm 0.0084, and BBox error 0.2355 m. Several baseline depth entries are missing because those methods do not emit depth or instance-level geometry directly usable here.
- Model comparison within DSH (18 scenes each): Claude Opus 5.5 and Claude Fable 5.1 both pass 18/18. Fable has the lowest mean Depth MAE at 0.07326 m, while Opus has the lowest Lab ΔE76 (8.0104) and highest SSIM (0.73375). GPT-6 Astra and Claude Sonnet 5.5 each pass 15/18, GPT-6.1 Sol 12/18, GPT-5.6 Sol 4/18. Kimi K3 and DeepSeek V4.1 Flash each pass 0/18 because neither completes the required tool interactions, so no metrics exist for them (their metric entries are unavailable, not zero error).
- Policy results (18 tasks): Agentic RSR reaches Sim SR 55.6% and Real SR 44.4%, with paired transfer of 80.0% — 10 of 18 tasks succeed in simulation and 8 of those also succeed on hardware. Code as Policies reports 50.0% and 25.6% (descriptive ratio 51.1%), and Instruct2Act 38.9% and 27.8% (ratio 71.4%, from 7/18 and 5/18).
- Ablations on the earlier Codex pipeline: Removing initial metric calibration drops passing scenes to 3/18 and raises Depth MAE to 0.2583 m while leaving Lab ΔE76 close to the full system (11.99 versus 11.04) — showing visually similar scenes can hide large scale or position errors. Removing scalar metric feedback drops passing scenes to 6/18 with Depth MAE 0.3746 m. Swapping the refinement agent to GPT-5.6 Sol drops to 10/18 with Depth MAE 0.2119 m.
- Refinement trajectory: In the historical Codex run, refinement reduces mean four-view Depth MAE from 0.9036 m to 0.1057 m and mean Lab ΔE76 from 24.84 to 11.04, with mean full-frame grayscale SSIM 0.6990; all scenes reach mean Depth MAE below 0.15 m by round 6.
- Object-level geometry (historical Codex batch, 42 measured objects): Scene-equal mean symmetric Chamfer distance 0.0303 m, F1@1cm 0.3655, visible bounding-box center error 0.0869 m. These object-level metrics are not reported for the DSH batch.
- Registration fit: Across nine captures per robot, Franka mean final ranking loss is 0.11364 with mean IoU 0.8438 and task-median projected-depth residual 35.3 mm; Piper is 0.10464, 0.8405, and 21.3 mm.
- Caveat the authors state explicitly: Reference depths come from the preceding video reconstruction, so Depth MAE measures consistency with that metric reference, not error against independently measured ground truth.
Methodology in Plain English
Step 1 — Get the scale right. The system samples 32 frames from the workspace video, picks four as fixed reference views, and uses VGGT-Ω for camera parameters and depth plus SAM3 for robot masks. Back-projecting the masked depths gives a point cloud of the robot. Because the robot's CAD model (URDF) is in meters, aligning that model to the cloud with multi-scale Sim(3) registration plus local refinement recovers the scale factor and the transform from robot base to reconstruction frame. Everything else — scene, cameras, depths — is then expressed in meters relative to the robot. Candidate alignments are ranked by a weighted loss over mask IoU and recall, bidirectional point-cloud distance, coverage, and depth consistency; 128 rotation candidates are tried with the top 3 refined.
Step 2 — Rebuild the scene with agent feedback. A DSH planning session gets the task description and the four real images and drafts a plan for task objects, background, and spatial layout. A separate refinement session then loops: it renders the current Blender scene, inspects it, and submits a Python edit script. An external runner applies the script, verifies the robot and the four cameras were not touched, saves a candidate, and scores it on depth error, Lab color difference, and valid-depth coverage per view. The agent gets only scalar feedback; acceptance is decided by the evaluator. The pass condition requires mean depth error under 0.15 m and mean color difference under 15, plus per-view depth under 0.20 m, color under 30, and coverage at least 0.50.
Step 3 — Check it can be manipulated. A separate session classifies meshes as visual-only, static support/collision, or movable/articulated task objects, then exports a MuJoCo scene with the known robot. A physics-checking session runs settling, simplified grasp, or articulated-motion probes and can request a revised candidate; geometry or pose changes trigger regression checks against the reference views.
Step 4 — Write the policy in three passes. A Codex agent writes an executable program against a fixed task-level interface: end-effector state, estimated wrist-camera pose, gripper state, wrist and third-person images, and object-position estimates from wrist RGB-D plus SAM3 on the observation side; end-effector pose commands, gripper control, and sparse trajectories on the action side. Pass one allows temporary ground-truth object poses so the agent can work out task decomposition. Pass two removes that access and forces the policy to work through the visual interface only. Pass three keeps the visual interface but randomizes initial object positions, camera pose and calibration, and action execution. The policy version is frozen for final evaluation.
Step 5 — Transfer. The policy and an experience memory (what worked, what failed, perception difficulties, what to try or avoid) go to the real robot. A new agent conversation must re-localize objects from real observations rather than reuse simulated coordinates. A robot-side mechanism checks frames and calibration, enforces action limits and a safe workspace, and blocks violating actions; the policy is also instructed to observe more often around consequential actions.
Why This Matters
Impact on research. The paper argues that reconstruction and policy development should be evaluated as one loop on one task, not as separate benchmarks. Its distinctive claim is that agent-refined scenes can be checked for executability — visual acceptance plus physical probes in MuJoCo — and that a programmatic policy can carry execution feedback across the sim-to-real boundary. It also provides an honest measurement of transfer: 80.0% paired transfer, meaning 8 of the 10 tasks that worked in simulation also worked on hardware.
Real-world applications:
- Recreating a specific kitchen or tabletop workspace so a robot can practice a task like bowl stacking or storing fruit before attempting it on the real setup.
- Rapid commissioning of pick-and-place cells in logistics and light manufacturing, where a phone video of the cell substitutes for a hand-built digital twin.
- Lab and pharmacy automation, where tasks such as closing a cup lid, placing a glue bottle in a pen holder, or taking out a tissue recur in fixed workspaces.
- Regressing a policy against a captured scene after a workspace changes, using the same video-to-simulation loop as a validation step.
Industry relevance. The framework is built on commodity pieces — a known URDF, a video, an off-the-shelf simulator, and commercial coding agents — and it targets two different arms (Franka FR3 and Agilex Piper), which is the shape a deployable pipeline would need. The safety gating on the robot side and the explicit freezing of the robot and reference cameras during reconstruction both address concerns that matter for deployment rather than for a demo.
Future Directions
- Reproducibility of closed-source agent behavior. The authors report noticeable differences in agent behavior across devices, invocation interfaces, and repeated runs on the same device, observed but not measured under a controlled protocol. They call for clear model versioning and stable invocation interfaces.
- Closing the control-rate gap. The current design relies on model-call checkpoints, which the authors say limits response to rapidly changing contacts compared with high-frequency visuomotor control targeted by VLA policies such as π0. Combining high-level programmatic reasoning with faster low-level closed-loop control is the suggested direction, and they flag Jev as a tool worth investigating, with benefit for robot tasks still unestablished.
- From fixed programs to adaptive programs. The paper contrasts programmatic control (fast, but limited when execution hits a case outside the program's anticipated logic) with agent-driven revision (adaptable, but limited by latency and discrete checkpoints), and leaves the right balance open.
- Consistent, isolated comparisons. The authors note the harness was refactored and iteration budgets differ or are unreported, so cross-batch comparisons are descriptive and do not isolate model from harness effects. A matched protocol would settle how much each component — model choice, scalar feedback, initial calibration — actually contributes.
Target Audience
Robotics researchers working on sim-to-real transfer, manipulation, and Real-to-Sim reconstruction; engineers building digital twins of robot cells; and researchers applying LLM coding agents to robot control. It is also well suited to graduate students who want a concrete, end-to-end example of how agentic revision, physical plausibility checks, and paired transfer measurement fit together — and to practitioners who care as much about the failure modes (scale errors hidden behind good-looking renders, tools that never complete) as about the headline numbers.
Authors’ abstract
A simulation of a real robot workspace must preserve task-relevant interactions, while policies developed in it must operate on observations available to the real robot. Yet scene reconstruction and policy development are often treated separately. We present Agentic Real-to-Sim-to-Real (Agentic RSR), a framework that links scene reconstruction, policy development, and real-robot execution through the same manipulation task. Given a workspace video, a task description, and a…
The full abstract on arXivRelated papers
- TS-WAM: Temporal Latent Actions and World-Action Coupling for Vision-Language Robot Control 2026-10-15 · cs.RO · Also by Renjing Xu, Yating Feng
- How to Learn from What a Human Would Avoid? Intervention-Aware World Models with Real-World RL for Dexterous Manipulation 2026-09-05 · cs.RO · Also by Renjing Xu, Yating Feng
- DexFormer 2.0: Towards a Cross-Embodiment Foundation Policy for Dexterous Grasping 2026-11-15 · cs.RO · Also by Renjing Xu, Yating Feng
- ACE-Brain-0.7: Learning Execution-Grounded Reasoning for Embodied Agents 2026-11-19 · cs.RO · Key terms of the title in common
- Fixed-Reference Pose Residuals for Measuring Cross-Dataset Cue Transfer in Human-Robot Interaction Anticipation 2026-10-08 · cs.RO · Also by Bowen Yang