Context-aware Alignment and Mutual Masking for 3D-Language Pre-training

Zhao Jin, Munawar Hayat, Yuwei Yang, Yulan Guo, Yinjie Lei

The success of 2D vision-language pre-training, exemplified by models like CLIP, has yet to be fully realized in the 3D domain. 3D point clouds present unique challenges: they are sparse, irregular, and lack the structured grid of pixels found in images. Furthermore, spatial relationships in 3D are viewpoint-dependent, complicating the alignment between geometric data and natural language. Most existing 3D vision-and-language (V+L) models are task-specific, lacking the generalization capabilities of a foundation model. This paper introduces a generic pre-training framework designed to learn universal 3D-language representations.

Methodology

The proposed framework centers on two key components: Context-aware Spatial-semantic Alignment (CSA) and Mutual 3D-Language Masked Modeling (M3LM). These modules work together to bridge the gap between 3D geometry and textual descriptions.

Overview of the 3D-Language Pre-training framework, illustrating the Point Cloud and Language paths, the CSA and M3LM modules, and downstream task decoders.

Context-aware Spatial-semantic Alignment (CSA)

CSA operates at two granularities to ensure precise mapping. Semantic-level Alignment (SA) matches individual 3D object proposals to specific words (e.g., linking a point cluster to the word "chair"). Contextual Alignment (CA) aligns global sentence features with the 3D scene's relational features. This dual-level approach allows the model to resolve spatial ambiguities by considering an object's surroundings, such as distinguishing between two identical chairs based on their proximity to a table.

Mutual 3D-Language Masked Modeling (M3LM)

Inspired by masked autoencoders (MAE) and BERT, M3LM masks portions of both modalities to force the model to learn cross-modal dependencies.

The M3LM module details the mutual masking process where 3D proposal features and word representations are masked and then reconstructed via a cross-modal fusion decoder.
  • 3D Masking: The model masks 75% of 3D object proposals. Rather than reconstructing raw xyz coordinates—which can be uninformative in sparse data—the model predicts semantic classes and reconstructs high-level features using a momentum-distilled teacher model.
  • Language Masking: Simultaneously, 20% of words are masked and predicted using the remaining text and the 3D features.
  • Text-Relevant Filtering: To minimize noise, the 3D masking loss is only calculated for objects that significantly overlap with the "referring" object described in the text.

Results and Discussion

The model was pre-trained and evaluated on three major benchmarks derived from the ScanNet dataset: ScanRefer (visual grounding), Scan2Cap (dense captioning), and ScanQA (question answering). The pre-trained model achieved state-of-the-art (SOTA) results across all tasks, often outperforming models specifically engineered for those individual challenges:

  • 3D Visual Grounding: Achieved a +2.1% improvement in [email protected] on the ScanRefer benchmark.
  • 3D Dense Captioning: Saw a significant jump of +5.5 [email protected] on Scan2Cap, indicating more accurate and human-like descriptions.
  • 3D Question Answering: Improved Exact Match (EM@1) by +1.3% on ScanQA.

Ablation studies confirmed that both CSA and M3LM are essential for performance. A key insight was that semantic reconstruction in 3D is more effective than geometric reconstruction; predicting the "meaning" of a masked region provides a stronger pre-training signal than raw point coordinates.

Conclusion

This work demonstrates that a unified pre-training strategy can overcome the limitations of task-specific 3D V+L models. By focusing on spatial context and mutual information exchange, the framework establishes a foundation for more robust 3D scene understanding. While currently limited by the scarcity of 3D-language paired data and focused on indoor scenes, the researchers suggest that this generic approach will scale effectively as larger datasets become available.

Summary updated

BibTeX
@inproceedings{jin2023context,
  author = {Zhao Jin and Munawar Hayat and Yuwei Yang and Yulan Guo and Yinjie Lei},
  title = {{Context-aware Alignment and Mutual Masking for 3D-Language Pre-training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01057},
}
Figure