Elucidating and Overcoming the Challenges of Label Noise in Supervised Contrastive Learning

Zijun Long, George Killick, Lipeng Zhuang, Richard McCreadie, Gerardo Aragon-Camarasa, Paul HendersonarXiv 2023 · DOI

Introduction

Supervised Contrastive Learning (SCL) has emerged as a powerful paradigm in computer vision, often outperforming traditional cross-entropy methods by learning to cluster similar images in an embedding space. However, SCL possesses a significant vulnerability: it is highly sensitive to label noise. In real-world datasets like ImageNet, human annotation errors are common. When a "Siberian Husky" is mislabeled as a "Wolf," standard SCL forces these distinct categories together, biasing the representation and degrading performance on downstream tasks.

The D-SCL Approach: Overcoming Label Bias

Researchers from the University of Glasgow have introduced Debiased Supervised Contrastive Learning (D-SCL) to address this challenge. D-SCL is designed to mitigate labeling bias without significant computational overhead, resting on two primary pillars:

1. Debiasing via PU Learning

By applying principles from Positive-Unlabeled (PU) learning, the authors mathematically reformulate the contrastive loss. This allows the model to approximate the true latent class distribution even when provided with noisy, human-assigned labels.

2. The P2 Principle: Deprioritizing Easy Positives

The core innovation of D-SCL is the identification of the "Easy Positive" trap. Analysis reveals that approximately 99% of human labeling errors involve visually similar objects (e.g., mislabeling a "Terrier" as a "Schnauzer"). Standard SCL prioritizes these "easy positives" because they are already close in the embedding space. D-SCL argues that these samples are the most likely to be mislabeled. By down-weighting easy positives and focusing on "hard positives" (same-class images that look different) and "hard negatives" (different-class images that look similar), the model learns more robust and discriminative features.

Conceptual overview of label noise in SCL and the D-SCL strategy of down-weighting easy positives.

Experimental Evaluation

The researchers evaluated D-SCL across a wide range of benchmarks, including CIFAR-10/100, ImageNet-1k, and fine-grained datasets like iNat2017 and CUB-200. They also tested on CIFAR-10N/100N, which contain human-verified real-world noise.

Key Results

D-SCL consistently outperformed standard SCL and other noise-robust baselines. On ImageNet-1k, D-SCL achieved a 1.6% improvement in Top-1 accuracy over standard SupCon and a substantial 6.3% jump over traditional cross-entropy training.

Comparison of D-SCL performance against baselines across different architectures and datasets.

Furthermore, D-SCL proved highly effective for transfer learning. When fine-tuning a pre-trained BEiT-3 model, it provided the best results across all eight tested datasets, with particularly notable gains on complex datasets like iNat2017 (+3.4%).

Insights and Robustness

A key finding is that D-SCL is remarkably robust to hyperparameters. Unlike many noise-reduction methods that require an exact estimate of the dataset's noise rate, D-SCL maintains superior performance even with imprecise estimates. Additionally, because it avoids slow operations like k-Nearest Neighbor searches, D-SCL introduces no additional computational overhead during training, making it highly scalable for foundation models.

Conclusion

D-SCL effectively addresses the challenge of natural human label noise by identifying and deprioritizing "easy positives." While it is less effective against high-intensity synthetic random noise (e.g., 40% random flipping), its performance on real-world datasets makes it a significant advancement for robust representation learning. Future work may involve automated noise rate estimation to further streamline the training process.

Summary updated

BibTeX
@misc{long2023elucidating,
  author = {Zijun Long and George Killick and Lipeng Zhuang and Richard McCreadie and Gerardo Aragon-Camarasa and Paul Henderson},
  title = {{Elucidating and Overcoming the Challenges of Label Noise in Supervised Contrastive Learning}},
  year = {2023},
  eprint = {2311.16481},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.16481},
}
Figure