Break and Make: Interactive Structural Understanding Using LEGO Bricks

Aaron Walsman, Muru Zhang, Klemen Kotar, Karthik Desingh, Ali Farhadi, Dieter Fox

Introduction

While computer vision has made significant strides in object identification, AI agents still struggle with "compositional understanding"—the ability to comprehend how individual parts fit together to form a functional whole. Humans develop this intuition through play, often by taking objects apart to see how they work and then attempting to rebuild them. To bridge this gap in AI research, the "Break and Make" paper introduces a new benchmark that challenges agents to learn structural reasoning by disassembling and rebuilding complex LEGO models.

The Break and Make Framework

The researchers propose a two-phase interactive task designed to force agents to deal with occlusions, precise spatial relationships, and long-term memory.

The Break and Make pipeline: An agent disassembles a target model to learn its structure, then rebuilds it from scratch.
  1. The Break Phase: The agent is presented with a completed LEGO model. It must interactively inspect and disassemble the model, piece by piece, to reveal its internal structure. This is crucial because many models contain "hidden" bricks that are invisible from external viewpoints.
  2. The Make Phase: Starting with an empty workspace, the agent must rebuild the exact same model using the information gathered during the disassembly phase.

LTRON Simulator and StudNet Architecture

To support this task, the authors developed LTRON, a fully interactive 3D simulator with an OpenAI Gym interface. LTRON supports 1,790 unique brick shapes and simulates the precise "click" mechanics of LEGO assembly, requiring the agent to manage specific connection points (studs and tubes).

The ASSEMBLE action in LTRON, showing the transition from a picked brick to a connected component.

On the modeling side, the paper introduces StudNet, a Transformer-based architecture. To handle the long sequences inherent in LEGO assembly, StudNet uses a data compression technique that only processes image "tiles" that have changed since the previous frame. The researchers tested two variants: StudNet-A (a pure Transformer) and StudNet-B (a hybrid using a Convolutional Neural Network to generate spatial heatmaps for better precision).

Datasets and the "Long Tail" Challenge

The benchmark utilizes the Open Model Repository (OMR), a collection of 1,727 fan-made LEGO models ranging from simple builds to complex sets with thousands of bricks. This dataset presents a "long tail" distribution challenge: while a few bricks (like the standard 2x4 rectangular brick) are common, thousands of others are extremely rare, testing the agent's ability to generalize across a massive vocabulary of parts.

Because current AI cannot yet handle 7,000-brick models, the authors created "Slices"—smaller, connected components of 2, 4, and 8 bricks—for initial benchmarking. Interestingly, human-designed models (OMR) proved significantly harder for AI to learn than procedurally generated random models, as human designs utilize symmetry and tight configurations that create complex occlusions.

Key Results and Limitations

Performance was evaluated using F1 scores for correct brick placement and Assembly Edit Distance (AED). While models performed well on 2-brick scenes (F1 scores of 0.8-0.9), performance dropped sharply as complexity increased. On 8-brick OMR scenes, the best model (StudNet-B) achieved an F1 score of only 0.05.

A major hurdle identified was the "Switch Phase"—the transition from disassembling to rebuilding. Pure Transformer models often failed to learn this transition on harder datasets. Furthermore, the current state of the art is limited by a dependency on visual planners for training and a lack of full rigid-body physics (e.g., gravity) in the simulator.

Conclusion

The "Break and Make" task highlights the necessity of interaction for true structural perception. Future work will focus on improving reinforcement learning techniques for long-term credit assignment, helping agents better utilize observations made during the "Break" phase to inform complex actions in the "Make" phase.

Summary updated

BibTeX
@inproceedings{walsman2022break,
  author = {Aaron Walsman and Muru Zhang and Klemen Kotar and Karthik Desingh and Ali Farhadi and Dieter Fox},
  title = {{Break and Make: Interactive Structural Understanding Using LEGO Bricks}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19815-1\_6},
}
Figure