Generating Physically Stable and Buildable LEGO Designs from Text
Abstract
We introduce LegoGPT, the first approach for generating physically stable LEGO brick models from text prompts. To achieve this, we construct a large-scale, physically stable dataset of LEGO designs, along with their associated captions, and train an autoregressive large language model to predict the next brick to add via next-token prediction. To improve the stability of the resulting designs, we employ an efficient validity check and physics-aware rollback during autoregressive inference, which prunes infeasible token predictions using physics laws and assembly constraints. Our experiments show that LegoGPT produces stable, diverse, and aesthetically pleasing LEGO designs that align closely with the input text prompts. We also develop a text-based LEGO texturing method to generate colored and textured designs. We show that our designs can be assembled manually by humans and automatically by robotic arms. We also release our new dataset, StableText2Lego, containing over 47,000 LEGO structures of over 28,000 unique 3D objects accompanied by detailed captions, along with our code and models at the project website: https://avalovelace1.github.io/LegoGPT/.
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- DSO: Aligning 3D Generators with Simulation Feedback for Physical Soundness (2025)
- Decorum: A Language-Based Approach For Style-Conditioned Synthesis of Indoor 3D Scenes (2025)
- Tailor: An Integrated Text-Driven CG-Ready Human and Garment Generation System (2025)
- CasaGPT: Cuboid Arrangement and Scene Assembly for Interior Design (2025)
- Scenethesis: A Language and Vision Agentic Framework for 3D Scene Generation (2025)
- Text To 3D Object Generation For Scalable Room Assembly (2025)
- SOPHY: Generating Simulation-Ready Objects with Physical Materials (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend