paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Real-to-Sim Generation: Synthesizing Scenario Programs from Real-World Data via Constraint Solving

实到仿生成:通过约束求解从真实世界数据合成场景程序
OOPSLA 10(OOPSLA2)2026匹配度 4/10 · 论文属于基于 SMT 约束求解的程序合成,与形式化方法和 PL 有交集,但其目标是自动驾驶场景程序生成,未涉及用户核心关注的静态分析、Agentic 程序、浮点程序分析或贝叶斯程序分析,也未用 LLM/Agent 改进静态分析/验证。引用 0 inbox
Peishan Huang, Wenmeng Zhang, Yusen Chen, Zhenbang Chen
crossref: 2026-10-02

AI 速览

一句话:提出 R2SGEN 框架,以解耦 SMT 约束求解从真实世界数据合成结构化场景程序,克服组合爆炸并优于 LLM 基线。

合成训练数据的需求受 sim-to-real 鸿沟制约,现有数据驱动与基于 LLM 的生成器常产生物理上不合理的场景。为此作者提出 R2SGEN,一个从真实世界数据合成结构化场景程序的 Real-to-Sim 框架。为克服单体 SMT 编码的组合爆炸与不可解性,该工作采用解耦合成策略,把离散的结构化程序搜索与连续的几何求解分离,并以轻量原子 SMT 约束表达;同时集成两种定制剪枝机制:面向广度优先搜索的公共前缀抽象剪枝,以及面向深度优先搜索的分支限界。在 nuScenes 数据集 20 个不同复杂度的真实场景上评估,结果显示该方法保证与输入场景一致,生成程序成本显著低于 LLM 基线;两种搜索范式各有互补优势,高效且可扩展。

问题
如何从真实世界数据合成物理合理且与输入场景一致的仿真场景程序,以缓解 sim-to-real 鸿沟并避免 LLM 与数据驱动生成器产生的不合理场景。
方法
提出 R2SGEN 解耦合成框架,将离散结构程序搜索与连续几何求解分离,用轻量原子 SMT 约束编码,并以公共前缀抽象剪枝(BFS)和分支限界(DFS)加速搜索。
评估
在 nuScenes 数据集 20 个不同复杂度的真实场景上与 LLM 基线对比,考察生成程序与输入场景的一致性以及程序成本,并比较两种搜索范式的效率与可扩展性。
原文摘要(Abstract)

The demand for synthetic training data is hindered by the sim-to-real gap, as current data-driven and LLM-based 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 Abstraction-based 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.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) ·

BibTeX
@article{paperbot12117,
  title = {Real-to-Sim Generation: Synthesizing Scenario Programs from Real-World Data via Constraint Solving},
  author = {Peishan Huang and Wenmeng Zhang and Yusen Chen and Zhenbang Chen},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA2},
  year = {2026},
  doi = {10.1145/3839527}
}