Procedural Scene Programs for Open-Universe Scene Generation: LLM-Free Error Correction via Program Search
Maxim Gumin, Do Heon Han, Seung Jean Yoo, Aditya Ganeshan, R. Kenny Jones, Kailiang Fu, Rio Aguina-Kang, Stewart Morris, Daniel Ritchie
TL;DR
The paper tackles open-universe 3D scene generation by shifting from declarative solvers to an imperative, procedural paradigm. It introduces Procedural Scene Description Language (PSDL), a Python-embedded DSL that encodes explicit object relations, shared parameters, and control-flow, enabling compact, scalable layouts. To address LLM errors without incurring costly calls, the authors propose an LLM-free error-correction mechanism based on iterative local search over program edits, optimizing a loss function that balances layout validity and semantic similarity to the original program. Empirical results from human perceptual studies and a new automated evaluation method show that PS DL with program search outperforms state-of-the-art declarative baselines, especially for large, structured scenes, with competitive runtimes. The work demonstrates practical impact by delivering more robust, flexible scene generation that aligns closely with human judgments while reducing reliance on repeated LLM interactions.
Abstract
Synthesizing 3D scenes from open-vocabulary text descriptions is a challenging, important, and recently-popular application. One of its critical subproblems is layout generation: given a set of objects, lay them out to produce a scene matching the input description. Nearly all recent work adopts a declarative paradigm for this problem: using an LLM to generate a specification of constraints between objects, then solving those constraints to produce the final layout. In contrast, we explore an alternative imperative paradigm, in which an LLM iteratively places objects, with each object's position and orientation computed as a function of previously-placed objects. The imperative approach allows for a simpler scene specification language while also handling a wider variety and larger complexity of scenes. We further improve the robustness of our imperative scheme by developing an error correction mechanism that iteratively improves the scene's validity while staying as close as possible to the original layout generated by the LLM. In forced-choice perceptual studies, participants preferred layouts generated by our imperative approach 82% and 94% of the time when compared against two declarative layout generation methods. We also present a simple, automated evaluation metric for 3D scene layout generation that aligns well with human preferences.
