arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.27555cs.AI
收藏

SpatialGrammar: 一种面向领域的语言用于基于LLM的3D室内场景生成

SpatialGrammar: A Domain-Specific Language for LLM-Based 3D Indoor Scene Generation

The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Song Tang, Kaiyong Zhao, Yuliang Li, Qingsong Yan, Penglei Sun, Junyi Zou, Qiang Wang, Xiaowen Chu

AI总结:

本文提出SpatialGrammar,一种领域特定语言,通过BEV网格放置确定性编译生成有效3D几何,提升空间准确性和物理合理性。SG-Agent通过编译器反馈迭代优化场景,SG-Mini在单次生成场景中表现优异。

摘要:

自动从自然语言生成交互式3D室内场景对虚拟现实、游戏和具身AI至关重要。然而,现有基于LLM的方法常出现空间错误和碰撞问题,部分原因在于常见场景表示(原始坐标或冗长代码)难以让模型推理3D空间关系和物理约束。我们提出SpatialGrammar,一种领域特定语言,将重力对齐的室内布局表示为BEV网格放置,并确定性编译为有效3D几何,实现可验证的约束检查。基于此表示,我们开发了(1)SG-Agent,一个闭环系统,利用编译器反馈迭代优化场景并强制碰撞约束,以及(2)SG-Mini,一个104M参数模型,完全在编译器验证的合成数据上训练。在159个覆盖五个不同复杂度场景的测试场景中,SG-Agent在空间准确性和物理合理性上优于现有方法,而SG-Mini在单次生成场景中表现可与更大规模的LLM基线模型竞争。

英文摘要:

Automatically generating interactive 3D indoor scenes from natural language is crucial for virtual reality, gaming, and embodied AI. However, existing LLM-based approaches often suffer from spatial errors and collisions, in part because common scene representations-raw coordinates or verbose code-are difficult for models to reason about 3D spatial relationships and physical constraints. We propose SpatialGrammar, a domain-specific language that represents gravity-aligned indoor layouts as BEV grid placements with deterministic compilation to valid 3D geometry, enabling verifiable constraint checking. Building on this representation, we develop (1) SG-Agent, a closed-loop system that uses compiler feedback to iteratively refine scenes and enforce collision constraints, and (2) SG-Mini, a 104M-parameter model trained entirely on compiler-validated synthetic data. Across 159 test scenes spanning five scenarios of different complexity, SG-Agent improves spatial fidelity and physical plausibility over prior methods, while SG-Mini performs competitively against larger LLM-based baselines on single-shot generation scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑