mlsanityData to 14 Oct 2026

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

arXiv 2604.27555 ↗First posted 30 Apr 2026cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 31 references that are in the map. First posted on arXiv 30 Apr 2026.

Builds on

15 of 31 references.

References · 15

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  4. 2022Latent-NeRF for Shape-Guided Generation of 3D Shapes and Texturescited by 506
  5. 2018Gibson Env: Real-World Perception for Embodied Agentscited by 481
  6. 2022BEVFormer v2: Adapting Modern Image Backbones to Bird's-Eye-View Recognition via Perspective Supervisioncited by 302
  7. 2023Holodeck: Language Guided Generation of 3D Embodied AI Environmentscited by 268
  8. 2023AnyHome: Open-Vocabulary Generation of Structured and Textured 3D Homescited by 82
  9. 2025SpatialLM: Training Large Language Models for Structured Indoor Modelingcited by 65
  10. 2024SceneTeller: Language-to-3D Scene Generationcited by 43
  11. 2025Global-Local Tree Search in VLMs for 3D Indoor Scene Generationcited by 29
  12. 2025ArtiScene: Language-Driven Artistic 3D Scene Generation Through Image Intermediarycited by 28
3 more
  1. 2025Direct Numerical Layout Generation for 3D Indoor Scene Synthesis via Spatial Reasoningcited by 28
  2. 2025FirePlace: Geometric Refinements of LLM Common Sense Reasoning for 3D Object Placementcited by 25
  3. 2025Procedural Scene Programs for Open-Universe Scene Generation: LLM-Free Error Correction via Program Searchcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.