Contrast with Reconstruct: Contrastive 3D Representation Learning Guided by Generative Pretraining

Zekun Qi, Runpei Dong, Guofan Fan, Zheng Ge, Xiangyu Zhang, Kaisheng Ma, Li Yi

Introduction

In the field of 3D computer vision, researchers often struggle with a "data desert." Unlike 2D images or text, which can be scraped from the web by the billions, high-quality 3D point clouds are difficult to collect and annotate. Self-supervised representation learning (SSRL) has emerged as a vital tool to overcome this scarcity, primarily through two paradigms: contrastive learning and generative modeling.

However, these two approaches often work at cross-purposes. Contrastive models focus on global features to distinguish between objects but are prone to "representation overfitting" on small datasets. Generative models, which learn by reconstructing masked parts of an object, are excellent at capturing local geometry from limited data but often plateau as more data is introduced. RECON (Contrast with Reconstruct) is a novel framework designed to unify these paradigms, using a generative "teacher" to guide a contrastive "student."

The Conflict of Patterns

A central insight of the RECON paper is the identification of a "pattern difference" between the two dominant SSRL tasks. Through visualizations of attention distance, the authors demonstrate that contrastive tasks naturally focus on global features, while generative tasks focus on local geometric details.

Previous attempts to combine these tasks via simple multi-task learning often resulted in degraded performance. The authors argue this is because the contrastive task seeks "shortcuts"—global patterns that allow it to distinguish objects without truly understanding their underlying geometry. This shortcut-seeking behavior can corrupt the local features necessary for accurate reconstruction.

The RECON Framework

RECON addresses this conflict by treating the relationship between generative and contrastive learning as an ensemble distillation problem rather than a simple multi-tasking one.

The RECON-Block

The core innovation is the RECON-block, an encoder-decoder structure. In this setup, the encoder handles the generative task (local reconstruction), while the decoder manages the contrastive task (global alignment).

Knowledge Transfer via Cross-Attention

The decoder utilizes a cross-attention mechanism to "query" the features produced by the encoder. This ensures that the global contrastive representations are grounded in the local geometric knowledge captured by the generative encoder.

The Stop-Gradient Trick

To prevent the contrastive task's shortcut-seeking nature from interfering with the generative task, the authors apply a stop-gradient operation on the cross-attention connections. This ensures that the generative task remains the primary "teacher" for local geometry, while the contrastive task learns to organize those geometric features into a globally coherent representation.

Multi-Modal Teachers

RECON is highly flexible and can leverage cross-modal guidance. By incorporating pretrained 2D image encoders (like ViT) and text encoders (like CLIP), RECON can align 3D point cloud features with established semantic spaces, further enhancing the model's understanding of the world.

Experimental Results

RECON was evaluated on several standard 3D benchmarks, including ShapeNet for pretraining and ScanObjectNN and ModelNet40 for downstream tasks.

State-of-the-Art Accuracy

On the ScanObjectNN benchmark—a challenging dataset of real-world scanned objects—RECON achieved a new state-of-the-art accuracy of 91.26%. On the synthetic ModelNet40 dataset, it reached 94.7% accuracy under full fine-tuning protocols.

Zero-Shot Capabilities

The model demonstrated remarkable zero-shot classification performance. When identifying objects it had never seen during training, RECON achieved 61.7% accuracy on ModelNet40, a massive leap over previous methods like PointCLIP, which scored 20.2%.

Data Efficiency and Scaling

RECON effectively bridges the gap between low-data efficiency and high-data scalability. While standard contrastive models fail when pretraining data is limited (e.g., using less than 25% of ShapeNet), RECON maintains high performance, proving robust even in the "data desert."

Conclusion

RECON provides a powerful solution to the limitations of current 3D SSRL methods. By acknowledging the inherent differences between local and global geometric patterns and using a generative-to-contrastive distillation approach, it achieves superior performance and data efficiency. While future work may expand this to large-scale 3D scenes, RECON currently sets a new standard for object-level 3D representation learning.

Summary updated

BibTeX
@inproceedings{qi2023contrast,
  author = {Zekun Qi and Runpei Dong and Guofan Fan and Zheng Ge and Xiangyu Zhang and Kaisheng Ma and Li Yi},
  title = {{Contrast with Reconstruct: Contrastive 3D Representation Learning Guided by Generative Pretraining}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=80IfYewOh1},
}
Figure