TL;DR
Training neural networks on datasets with noisy labels usually requires an expensive, clean validation set to prevent overfitting via early stopping. This paper introduces Noisy Early Stopping (NES), demonstrating that simply monitoring accuracy on a noisy validation set—drawn from the same corrupted distribution as the training data—achieves near-optimal results. This straightforward strategy significantly reduces data curation costs while maintaining robust performance across various noise models and loss functions.
What Problem Does This Paper Address?
Deep learning thrives on massive datasets, but high-quality, clean labels are expensive and time-consuming to gather. Real-world data collected via crowdsourcing or web scraping is frequently riddled with errors (label noise), which causes neural networks to memorize mistakes and overfit.
To combat overfitting, practitioners use Early Stopping, the gold standard of regularization. However, early stopping traditionally relies on a pristine, noise-free validation set to accurately judge when a model's generalization peaks. In many practical scenarios, a clean validation set is unavailable or too costly to obtain. The authors address a fundamental question: Is a clean validation set truly necessary for early stopping, or can we reliably monitor generalization using validation data that is just as noisy as our training data?
Methods
The authors propose Noisy Early Stopping (NES). Instead of assuming access to a clean validation set, NES splits a corrupted dataset into a noisy training set and a noisy validation set.
The algorithm works as follows:
- Train the network on the noisy training data using a standard or robust loss function.
- Evaluate the model at the end of each epoch using standard classification accuracy (0-1 loss) on the noisy validation set.
- Track the peak noisy validation accuracy. If it fails to improve over a set number of epochs (a patience parameter, set to $P=10$ in experiments), stop training and revert to the best-performing model.
The paper provides a rigorous mathematical framework analyzing the relationship between "clean risk" (error on clean data) and "noisy risk" (error on noisy data). They contrast NES against two baselines: Clean Early Stopping (ES), which uses an idealized clean validation set, and Without Early Stopping (WES), which trains for a fixed number of epochs.
Datasets
The authors evaluated their approach across four standard image classification benchmarks:
- MNIST
- FashionMNIST
- CIFAR-10
- CIFAR-100
To thoroughly test the limits of NES, they synthetically corrupted these datasets using several sophisticated noise models:
- Uniform Symmetric Noise: Labels are randomly flipped to any other class with equal probability.
- Asymmetric Noise: Labels mimic real-world human confusion (e.g., flipping Cat $\leftrightarrow$ Dog or Truck $\rightarrow$ Automobile).
- Non-Uniform Noise (NU-MNIST / NU-EMNIST): Feature-dependent noise where the probability of a label being corrupted depends on the data point's position in the data space.
Key Insights and Ideas
- The Symmetric Guarantee: The authors prove mathematically that under uniform symmetric noise, there is a perfect affine linear relationship between noisy validation accuracy and clean test accuracy. Minimizing noisy risk perfectly minimizes clean risk.
- The Theory-Practice Gap: Statistically, uniform symmetric noise is the only noise type where this perfect alignment is guaranteed for all possible classifiers. For asymmetric noise, the theoretical bounds are loose, suggesting that NES should fail. Indeed, when testing a Decision Tree classifier under asymmetric noise, NES fails drastically.
- The Neural Network Advantage: Surprisingly, when switching from decision trees to neural networks, NES works beautifully even under complex asymmetric noise.
- Relaxed Simultaneity: Why do neural networks succeed where theory says they shouldn't? The authors discover that neural networks naturally minimize all types of misclassifications (the off-diagonal elements of the confusion matrix) at roughly the same rate during early training. This causes the clean and noisy accuracies to peak almost simultaneously, making a noisy validation set an excellent proxy for a clean one.
Key Results
- 93% Success Rate: Across 10 datasets and 6 different loss functions (including standard Cross-Entropy and robust variants like Generalized Cross-Entropy), NES matched or overlapped with the performance of idealized clean Early Stopping in 93% of cases.
- Beating the Baseline: NES outperformed the standard practice of training without early stopping (WES) in 75% of settings. Even when using "robust" loss functions designed to handle noise, omitting early stopping led to severe late-stage overfitting.
- Robustness to Noise Levels: NES remains highly effective up until a sharp threshold where the noise becomes so severe that it is no longer "class-preserving" (i.e., when the incorrect noisy label becomes more probable than the true label).
Limitations and Future Work
- The Class-Preserving Bound: NES completely breaks down if the noise flips the dominant class (e.g., if more than 50% of Dogs are labeled as Cats). Future work is needed to extend early stopping to non-class-preserving environments.
- Data Scarcity: In data-starved regimes, carving out a portion of the dataset for a noisy validation set might detrimentally shrink the training pool.
- Double Descent: In low-noise scenarios (~5%), neural networks can exhibit "double descent," where clean accuracy dips before rising to a second, higher peak later in training. Standard early stopping with low patience can prematurely halt training before this second peak is reached.
- Closed-Set Restriction: This study focuses entirely on closed-set noise (where corrupted labels still belong to the known classes) and does not address open-set noise (out-of-distribution images mixed into the dataset).
Summary updated