Prestopping: How Does Early Stopping Help Generalization against Label Noise?

Hwanjun Song, Minseok Kim, Dongmin Park, Jae-Gil LeearXiv 2019

Introduction: The Challenge of Noisy Labels

Deep neural networks (DNNs) possess an immense capacity to memorize data, which is a double-edged sword. While it allows them to learn complex patterns, it also makes them susceptible to "label noise"—incorrect tags often found in large-scale, web-scraped datasets. When trained on such data, DNNs eventually overfit to the noise, degrading their ability to generalize to new, correctly labeled examples.

A common strategy to combat this is the "small-loss" trick, which assumes that samples with lower training error are more likely to be correctly labeled. However, this assumption breaks down in realistic scenarios. For instance, in "pair noise" (where one class is consistently mislabeled as another specific class), the loss distributions of clean and noisy samples overlap significantly, making it impossible to separate them based on loss alone.

Methodology: The Prestopping Strategy

To address these limitations, the authors propose Prestopping, a two-phase training framework designed to halt training before noise memorization dominates.

Phase I: Early Stopping

The network is initially trained on the entire noisy dataset. The key is to stop training at the "best stop point"—the moment just before the network enters the "error-prone period" where the memorization of false labels accelerates. The authors suggest two heuristics for identifying this point:

  1. Validation Heuristic: Monitoring performance on a small, clean validation set and stopping at the point of minimum error.
  2. Noise-Rate Heuristic: If the noise rate $\tau$ is known, stopping when the training error reaches that threshold.

Phase II: Learning from a Maximal Safe Set

Once training is halted, the algorithm identifies a "maximal safe set." Instead of relying on a single loss value, Prestopping evaluates the consistency of the network's predictions over recent epochs. If a sample's predicted label consistently matches its provided noisy label, it is deemed "safe." Training then resumes exclusively on this refined subset. An enhanced version, Prestopping+, further incorporates label refurbishment to correct suspected noise rather than simply discarding it.

Comparison of default training vs. Prestopping, highlighting the error-prone period and generalization improvement.

Key Insights: Signal Before Noise

The effectiveness of Prestopping hinges on the observation that DNNs learn "easy" regularities (true patterns) before they begin to memorize "hard" noise. By identifying the transition into the error-prone period, Prestopping preserves the model's learned signal.

Furthermore, the shift from "small-loss" to "prediction consistency" proves crucial. History-based consistency is a more robust indicator of label correctness than instantaneous loss, especially when dealing with complex noise types like pair noise that mimic real class features.

Experimental Results

The researchers evaluated Prestopping across benchmarks including CIFAR-10/100 and real-world noisy datasets like ANIMAL-10N and FOOD-101N.

  • Generalization Gains: On real-world datasets, Prestopping improved test accuracy by up to 8.2 percentage points over state-of-the-art methods like Co-teaching.
  • High-Noise Robustness: In scenarios with 40% noise, Prestopping reduced absolute test error by as much as 18.1% compared to standard training.
  • Implicit Label Cleaning: In tests on CIFAR-100, Prestopping+ successfully identified and corrected several original labels that were found to be ambiguous or incorrect (e.g., re-labeling "Worm" as "Snake"), demonstrating its utility even on supposedly "clean" data.

Conclusion

Prestopping provides a principled way to leverage early stopping for robust learning. By focusing on the temporal consistency of predictions and avoiding the error-prone period of late-stage training, it effectively tames the chaos of noisy labels, leading to significantly better generalization in practical machine learning applications.

Summary updated

BibTeX
@misc{song2019prestopping,
  author = {Hwanjun Song and Minseok Kim and Dongmin Park and Jae-Gil Lee},
  title = {{Prestopping: How Does Early Stopping Help Generalization against Label Noise?}},
  year = {2019},
  eprint = {1911.08059},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.08059},
}
Figure