NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

3D CoCa: Contrastive Learners are 3D Captioners

Ting Huang, Zeyu Zhang, Yemin Wang, Hao Tang

TL;DR

This paper introduces 3D CoCa, a novel unified framework for 3D scene captioning that seamlessly integrates contrastive vision-language learning with caption generation. By jointly optimizing these objectives in a shared feature space, 3D CoCa achieves state-of-the-art performance, producing more spatially accurate and semantically rich descriptions of 3D environments without relying on explicit object detectors.

What Problem Does This Paper Address?

Describing 3D scenes in natural language, known as 3D captioning, is a challenging task. Point clouds, the common representation for 3D data, are often sparse and can contain many objects, making it difficult to capture both geometric context and semantic meaning. Existing methods often struggle with weak alignment between visual and textual representations, leading to less accurate and less descriptive captions. Many approaches also rely on a two-stage "detect-then-describe" pipeline, which can be prone to errors and performance degradation due to the dependency on object detection quality. The core problem is bridging the gap between the rich, but unstructured, information in 3D point clouds and the nuanced language required for accurate descriptions, while also improving the cross-modal alignment.

Methods

3D CoCa proposes a unified, end-to-end architecture that combines contrastive learning with caption generation. The key components are:

  • Frozen CLIP Vision-Language Backbone: The framework leverages a pre-trained CLIP model, keeping its vision and text encoders frozen. This injects powerful, general-purpose semantic knowledge and alignment capabilities learned from massive image-text datasets into the 3D domain.
  • Spatially-Aware 3D Scene Encoder: This component takes the input point cloud and transforms it into a sequence of latent tokens that capture geometric context. It uses a point cloud tokenizer to group points into local patches, encodes these patches, and incorporates learnable "task tokens" to signal the captioning task. Crucially, it feeds these tokens into the frozen CLIP vision encoder.
  • Contrastive Learning Module: To explicitly align 3D scene features with text features, 3D CoCa employs a contrastive loss. This objective pulls together representations of matching 3D scenes and captions while pushing apart non-matching pairs in a shared latent space. This is achieved by projecting and normalizing the scene and text embeddings before computing the contrastive loss.
  • Multi-Modal Fusion Decoder: This is an autoregressive Transformer decoder that generates captions word-by-word. It utilizes cross-attention mechanisms to attend to the encoded 3D scene features at each step, ensuring that the generated text is grounded in the visual content. The decoder is trained using a standard captioning loss (cross-entropy) alongside the contrastive loss.

The novelty lies in the joint optimization of contrastive and captioning objectives within a single architecture, eliminating the need for separate object detectors and leveraging pre-trained vision-language models for enhanced semantic understanding.

Datasets

The paper evaluates 3D CoCa on two widely used 3D captioning benchmarks:

  • ScanRefer [8]: This dataset focuses on 3D object localization within RGB-D scans using natural language.
  • Nr3D [1]: This dataset features human-spoken, free-form object descriptions for 3D scenes.

Both datasets are derived from the ScanNet [16] database.

Key Insights and Ideas

  • Contrastive Learning as a "Free Lunch" for 3D Captioning: The paper demonstrates that incorporating contrastive learning, a technique proven effective in 2D vision-language tasks, significantly boosts 3D captioning performance. It acts as a powerful regularizer, forcing better alignment between visual and textual representations.
  • Leveraging Frozen Foundation Models is Key: By using frozen CLIP encoders, 3D CoCa benefits from rich, pre-learned semantic and linguistic knowledge without the need for extensive 3D-specific pre-training or risking catastrophic forgetting. This is a crucial step in adapting powerful 2D models to 3D tasks.
  • Unified Architecture Simplifies and Improves: Eliminating the need for explicit 3D object detectors simplifies the pipeline and, more importantly, avoids the error propagation and performance bottlenecks associated with cascaded "detect-then-describe" approaches. The joint optimization directly addresses the core challenge of cross-modal alignment.
  • Task Tokens for Contextual Guidance: The introduction of learnable "task tokens" in the 3D scene encoder provides a simple yet effective way to inject task-specific context, guiding the encoder to focus on relevant scene elements for caption generation.

Key Results

  • State-of-the-Art Performance: 3D CoCa significantly outperforms existing methods on both ScanRefer and Nr3D datasets.
  • On ScanRefer, it achieves a [email protected] score of 85.42% (without additional 2D input) and 86.12% (with additional 2D input), outperforming the previous best by 10.2% and 5.76% respectively.
  • On Nr3D, it achieves a [email protected] of 52.84%, also outperforming prior work.
  • Ablation Studies:
    • The contrastive learning loss is crucial; without it, performance drops significantly. Optimal performance is achieved with a moderate weight (λ=1.0).
  • The proposed EPCL-based 3D scene encoder, combined with CLIP features, significantly outperforms a traditional PointNet++ baseline, showing a 12.94% improvement in CIDEr.
  • The CoCa-style multimodal Transformer decoder also shows superior performance compared to a standard GPT-2 decoder, indicating its effectiveness in leveraging contrastively learned features.
  • Qualitative Results: Visual comparisons show that 3D CoCa generates more accurate and detailed descriptions, capturing nuances in object attributes and spatial relationships that other methods miss.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the framework is unified, it still relies on pre-trained 2D vision-language models. Further research could explore fully end-to-end 3D-native foundation models.
  • The performance gains are significant, but there's always room for improvement in handling extremely complex scenes or very fine-grained descriptions.
  • Future Work:
    • The authors suggest that their unified contrastive-captioning framework could be extended to other 3D vision-language tasks, such as visual grounding or question answering, by adapting the decoder or training objectives.
  • Exploring more advanced 3D scene encoders or different ways to integrate multimodal information could lead to further performance gains.

Summary updated

BibTeX
@inproceedings{huang2026d,
  author = {Ting Huang and Zeyu Zhang and Yemin Wang and Hao Tang},
  title = {{3D CoCa: Contrastive Learners are 3D Captioners}},
  booktitle = {3DV},
  year = {2026},
  url = {https://openreview.net/forum?id=W8c3q3DGYN},
}
Figure