Real2SimLab: A Unified Platform for Real-to-Simulation Transfer

Yongchang Zhang, Jie Huang, Yunhe Ni, Ningyu Zhou, Guangyu Zhao, Ruixun Liu, Rui Huang, Yidi Wu, TianZe Zhang, Zixiang Jiang, Xiang Li, Kevin Shen, Yiwu ZhongarXiv 2026

TL;DR

Coding agents can now watch a real-world video—like liquid pouring into a glass—and write a physics program from scratch to simulate it. However, testing these agents is a headache because every benchmark demands a completely different input, deliverable, and scoring pipeline. Real2SimLab fixes this plumbing crisis by acting as a universal adapter, turning the written simulation program into a clean interface that evaluates 52 methods across 6 benchmarks with a single command, while generating contamination-free training data along the way.

Figure 1: Overview of this work. (1) The new paradigm: a coding agent turns a recording of a real event into a program that simulates it. Every simulation frame here is rendered by re-running a program that the Codex agent wrote for the input video recording.(2) Real2SimLab runs the program that a method writes, scores its output with the scorer of the benchmark, and creates training data and reward annotations. (3) Awesome-Real2Sim organizes nearly 300 real-to-simulation papers according to what they deliver or ask for.

What Problem Does This Paper Address?

For years, "real-to-simulation" (Real2Sim) transfer—turning real-world observations like videos or 3D scans into virtual environments—required bespoke engineering pipelines for every specific type of scene. Recently, foundation models opened up an exciting shortcut: just show a video to a coding agent and ask it to write and debug a simulation script directly.

The catch? Measuring progress is a mess. One benchmark gives an agent three seconds of video and asks for predicted future frames; another wants a Blender scene; a third demands a robot manipulation package. Each runs in its own software environment with custom evaluation scripts. If you want to test $N$ agents across $M$ benchmarks, you have to build $N \times M$ custom glue-code integrations. That friction keeps researchers from comparing methods fairly and slows down the entire field.

Without a shared platform, testing N methods on M benchmarks requires N x M custom adapters.

Methods

Real2SimLab sits right between the methods and the benchmarks, reducing $N \times M$ integrations down to $N + M$. Its core trick is making the program itself the universal interface.

  • Strict Task Splitting: Every task is split into visible/ (video, camera parameters, task prompt) and hidden/ (ground-truth references and official scorers). The agent works in an isolated container (via Docker or rootless bubblewrap) that never mounts the hidden/ folder and blocks all network traffic except to the model's API.
  • Freeze and Offline Re-run: Instead of trusting whatever output an agent left behind during its messy coding session, Real2SimLab freezes the final program (fingerprinting a copy of it) and re-runs it completely offline in a read-only sandbox. This verifies session-consistency (does the frozen code match the session output?) and reproducibility (do two runs with the same random seed match?).
  • Native & Reproduction Scoring: Whenever possible, Real2SimLab runs the benchmark's exact, pinned official scorer (native protocol). When an official trajectory scorer doesn't exist, it uses a reproduction skill metric ($1 - e / e_{\text{static}}$), comparing the simulated object trajectories against a baseline where nothing moves at all (skill = 0) and exact truth (skill = 1).
  • Visual Decontamination Pipeline: Real2SimLab also builds rewarded datasets for fine-tuning and RL. Because video clips often get recycled across public datasets—resized, clipped, or re-encoded—text-based checks fail. Real2SimLab extracts small thumbnails of frames containing motion and compares them across every time offset, filtering out any training video that overlaps with an evaluation benchmark.

Datasets

Real2SimLab adapts 6 existing benchmarks—Physics-IQ, Video2World, 4DCodeBench, PhysCodeGym, PhySimCode, and IRIS (specifically the dropped-ball class, extracting trajectories from video since IRIS originally evaluates parameter recovery).

Because the licenses and terms of existing benchmarks restrict using test sets for training, the authors also introduce a new synthetic suite. It renders five classic physics phenomena—bouncing ball, damped pendulum, sliding block, projectile with drag, and two-ball collisions—with exact ground-truth trajectories and source code. It serves both to verify the scoring pipeline and to generate unlimited, uncontaminated training tasks (ensuring parameters differ by more than 5% from test scenes). Alongside the code, the authors also compiled Awesome-Real2Sim, an open-source taxonomy of nearly 300 papers in the field.

Key Insights and Ideas

  • Evaluate the artifact, not the session: Agents do unpredictable things while debugging. Freezing the delivered script and re-running it offline ensures you are grading a standalone, reproducible simulator—not a lucky side effect cached during the agent's scratchpad session.
  • Benchmark contamination hides in plain sight: You might assume two benchmarks with different names have independent test sets. Using its motion-thumbnail overlap detector, Real2SimLab caught all 27 video clips that PhysCodeGym quietly reused from Physics-IQ—proving that assembling training data from public physics videos without frame-level checks will leak test data.
  • Separating bad code from crashed servers: If a container fails to boot or a scorer crashes, Real2SimLab logs an infrastructure error rather than assigning a score (or RL reward) of 0. Neither leaderboards nor reinforcement learning loops get polluted by hardware hiccups.

Key Results

Because this is an infrastructure paper, the authors validate the platform rather than crowning a winning AI model:

  • Ecosystem Scale: Connects 47 coding agents (via a bridge to the Harbor framework, plus 5 direct sandbox adapters for Codex, Claude Code, Gemini CLI, OpenCode, and mini-SWE-agent) and 5 non-agent reference methods across 6 benchmarks + 1 synthetic suite.
  • Adapter Fidelity: Benchmark adapters were verified against upstream releases—matching official Physics-IQ pipeline scores identically, reproducing Video2World reference package scores on Push-T, achieving a reproduction skill of 1.0 with ground-truth generators on the synthetic suite, and catching duplicate videos in the original IRIS release.
  • Decontamination Recall: In stress tests on synthetic videos subjected to heavy modifications (clipping, resizing, brightening, framerate drops, re-encoding), the visual overlap detector caught 36 out of 40 altered copies (missing only the most heavily compressed ones) and 27 of 27 real-world cross-benchmark duplicates.

Limitations and Future Work

  • No Head-to-Head Agent Leaderboard Yet: The paper focuses strictly on platform architecture; a systematic empirical comparison of the 52 connected methods is left for future work.
  • No Trained Models Shipped: While Real2SimLab builds the end-to-end data generation, reward scoring, and overlap-filtering pipeline for offline fine-tuning (e.g., DPO) and online RL (e.g., GRPO, RLOO), the authors have not yet trained a model with it.
  • Scope Boundaries: Only one of eight classes in IRIS is currently adapted, and Video2World packages must be executed by Video2World's official evaluator rather than Real2SimLab's own re-run sandbox. Furthermore, QA-only physics benchmarks (like CLEVRER) and live step-by-step robot policy benchmarks (like SIMPLER) remain intentionally out of scope.

Summary updated

BibTeX
@misc{zhang2026real,
  author = {Yongchang Zhang and Jie Huang and Yunhe Ni and Ningyu Zhou and Guangyu Zhao and Ruixun Liu and Rui Huang and Yidi Wu and TianZe Zhang and Zixiang Jiang and Xiang Li and Kevin Shen and Yiwu Zhong},
  title = {{Real2SimLab: A Unified Platform for Real-to-Simulation Transfer}},
  year = {2026},
  eprint = {2611.34849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34849},
}
Figure