Learning with noisy labels using collaborative sample selection and contrastive semi-supervised learning

Qing Miao, Xiaohe Wu, Chao Xu, Yanli Ji, Wangmeng Zuo, Yiwen Guo, Zhaopeng Meng

This paper presents a novel approach to one of the most persistent headaches in deep learning: Learning with Noisy Labels (LNL). When training data is scraped from the web or crowdsourced, it inevitably contains errors. This study introduces a "Collaborative Sample Selection" framework that uses the power of CLIP to break the cycle of error accumulation that plagues traditional models.

TL;DR

The authors propose Collaborative Sample Selection (CSS), a method that leverages the pre-trained CLIP model to help a standard classifier distinguish between clean and noisy data. By combining CLIP’s zero-shot knowledge with the classifier’s predictions via a 2D Gaussian Mixture Model and jointly fine-tuning both, the system achieves state-of-the-art performance, particularly in extreme noise scenarios (e.g., 90% label noise).

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) have a "memorization effect"—they tend to learn simple, clean patterns first but eventually overfit to noisy, incorrect labels.

Current state-of-the-art methods usually alternate between two steps:

  1. Sample Selection: Identifying which samples are "clean" (usually based on low loss).
  2. Semi-Supervised Learning (SSL): Training on the clean set as labeled data and the noisy set as unlabeled data.

The fatal flaw here is confirmation bias. If the model mistakenly identifies a noisy sample as "clean," it reinforces that error during the SSL phase. Over time, these errors accumulate, the "clean" set becomes increasingly corrupted, and the model's generalization collapses.

Methods

The authors introduce a framework that "collaborates" with a large-scale pre-trained model (CLIP) to provide an external source of truth.

  • Collaborative Sample Selection (CSS): Instead of relying solely on the DNN classifier's internal loss to find clean samples, the authors use a 2-Dimensional Gaussian Mixture Model (2D-GMM). This model looks at two metrics simultaneously: the DNN's prediction probability and CLIP’s zero-shot prediction probability. This two-pronged approach makes it much harder for a noisy sample to "trick" the system into thinking it's clean.
  • Contrastive Semi-Supervised Learning: To improve feature representations, they incorporate a contrastive loss. This pushes "views" of the same image together in the feature space while pushing different images apart, making the model more robust to label noise.
  • Co-training with Prompt Fine-tuning: Rather than using CLIP as a static "black box," they use prompt tuning (specifically the CoOp method). They jointly optimize the learnable text prompts for CLIP and the parameters of the DNN classifier during the SSL stage. This allows CLIP to adapt to the specific nuances of the dataset while still providing a stabilizing influence.

Datasets

The researchers evaluated their method on both synthetic and real-world noisy datasets:

  • CIFAR-10 & CIFAR-100: Used for synthetic noise tests (Symmetric noise up to 90% and Asymmetric noise up to 40%).
  • Clothing1M: A large-scale real-world dataset with ~1 million images of clothing and a noise rate of roughly 38%.
  • WebVision: A massive dataset (2.4 million images) containing real-world noise from web crawls.

Key Insights and Ideas

  • CLIP as an Anchor: The most significant "aha" moment is using CLIP not just for its features, but as a "sanity check" for sample selection. Because CLIP was pre-trained on 400 million image-text pairs, it has a robust "common sense" that is less likely to be swayed by the specific noise in a training set.
  • The Power of 2D-GMM: Traditional methods use a 1D-GMM on loss values. By moving to 2D (Loss + CLIP probability), the authors show that the separation between clean and noisy samples becomes much clearer, effectively "filtering" the clean set before it can cause confirmation bias.
  • Reciprocal Benefits: The co-training mechanism creates a virtuous cycle. A cleaner sample set leads to better prompt tuning for CLIP, which in turn leads to even more accurate sample selection in the next epoch.

Key Results

The method, dubbed Ours, consistently outperformed existing state-of-the-art (SOTA) methods like DivideMix and PropMix.

  • Extreme Noise Resilience: On CIFAR-100 with 90% symmetric noise, the proposed method achieved 68.7% accuracy, while the previous best (PropMix) only managed 58.6%—a massive 10% improvement.
  • Real-World Performance: On the Clothing1M dataset, it reached 75.09% accuracy, setting a new benchmark for the field.
  • WebVision: It achieved a 79.01% Top-1 accuracy, outperforming specialized models like UNICON and Sel-CL+.

Limitations and Future Work

While the paper demonstrates impressive results, a few areas remain for exploration:

  • Computational Overhead: Using CLIP and performing prompt tuning adds computational complexity compared to training a simple ResNet from scratch.
  • CLIP Dependency: The method's success is partially tied to how well CLIP "knows" the categories in the target dataset. For highly specialized domains (like medical imaging or specific industrial parts), CLIP's zero-shot performance might be lower, potentially reducing the effectiveness of the collaborative selection.
  • Hyperparameter Sensitivity: The model introduces several hyperparameters ($\lambda_u, \lambda_c, \lambda_r$) to balance different loss terms, which may require careful tuning for new datasets.

The authors suggest that future work could involve exploring even more sophisticated ways to integrate multi-modal pre-trained models into the LNL pipeline.

Summary updated

BibTeX
@article{miao2024learning,
  author = {Qing Miao and Xiaohe Wu and Chao Xu and Yanli Ji and Wangmeng Zuo and Yiwen Guo and Zhaopeng Meng},
  title = {{Learning with noisy labels using collaborative sample selection and contrastive semi-supervised learning}},
  journal = {Knowledge-Based Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=qsx9qg88ch},
}
Figure