# EmbodiedSAM: Online Segment Any 3D Thing in Real Time

> 原标题：EmbodiedSAM: Online Segment Any 3D Thing in Real Time

- 来源：NTU PINE / Ziwei Wang
- 文章发布日期：2024-08-21
- Physical AI Hot：https://physical-ai-hot.pages.dev/items/mlbamngd5ym35vp1rwfo7slzc
- 原文：https://arxiv.org/abs/2408.11811

## 一句话结论

EmbodiedSAM将SAM生成的二维掩码提升为可迭代优化的三维查询，并通过跨视角矩阵匹配实现在线实时三维实例分割，在多个数据集上取得领先表现，同时展现零样本迁移、开放词汇和数据高效应用潜力。

## 摘要

Embodied tasks require the agent to fully understand 3D scenes simultaneously with its exploration, so an online, real-time, fine-grained and highly-generalized 3D perception model is desperately needed. Since high-quality 3D data is limited, directly training such a model in 3D is almost infeasible. Meanwhile, vision foundation models (VFM) has revolutionized the field of 2D computer vision with superior performance, which makes the use of VFM to assist embodied 3D perception a promising direction. However, most existing VFM-assisted 3D perception methods are either offline or too slow that cannot be applied in practical embodied tasks. In this paper, we aim to leverage Segment Anything Model (SAM) for real-time 3D instance segmentation in an online setting. This is a challenging problem since future frames are not available in the input streaming RGB-D video, and an instance may be observed in several frames so object matching between frames is required. To address these challenges, we first propose a geometric-aware query lifting module to represent the 2D masks generated by SAM by 3D-aware queries, which is then iteratively refined by a dual-level query decoder. In this way, the 2D masks are transferred to fine-grained shapes on 3D point clouds. Benefit from the query representation for 3D masks, we can compute the similarity matrix between the 3D masks from different views by efficient matrix operation, which enables real-time inference. Experiments on ScanNet, ScanNet200, SceneNN and 3RScan show our method achieves leading performance even compared with offline methods. Our method also demonstrates great generalization ability in several zero-shot dataset transferring experiments and show great potential in open-vocabulary and data-efficient setting. Code and demo are available at this https URL, with only one RTX 3090 GPU required for training and evaluation.

## 为什么重要

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

该工作针对具身任务中三维感知需要与探索同步进行的问题，重点解决未来帧不可用、跨帧实例匹配和实时推理之间的矛盾。

它展示了利用二维视觉基础模型辅助三维感知的路线，可在高质量三维数据有限的条件下扩展细粒度三维实例分割能力。

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

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

如果查询表示和高效矩阵运算能够在更多真实流式场景中保持稳定，具身智能系统可能以更低延迟完成持续的三维实例更新。

如果其零样本迁移和开放词汇潜力在更广泛场景中得到验证，该方法可能降低三维感知对专门标注数据的依赖，但当前材料未给出这些设置的具体结果。

## 值得继续追的问题

- 零样本数据集迁移、开放词汇和数据高效设置中的具体指标与基线差异如何？
- 在线推理的实际帧率、延迟和显存占用是否会随场景规模、实例数量和点云密度显著变化？
- 跨视角实例匹配在遮挡、快速运动或长时间探索中的稳定性如何？

