命令式与声明式编程范式在开放宇宙场景生成中的对比
Imperative vs. Declarative Programming Paradigms for Open-Universe Scene Generation
AI总结:
本文提出一种命令式编程范式,让LLM生成逐步程序以迭代放置对象,生成复杂三维场景布局,并通过无需LLM的错误修正机制提高鲁棒性,实验表明人类偏好度远超声明式系统。
摘要:
当前从文本生成三维场景布局的方法主要遵循声明式范式,即由大型语言模型(LLM)指定高层约束,再由独立的求解器解析这些约束。本文通过引入一种更直接的命令式方法挑战了这一共识。我们让LLM生成逐步执行的程序,迭代地将每个对象相对于场景中已有的对象进行放置。该范式简化了底层场景描述语言,使得能够创建更复杂、更多样且高度结构化的布局,而这些布局难以用声明式方式表达。为了提高鲁棒性,我们为方法补充了一种新颖的、无需LLM的错误修正机制,该机制直接作用于生成的代码,迭代调整程序中的参数以解决碰撞和其他不一致问题。在强制选择的感知研究中,人类参与者压倒性地偏好我们的命令式布局,分别有82%和94%的时间选择它们而非来自两个最先进的声明式系统的布局,这证明了这种替代范式的巨大潜力。最后,我们提出了一种简单的三维场景布局生成自动评估指标,该指标与人类判断高度相关。
英文摘要:
Current methods for generating 3D scene layouts from text predominantly follow a declarative paradigm, where a Large Language Model (LLM) specifies high-level constraints that are then resolved by a separate solver. This paper challenges that consensus by introducing a more direct, imperative approach. We task an LLM with generating a step-by-step program that iteratively places each object relative to those already in the scene. This paradigm simplifies the underlying scene specification language, enabling the creation of more complex, varied, and highly structured layouts that are difficult to express declaratively. To improve the robustness, we complement our method with a novel, LLM-free error correction mechanism that operates directly on the generated code, iteratively adjusting parameters within the program to resolve collisions and other inconsistencies. In forced-choice perceptual studies, human participants overwhelmingly preferred our imperative layouts, choosing them over those from two state-of-the-art declarative systems 82% and 94% of the time, demonstrating the significant potential of this alternative paradigm. Finally, we present a simple automated evaluation metric for 3D scene layout generation that correlates strongly with human judgment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。