Abstract
Generating and editing complex 3D scenes through natural language remains a significant challenge due to the need for precise spatial reasoning and volumetric understanding. We present LI3D, a framework that utilizes Large Language Models (LLMs) as structured "layout interpreters." By translating user prompts into 3D bounding boxes and employing a vision-language model (LLaVA) for closed-loop visual feedback, LI3D facilitates iterative, conversational 3D scene creation. Our approach demonstrates robust spatial reasoning and fine-grained editing capabilities across both 3D and 2D domains.
Introduction
The creation of 3D environments typically requires specialized expertise and complex software. While natural language interfaces offer a more intuitive alternative, existing text-to-3D models often struggle with multi-object arrangements, occlusions, and fine-grained spatial relationships (e.g., "place the chair behind the desk and to the left of the lamp"). Most current systems are "one-shot," lacking the iterative feedback loop necessary for collaborative design.
To address these limitations, we introduce LI3D. The framework bridges the gap between high-level language and low-level 3D generation by using a structured layout as an intermediate representation. This allows the system to be both spatially aware and highly interactive, supporting back-and-forth dialogue for scene refinement.
The LI3D Framework
The core of LI3D is the use of a structured layout as a universal interface. The process is divided into three primary stages: layout interpretation, generative rendering, and visual criticism.
1. The Interpreter (LLM)
An LLM (such as GPT-3.5) acts as the brain of the system. It receives the user's natural language prompt and generates a structured JSON-like layout. This layout specifies semantic descriptions, 3D center coordinates, and bounding box scales for every object in the scene.
2. The Generator
The generated layout is passed to a generative backend. For 3D scene generation, we utilize CompoNeRF, which renders scenes based on the specified object placements. For 2D image editing tasks, the framework integrates Stable Diffusion with Segment Anything (SAM) to perform precise object manipulation within a 2D plane.
3. The Critic (Generative Feedback Module)
To ensure the output matches the user's intent, LI3D incorporates a "closed-loop" feedback mechanism. LLaVA (Large Language-and-Vision Assistant) inspects the rendered output and compares it against the original description. If discrepancies are found—such as incorrect object placement or poor visual quality—LLaVA provides textual feedback to the LLM. The LLM then updates the 3D layout, and the cycle repeats until the scene is perfected.
Key Insights
Our research highlights several critical findings regarding the intersection of LLMs and 3D generation:
- Emergent Spatial Intuition: Despite being trained primarily on text, LLMs possess a latent understanding of 3D coordinates and proportions. They can generate plausible 3D bounding boxes for objects even without explicit 3D training data.
- Modular Layout Interface: Using bounding boxes as an intermediate representation makes the system modular. Generative backends or LLMs can be swapped out without requiring a complete system redesign.
- Automated Self-Correction: The inclusion of a visual critic (LLaVA) allows the system to self-correct. For instance, if a user asks for a castle on a mountain but the initial render shows a flat plain, the critic can prompt the system to "move the castle up and add a mountain base."
- Part-Level Decomposition: LI3D can handle complex single objects by decomposing them into constituent parts (e.g., breaking a "windmill" into a base, pole, and blades), allowing for extremely fine-grained editing.
Experimental Results
We evaluated LI3D using the i-CLEVR benchmark, which tests a model's ability to follow sequential instructions for adding objects based on spatial relationships.
- Spatial Reasoning: LI3D achieved a 98% recall rate in recognizing objects across five rounds of interaction. While relational similarity (
rsim) decreased as scenes became more crowded (from 97.9% to 66.0%), the system remained robust in following complex spatial chains. - Interactive Editing: Qualitative tests demonstrated the system's ability to handle prompts like "Duplicate another well" or "Move the bookshelf away from the desk" while maintaining scene consistency.
- Zero-Shot Versatility: The framework successfully extended to 2D image editing, demonstrating high fidelity in moving or removing objects within existing photos using the same layout-based logic.
Conclusion and Future Work
LI3D represents a significant step toward intuitive, language-guided 3D design. However, several challenges remain. The LLM occasionally lacks "physical common sense," sometimes placing objects in mid-air or with unrealistic proportions. Additionally, the computational cost of rendering NeRFs in an interactive loop currently limits real-time performance.
Future work will focus on incorporating explicit physical constraints into the layout generation process and exploring higher-resolution 3D representations to improve the realism and detail of the generated environments.
Summary updated