Grounded 3D-LLM with Referent Tokens

Yilun Chen, Shuai Yang, Haifeng Huang, Tai Wang, Ruiyuan Lyu, Runsen Xu, Dahua Lin, Jiangmiao Pang · OpenReview

Abstract

Prior studies on 3D scene understanding have primarily developed specialized models for specific tasks or required task-specific fine-tuning. In this study, we propose Grounded 3D-LLM, which explores the potential of 3D large multi-modal models (3D LMMs) to consolidate various 3D vision tasks within a unified generative framework. The model uses scene referent tokens as special noun phrases to reference 3D scenes, enabling the handling of sequences that interleave 3D and textual data. It offers a natural approach for translating 3D vision tasks into language formats using task-specific instruction templates. To facilitate the use of referent tokens in subsequent language modeling, we have curated large-scale grounded language datasets that offer finer scene-text correspondence at the phrase level by bootstrapping existing object labels. Subsequently, we introduced Contrastive LAnguage-Scene Pre-training (CLASP) to effectively leverage this data, thereby integrating 3D vision with language models. Our comprehensive evaluation covers open-ended tasks like dense captioning and 3D QA, alongside close-ended tasks such as object detection and language grounding. Experiments across multiple 3D benchmarks reveal the leading performance and the broad applicability of Grounded 3D-LLM.

Introduction

The field of 3D scene understanding has historically been fragmented, with researchers typically building specialized "expert" models for specific tasks like object detection, visual grounding, or question answering. While recent 3D Large Multi-modal Models (LMMs) have attempted to unify these tasks, they often struggle with spatial reasoning—describing a room without being able to precisely pinpoint objects within the 3D coordinate space.

Grounded 3D-LLM handles diverse tasks like grounding, captioning, and planning within a unified framework.

Grounded 3D-LLM addresses this by introducing "referent tokens" ($<ref>$) that link text phrases directly to 3D spatial regions. This allows the model to "point" to objects during a conversation, enabling a unified interface for tasks ranging from dense captioning to embodied planning.

Methodology

The framework relies on two primary innovations: Referent Tokens and Contrastive LAnguage-Scene Pre-training (CLASP).

Referent Tokens

Instead of using discrete coordinate numbers, which are difficult for LLMs to process, the model uses a special token as a placeholder for 3D objects. These tokens can appear in both input and output sequences. Each token is associated with a high-dimensional embedding that maps back to a specific region in the 3D point cloud.

Training Pipeline

The training follows a two-stage pipeline as illustrated below:

The two-stage training pipeline: Contrastive Language-Scene Pre-training (CLASP) followed by Multi-task Instruction fine-tuning.
  1. Stage 1: CLASP Pre-training: Inspired by CLIP, this stage uses a phrase-level alignment strategy. A 3D encoder and a Cross-Modal Interactor (CMI) ensure that noun phrases in text are mathematically aligned with corresponding visual features in the 3D scene.
  2. Stage 2: Multi-task Instruction Fine-tuning: The LLM is fine-tuned using Low-Rank Adaptation (LoRA) to teach it how to use referent tokens naturally across various tasks.

Data Generation: G-SceneCap

A major bottleneck in 3D research is the scarcity of high-quality, human-annotated scene-text data. To address this, the authors developed G-SceneCap, a dataset containing over 1 million phrase-to-region correspondences. This was achieved by projecting 3D objects into 2D images, using 2D vision-language models (like CogVLM) to generate descriptions, and then using ChatGPT to condense these into natural, grounded captions.

Results

Grounded 3D-LLM demonstrates significant improvements over previous generalist models:

  • Grounding Superiority: On the ScanRefer benchmark, it achieved 48.6% accuracy ([email protected]), outperforming the previous state-of-the-art by over 18 points.
  • Multi-Object Mastery: In complex scenarios (Multi3DRef), it achieved a 44.7 F1 score, nearly doubling the performance of earlier generalist models.
  • Zero-Shot Generalization: The CLASP pre-training allows the model to perform well on unseen grounding tasks, indicating robust phrase-to-region alignment.

Conclusion

Grounded 3D-LLM represents a significant step toward a generalist 3D agent. While it still lags slightly behind task-specific "expert" models in niche areas like pure instance segmentation, its ability to unify diverse tasks through a language-based interface opens new possibilities for robotics and AR/VR. Future work will focus on scaling 3D scene-text data and improving multi-step spatial reasoning.

Summary updated

Abstract

Prior studies on 3D scene understanding have primarily developed specialized models for specific tasks or required task-specific fine-tuning. In this study, we propose Grounded 3D-LLM, which explores the potential of 3D large multi-modal models (3D LMMs) to consolidate various 3D vision tasks within a unified generative framework. The model uses scene referent tokens as special noun phrases to reference 3D scenes, enabling the handling of sequences that interleave 3D and textual data. It offers a natural approach for translating 3D vision tasks into language formats using task-specific instruction templates. To facilitate the use of referent tokens in subsequent language modeling, we have curated large-scale grounded language datasets that offer finer scene-text correspondence at the phrase level by bootstrapping existing object labels. Subsequently, we introduced Contrastive LAnguage-Scene Pre-training (CLASP) to effectively leverage this data, thereby integrating 3D vision with language models. Our comprehensive evaluation covers open-ended tasks like dense captioning and 3D QA, alongside close-ended tasks such as object detection and language grounding. Experiments across multiple 3D benchmarks reveal the leading performance and the broad applicability of Grounded 3D-LLM. Code and datasets will be released on the project page: https://groundedscenellm.github.io/grounded_3d-llm.github.io.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ScanRefer · Grd.CLASP[email protected]53.2training=end-to-end · supervision=point-supervised
Source quote
L260: Mask3D~\cite{schult2023mask3d} │ \ding{51} │ \ding{51} │ -- │ -- │ -- │ -- │ 27.4 │ 37.0 │ 42.3 CLASP │ \ding{51} │ \ding{51} │ 53.2 │ 46.7 │ 51.5 │ 47.3 │ 27.2 │ 36.4 │ 42.1
ScanRefer · Grd.CLASP[email protected]46.7training=end-to-end · supervision=point-supervised
Source quote
L260: Mask3D~\cite{schult2023mask3d} │ \ding{51} │ \ding{51} │ -- │ -- │ -- │ -- │ 27.4 │ 37.0 │ 42.3 CLASP │ \ding{51} │ \ding{51} │ 53.2 │ 46.7 │ 51.5 │ 47.3 │ 27.2 │ 36.4 │ 42.1
Multi3DRef · Grd.CLASP[email protected]51.5training=end-to-end · supervision=point-supervised
Source quote
L260: Mask3D~\cite{schult2023mask3d} │ \ding{51} │ \ding{51} │ -- │ -- │ -- │ -- │ 27.4 │ 37.0 │ 42.3 CLASP │ \ding{51} │ \ding{51} │ 53.2 │ 46.7 │ 51.5 │ 47.3 │ 27.2 │ 36.4 │ 42.1
Multi3DRef · Grd.CLASP[email protected]47.3training=end-to-end · supervision=point-supervised
Source quote
L260: Mask3D~\cite{schult2023mask3d} │ \ding{51} │ \ding{51} │ -- │ -- │ -- │ -- │ 27.4 │ 37.0 │ 42.3 CLASP │ \ding{51} │ \ding{51} │ 53.2 │ 46.7 │ 51.5 │ 47.3 │ 27.2 │ 36.4 │ 42.1
ScanQAGrounded 3D-LLM (Tiny-Vicuna-1B)C75.9peft · params=1B · backbone=Tiny-Vicuna-1B · adaptation=LoRA
Source quote
L359: Tiny-Vicuna-1B │ \ding{51} │ 13.2 │ 75.9 │ 36.9 │ 74.1 │ 35.0 │ 70.2 │ 157 MB
BibTeX
@misc{chen2024grounded,
  author = {Yilun Chen and Shuai Yang and Haifeng Huang and Tai Wang and Ruiyuan Lyu and Runsen Xu and Dahua Lin and Jiangmiao Pang},
  title = {{Grounded 3D-LLM with Referent Tokens}},
  year = {2024},
  eprint = {2405.10370},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.10370},
}
Figure