Skip to content
Robotics.world

Research

DailyBrick: Language-Guided Synthesis of Brick Assembly Instructions

Generating a 3D shape is not the same as generating something that can actually be built. In LEGO, every brick must be physically supported and must be placeable without being blocked by bricks…

arXiv
2611.22132 · Preprint · not peer-reviewed
Published
2026-11-17
Authors
Hang Zhang, Qijian Tian, Yuan Xie, Xuhong Wang, Xin Tan

In plain words

Generating a 3D shape is not the same as generating something that can actually be built. In LEGO, every brick must be physically supported and must be placeable without being blocked by bricks already placed, so the spatial layout and the placement order are coupled.

AI summary

Overview

Research area: Robotics and embodied AI — specifically language-conditioned 3D content generation combined with assembly-sequence planning, using LEGO bricks as a controlled testbed.

Technical level: Advanced. The paper assumes familiarity with large language model (LLM) agent pipelines, tool-use/code-generation harnesses, 3D shape generation, and physical assembly validation.

Scope (one sentence): DailyBrick is a multi-stage agentic system that turns a short natural-language request into a LEGO model plus a verified brick-by-brick assembly instruction, with an external reviewer agent that replays the construction, locates failures, and routes targeted repairs.

What This Paper Is About

Generating a 3D shape is not the same as generating something that can actually be built. In LEGO, every brick must be physically supported and must be placeable without being blocked by bricks already placed, so the spatial layout and the placement order are coupled. The paper's goal is to produce, from a simple user request, both a valid LEGO model and the ordered sequence of placements that constructs it — usable as a human building manual and as a plan for a robot manipulator.

Key Contributions

  1. DailyBrick pipeline. A multi-stage agentic pipeline (eleven stages) that converts a user request into a 3D LEGO model and step-by-step assembly instructions, organized as a Planner–Designer–Critic workflow with separate contexts per stage, where only committed stage outputs are passed downstream. An external Self Meta-Reviewer locates errors and drives targeted updates.
  2. Brick-construction SDK with partial assembly skills. A versioned SDK of brick-level operations (brick ID, colour, pose, connector, support dependency, insertion direction) plus reusable partial assembly skills (e.g., wall, chassis, roof) with defined interfaces, preconditions, and permitted read-write scope. A deterministic compiler expands an AssemblyProgram into a traceable assembly sequence, so each brick action can be traced back to the program operation, skill, and stage output that produced it.
  3. Verify replay plus the Self Meta-Reviewer. An independent replay checks every placement against pose validity, connector compatibility, and subpart connections; failures produce a report (action, violated constraint, last accepted state) that the Meta-Reviewer uses to route bounded repairs to the responsible stage, or to editable candidates for later prompt/skill/SDK updates.
  4. Dataset and evaluation. A self-collected dataset of 358,775 structured LEGO models in LDraw format, with a fixed test split of 18,653 cases, plus experiments across multiple base models showing gains in visual quality and assembly-sequence validity, and simulated robot assembly/interaction examples.

Main Findings

  • Best overall text-conditioned generation. With GPT 6-Astra as the base model, DailyBrick reaches 100.0% Valid and 100.0% Stable, CLIP 0.358, CLIP-L/14 31.26, DINOv2 0.923, P_inv 0.044, VQAScore 0.767, PE 0.363, and SigLIP2 0.734 — the best value in every column of the main comparison table. With Qwen3.6-27B it reaches 100.0% Valid, 100.0% Stable, CLIP 0.340, DINOv2 0.906, VQAScore 0.736, SigLIP2 0.724.
  • Baselines for reference. BrickGPT scores 100.0% Valid, 97.91% Stable, CLIP 0.322, DINOv2 0.877, VQAScore 0.048, SigLIP2 0.050. BrickNet (14B) scores 96.68% Valid, 94.30% Stable, VQAScore 0.600, SigLIP2 0.623. GPT 6-Astra alone scores 100.0% Valid, 100.0% Stable, VQAScore 0.625, SigLIP2 0.626.
  • Instruction validity improves sharply. On assembly-instruction evaluation, DailyBrick with GPT 6-Astra achieves 100.0% Replay exact, 0.974 All-prefix pass, and a Failure pos. of 1; with Qwen3.6-27B it achieves 100.0% Replay exact, 0.960 All-prefix pass, Failure pos. 1. For comparison, GPT 6-Astra alone reaches 96.02% Replay exact and 0.884 All-prefix pass; BrickGPT reaches 0.706 All-prefix pass with a Failure pos. of 0.98; BrickNet (14B) reaches 0.690 All-prefix pass with Failure pos. 0.43.
  • Efficiency. DailyBrick with GPT 6-Astra uses 4.346k tokens per case and 49.09 s, with Prefix pass 0.974, Repair success 0.677, and Accept 0.885 — fewer tokens and less time than GPT 6-Astra alone (16.24k tokens, 324.6 s, Accept 0.714), and better Accept than BrickGPT (0.684) and BrickNet (0.743). DailyBrick with Qwen3.6-27B uses 7.760k tokens, 207.7 s, Prefix pass 0.960, Repair success 0.576, Accept 0.834.
  • Ablation shows each component contributes. From a zero-shot Qwen3.6-27B base (87.92% Valid, 82.93% Stable, VQAScore 0.567, Replay exact 90.57%, All-prefix pass 0.888, Accept 0.563): adding Planner–Designer–Critic lifts Valid to 88.17%, Stable to 88.04%, VQAScore to 0.721, All-prefix pass to 0.936, Accept to 0.626; adding the SDK and partial assembly skills lifts Valid to 100.0%, Stable to 99.84%, and P_inv from 0.201 to 0.049; adding the Self Meta-Reviewer gives the full system (100.0% Valid, 100.0% Stable, Replay exact 100.0%, All-prefix pass 1.0, Accept 0.834).
  • Benefits transfer across base models. Pairing DailyBrick with each of GPT-4o, Qwen3.6-27B, Qwen3.6-35B-A3B, Qwen3.8-27B, Gemini-3 Pro, and GPT 6-Astra improves every paired baseline on CLIP, DINOv2, P_inv, VQAScore, SigLIP2, Replay exact, All-prefix pass, and Accept — for example Gemini-3 Pro goes from VQAScore 0.619 and Accept 0.664 to VQAScore 0.760 and Accept 0.861.
  • Downstream use in simulation. Simulated manipulator snapshots show a robot arm assembling a generated model from the instructions, and interacting with rotating and articulated components of generated models.
  • Limitation: validity is not quality. The authors show that models with valid assembly instructions can still have inconsistent colour choices, excessively repetitive structures, and unintended asymmetry. Their construction checks cover geometry and connections; robot grasping, continuous motion, and force-dependent behaviour require further downstream evaluation.

Methodology in Plain English

The team reframes the problem: instead of asking a model to predict thousands of brick connections at once, ask it to write a program that builds a LEGO model the way a person would, where every intermediate step can be executed and checked.

That program-writing is split across eleven stages, from interpreting the user request, through a design brief, a structural blueprint (layout and connections), semantic subpart design, database grounding, down to concrete SDK construction. Each stage runs a small loop: a Planner proposes a local plan, a Designer implements it within that stage's allowed scope, and a Critic — assisted by deterministic validation — accepts or sends it back. Stages do not share conversation history; they exchange only committed outputs, which keeps each step bounded and traceable.

The construction SDK is the bridge between language and bricks. Brick-level calls name the brick, colour, pose, connector, support dependency, and insertion direction; reusable "partial assembly skills" bundle these into routines for things like a wall, chassis, or roof. A deterministic compiler expands the program into an ordered assembly trace, recording which program operation produced each step. The final model and the instruction views are both derived from that same trace, so they cannot drift apart.

Verification is a separate, independent replay from the empty state. Before each placement, the system reconstructs the current partial build and its "attachment frontier" — the sites still available for attaching new bricks — and checks pose validity, connector compatibility, and subpart connections. A rejected step halts the replay and emits a failure report. The Self Meta-Reviewer then walks backward from the failure through recorded dependencies to decide what to fix: within a run it revises the program or the stage outputs (leaving the overall configuration fixed) and re-runs the full replay before acceptance; recurring errors across runs become candidate edits to prompts, skills, or SDK operations. If the evidence does not support a specific target, it declines to act and returns defer.

Evaluation uses 358,775 LDraw-format models with an 18,653-case fixed test split, a frozen manifest of requests, inventories, seeds, versions, and budgets, and invalid generations scored as zero rather than dropped.

Why This Matters

Research impact. The paper makes a case that for multi-part objects, predicting the final geometry and predicting the build process should be one problem with one shared trace, not two decoupled ones. It also contributes a concrete pattern for execution-grounded feedback in agent pipelines: a reviewer that uses replay evidence and provenance to attribute a failure to a specific stage, rather than merely detecting that something is wrong.

Real-world applications.

  • Consumer building manuals: generating custom LEGO-style models with usable step-by-step instructions rather than just a finished shape.
  • Robot assembly from instructions: the ordered brick identities and poses feed directly into manipulator planning, as shown in the simulated assembly and interaction examples.
  • Design and prototyping: quickly exploring furniture and household-object concepts (television cabinets, white cabinets, houses with interiors) under real part inventories.
  • Constraint-rich inventory scenarios: the appendix examines generation when specialized parts are excluded, relevant to settings where only a limited part set is available.

Industry relevance. The construction-kit format is directly relevant to toy and hobby manufacturing, to robotics companies exploring assembly-as-a-service, and to simulation/asset pipelines that need procedurally generated objects with manufacturable, order-dependent build plans. The cost numbers matter too: the GPT 6-Astra configuration is both cheaper in tokens and faster than the same model used alone, and substantially cheaper than GPT 6-Astra's 16.24k tokens per case.

Future Directions

  • Closing the loop across runs. The paper describes promoting recurring failures into candidate updates to stage prompts, partial assembly skills, or SDK operations, evaluated on triggering and protected cases before activation — but the provided content does not report results for that cross-run update mechanism. Measuring how much such updates actually help is the obvious next experiment.
  • From feasibility to design quality. Valid, buildable models still show inconsistent colours, over-repetitive structures, and unintended asymmetry. Extending the reviewer's criteria beyond physical validity to aesthetic and semantic quality is an open problem.
  • Physical robot validation. The reported checks establish geometric and connection feasibility; grasping, continuous motion, and force-dependent behaviour are explicitly left to downstream evaluation, so real-hardware assembly remains untested here.
  • Scaling and generality. The dataset now spans 25,406 part types, average 172.58 bricks, and a maximum of 259,179 bricks; whether the staged program-writing approach holds at the largest scales and whether it transfers beyond the LDraw ecosystem to other modular construction systems are open questions.

Target Audience

Robotics and embodied-AI researchers working on long-horizon planning, assembly, and manipulation; LLM-agent researchers interested in multi-stage harnesses, execution-grounded feedback, and error localization; 3D generative modeling researchers moving from shapes to buildable, multi-part objects; and practitioners in procedural content generation, simulation, or toy/construction-kit design who need models that come with an executable build sequence rather than geometry alone.

Authors’ abstract

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…

The full abstract on arXiv
Read the original paper

Related papers