Introduction
Self-supervised learning (SSL) aims to develop models that understand visual data without human-labeled supervision. The Joint-Embedding Predictive Architecture (JEPA), particularly I-JEPA, has emerged as a powerful framework that learns by predicting masked image patches in embedding space. However, I-JEPA faces challenges such as model collapse—where the model outputs trivial, constant vectors—and difficulties in accurately capturing the mean representation of patches.
This paper introduces C-JEPA (Contrastive-JEPA), a hybrid approach that integrates Variance-Invariance-Covariance Regularization (VICReg) into the JEPA framework. By combining predictive masking with explicit regularization, C-JEPA prevents collapse, improves representation quality, and significantly accelerates convergence.
Methodology
C-JEPA bridges the gap between predictive architectures and contrastive regularization methods. The core innovation is the application of the VICReg loss function to the JEPA objective:
- Variance Regularization: Maintains a minimum variance for each embedding dimension across a batch, preventing the model from collapsing into a single point.
- Invariance Regularization: Encourages similar representations for different augmented views or masked portions of the same image.
- Covariance Regularization: Decorrelates the dimensions of the embedding, ensuring that the model learns diverse, non-redundant features.
Theoretical analysis using Neural Tangent Kernels (NTK) demonstrates that these regularization terms stabilize learning dynamics by managing the predictor's eigenvalues, effectively pushing the model away from trivial solutions.
Experimental Results
The models were pre-trained on the unlabeled ImageNet-1K dataset and evaluated across a variety of downstream tasks, including classification, object detection, and segmentation.
Convergence and Efficiency
A primary advantage of C-JEPA is its training efficiency. As illustrated in the performance curves, C-JEPA achieves higher linear probing accuracy at 300 epochs than the baseline I-JEPA does at 600 epochs. This suggests that explicit regularization provides a more stable and informative learning signal.
Downstream Performance
C-JEPA consistently outperforms I-JEPA and other state-of-the-art SSL methods:
- ImageNet-1K: With a ViT-B/16 backbone, C-JEPA reached 73.7% linear probing accuracy and 84.5% fine-tuning accuracy.
- Object Detection & Segmentation: On MS-COCO, C-JEPA achieved 50.7 AP for boxes and 45.3 AP for masks, surpassing I-JEPA's 49.9 and 44.5 respectively.
- Semantic Segmentation: On ADE20K, it reached 48.7 mIoU, outperforming models like MAE and DINO.
Qualitative analysis further reveals that C-JEPA produces cleaner, more "object-aware" attention maps, indicating a superior grasp of semantic structure compared to the original I-JEPA.
Conclusion
C-JEPA demonstrates that integrating contrastive regularization into predictive architectures effectively addresses the collapse problem while boosting performance and efficiency. Future work includes extending this hybrid approach to other modalities such as video and audio, and exploring its scaling behavior on extremely large "Giant" models.
Summary updated