BrickWright:智能体驱动的物理可行积木搭建
研究论文 · 2026/10/24
前沿编码智能体在3D建模方面日益娴熟,但在构建需在物理世界中组装的物体时仍面临挑战,常产生带有悬浮、碰撞或断开部件的无效装配。我们认为,为智能体提供装配构建和验证物理可行性的工具,足以让它们生成符合输入提示且物理有效的装配。聚焦于乐高积木构建领域,我们提出BrickWright,一个利用预训练智能体从文本或图像提示生成物理可行积木构建的框架。物理可行的构建仅使用真实部件、无碰撞或悬浮部件,并在可能时形成连通结构。BrickWright引导智能体通过使用BrickLayer编写代码来创建构建,BrickLayer是一个Python工具包,包含两个主要组件:一个符合人体工程学的积木装配API,与使用原始LDraw相比将推理成本减半;以及一个提供物理可行性反馈的验证器。基线智能体的物理有效性率仅为9%(GPT-6 Luna)至69%(GPT-6 Astra),而BrickWright引导的智能体在512个提示样本上达到100%有效性,同时提升了轻量级智能体的提示遵循度,并保持了更强智能体的提示遵循度。此外,它们在文本到积木任务上优于专用模型。代码可在项目页面获取:https://avalovelace1.github.io/brickwright/
该研究解决了智能体在物理世界装配中的关键挑战,通过工具引导实现100%物理有效性,显著提升生成质量,对机器人、自动化设计等领域有重要启示。
Frontier coding agents are becoming increasingly adept at 3D modeling. Yet, they still face challenges when building objects meant to be assembled in the physical world, often creating invalid assemblies with floating, colliding, or disconnected parts. We argue that providing agents with tools for assembling builds and verifying their physical feasibility is sufficient for them to produce physically valid assemblies that still adhere to input prompts. Focusing on the domain of LEGO brick builds, we present BrickWright, a framework for generating physically feasible brick builds from text or image prompts using pre-trained agents, where a build is physically feasible if it uses only real parts, has no colliding or floating parts, and forms a connected structure if possible. BrickWright guides agents to create builds by writing code with BrickLayer, a Python toolkit with two main components: an ergonomic brick assembly API that halves inference cost compared to working in raw LDraw, and a validator that provides feedback on physical feasibility. Whereas baseline agents achieve physical validity rates ranging from only 9% (GPT-6 Luna) to 69% (GPT-6 Astra), BrickWright-guided agents achieve 100% validity on a sample of 512 prompts, while improving prompt adherence for lightweight agents and maintaining it for stronger agents. Additionally, they outperform specialized models on the text-to-brick task. Code is available on our project page: https://avalovelace1.github.io/brickwright/