# Real2Code: Reconstruct Articulated Objects via Code Generation

> 原标题：Real2Code: Reconstruct Articulated Objects via Code Generation

- 来源：Stanford REAL Lab / 宋舒然
- 文章发布日期：2024-06-12
- Physical AI Hot：https://physical-ai-hot.pages.dev/items/wner8zvvs4p06wq4iuykccr5h
- 原文：https://arxiv.org/abs/2406.08474

## 一句话结论

Real2Code将视觉重建、部件几何表示与大语言模型代码生成结合，用于预测关节结构；摘要称其在重建精度、结构复杂度外推及少量多视图真实物体重建方面超过既有方法。

## 摘要

We present Real2Code, a novel approach to reconstructing articulated objects via code generation. Given visual observations of an object, we first reconstruct its part geometry using an image segmentation model and a shape completion model. We then represent the object parts with oriented bounding boxes, which are input to a fine-tuned large language model (LLM) to predict joint articulation as code. By leveraging pre-trained vision and language models, our approach scales elegantly with the number of articulated parts, and generalizes from synthetic training data to real world objects in unstructured environments. Experimental results demonstrate that Real2Code significantly outperforms previous state-of-the-art in reconstruction accuracy, and is the first approach to extrapolate beyond objects' structural complexity in the training set, and reconstructs objects with up to 10 articulated parts. When incorporated with a stereo reconstruction model, Real2Code also generalizes to real world objects from a handful of multi-view RGB images, without the need for depth or camera information.

## 为什么重要

以下为编辑分析，不能视作已验证结果。

该方法把关节运动结构预测转化为代码生成问题，并结合视觉模型处理部件几何，提供了一条面向多部件铰接物体的统一建模路线。

摘要所述的结构复杂度外推能力，关系到模型能否从有限复杂度训练样本推广到更复杂的真实物体。

## 对 AI 研究或应用的影响

以下为编辑分析，不能视作已验证结果。

如果该方法的代码生成表示能够稳定预测关节结构，机器人感知系统可能减少对专用深度和相机信息的依赖，并支持更复杂的可动部件建模。

其对预训练视觉和语言模型的组合提示，可能使训练数据规模与部件数量之间的扩展更灵活，但摘要未提供部署成本或失败案例。

## 值得继续追的问题

- 在不同物体类别和遮挡条件下，重建精度相对既有方法的具体提升幅度及评测指标是什么？
- 代码生成的关节预测是否提供可复现的模型、数据和执行约束？
- 从合成数据推广到真实物体时，哪些结构复杂度或视觉条件会导致性能下降？

