Regroup Median Loss for Combating Label Noise

Fengpeng Li, Kemou Li, Jinyu Tian, Jiantao Zhou · OpenReview

Abstract: The deep model training procedure requires large-scale datasets of annotated data. Due to the difficulty of annotating a large number of samples, label noise caused by incorrect annotations is inevitable, resulting in low model performance and poor model generalization. To combat label noise, current methods usually select clean samples based on the small-loss criterion and use these samples for training. Due to some noisy samples similar to clean ones, these small-loss criterion-based methods are still affected by label noise. To address this issue, in this work, we propose Regroup Median Loss (RML) to reduce the probability of selecting noisy samples and correct losses of noisy samples. RML randomly selects samples with the same label as the training samples based on a new loss processing method. Then, we combine the stable mean loss and the robust median loss through a proposed regrouping strategy to obtain robust loss estimation for noisy samples. To further improve the model performance against label noise, we propose a new sample selection strategy and build a semi-supervised method based on RML. Compared to state-of-the-art methods, for both the traditionally trained and semi-supervised models, RML achieves a significant improvement on synthetic and complex real-world datasets.

Introduction

Deep neural networks are notoriously data-hungry, but the high-quality human annotation required for large-scale datasets is often prohibitively expensive. Consequently, many modern datasets rely on crowd-sourcing or web-scraping, which inevitably introduces label noise—instances where samples are assigned incorrect categories.

Standard training paradigms often employ a "small-loss criterion," predicated on the assumption that clean samples will exhibit lower loss values than noisy ones during the early stages of training. However, this heuristic is imperfect; certain noisy samples can mimic clean ones closely enough to "trick" the model into assigning them a small loss, leading to the memorization of errors. This paper introduces Regroup Median Loss (RML), a framework designed to robustly estimate losses and prevent over-fitting to such "stealthy" noisy data.

Methodology

The RML framework operates through a two-step process to better separate clean and noisy distributions and provide stable loss estimation.

Enhanced Sample Selection

To improve the separation between clean and noisy samples, the authors apply a quadratic-like transformation to the standard Cross-Entropy (CE) loss: $\tilde{\ell}_i = \ell_i \times (\ell_i + \epsilon)$. This scaling aggressively penalizes higher losses, widening the gap between the distributions of clean and noisy samples and making the "small-loss" selection more reliable.

Regroup Median Loss Estimation

Inspired by the "Median-of-Means" (MoM) statistical estimator, RML provides a robust loss value for a training sample by considering other samples with the same observed label. These samples are randomly partitioned into $n$ disjoint subsets. The system calculates the mean loss for each subset to ensure stability, then takes the median of these group means along with the original sample's loss. This approach leverages the median's inherent resistance to outliers (noisy samples) while maintaining the stability of averaging.

Overview of the Regroup Median Loss (RML) framework, illustrating sample selection and the regrouping strategy.

Experimental Analysis and Insights

The effectiveness of RML is rooted in its ability to mathematically separate the loss distributions of clean and noisy samples. As shown in the comparative histograms, RML significantly clarifies the boundary between "correct" and "noisy" samples across various noise types (Symmetric, Pairflip, and Instance-dependent) compared to standard Cross-Entropy.

Comparison of loss distributions between standard Cross-Entropy (CE) and the proposed RML across different noise types.

Key Results

  • Performance Benchmarks: RML consistently outperformed state-of-the-art (SOTA) methods. On CIFAR-100, it achieved a ~6% accuracy improvement over previous methods. On the real-world WebVision dataset, it increased test accuracy by approximately 8%.
  • Efficiency: Despite the additional grouping operations, RML remains computationally competitive. On CIFAR-10, RML training took 2.4 hours, notably faster than some SOTA counterparts like the PES method (3.6 hours).
  • Theoretical Robustness: The paper provides formal proof that the RML estimator maintains a stable upper bound on error even when nearly half of the sample subsets are corrupted by noise.

Conclusion

Regroup Median Loss offers a robust alternative to standard loss functions for datasets plagued by label noise. By combining quadratic loss processing with a regrouping strategy, it effectively mitigates the impact of outliers. While the method introduces new hyperparameters like group size and count, its empirical success on both synthetic and complex real-world datasets like Clothing1M and WebVision demonstrates its practical utility for training high-performance deep models in imperfect data environments.

Summary updated

Abstract

The deep model training procedure requires large-scale datasets of annotated data. Due to the difficulty of annotating a large number of samples, label noise caused by incorrect annotations is inevitable, resulting in low model performance and poor model generalization. To combat label noise, current methods usually select clean samples based on the small-loss criterion and use these samples for training. Due to some noisy samples similar to clean ones, these small-loss criterion-based methods are still affected by label noise. To address this issue, in this work, we propose Regroup Median Loss (RML) to reduce the probability of selecting noisy samples and correct losses of noisy samples. RML randomly selects samples with the same label as the training samples based on a new loss processing method. Then, we combine the stable mean loss and the robust median loss through a proposed regrouping strategy to obtain robust loss estimation for noisy samples. To further improve the model performance against label noise, we propose a new sample selection strategy and build a semi-supervised method based on RML. Compared to state-of-the-art methods, for both the traditionally trained and semi-supervised models, RML achieves a significant improvement on synthetic and complex real-world datasets. The source code of the paper has been released.
BibTeX
@inproceedings{li2024regroup,
  author = {Fengpeng Li and Kemou Li and Jinyu Tian and Jiantao Zhou},
  title = {{Regroup Median Loss for Combating Label Noise}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=DatmoYIQed},
}
Figure