L3GO: Language Agents with Chain-of-3D-Thoughts for Generating Unconventional Objects

Yutaro Yamada, Khyathi Raghavi Chandu, Bill Yuchen Lin, Jack Hessel, Ilker Yildirim, Yejin Choi

Abstract

Diffusion-based image generation models such as DALL-E 3 and Stable Diffusion-XL demonstrate remarkable capabilities in generating images with realistic and unique compositions. Yet, these models are not robust in precisely reasoning about physical and spatial configurations of objects, especially when instructed with unconventional, thereby out-of-distribution descriptions, such as “a chair with five legs”. In this paper, we propose a language agent with chain-of-3D-thoughts (L3GO), an inference-time approach that can reason about part-based 3D construction of unconventional objects that current data-driven diffusion models struggle with. More concretely, we use large language models as agents to compose a desired object via trial-and-error within the 3D simulation environment. To facilitate our investigation, we develop a new benchmark, Unconventionally Feasible Objects (UFO), as well as SimpleBlenv, a wrapper environment built on top of Blender where language agents can build and compose atomic building blocks via API calls. Human and automatic GPT-4V evaluations show that our approach surpasses the standard GPT-4 and other language agents (e.g., ReAct and Reflexion) for 3D mesh generation on ShapeNet. Moreover, when tested on our UFO benchmark, our approach outperforms other state-of-the-art text-to-2D image and text-to-3D models based on human evaluation.

Introduction

While modern text-to-image diffusion models produce stunning visuals, they are notoriously limited in precise spatial reasoning and counting. If prompted for a "chair with five legs," these models often default to their training data's distribution, yielding a standard four-legged chair or a messy hallucination of extra limbs. This occurs because diffusion models operate on pixels rather than structural logic, lacking a fundamental understanding of 3D geometry and physical composition. For creators requiring precise control over object attributes—especially for out-of-distribution or unconventional designs—current tools are often inadequate.

Examples of unconventional chairs generated by L3GO, demonstrating precise control over structural features like leg count and seat geometry.

Methods: The L3GO Framework

L3GO treats 3D generation as a multi-step engineering task. Instead of generating an image in one pass, an LLM agent builds the object part-by-part using a specialized pipeline:

  1. Decomposition: A Part Specifications Generator identifies pivotal parts (e.g., the seat of a chair) and their dimensions.
  2. Spatial Reasoning: A Spatial Specifications Generator determines attachment points (e.g., "attach the wing to the middle of the fuselage").
  3. Precise Calculation: A Coordinate Calculator uses a Python execution environment to determine exact (x, y, z) coordinates, employing a majority vote over three iterations to ensure accuracy.
  4. Simulation & Feedback: The agent interacts with SimpleBlenv, a wrapper for the Blender 3D engine, executing Python scripts to place primitive shapes like cubes and cylinders.
  5. Iterative Criticism: A Spatial Critic checks for errors such as floating or overlapping parts. If an error is detected, the agent retries the step.
  6. Texturing: Once the 3D mesh is finalized, it is rendered into a 2D image and passed through ControlNet to add realistic textures and lighting while preserving the agent's precise geometry.

Evaluation and Benchmarks

The researchers evaluated L3GO using two primary datasets:

  • ShapeNet-13: A subset of the standard ShapeNet dataset featuring 13 common categories to test basic 3D construction.
  • UFO (Unconventionally Feasible Objects): A new benchmark consisting of 50 difficult prompts requiring precise spatial understanding, such as "a mug with two handles" or "a desk with three legs."
L3GO constructs objects like tables using geometric primitives within the SimpleBlenv environment.

Key Results

L3GO demonstrates that LLMs are often more effective at 3D modeling than 2D drawing when provided with a simulator. On the ShapeNet-13 benchmark, L3GO achieved a mean accuracy of 0.60, significantly outperforming standard GPT-4 (0.346) and agentic frameworks like ReAct (0.423).

In evaluations on the UFO benchmark, humans overwhelmingly preferred L3GO’s outputs over DALL-E 3 and SDXL. While diffusion models often ignored specific numerical constraints, L3GO followed them strictly. Furthermore, L3GO’s internal feedback loop allows it to naturally converge on correct physical configurations through trial-and-error, a capability absent in standard diffusion models.

Limitations and Future Work

Despite its reasoning capabilities, L3GO has limitations. Because it builds objects from basic geometric primitives, the resulting meshes can appear "blocky" compared to professional 3D assets. Additionally, the iterative nature of the agent makes it slower than single-pass models, sometimes taking up to 10 minutes for complex objects. Future work will focus on more efficient agent loops and the use of more diverse 3D building blocks beyond basic primitives.

Summary updated

BibTeX
@inproceedings{yamada2025l,
  author = {Yutaro Yamada and Khyathi Raghavi Chandu and Bill Yuchen Lin and Jack Hessel and Ilker Yildirim and Yejin Choi},
  title = {{L3GO: Language Agents with Chain-of-3D-Thoughts for Generating Unconventional Objects}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=PQKynGXwPp},
}

Loading related content...

Figure