Researchers Unveil LegoGPT AI Model That Can Build Physically Stable Design of Lego Structures

LegoGPT is essentially a text-to-3D rendering AI model, where the generated structures can also be made in the real world.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 12 May 2025 12:38 IST
Highlights
  • LegoGPT is based on a fine-tuned version of LLaMA-3.2-Instruct-1B
  • The AI model was trained on a dataset of over 47,000 Lego structures
  • LegoGPT is an open-source AI model available on GitHub

In case a Lego structure is not stable, the model can roll back to the unstable brick

Photo Credit: LegoGPT

LegoGPT, a new artificial intelligence (AI) model that can generate three-dimensional (3D) Lego structure designs, was unveiled by researchers recently. The new AI model is an open-source project to determine whether AI models can generate structures that are consistent with real-world physics and are consistently stable. The researchers have shared details of how the model was built, as well as have made the dataset available to the public domain. The AI-generated Lego structures were also tested by humans and robots to confirm the stability of the structures.

LegoGPT AI Model Was Built on LLaMA-3.2-Instruct

In a post, researchers from Carnegie Mellon University detailed the LegoGPT AI model. The large language model (LLM) can generate a Lego structure from a text prompt, ensuring it is physically stable and buildable. The open-source model is available to download and use on GitHub with a permissive MIT licence.

Users can prompt the model to design a “streamline elongated vessel” or a “backless bench with armrest,” and it can generate a design that not only matches the description but also can be placed upright without the structure collapsing.

Advertisement

This is possible due to two components that make LegoGPT — the base AI model and a stability analysis system. For the base model, the researchers used a fine-tuned version of the Llama-3.2-Instruct with one billion parameters. This was paired with Gurobi, a mathematical optimisation solver, that runs stability analysis for each generated structure.

Advertisement

Alongside building the refined architecture, the researchers also created a dataset to train the model on Lego structures. Dubbed StableText2Lego, it is a dataset containing more than 47,000 Lego structures of over 28,000 unique 3D objects. Each structure is accompanied by detailed captions, design code, and models.

To verify that the generated structures are indeed stable, the researchers also tested them with a dual robot assembly. The assembly was tasked with recreating the designs and testing whether they could stand upright. Some of the designs were also recreated by humans to see the impact on stability if less dextrous hands were involved. The research paper claims that 99.8 percent of all structures passed the stability test.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement
Popular Mobile Brands
  1. iPhone 17 Pro Max Cosmic Orange Variant Out of Stock in the US, India: Report
  2. Samsung Galaxy Tab A11, Tab A11+ Design, Features Leaked Ahead of Launch
  3. These New AI Features Are Coming to Your Updated iPhone, iPad and Mac
  4. iPhone 17 Series, iPhone Air Pre-Order Discounts Announced by Retailers in India
  5. Google Pixel 10 Review: A Brilliant Phone We Wanted to Love
  6. Early Deals on PlayStation 5 and Accessories Revealed Ahead of Amazon Sale
  7. Oppo Find X9 Pro Chipset, AnTuTu and Geekbench Scores Revealed
  8. Xiaomi 17 Pro Appears on Geekbench With Snapdragon 8 Elite Gen 5 SoC
  9. Amazon Sale 2025: Early Deals on Smartphones
  10. Oppo F31 Pro+ 5G Review
  1. Xiaomi 17 Pro Appears on Geekbench With Snapdragon 8 Elite Gen 5 SoC, 16GB RAM
  2. Moto G36 Design and Features Revealed by TENAA Listing; Likely to Feature 6,790mAh Battery, 6.72-Inch Display
  3. iPhone 17 Series, iPhone Air Pre-Order Discounts Announced by Croma, Ingram Micro India, and Vijay Sales
  4. Vivo V60e Price and Specifications Reportedly Surface Ahead of India Launch
  5. Sony Said to Be Planning State of Play Broadcast for Next Week
  6. France Could Block Crypto Firms With MiCA Licenses Due to Enforcement Gap Concerns
  7. Oppo Find X9 Pro With Dimensity 9500 SoC Scores 4 Million Points on AnTuTu; Spotted on Geekbench
  8. Xiaomi 17 Pro Design Render Gives Us a Good Look at Its Leica-Branded Rear Cameras, Secondary Display
  9. Clair Obscur: Expedition 33 Has Sold 4.4 Million Copies in Less Than Six Months of Launch
  10. Materialists Now Streaming on Netflix: What You Need to Know About Dakota Johnson’s Starrer Movie
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.