RML++: Regroup Median Loss for Combating Label Noise

Fengpeng Li, Kemou Li, Qizhou Wang, Bo Han, Jinyu Tian, Jiantao ZhouIJCV 2025

Abstract

Training deep neural networks (DNNs) typically necessitates large-scale, high-quality annotated datasets. However, label noise—characterized by potentially erroneous annotations—is common yet detrimental in practice. We propose Regroup Median Loss Plus Plus (RML++), a novel method that addresses biased sampling and the requirement for a priori noise rate knowledge. RML++ partitions the training dataset into clean and noisy subsets using a newly designed separation approach that combines prediction consistency with an adaptive threshold. To ensure robust learning, the losses of noisy training samples are estimated using same-class samples from the clean subset. Compared to state-of-the-art (SOTA) methods, RML++ achieves significant improvements on both synthetic and challenging real-world datasets. Source code is available at: https://github.com/Feng-peng-Li/RML-Extension.

Introduction

Deep learning thrives on massive amounts of data, but as datasets scale, perfect annotation becomes nearly impossible. Whether due to human error in crowdsourcing or automated scraping, "label noise" is inevitable. The core challenge is that DNNs tend to memorize these incorrect labels, which severely degrades their ability to generalize to new data.

Existing solutions often rely on the "small-loss criterion," assuming that clean samples result in lower loss values early in training. However, some noisy samples naturally have small losses, leading models to mistakenly treat them as clean and learn incorrect patterns. RML++ addresses these drawbacks by improving sample selection and utilizing a robust loss estimation strategy.

Methodology: Regroup Median Loss (RML)

The RML framework consists of two main stages designed to enhance robustness without requiring prior knowledge of the noise rate.

1. Enhanced Sample Selection

To better separate clean and noisy data, RML introduces a "processed loss" function. By squaring the original cross-entropy loss (with a small bias term), the method effectively pushes noisy samples further into the "high-loss" tail of the distribution. This widening of the loss gap makes it significantly harder for the model to accidentally select noisy samples for training.

2. Regroup Median Loss Estimation

Instead of calculating loss on a single sample, RML utilizes a "Median-of-Means" (MoM) approach. It pools samples sharing the same observed label, partitions them into groups, calculates the mean loss for each group, and then takes the median of those means. This classic statistical technique prevents a few "outlier" noisy samples from skewing the overall loss calculation, combining the stability of the mean with the robustness of the median.

The two-step RML process: (i) Sample Selection via processed losses and (ii) Regroup Median Loss estimation.

The authors also developed a semi-supervised variant, RML-Semi, which uses a momentum-based "Mean Teacher" model to further refine sample selection and leverages the MixMatch strategy for training.

Experimental Evaluation

The researchers evaluated RML on a variety of benchmarks, including synthetic noise (CIFAR-10/100) and real-world noise (Clothing1M, WebVision).

Key Results

RML consistently sets new performance bars across the board:

  • CIFAR-100: Achieved a ~6% improvement in accuracy over previous state-of-the-art methods across various noise levels.
  • WebVision: Showed a massive ~8% jump in test accuracy, demonstrating effectiveness on large-scale, "in-the-wild" datasets.
  • Clothing1M: RML-Semi reached 75.14% accuracy, outperforming specialized methods like DivideMix and UNICON.
Performance comparison on CIFAR datasets showing RML outperforming other robust training methods.

Conclusion

RML++ provides a robust framework for training DNNs under label noise by leveraging the Median-of-Means strategy and a loss-processing trick to widen the gap between clean and noisy samples. While the "window size" for the median operation is a critical hyperparameter that may affect convergence speed, the method demonstrates significant gains in generalization across synthetic and real-world datasets. Future work includes exploring adaptive window sizes and extending this logic to tasks like object detection or segmentation.

Summary updated

BibTeX
@article{li2025rml,
  author = {Fengpeng Li and Kemou Li and Qizhou Wang and Bo Han and Jinyu Tian and Jiantao Zhou},
  title = {{RML++: Regroup Median Loss for Combating Label Noise}},
  journal = {Int. J. Comput. Vis.},
  year = {2025},
  url = {https://openreview.net/forum?id=bE3J49XokA},
}
Figure