TL;DR
Contrastive learning heavily relies on the assumption that paired data views (like two crops of an image) share underlying semantic information. When this assumption is violated by aggressive augmentations or misaligned multimodal data, standard frameworks suffer from representation collapse. This paper introduces RINCE (Robust InfoNCE), a simple, modality-agnostic drop-in loss function that theoretically and practically insulates self-supervised learning from noisy data by implicitly downweighting false positives.
What Problem Does This Paper Address?
Self-supervised contrastive learning has driven massive breakthroughs in computer vision, audio, and NLP. The core idea is simple: pull "positive pairs" (different views of the same instance) closer together in embedding space while pushing "negative pairs" (different instances) apart.
However, creating these views is an imperfect science. Aggressive data augmentations can accidentally crop out the target object entirely, video-audio pairs can be misaligned due to overdubbing, and web-scraped text-image pairs are notoriously noisy. When positive pairs share no actual underlying information, they become noisy views (false positives). Standard contrastive loss functions like InfoNCE force the model to align these unrelated views anyway, causing the model to learn spurious correlations or suffer from representation collapse.
Methods
The authors bridge the gap between self-supervised learning and the mature field of supervised learning with noisy labels. They introduce RINCE (Robust InfoNCE), a generalized contrastive loss function designed to be symmetric and noise-tolerant.
$$\mathcal{L}_{\text{RINCE}}^{\lambda,q}(\mathbf{s}) = -\frac{e^{q\cdot s^+}}{q} + \frac{\left(\lambda \cdot \left(e^{s^+} + \sum_{i=1}^K e^{s^-_i}\right)\right)^q}{q}$$
Key components of the method include:
- The $q$ Knob: RINCE introduces a hyperparameter $q \in (0, 1]$ that controls the exploration-exploitation trade-off. As $q \rightarrow 0$, RINCE asymptotically approaches standard InfoNCE. As $q \rightarrow 1$, the loss becomes fully symmetric, shifting its gradient focus away from noisy pairs.
- Wasserstein Dependency Measure (WDM): The authors provide a new information-theoretic bound. While InfoNCE optimizes a lower bound on mutual information using KL-divergence—which is highly sensitive to sample noise—RINCE optimizes a lower bound on WDM. WDM utilizes the Wasserstein distance, exploiting the metric geometry of the representation space to remain robust against individual noisy outliers.
Datasets
The authors evaluated RINCE across three distinct modalities:
- Images: CIFAR-10 (with synthetically injected label and augmentation noise) and ImageNet (for standard linear evaluation).
- Videos: Kinetics400 and ACAV100M (a massive, uncurated video dataset exhibiting severe real-world audio-visual noise like background music and studio narrations).
- Graphs: TUDataset (including BZR, NCI1, PROTEINS, and DD benchmarks).
Key Insights and Ideas
- The Peril of Hard Positive Mining: InfoNCE naturally places higher gradient weights on "hard positives"—positive pairs with low similarity scores. In a clean dataset, this accelerates convergence. However, in a noisy dataset, the "hardest" positives are actually false positives. InfoNCE aggressively overfits to these errors.
- Implicit Noise Estimation: RINCE does not require an explicit noise estimator or clean validation set. By altering the gradient scale via $q$, the similarity scores themselves act as noise detectors, naturally downweighting highly dissimilar positive pairs during training.
Key Results
- Resilience to Extreme Noise: On CIFAR-10 with an 80% synthetic label noise rate, RINCE maintained a top-1 accuracy of 91.59%, whereas InfoNCE degraded significantly to 87.11%.
- Seamless SOTA Improvements: As a pure drop-in replacement, RINCE consistently improved baseline architectures. Adding RINCE to SimCLR on ImageNet boosted top-1 accuracy by 0.7%, and adding it to MoCov3 yielded a 0.4% improvement.
- Modality Agnosticism: On the large-scale ACAV100M video dataset, RINCE resisted the performance saturation and degeneration that plagued InfoNCE at extended training epochs. On graph benchmarks (TUDataset), RINCE achieved state-of-the-art results across the board without needing complex, dataset-specific augmentation tuning.
Limitations and Future Work
The theoretical guarantees established for RINCE's noise robustness currently rely on a simple mixture noise model, assuming that noise is drawn cleanly from the product of marginal distributions. The authors note that extending this mathematical analysis to more complex, structured, or completely unknown noise distributions remains an open and important direction for future work.
Summary updated