In 2026, if you let the latest build you a Lego castle, it's probably going to give you a pretty good picture. The problem is that the castle may not be standing.
It's not a joke. The research teams of Carnegie Mellon and Stanford universities did an experiment that allowed the top-of-the-art, suspended air to float and even the entire structure to become isolated parts.
What's more ironic? This AI actually knows that it should check. Researchers found that, in over 80 per cent of cases, Codex would write a code to verify its own building blocks. It had that consciousness, but it could not check the problem because it had no tool to do it.
It's like getting an experienced carpenter to build a chair, but there's only one ruler in the toolbox, no calculator, no calcator, no tool to tell him that "this twirl is in or out." A carpenter can make mistakes with his eyes. The only thing he can do if he is not equipped with tools is to stare at that stitch repeatedly, and guess whether it's laced or not, and he's not aware of it. The central insight of this paper is precisely in this metaphor.
** The problem is not that AI is not smart, but that no one gives it a really good ruler. **
The gap between virtual and physical worlds
In the last few years, AI has made a dramatic advance in three-dimensional content generation. Without additional training, the commercial intelligents on the market have been able to produce energy-efficient objects, set an entire three-dimensional scene and even write complex geometric modelling codes. But there's a common hidden premise to these achievements: they just need to make things look good on the screen, not really in the physical world.
And Lego blocks are exactly the kind of thing that "must stand the physical test." Every brick you build must have a real card button to tie to another brick, so that two bricks cannot fit into each other (which is impossible in the physical world) or that a brick cannot be held in half of the void (which, in reality, falls directly), and the whole model should ideally be an integrated structure, not a bunch of pieces of pieces.
The paper calls this kind of thing """
*Multi-component assembly: Real objects assembled by a pre-manufactured set of parts, by a fixed connection, all of which are Lego blocks, furniture assembly and mechanical parts. ♪ I'm sorry ♪
The creation of such objects is more difficult than normal three-dimensional modelling by one measure. In an ordinary three-dimensional model, AI creates a beautiful overlap, which means that in reality these two bricks can't be installed at all. It's a hard physical error, not an aesthetic flaw.
The research team chose Lego as the target for the study. The Lego system is sufficiently organized, the rules are fixed, etc.) This "clear but diverse rule" characteristic is well suited to be described and validated in a procedural manner.
Give AI a really good ruler.
The research team's solution sounds a little simplistic: since the problem is that AI lacks the right tools, a set of tools will be created. They named the tool the Building and Validation Toolkit.
The first pain to be addressed by Brick Layer is the clumsy format of the Lego Builder Industry standard document.
*LDraw: standard text formats developed by Lego lovers to describe each component of the building blocks model and its three-dimensional coordinates and direction. ♪ I'm sorry ♪
There's a big problem with the LDraw format, which allows you to put the parts in absolute coordinates and rotation angles in 3D space, without providing "the concussion of this brick to the dent of that brick" as an instinctive way of doing it. It's like you're going to nail a nail to the wall, but the instructions only tell you that "the hammer head should be at the space coordinates (12.3, 45.6, 7.8) with a rotation angle of 37 degrees" instead of simply saying, "Punish the nail position." Of course you can calculate the coordinates, but always recalculated, inefficient and especially prone to errors.
Brick Layer introduced a more ground-based interface. The core target is two, one called the concept.
*Connector: The specific position and direction of the parts used to bite with other parts, such as a bump, a dent, an axle, each of which has its own geometric rules to determine the type of connector to match. ♪ I'm sorry ♪
With the abstract of the connector, AI can write the code by saying, "Close this spherical contours to the chute," and the system automatically calculates what the two parts should be at the absolute coordinates and at what angle so that the connector can sew it to. This is far less powerful than the manual calculation of coordinates, and the data given in the paper is that writing codes with this set of interfaces saves almost half of the cost, i.e. almost half of the cost of running and cost, compared to writing LDraw.
The toolkit also contains a common set of high-level tectonic functions, such as a single key to generate standard bricks, thin plates, tilt bricks, a single key to build mini-humans, doors, windows, and functions specifically designed to fill a rectangular or wedge space to ensure that the filled structure is effective and connected. These functions are the exact result of a pattern that researchers observe repeatedly when the AI generation code is produced, which amounts to the consolidation of the "sets" that AI itself has found into standard tools.
What happens without this interface? Thesis) just started "scrambling" and the average number of pieces of wood produced fell from 27.4 to 7.2, preferring to build an extremely simple structure, rather than die in details in a clumsy system of coordinates.
It's much better than an A.I.'s.
It's not enough to have an interface. Brick Layer's second core is a certifier, which is dedicated to telling AI, "This piece of shit you just picked up, right?"
The certifier examined three main things: whether there were parts colliding with each other, whether there were parts hanging unsupported, and whether the whole structure was connected.
In this way, each part's grid is reduced by 0.1 mm to a collision test, so that normal button bites are not misreported, and only a real conflict of wears is marked.
The logic is more interesting. The system moved the entire model to the bottom point on the ground and proceeded from each part to see if it could reconnect to the part that came into contact with the ground through a chain of connected parts. If a part can't reach the ground by any means, then it's floating in space, which is impossible in the physical world, and it will fall.
There's a very detailed design: the system distinguishes between "supportal contact" and "side contact." This does not provide support if one part is just sided with the other part (e.g. two bricks, and no one's on top of it). Only when there's an upward power on the contact side, that's the part that really holds on.
This distinction is crucial, and imagines that if you build a building arch, between the poles on both sides of the arches and the emptied beams in the middle, the pillar will fall down if it is just on the side of the beams and not from the bottom. It's not enough to check if there's any contact. It's also to see if there's a supporting direction in the geometry of exposure, which is what reality tells us. Gravity is only vertical, and side-to-side alignment is not counterproductive.
So, what happens if we get rid of it? The data for the digestion experiment are straightforward, and even if AI is still told to pursue physical effectiveness, it can write its own code to explore the toolkit, but as long as it removes a fixed tool and makes it fully self-judged, all test models will fall below 79 per cent. This means that AI can't rely on its own "heart-checking" alone. It must have an objective, definitive set of rules in place to tell it that it is wrong, rather than let it take its own head to judge.
A cycle where a lightweight model reaches full point.
The toolkit is ready, and how do we get AI to use it? The research team designed the framework called the core of a "plan-implementation-validation" cycle.
Here's the process. First, AI does a short plan in his heart, then writes a Python file.
This cycle sounds so simple, it's hardly fancy. Except for the BrickLayer interface file and this "plan-execution-validation" directive, the system alert does not provide AI with detailed set-up advice, complete model work or additional set-up techniques. The researchers specifically emphasized this point, to prove one thing: Is it enough for the cycle to add the tool itself?
The answer is yes. The team tested a set of tests with 512 text descriptions (known as BrickNet-512, obtained by creating a description of Lego's work for real people), covering four models from light to top levels, namely Claude Haiku 5.5, GPT-6 Luna (light), GPT-6.1 Sol (medium level), GPT-6 Astra (top level).
Without Brick Wright ' s help, these models show great differences. The worst performer was GPT-6 Luna with Codex, with only 8.6 per cent physical efficiency, and only one of the 12 models is really physical. Even the strongest GPT-6 Astra with Codex is only 69.3 per cent efficient, which means that almost a third of the works have problems of collision, suspension or dispersion.
With the use of Brick Wright, all four models, regardless of their strength or weakness, are fully 100% physical efficiency. It doesn't mean that the numbers are up by a percentage point, but they go from "frequent errors" to "never wrong." The most surprising was the performance of the lightweight model GPT-6 Luna, which had only a 9 per cent effective rate, not only had it been efficient to 100 per cent since Brick Wright, but the quality rating of the associated work (measured to match the content generated and the text description) had increased significantly, from 21.1 to 27.4 on average, and the number of unique parts used had increased from 6.1 to 7.8.
This set of data reveals a somewhat anti-intuitive phenomenon: an appropriate tool for AI is available, and the benefits are greater for less capable models. Strong models already have some physical intuition and self-correction capability, while weak models rely entirely on the rigid constraints provided by tools. This is like putting back radar and automatic brakes on a new driver, who may be able to park with experience, but with the helper, the driving level tends to increase more significantly than the old driver. If the weak model is not equipped with a tool, the things it sets out are very simple, and it is better to give up the details than to get rid of them, because it has no ability to correct itself in a heavy system of coordinates.
The paper also contrasted with models specially trained for this task, such as BrickGPT and BrickNet. Such models have been fine-tuned specifically for Lego ' s missions and should theoretically be better performed in this vertical field. However, it has been measured that while BrickGPT is as efficient as 99 per cent, it supports only eight rectangular building blocks, 21 object types, with a very single type of work generated and a very low score of hint matching (VQAScore only 0.0658). The BrickNet effectiveness rate was only 31.8 per cent, well below that of Brick Wright. Brick Wright, in combination with a variety of large generic models, has fully exceeded these specialized training models in terms of efficiency and hint matching, and does not need to train a single model for the Lego task. This is indicative of a better tool for a generic large model, which may have a higher output than a dedicated training of a vertical model.
It's not just a static building block.
Brick Wright's ability is much more than a static little bit. The paper demonstrated its performance in several extended scenarios, including the generation of comparable building models based on pictures, the construction of indoor exterior scenarios and large complexes with more than 29,000 parts, the production of active objects with joints, and local editing based on existing models.
An object with a moving joint is a case in point. The paper referred to a model of a sword-bearer with a sword and a sword-bearer stabbing position. In order for a wooden boy to pose in such a dynamic position, he must not only match, but also ensure that after the joint turns to that angle, the parts do not wear each other's model and do not separate from the connection. Brick Layer has designed a joint label system, which can be marked by different types of connectors, such as fixed, rotated, spherical, slided, etc., corresponding to the rotation bites of the Legory cavity dent, the million-turn of the ball head, the straight-line movement of the slide track, etc. The system also provides a method known as posed, which allows AI to generate a "snaps" at a certain joint angle, specifically to check if there are physical problems in this position.
There's a technical trade-off: for connections that are not clearly labelled as a kinetic joint, the system defaults that they are rigid. This may lead to some false positives, such as the fact that a connection actually has a little flexibility in reality, but that the system is not informed of this, and it is examined as being absolutely rigid, thus misreporting of collisions. Researchers have also admitted that this is the limitation of the current methodology, and that motion tests cover only a few positions in the sample, not every instant on a continuous trajectory.
The limited building blocks are another interesting extension, with the example given in the paper of asking AI "to use only this given 20 bricks to build a comfortable cabin, or a sailboat, or a mini-mechanic." This constraint places a higher demand on the capacity to generate, as AI is not free to call on any amount or type of spare parts, and must make trade-offs and creative efforts in a limited pool of resources. It is worth noting that none of these extensions need to modify the BrickLayer toolkit itself, which is a natural extension in the new scene of purely pre-trained AI's own capabilities, which is also a side-feature of the core judgement of the research team: to equip AI with tools and leave the remaining creativity to AI itself.
How far does that go?
The paper was followed by a closely related study by Brick Bench, which also focused on the task of smart-building for Lego, but focused on developing a standardized set of benchmarks to systematically compare the performance of different intelligents in this task. This suggests that the direction of "a tool to bind AI to the production of physical and effective content" has begun to attract more researchers to build complementary assessment systems, which is a typical signal of the evolution of the field.
Another area of concern is the analysis of mechanics stability. The current BrickWright definition of "physically viable" covers only whether the parts come from a real catalogue, whether they have collisions, whether they have suspensions, whether they are connected to these dimensions, but does not address the deeper question of "this structure cannot stand in reality" and does not consider whether the model has a real, implementable sequence of assembly." Previous studies (e.g. Stable Lego, referred to in the paper) have been dedicated to assessing the stability of building blocks based on mechanical balance analysis, and the authors have made it clear that the integration of such mechanics into the Brick Wright validation cycle is a natural follow-up.
Another open issue left behind by this paper is cost efficiency. Although the smart-body approach has outperformed the model of specialized training in terms of validity and authenticity, the data in the paper show that the cost and time involved in producing a work are significantly higher, such as the GPT-6 Astra and BrickWright, which takes an average of $1.28 and 267 seconds to produce a model, compared to the BrickGPT, which is specialized in training, although of less quality, but with little reasoned cost. Researchers themselves mentioned that the ability to accumulate powerful intelligent bodies and distill into smaller, faster specialized models remains a direction to be explored.
It's in the back.
It's not the 100% effective rate that really impresses me when I finish this paper, it's the 80% detail: the top intelligence like Codex, when asked to build the building blocks, has a more than 80% probability of writing a code to verify its output.
This means that AI is not without a sense of proof, and it has developed some sort of engineer-like habit, knowing that it should be checked. However, it does not examine the problem, as it does not have a real hand-to-hand test in its hand, but only by means of a crude and often miscalculated method that it has discovered. This reminds me of a more general problem: many times we criticize a system (whether AI or human organization) for "irresponsible" and "no evidence", but the real stove may not be at the level of will, but at the level of tools and infrastructure. The wrong ruler, the wrong measurement.
Another detail that I've been working on over and over again is that the upgrades to the lightweight modeling tool are more significant than the upgrades to the top modeling tool. This discovery is actually a sign of optimism: rather than seeking to make models bigger and stronger, it is sometimes accompanied by a well-designed set of tools for existing, relatively cheap models, which may be a more expensive path. The GPT-6 Luna in this paper, after using Brick Wright, spent only about 2 per cent of the frontier model, but achieved the same 100 per cent efficiency, a cost gap worth thinking about by all the teams that are still working on "Do you want to train a bigger model?"
The question of Lego's build-up is a fine one, too, and it compresses an abstract "Ai understands the physical world" into a limited system of tens of thousands of parts, dozens of connecting rules, so that certification can be calculated and measurable. This approach, which narrows the big questions down to a specific, operational world, is in itself a scientific method of learning.
As AI begins to build more and more complex things in the virtual world, a question becomes more and more important: whether what it comes out of it can be picked up by the real world.