LegoGPT creates Lego designs using AI and text inputs — tool now available for free to the public

Lego Brick construction
(Image credit: Shutterstock)

A research team from Carnegie Mellon University built an AI model called LegoGPT that outputs valid LEGO designs from text inputs. According to the team’s research paper that's posted on GitHub, they trained “an autoregressive large language model to predict the next brick to add via next-token prediction,” but the key takeway is that the AI LLM creates LEGO designs from scratch.

The AI was trained on a dataset with more than 47,000 LEGO structures that build over 28,000 unique 3D objects, including bookshelves, tables, chairs, cars, ships, guitars, and more. This was then used to train the AI model, allowing it to create unique and original designs solely from text inputs.

Latest Videos FromTom's Hardware
TOPICS
Jowi Morales
Contributing Writer

Jowi Morales is a tech enthusiast with years of experience working in the industry. He’s been writing with several tech publications since 2021, where he’s been interested in tech hardware and consumer electronics.

  • S58_is_the_goat
    Lego lawyers: please stop...
    Reply
  • Notton
    That sounds great for when you want to build a Lego set piece fast for a show room display or something.
    I wonder how well the LLM accounts for long term stability of its design? I know the official Lego kits go through a rigorous test before they are sold, so they won't fall apart unless you drop them on a hard floor.

    IMO, the fun part of Lego is free building and creating something all on your own. There is satisfaction when something you imagined in your head comes together. It might have some trial and error, but you get to learn from it.

    Where as using an LLM skips all of that and you become the cog in the machine, more specifically the robotic arms, of a robotic assembler. Don't think, just cog, cog fast and hard.
    Reply
  • jblosun
    At last! How long has it been? How long have the suffering masses of humanity been crying out to be freed from the drudgery and toil of playing with Legos?
    Reply
  • ravewulf
    When I first saw this, I wondered if it would use valid building techniques, and it looks like they accounted for that!
    Reply