Bringing Masked Autoencoders Explicit Contrastive Properties for Point Cloud Self-supervised Learning

Bin Ren, Guofeng Mei, Danda Pani Paudel, Weijie Wang, Yawei Li, Mengyuan Liu, Rita Cucchiara, Luc Van Gool, Nicu Sebe

Introduction

In the field of 3D computer vision, the acquisition of labeled data—such as point clouds derived from LiDAR—is a resource-intensive process. To mitigate this, researchers have turned to Self-Supervised Learning (SSL), which enables models to learn robust representations from unlabeled data by solving pretext tasks. Currently, two paradigms dominate the landscape: Masked Autoencoders (MAE) and Contrastive Learning (CL).

While MAE excels at learning local geometric structures through reconstruction, it often fails to capture global semantic relationships. Conversely, CL focuses on global discriminative power by comparing different views of an object, but it is notoriously difficult to integrate with Vision Transformers (ViTs) in 3D contexts; standard CL implementations often lead to performance degradation. This paper introduces Point-CMAE, a framework designed to bridge this gap by infusing generative reconstruction with explicit contrastive properties.

The Problem: The Gap Between Local and Global Features

The authors identify a "sub-optimal" issue in existing 3D SSL methods. In 3D reconstruction, the target is often a single random sampling of a surface. Forcing a model to match these specific points exactly can be counterproductive, as it over-emphasizes low-level coordinate accuracy at the expense of high-level semantics. The challenge lies in creating a model that maintains the local precision of MAE while gaining the global consistency typically associated with CL, all without the performance penalties observed in previous hybrid attempts.

The Point-CMAE Framework

Point-CMAE (Contrastive Masked Autoencoder) addresses these challenges through a novel architecture consisting of three primary components:

1. Dual Masking Strategy

Rather than relying on complex data augmentations like rotation or scaling—which can be unstable in 3D point cloud processing—Point-CMAE utilizes a single point cloud and applies two distinct random masks ($m_1$ and $m_2$). This generates two different "partial" views of the same object, providing the necessary variance for contrastive analysis without altering the underlying geometry.

2. Weight-Sharing Encoder

A standard Vision Transformer (ViT) serves as the encoder, processing the visible tokens from both masked views. By sharing weights across both views, the encoder is forced to learn a unified feature space that is invariant to the specific parts of the object that are visible.

3. Twin Decoders and Explicit Contrastive Constraint

The architecture employs two identical decoders to reconstruct the missing patches. The critical innovation is the treatment of co-masked tokens: patches that were hidden in both views. The authors posit that the reconstructed features for these specific patches should be nearly identical regardless of which view they originated from. By applying a cosine similarity loss ($\mathcal{L}_{contras}$) to these co-masked tokens, the model enforces an explicit contrastive signal at the feature level within a generative framework.

Key Insights

  • The Probability of Overlap: A mathematical analysis of the masking strategy reveals its robustness. Using a masking ratio of 0.6 across 64 patches, the probability that at least one patch is masked in both views exceeds 94%. This ensures a consistent signal for the contrastive loss to optimize.
  • Feature-Level vs. Point-Level Learning: While standard MAE focuses on moving points to correct coordinates (point-level), Point-CMAE adds a constraint at the feature level. This encourages the model to learn abstract, semantic representations that are more transferable to downstream tasks.

Experimental Results

Point-CMAE was pre-trained on the ShapeNet dataset (52,470 synthetic shapes) and evaluated across several benchmarks, setting new state-of-the-art (SOTA) records for single-modal 3D SSL:

  • ScanObjectNN: The model achieved 90.02% accuracy on the challenging "PB_T50_RS" split, significantly outperforming the Point-MAE baseline.
  • Few-Shot Learning: In 5-way 10-shot tests on ModelNet40, Point-CMAE reached 96.7% accuracy, demonstrating exceptional generalization from limited data.
  • Part Segmentation: On ShapeNetPart, the model achieved a Class mIoU of 84.9%, proving that the addition of contrastive constraints does not sacrifice the ability to understand fine-grained local geometry.

Conclusion and Future Work

Point-CMAE demonstrates that reconstruction and contrastive learning are not mutually exclusive but can be synergistically combined to improve 3D point cloud understanding. By focusing on co-masked tokens, the framework provides a stable method for introducing discriminative signals into generative models.

Future research directions include extending Point-CMAE to multi-modal settings (incorporating 2D images or text) and exploring variable masking ratios to further understand the model's invariance properties. While the dual-masking approach increases computational overhead during pre-training, the resulting performance gains suggest it is a viable path forward for high-performance 3D self-supervised learning.

Summary updated

BibTeX
@inproceedings{ren2024bringing,
  author = {Bin Ren and Guofeng Mei and Danda Pani Paudel and Weijie Wang and Yawei Li and Mengyuan Liu and Rita Cucchiara and Luc Van Gool and Nicu Sebe},
  title = {{Bringing Masked Autoencoders Explicit Contrastive Properties for Point Cloud Self-supervised Learning}},
  booktitle = {ACCV},
  year = {2024},
  doi = {10.1007/978-981-96-0963-5\_4},
}
Figure