Contrast to Divide: Self-Supervised Pre-Training for Learning with Noisy Labels

Evgenii Zheltonozhskii, Chaim Baskin, Avi Mendelson, Alex M. Bronstein, Or LitanyOpenReview 2020 · DOI

TL;DR

This paper introduces "Contrast to Divide" (C2D), a self-supervised pre-training framework that tackles a critical "warm-up obstacle" in learning with noisy labels (LNL). By pre-training feature extractors on unlabeled data, C2D significantly improves LNL performance, especially in high-noise scenarios, by preventing early memorization of incorrect labels and enhancing feature quality.

What Problem Does This Paper Address?

Training deep learning models often requires vast amounts of labeled data, which can be prohibitively expensive to acquire. Learning with noisy labels (LNL) offers a solution by using datasets with imperfect labels, often obtained through cheaper methods like web crawling. A common strategy in LNL is a "warm-up" phase, where a model is initially trained on the full noisy dataset. The idea is that clean labels will lead to faster learning and lower loss compared to noisy ones, allowing subsequent LNL algorithms to separate them.

However, the authors identify a significant problem: this warm-up stage is prone to memorizing noisy labels, limiting the quality of learned features and the overall effectiveness of LNL methods, especially as the noise level increases. This "warm-up obstacle" hinders the potential of LNL approaches. While supervised pre-training on large, clean datasets like ImageNet is an option, it's not always feasible due to data availability and can sometimes even degrade LNL performance.

Methods

The core of the proposed solution is Contrast to Divide (C2D), a two-phase framework:

  1. Contrast Phase (Self-Supervised Pre-training): Instead of relying on noisy labels or external clean datasets, C2D first pre-trains the feature extractor using self-supervised learning (SSL) on the unlabeled training data. This phase is crucial because it allows the model to learn robust representations without being influenced by label noise. The authors leverage contrastive learning methods (like SimCLR) for this.
  2. Divide Phase (Standard LNL): The pre-trained feature extractor is then used as the initialization for a standard LNL algorithm (e.g., ELR+, DivideMix). Because the features are already of high quality and agnostic to noise, the warm-up stage is significantly improved, leading to better loss separation and ultimately higher accuracy.

The key novelty is using SSL pre-training on the target dataset itself to overcome the warm-up obstacle, rather than relying on external data or supervised signals.

Datasets

The paper uses the following datasets for training and evaluation:

  • CIFAR-10 and CIFAR-100: Standard benchmarks for evaluating LNL methods, used with both synthetic symmetric and asymmetric noise.
  • mini-WebVision: A real-world dataset acquired through web crawling, used to evaluate performance in realistic noisy label scenarios.
  • Clothing1M: Another real-world dataset from web crawling, also used for evaluating LNL performance.

Key Insights and Ideas

  • The "Warm-up Obstacle" is Real: The paper clearly demonstrates that the initial supervised warm-up phase in LNL is a bottleneck, prone to memorizing noise and limiting feature quality.
  • Self-Supervised Pre-training is a Powerful Fix: Using SSL on unlabeled data before the LNL warm-up phase dramatically improves feature quality and noise separation. This is because SSL learns representations without label supervision, making it immune to noise during this critical initial stage.
  • Domain-Agnostic Pre-training: By pre-training on the target dataset, C2D avoids domain gaps that can occur when using pre-trained models from datasets like ImageNet.
  • ImageNet Pre-training Can Hurt: Surprisingly, the authors show that ImageNet pre-training can sometimes degrade LNL performance, highlighting the importance of domain-specific, noise-agnostic pre-training.
  • Closing the Gap with Semi-Supervised Learning: C2D's strong performance, even in high-noise settings, suggests that high-quality features can compensate for the inherent information deficit of LNL compared to semi-supervised learning.

Key Results

  • CIFAR-100 (90% noise): C2D achieved a boost of over 27% accuracy compared to previous state-of-the-art methods.
  • CIFAR-100 (95% noise): C2D maintained a final accuracy of above 38%, significantly outperforming prior methods at 90% noise.
  • mini-WebVision: C2D achieved over 3% top-1 accuracy improvement on both WebVision and ImageNet validation sets compared to previous works.
  • Clothing1M: C2D matched the performance of ImageNet pre-trained models without using any external data.
  • Feature Visualization: UMAP visualizations show that C2D features are much better clustered and separable than baseline methods, especially under high noise.
  • Noise Detection: C2D demonstrates higher initial ROC-AUC scores for noise detection and a more stable decrease in effective noise level.

Limitations and Future Work

  • Universality of SSL: While C2D works well with SimCLR and Barlow Twins, further investigation into the impact of different SSL methods on C2D's performance is suggested.
  • LNL Method Integration: The paper notes that while C2D improves initialization, the way existing LNL methods utilize these improved features can still be a subject for improvement, especially on complex real-world datasets like Clothing1M.
  • Robustness Analysis: The authors suggest that studying the robustness properties of C2D under various conditions (e.g., domain gap, noise level) is an open research question.
  • Semi-Supervised Learning Gap: While C2D significantly narrows the gap between LNL and semi-supervised learning, a small gap still remains, indicating potential for further research.

Summary updated

BibTeX
@misc{zheltonozhskii2020contrast,
  author = {Evgenii Zheltonozhskii and Chaim Baskin and Avi Mendelson and Alex M. Bronstein and Or Litany},
  title = {{Contrast to Divide: Self-Supervised Pre-Training for Learning with Noisy Labels}},
  year = {2020},
  eprint = {2103.13646},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13646},
}
Figure