cs.RONov 25, 2026

A World Model for Assembly Sequence Planning

Authors: Xilun Chen, Roozbeh Mottaghi

Organizations: The Chinese University of Hong Kong, Shenzhen · University of Washington

Abstract

This paper proposes a world model for planning assembly sequences for LEGO structures. The model predicts placement feasibility by looking ahead in a learned latent space, without invoking a physical simulator inside the look-ahead search. The primary technical challenge lies in judging whether committing to a placement leaves the remaining structure buildable, which requires reasoning over future steps. To address this, we represent the assembly with a multi-granularity heterogeneous graph, in which a master node aggregates the overall geometry of the assembled structure as a set of anchor tokens, while a brick-level sub-graph carries the interlocking topology and the static attributes of each brick. A latent dynamics model advances the anchor tokens locally after each placement, which lets the world model roll the geometry forward over several steps and anticipate whether a candidate placement obstructs the assembly of the remaining bricks. We validate the framework on held-out test structures from the StableText2Lego (Pun et al., 2025) benchmark, comparing it against ablations and recent assembly-sequence methods. Our planner achieves near-oracle solutions while issuing the fewest exact-oracle calls per brick and avoiding the later-infeasible placements incurred by the baselines. Project page: https://assembly-world-model.github.io/

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Apr 24, 2026

BrickNet: Graph-Backed Generative Brick Assembly

We train a language model to generate LEGO-brick build sequences. While prior work has been restricted to discrete, voxel-like towers, we consider a much broader set of pieces, encompassing thousands of part types with diverse connection semantics. To enable this, we first collect a large-scale dataset of over 100,000 human-designed LDraw brick objects and scenes. The complexity of our setting makes it challenging to autoregressively assemble structures that satisfy physical constraints. When predicting block pose directly, build sequences quickly become invalid after a small number of steps. Although pieces are placed in 3D space, it is the spatial relationships of the parts which define the whole. With this in mind, we design a graph-based program representation that parametrizes structure through connectivity, improving the physical grounding of generated sequences. To enable future applications, we make our dataset and models available for research purposes. https://kulits.github.io/BrickNet
Nov 24, 2026

BriConstrain: Geometrically Constrained Decoding for Autoregressive Brick Assembly Generation

Language models can generate LEGO®^\circledR assemblies from text, but their builds often contain parts that collide or attach to nothing. The usual approach of rejecting and resampling invalid placements discards decoded tokens without guaranteeing a valid build. We present BriConstrain, a constrained decoding method that restricts a pretrained language model's next-token probabilities before sampling, steering it towards valid placements. Because the validity of a brick placement depends on the non-predetermined build state, it cannot be compiled into a fixed grammar and must be checked dynamically. However, checking the validity of a brick before sampling is challenging as the space of valid placements is combinatorially large and cannot be enumerated exhaustively. Our key idea is to narrow the search space by constraining how parts attach rather than which parts attach to each other. Concretely, given the model's predictions of the currently placed part, and the previously placed parent it wants to connect to, we constrain the model's choice of how they attach. This allows us to span the space of part attachments, using a precomputed geometric oracle, and to effectively filter out colliding options. With valid attachment candidates in hand, we bias the model's next-token distribution towards the remaining valid candidates. We evaluate our method on two LEGO®^\circledR formats and models: BrickNet, which annotates connectivity explicitly, and our proposed Implicit Connectivity LDraw Format (ICLF), which uses numeric values for placements and leaves connectivity implicit. Our method raises collision-free builds from 31% to 91% on BrickNet and from 15% to 65% on ICLF, and outperforms rejection sampling on both formats at about 60% of its decoding cost.
Nov 17, 2026

DailyBrick: Language-Guided Synthesis of Brick Assembly Instructions

Generating a LEGO model from a user request is more than a plausible 3D shape generation. LEGO models require physical support per brick, and each brick should be placed unblocked. Current methods address this issue by training an expert large language model. We reduce the problem of generating extremely long context on all brick connections to that of writing a program that builds LEGO models like a human, considering each intermediate step could be executed. We introduce DailyBrick , a multi-stage agentic system that produces a LEGO model together with a brick-by-brick assembly instruction for human building and robot assembly. We design a multi-stage harness with roles to help LLMs generate more effectively. A versioned construction SDK compiles multi-level decisions, from semantic subparts to individual bricks, into canonical operations. An external Meta-Reviewer agent replays and inspects the generated package, verifies the model and its construction process, identifies failures, traces them to the responsible stage, and routes them to bounded repairs or to editable candidates for later skill or tool updates. Extensive experiments demonstrate that DailyBrick generates LEGO models based on simple user requests better than recent agentic systems, and show its utility in downstream applications such as robot manipulations on model assembly from instructions and brick sets (https://spatialagentlab.github.io/DailyBrick.github.io/).