Real-to-Sim Generation: Synthesizing Scenario Programs from Real-World Data via Constraint Solving
Peishan Huang, Wenmeng Zhang, Yusen Chen, Zhenbang Chen
Abstract
The demand for synthetic training data is hindered by the sim-to-real gap, as current data-driven and LLMbased generators often produce physically implausible scenarios. To address this, we propose R2SGEN, a Real-to-Sim framework that synthesizes structured scenario programs from real-world data. To overcome the combinatorial explosion and intractability of monolithic Satisfiability Modulo Theories (SMT) encoding, we introduce a decoupled synthesis strategy. This approach separates the discrete structural program search from continuous geometric resolution using lightweight, atomic SMT constraints. Furthermore, we significantly accelerate the search process by integrating two tailored pruning mechanisms: Common Prefix Abstractionbased pruning for Breadth-First Search and Branch-and-Bound for Depth-First Search. We evaluate R2SGEN on 20 real-world scenes of varying complexity from the nuScenes dataset. Experimental results show that our method guarantees consistency with the input scene and produces substantially lower-cost programs than the LLM-based baselines under the evaluated inputs. Both proposed search paradigms exhibit complementary advantages, proving highly efficient and scalable for high-complexity synthetic data generation.
CCS Concepts: • Software and its engineering → Automatic programming.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c6bf2e4f-382a-4134-90a0-cd43c893797aBuilds on21
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Meta-Sim: Learning to Generate Synthetic DatasetsAmlan Kar, Aayush Prakash, Ming-Yu Liu, Eric Cameracci et al.ICCV 2019 · 272 citations
- Prompting Is Programming: A Query Language for Large Language ModelsLuca Beurer-Kellner, Marc Fischer, Martin T. VechevPLDI 2023 · 114 citations
- SceneCraft: An LLM Agent for Synthesizing 3D Scenes as Blender CodeZiniu Hu, Ahmet Iscen, Aashi Jain, Thomas Kipf et al.ICML 2024 · 105 citations
- Multi-modal synthesis of regular expressionsQiaochu Chen, Xinyu Wang, Xi Ye, Greg Durrett et al.PLDI 2020 · 81 citations
Related papers
- Self-Supervised Real-to-Sim Scene GenerationAayush Prakash, Shoubhik Debnath, Jean-Francois Lafleche, Eric Cameracci et al.ICCV 2021 · 31 citations
- Code2Worlds: Empowering Coding LLMs for 4D World GenerationYi Zhang, Yunshuang Wang, Zeyu Zhang, Hao TangICML 2026 · 6 citations
- Motion-R1: Enhancing Motion Generation with Decomposed Chain-of-Thought and RL BindingRunqi Ouyang, Haoyun Li, Zhenyuan Zhang, Xiaofeng Wang et al.ICLR 2026 · 6 citations
- ImmerseGen: Agent-Guided Immersive World Generation with Alpha-Textured ProxiesJinyan Yuan, Bangbang Yang, Keke Wang, Panwang Pan et al.IEEE VR 2026 · 2 citations
- From Programs to Poses: Factored Real-World Scene Generation via Learned Program LibrariesJoy Hsu, Emily Jin, Jiajun Wu, Niloy J. MitraNeurIPS 2025 · 6 citations
