3DRefTransformer: Fine-Grained Object Identification in Real-World Scenes Using Natural Language

Ahmed Abdelreheem, Ujjwal Upadhyay, Ivan Skorokhodov, Rawan Al Yahya, Jun Chen, Mohamed Elhoseiny

Introduction

While AI has achieved significant milestones in 2D visual grounding—such as identifying a specific animal in a photograph—the transition to 3D environments introduces substantial complexity. In a real-world 3D scan, a model must distinguish a target object from numerous "distractors" of the same class (e.g., identifying one specific chair among many). Previous methodologies, often relying on Graph Convolutional Networks (GCNs) and LSTMs, frequently struggled with complex spatial reasoning and grounding linguistic cues like "left" or "behind" into precise 3D coordinates.

3DRefTransformer addresses these challenges by adapting the Transformer architecture—which has revolutionized natural language processing and 2D vision—to the 3D domain, enabling more nuanced spatial understanding and multi-modal alignment.

Methodology

The 3DRefTransformer architecture utilizes a sophisticated "encode-then-fuse" strategy to process disparate data streams before integration.

  1. Uni-modal Encoding: The model first processes 3D and linguistic data independently. Individual objects, represented as segmented point clouds, are encoded via PointNet++. These features enter an "Object Transformer" where self-attention allows the model to capture the global context of the scene. Simultaneously, the text query is processed by a "Language Transformer" to extract linguistic context.
  2. Multi-modal (MM) Transformer: The outputs from both encoders are fed into a joint transformer. This architecture allows every word in the description to attend to every object in the 3D scene, facilitating a fine-grained mapping between geometry and language.
  3. Spatial Reasoning: To enhance 3D awareness, the model incorporates relative positional embeddings (pairwise distances) directly into the attention mechanism. Furthermore, the model is trained with an auxiliary "Spatial Relation Prediction" task, requiring it to predict geometric relationships (e.g., "above," "closest to") between objects.
The 3DRefTransformer architecture, illustrating the separate encoding of object point clouds and language tokens followed by multi-modal fusion.

Datasets and Evaluation

The model was evaluated on two primary benchmarks derived from the ScanNet dataset:

  • Nr3D (Natural Reference 3D): Comprising approximately 41.5k human-written utterances characterized by complex and varied natural language.
  • Sr3D (Synthetic Reference 3D): Comprising approximately 83.5k template-based utterances, providing a large-scale dataset for learning fundamental spatial concepts.

Results and Qualitative Analysis

3DRefTransformer established a new state-of-the-art (SOTA) at the time of its publication. On the Nr3D benchmark, it achieved 39.0% accuracy (a significant increase over the previous 35.6% SOTA). On the Sr3D benchmark, it reached 47.0% accuracy, outperforming previous models by over 6%.

Crucially, the model demonstrated its greatest performance gains in "Hard" scenarios—scenes containing many distractors of the same category—where it outperformed existing methods by 4-7%. This suggests that the combination of the Object Transformer and explicit spatial losses effectively helps the model navigate cluttered environments.

Qualitative results demonstrating the model's ability to identify specific targets in complex scenes using spatial and descriptive cues.

Conclusion and Future Work

Despite reaching SOTA levels, a significant gap remains between AI performance and human-level 3D spatial reasoning. Current limitations include data scarcity in 3D language datasets and the difficulty of handling multi-step reasoning (e.g., "the chair next to the table that is under the window"). Future research will likely focus on scaling these models and improving their capacity for complex, hierarchical spatial logic.

Summary updated

BibTeX
@inproceedings{abdelreheem2022dreftransformer,
  author = {Ahmed Abdelreheem and Ujjwal Upadhyay and Ivan Skorokhodov and Rawan Al Yahya and Jun Chen and Mohamed Elhoseiny},
  title = {{3DRefTransformer: Fine-Grained Object Identification in Real-World Scenes Using Natural Language}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00068},
}
Figure