Abstract
We present a theoretically grounded approach to train deep neural networks, including recurrent networks, subject to class-dependent label noise. We propose two procedures for loss correction that are agnostic to both application domain and network architecture. They simply amount to at most a matrix inversion and multiplication, provided that we know the probability of each class being corrupted into another. We further show how one can estimate these probabilities, adapting a recent technique for noise estimation to the multi-class setting, and thus providing an end-to-end framework. Extensive experiments on MNIST, IMDB, CIFAR-10, CIFAR-100 and a large scale dataset of clothing images employing a diversity of architectures - stacking dense, convolutional, pooling, dropout, batch normalization, word embedding, LSTM and residual layers - demonstrate the noise robustness of our proposals. Incidentally, we also prove that, when ReLU is the only non-linearity, the loss curvature is immune to class-dependent label noise.
Introduction
Deep learning's success is heavily dependent on the availability of massive, accurately labeled datasets. However, obtaining perfect labels for millions of instances is often prohibitively expensive. Practitioners frequently rely on cheaper, noisier alternatives such as crowdsourcing or automated web-scraping. Standard loss functions, like cross-entropy, assume that training labels are ground truth. In the presence of label noise, the resulting gradients can mislead the model, severely degrading its performance. This paper introduces a robust framework for training deep neural networks under class-dependent label noise using loss correction techniques.
Loss Correction Methods
The core of the proposed approach lies in correcting the loss function using a noise transition matrix $T$, where $T_{ij} = P(\tilde{y} = j | y = i)$ represents the probability that a true label $i$ is flipped to a noisy label $j$.
Backward and Forward Correction
The authors propose two primary correction strategies:
- Backward Correction: This method utilizes the inverse of the transition matrix ($T^{-1}$) to weight the loss vector. It provides an unbiased estimator of the loss, meaning that the expected value of the corrected loss on noisy data equals the loss on clean data.
- Forward Correction: Instead of modifying the loss directly, this approach "corrupts" the model's predictions by multiplying them by $T$ before computing the loss. This effectively aligns the model's output with the observed noisy label distribution.
Noise Estimation
A significant contribution of this work is an end-to-end framework that does not require prior knowledge of $T$. The authors extend a noise estimation technique to the multi-class setting. By identifying "anchor points"—instances that the model predicts with high confidence as belonging to a specific class—the transition probabilities can be estimated directly from the noisy training set.
Experimental Evaluation
The robustness of the proposed methods was evaluated across a wide range of domains and architectures:
- Computer Vision: MNIST (fully connected), CIFAR-10, and CIFAR-100 (using various ResNet depths).
- Natural Language Processing: IMDB sentiment analysis using word embeddings and LSTMs.
- Real-World Noise: Clothing1M, a dataset containing 1 million images with naturally occurring label noise from web-scraping.
Results and Discussion
The experimental results demonstrate that loss correction significantly improves performance in noisy regimes compared to standard cross-entropy training.
Key Findings
- Robustness to High Noise: On datasets like MNIST, the corrected losses maintained high accuracy even when 60% of the labels were corrupted, whereas standard training performance dropped sharply.
- Architecture Agnosticism: The methods proved effective across diverse architectures, including CNNs, LSTMs, and ResNets, as the correction occurs at the loss level.
- Forward vs. Backward Performance: While Backward correction is theoretically unbiased, Forward correction often yielded better empirical results. Backward correction can be less stable due to the matrix inversion, which may lead to negative loss values or large gradients.
- The ReLU Advantage: The authors theoretically proved that for networks using only ReLU non-linearities, the loss curvature (Hessian) is immune to class-dependent label noise, explaining why ReLUs are particularly robust in these scenarios.
- State-of-the-Art on Clothing1M: The approach achieved a top accuracy of 80.38% on Clothing1M, surpassing previous benchmarks.
Conclusion
This work provides a simple yet powerful framework for training deep networks with noisy labels. By correcting the loss function using either known or estimated transition matrices, models can achieve high performance without requiring perfectly clean data. Future research directions include addressing instance-dependent noise—where the flip probability depends on the specific image rather than just its class—and exploring low-rank priors for more efficient noise estimation in high-dimensional label spaces.
Summary updated