Summary (Overview)

  • Real2SimLab is a unified evaluation platform for real-to-simulation transfer, where coding agents generate simulation programs from video recordings. It reduces the integration cost of evaluating N methods on M benchmarks from N×M to N+M by making the delivered program the common interface between methods and benchmarks.
  • The platform supports 47 coding agents (via a bridge to Harbor) and 5 non-agent methods across 6 existing benchmarks (Physics-IQ, Video2World, 4DCodeBench, PhysCodeGym, PhySimCode, IRIS), plus a synthetic suite with exact ground truth.
  • Real2SimLab provides a training data pipeline with reward annotations that carefully avoids data contamination by filtering out video recordings that appear in evaluation tasks (detecting re-encoded, resized, or clipped copies via frame thumbnail comparison).
  • A key design principle is freezing and re-running deliverables: scores reflect the program alone, not the session in which it was written, with checks for session consistency and reproducibility.
  • Awesome-Real2Sim, a research map of nearly 300 real-to-simulation papers, is released alongside the platform to help researchers choose baselines and benchmarks.

Introduction and Theoretical Foundation

Real-to-simulation transfer has long been an active research topic spanning computer vision, graphics, and robotics. Traditional methods are designed for specific input-output pairs: some fit physical parameters (mass, friction) to videos of objects, others assign physical properties to reconstructed 3D scenes, and still others build sensor simulators or robot training environments from real scans.

The recent progress in foundation models (e.g., Claude Fable 5.2, GPT-6) has enabled coding agents to write and debug large programs, opening a new paradigm: instead of building a dedicated pipeline per scene type, a coding agent can write a simulation program directly from a video recording. While a video shows an event once from one viewpoint, the program can replay the event, render it from new viewpoints, and expose the state of every object at every moment.

Several benchmarks have been proposed to evaluate these agents (Physics-IQ, Video2World, 4DCodeBench, PhysCodeGym, PhySimCode, IRIS), but each defines its own inputs, deliverables, and scoring pipeline. For example:

  • Physics-IQ: gives 3 seconds of video, scores frames produced for the next 5 seconds
  • Video2World: asks for a simulation package with reconstructed scene and robot actions
  • 4DCodeBench: asks for a script building a 4D world (3D scene changing over time)
  • PhysCodeGym: asks for a Blender scene reproducing a reference video

This fragmentation leads to N×M integrations when evaluating N methods on M benchmarks, discouraging multi-benchmark evaluation and making cross-paper comparison difficult.

Methodology

Task Format

Each task is a directory with:

  • visible/: everything a method may see (recording, camera parameters, scene description)
  • hidden/: what only the scorer may see (reference output, official scorer inputs, other recordings of the same event)

Metadata describes the deliverable convention, output format, runtime image, time budget, hardware, and data license.

Methods and Deliverables

A method-wise adapter implements a single call: receives visible data, returns a deliverable. Four deliverable conventions cover all benchmarks:

  1. Real2SimLab convention: solution/run.py writing output as tracks or video
  2. 4DCodeBench convention: script building a 4D world
  3. PhysCodeGym convention: Blender scene rendering a video
  4. Video2World convention: simulation package with scene and robot actions

Freezing and Re-running

The platform scores the output of a frozen re-run rather than session outputs:

  • Deliverable is copied and fingerprinted
  • Frozen program runs offline from read-only directory without hidden data
  • Session consistency: frozen re-run equals session output
  • Reproducibility: two re-runs with same random seed give same output

Three sandbox backends: Docker (containers), bubblewrap (no root/daemon needed), and local (debugging only).

Scoring Protocols

  • Native protocol: runs official scorer from pinned commit checkout (5 of 6 benchmarks)
  • Reproduction protocol: for data without official scorers (synthetic suite, user recordings, IRIS), comparing trajectories with hidden reference

The headline metric is reproduction skill:

1−eestatic1 - \frac{e}{e_{\text{static}}}

where ee is the error under the primary metric (e.g., mean distance between simulated and recorded object positions) and estatice_{\text{static}} is the error of a static scene. A skill of 1 means exact reproduction, 0 means no better than static, negative means worse.

Training Data Pipeline

  1. Training tasks come from user recordings, released training splits, or synthetic scene generator
  2. Overlap check: compares thumbnails of frames where something moves at every time offset, catching re-encoded/resized/clipped copies
  3. Programs and rewards: methods write programs; rewards computed with the same evaluation code
  4. Training: offline fine-tuning on high-reward programs, preference learning, or online RL (GRPO, RLOO)

Empirical Validation / Results

Benchmark Adaptation Checks

  • Physics-IQ adapter scores match the official pipeline on the same videos
  • Video2World reference packages reproduce recorded scores on Push-T (planar pushing task)
  • Synthetic suite generator reaches reproduction skill of 1
  • Checks revealed issues in released data (e.g., two IRIS recordings are copies of each other)

Contamination Detection

  • Found 36 of 40 copies of synthetic evaluation videos (missing only the most heavily compressed)
  • Found all 27 clips that PhysCodeGym reuses from Physics-IQ, demonstrating that datasets assembled from public recordings can contain benchmark test videos

Supported Ecosystem

PlatformSystem under testCharacteristics
lm-evaluation-harnessLanguage modelsRuns many models on many tasks
HELMLanguage modelsScores text completions with several metrics
OpenCompassLLMs and VLMsCovers language and vision tasks
SWE-benchCoding agentsChecks patches with unit tests in containers
HarborAgentsChecks final container state with task-specific verifier
SIMPLERRobot policiesQueries policies step by step in simulated setups
RoboArenaGeneralist robot policiesRanks by pairwise preferences on real robots
XPolicyLabRobot policiesN + M integrations; supports real-robot deployment
Real2SimLab (ours)Coding agentsRuns simulation programs offline, scores with original benchmark scorers; creates training data with rewards

Theoretical and Practical Implications

Platform Architecture

The key insight is that the program becomes the common interface between methods and benchmarks. This is analogous to how XPolicyLab connects robot policies to environments, but differs fundamentally: a robot policy is a live model queried step by step, whereas a Real2SimLab method delivers a program once, which can be re-run offline after the writing session. This re-run capability distinguishes Real2SimLab from Harbor (which checks the container where the agent worked) — Real2SimLab scores a frozen re-run outside that container.

Data Contamination

The training pipeline addresses a subtle form of contamination specific to real-to-simulation: one recording can appear in multiple datasets after re-encoding, resizing, or clipping. The frame-thumbnail comparison approach errs toward leaving tasks out near its threshold, prioritizing safety over data quantity.

Research Map

Awesome-Real2Sim organizes nearly 300 papers by deliverables:

  • Methods (5 kinds): physical twins (fitted/assigned), simulation-ready assets, scene twins, simulation programs, learned simulators
  • Benchmarks (4 kinds): runnable simulation, physics answers, generated frames, simulator-reality agreement

This helps researchers position new work by efficiently choosing baselines and benchmarks across the scattered literature.

Conclusion

Real2SimLab provides a unified evaluation platform for real-to-simulation transfer with:

  • N + M integration instead of N×M
  • Training data pipeline with contamination filtering
  • Open-source ecosystem supporting 47 coding agents, 5 non-agent methods, and 6 benchmarks
  • Awesome-Real2Sim research map of nearly 300 papers

The platform's design emphasizes fairness (frozen re-runs, session consistency checks), transparency (infrastructure errors separated from scores, reference points in scorecards), and extensibility (all components are plugins with versioned specifications).

Future directions include:

  • Systematic comparison of connected methods (explicitly deferred to future work)
  • Training models with the provided data and rewards (pipeline is ready but no model trained yet)
  • Community extension via Real2SimHub with new benchmarks, methods, and recordings
  • Potential integration of benchmarks outside current scope (answer-only benchmarks, robot policy benchmarks like SIMPLER)

Related papers