Class Prototype-based Cleaner for Label Noise Learning

Jingjia Huang, Yuanqi Chen, Jiashi Feng, Xinglong Wu · DOI

Training deep neural networks (DNNs) typically requires large-scale, accurately labeled datasets. However, real-world data often contains "noisy" labels—incorrect annotations that can significantly degrade model performance. Current state-of-the-art approaches often rely on the "small-loss" hypothesis: the assumption that clean samples result in lower training losses than noisy ones. While effective, this approach assumes that all categories are equally easy to learn, a premise that often fails in practice.

In the paper "Class Prototype-based Cleaner for Label Noise Learning," researchers from ByteDance and Peking University propose a class-aware solution to address the limitations of traditional, class-agnostic noise filtering.

The Challenge: Class-Agnostic Cleaning

Most modern frameworks for learning with noisy labels utilize a two-stage semi-supervised pipeline. A "cleaner"—often a Gaussian Mixture Model (GMM)—partitions the dataset into clean and noisy sets based on per-sample losses. The noisy samples are then treated as unlabeled data during training.

The fundamental flaw in this approach is its class-agnostic nature. It assumes the loss distribution for a "clean" sample is uniform across all categories. In reality, some classes are inherently more difficult to learn than others. A correctly labeled but "hard" sample may exhibit a high loss, leading a class-agnostic cleaner to mistakenly categorize it as noise. This results in the "under-learning" of complex categories and sub-optimal overall performance.

The CPC Framework

To overcome these issues, the authors introduce the Class Prototype-based label noise Cleaner (CPC). This method integrates feature-space information to modulate the cleaning process, accounting for varying learning difficulties across classes.

The CPC framework architecture, illustrating the integration of class prototypes, GMM-based cleaning, and semi-supervised learning modules.

The CPC framework consists of several key components:

  1. Class Prototypes: The model maintains a representative embedding (prototype) for each class in the feature space.
  2. Intra-class Consistency: The training objective encourages samples to cluster around their respective class prototypes while maintaining distance from other classes.
  3. Class-Aware Modulation: Rather than relying on a global loss threshold, CPC uses the similarity between a sample’s feature vector and its class prototype to refine the clean/noisy classification.
  4. Iterative Refinement: The process begins with a standard GMM to provide an initial partition. These initial "clean" samples are used to update the class prototypes, which in turn refine the cleaner in subsequent stages. This creates a virtuous cycle where loss-based cleaning and feature-based prototypes mutually improve.

Experimental Evaluation

The researchers evaluated CPC across multiple benchmarks, including synthetic noise (CIFAR-10/100) and large-scale real-world datasets (Clothing1M and WebVision).

Experimental results on CIFAR-10 and CIFAR-100 datasets under various symmetric and asymmetric noise ratios.

Key Findings

  • Superiority in Extreme Noise: CPC demonstrated significant gains in high-noise scenarios. On CIFAR-100 with 90% symmetric noise, CPC achieved an accuracy of 54.60%, compared to the AugDMix baseline's 41.2%.
  • Real-World Robustness: On the WebVision dataset, CPC improved Top-1 accuracy by 3.33% over the standard baseline. On Clothing1M, it reached 75.40% accuracy, outperforming other competitive methods like AugDMix and NCR.
  • Handling Asymmetric Noise: CPC is particularly effective in asymmetric noise scenarios (where specific classes are frequently confused), as its class-aware approach can better distinguish between inherent class difficulty and actual label noise.

Conclusion and Future Directions

CPC represents a significant step forward by moving beyond class-agnostic assumptions in label noise learning. By leveraging class prototypes, the method ensures that "hard-to-learn" samples are not prematurely discarded.

While highly effective, the authors note some areas for future work. The method currently requires a "warm-up" period to establish initial representations and involves hyperparameters that may require tuning for specific datasets. Additionally, extremely imbalanced datasets like Clothing1M may still require manual threshold adjustments, suggesting a need for more automated, adaptive thresholding techniques in the future.

Summary updated

BibTeX
@misc{huang2022class,
  author = {Jingjia Huang and Yuanqi Chen and Jiashi Feng and Xinglong Wu},
  title = {{Class Prototype-based Cleaner for Label Noise Learning}},
  year = {2022},
  eprint = {2212.10766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.10766},
}
Figure