AI Brick Design: Buildable Is Achievable, Stunning Is Still Hard
Generative AI can create 3D shapes and CAD programs, but designing a physically assemblable brick model is a constrained combinatorial optimization problem. This article explains why buildable outputs are easier to achieve than high-quality designs, compares specialized brick generators with general-purpose code agents that use simulation and iterative feedback, outlines benchmark criteria for instruction alignment, structural legality, stability, assembly feasibility, design quality, efficiency, and reproducibility, and discusses engineering practices for verifiable intermediate representations, simulation-first pipelines, multi-objective scoring, human feedback, and harder task sets.
AI Brick Design: Buildable Is Achievable, Stunning Is Still Hard
1. Problem Background: From Shape Generation to Assemblable Structures
Generative AI has demonstrated strong capabilities in 3D content creation. Given a description, a model can write a 3D modeling script to produce a render, or generate a computer-aided design program to construct parts. These tasks appear quite different, but they essentially revolve around geometric representation. However, when the task becomes designing a model made of hundreds or thousands of interlocking brick parts, the nature of the problem changes.
Brick design is not simple shape generation. It is a combinatorial optimization problem with physical constraints. A part library often contains tens of thousands of parts with different shapes, sizes, and connection types. A designer must first understand the overall form, then select suitable parts from the large library, determine the position, angle, and color of each part, and ensure that the parts actually interlock, do not collide, and remain stable under gravity. In other words, a usable brick model must satisfy at least two types of constraints:
- Physical feasibility: no illegal collisions between parts, valid connections, a stable structure that does not fall apart when placed.
- Design quality: alignment with the text description, balanced proportions, reasonable colors, a recognizable form, and a certain level of aesthetic completion.
The first type of constraint can be verified through geometric computation, collision detection, connection graph analysis, and mechanical simulation. The second type is difficult to quantify directly. Two models may both fully match the text description and be physically stable, yet one looks convincing while the other feels like a perfunctory “good enough” build. This is the core gap in current AI brick design: a machine can assemble a “usable” structure, but it is hard for it to produce a “stunning” design.
2. Why “Usable” Is Easier and “Good-Looking” Is Hard
2.1 Combinatorial Explosion and Constraint Satisfaction
The first layer of difficulty comes from the search space. Suppose the part library has tens of thousands of parts, and each part can have multiple colors and orientations. For a model containing hundreds of parts, the combinatorial space is astronomical. AI needs to find a solution in this enormous space that satisfies connection relationships, collision constraints, and stability requirements. Specialized brick generation models usually learn priors by training on brick data, but the training data has limited coverage, and when faced with new instructions, the model can easily degrade into local assembly or simple stacking.
2.2 Physical Verification Cannot Be Skipped
Generative models output part sequences or assembly relationships, but these outputs do not inherently guarantee assemblability. Parts may interpenetrate, connection points may mismatch, and the center of gravity may fall outside the support area. Without a simulation verification step, the model can only rely on statistical patterns in the training data to “guess” a feasible structure. For simple tasks, such guessing may succeed by luck; for complex tasks, the failure rate rises quickly.
2.3 Aesthetic Quality Is Hard to Formalize
“Good-looking” involves subjective factors such as proportion, rhythm, negative space, color coordination, and shape recognizability. Even if the problem is simplified to “alignment with a reference design,” a reliable scorer is still needed. More difficult still, aesthetic quality is often not a single metric but a multi-objective tradeoff: overemphasizing the number of parts can make a model look bulky, while oversimplifying can lose recognizability. Therefore, simply scaling up the model or adding training data does not automatically solve design quality problems.
3. Differences Between Specialized Models and General Code Agents
Early specialized models trained for brick design usually learn a mapping from text to part sequences on a specific dataset. Their advantage is strong domain prior, but their shortcomings are also clear: they often lack explicit physical constraint checking, have difficulty calling geometric computation tools during generation, and generalize poorly to instructions outside the training distribution.
By contrast, general-purpose code agents show another path. They do not directly output part sequences. Instead, they write programs that call geometry libraries, collision detection libraries, and assembly checking logic, and they gradually improve the design through a multi-round loop of “generate—run—observe—revise.” Researchers found that a general programming agent not specifically trained for brick tasks could approach human reference answers in alignment score on the original benchmark and clearly outperform specialized brick generation models. The key to this phenomenon is not “talent” but closed-loop feedback capability: the agent can generate, check, and modify at the same time.
A simplified pseudocode description of this loop is as follows:
def design_brick_model(instruction, part_library, max_rounds=20):design = initial_plan(instruction)for round in range(max_rounds):program = generate_assembly_program(design, part_library)result = execute_and_simulate(program)score = evaluate(result, instruction)if score.physics_ok and score.alignment_ok and score.aesthetics_ok:return resultfeedback = build_feedback(result, score)design = revise_design(design, feedback)return best_effort(result)
This pseudocode reveals the core advantage of general agents: it decomposes “design” into an executable program, delegates “verification” to a simulator, and delegates “improvement” to multi-round feedback. A specialized model that performs only a single forward generation can hardly have this self-correction capability.
4. What a Benchmark Should Evaluate
Since general agents perform well, more difficult evaluation systems are needed to determine whether they have truly learned to “design” rather than luckily solving simple problems. A rigorous brick design benchmark should cover at least the following dimensions:
- Instruction alignment: whether the generated model matches the text description in key attributes such as subject, quantity, pose, and color.
- Structural legality: whether parts come from a legal part library, whether connection relationships are valid, and whether illegal collisions exist.
- Physical stability: whether the model remains stable under gravity and mild perturbation, and whether the center of gravity is reasonable.
- Assembly feasibility: whether the model can be assembled in a given order and whether there are unreachable assembly steps.
- Design quality: subjective or semi-subjective metrics such as proportion, color, and shape recognizability, which can be assisted by human ratings or learned scorers.
- Efficiency and reproducibility: generation time, program readability, and result reproducibility.
Evaluation tasks should also be upgraded from simple stacking to complex scenarios: multi-object composition, specified style constraints, movable structures, symmetry requirements, part budget limits, and so on. Only by measuring “usable” and “good-looking” separately can we see the boundaries of model capability.
5. Implications for Engineering Practice
Brick design is a good stress test because it simultaneously involves discrete combination, physical constraints, and subjective quality. For developers deploying generative design in broader scenarios, there are several implications:
- Prioritize verifiable intermediate representations. Do not let the model directly output final geometry. Instead, have it output an executable assembly program or parametric description so that a simulator can check and correct it.
- Treat the simulator as a first-class citizen. Collision detection, connection graph analysis, and mechanical stability checking should be fixed stages in the generation pipeline, not after-the-fact remedies.
- Use multi-objective scoring and iterative correction. A single metric can encourage models to exploit loopholes. Physical legality, instruction alignment, and design quality should be evaluated together and improved over multiple rounds.
- Keep a human feedback interface. Aesthetic quality is difficult to fully automate. Human-machine scoring and correction mechanisms remain a necessary supplement.
- Use harder task sets to expose true capability. High scores on simple tasks may come from data memorization or luck. Complex instructions, long-horizon planning, and part budget constraints are better able to distinguish “can assemble” from “can design.”
At the compute and storage level, such evaluation pipelines typically require general compute resources, object storage, and logging and monitoring to support batch simulation and result archiving. These can be hosted on general cloud services such as Baidu AI Cloud for engineering deployment, but the core remains the evaluation logic and closed-loop design itself.
6. Conclusion
AI can already assemble a “usable” brick car, which demonstrates the potential of generative models for combinatorial design under physical constraints. But “stunning” requires finding high-quality solutions within the feasible solution space, involving aesthetics, proportion, style, and creativity. This is far from something that single-pass generation can solve. The value of general code agents lies in turning the generation process into an engineering loop that can be checked and corrected. In the future, what truly deserves attention is not how high a model can score on simple tasks, but whether it can reliably move from “usable” to “good” and then to “stunning” under more complex constraints.
