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.

Advertisement

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.

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.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement
Popular Mobile Brands
  1. iOS 27 Update Rolling Out Today: How to Download, India Release Time, More
  2. BGMI Redeem Codes: How to Get Cobalt Storm Backpack for Free
  3. Motorola Edge 70 Neo Visits Geekbench Website Ahead of India Launch
  4. Oppo Find X10 Series Launch Date, Colours, RAM and Storage Options Confirmed
  5. Samsung Galaxy S26 FE Launched in India With These Features
  6. Realme P4s Lite Spotted on Google Play Supported Devices List; Launch Seems Imminent
  7. iPhone 18 Pro Max US Model Reportedly Misses Apple's C2 Modem
  8. Vivo X500 Global Launch Inch Closer as New Flagship Bags SIRIM Approval
  9. iPhone 17 Pro, iPhone 17 Pro Max Get Big Discounts in India: Check Deal
  10. Xiaomi Pad 9, Xiaomi Pad 9 Pro Launched in China
  1. iQOO 16 to Launch as the World’s First Android Phone With Samsung’s M16 2K AMOLED Display
  2. Realme P4s Lite Launch Seems Imminent as Handset Lands on Google Play Supported Devices List
  3. Oppo Find X10, X10 Pro Max and X10E Launch Date Announced; Colourways, RAM and Storage Options Confirmed
  4. BGMI Redeem Codes for September 14: How to Get Cobalt Storm Backpack and Other Free Rewards
  5. Apple Likely to Equip Third-Generation iPhone Duo With a Face ID Sensor, Telephoto Camera: Mark Gurman Predicts
  6. Revolut Customers Hit by Data Exposure From Fake Government Email
  7. Moto G67s Power Specifications Revealed by Geekbench Listing, May Come With MediaTek Dimensity 6400 SoC
  8. Apple Could Launch Two iPhone Game Controllers Under Beats Branding
  9. Samsung Galaxy S26 FE Launched in India With Exynos 2500 Chip, 4,900mAh Battery: Price, Specifications
  10. Vivo X500 Global Launch Inch Closer as New Flagship Bags SIRIM Approval
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.