DisturbLabel: Regularizing CNN on the Loss Layer

Lingxi Xie, Jingdong Wang, Zhen Wei, Meng Wang, Qi Tian

Abstract

Overfitting remains a primary challenge in training deep Convolutional Neural Networks (CNNs). While techniques like Dropout and Data Augmentation target hidden layers and inputs respectively, the loss layer is often overlooked. We present DisturbLabel, a simple regularization technique that intentionally injects noise into the training process by randomly flipping a percentage of ground-truth labels to incorrect values. By forcing the network to handle stochastic "noisy" loss calculations, DisturbLabel acts as an implicit model ensemble, significantly improving generalization and preventing overfitting across various image recognition benchmarks.

Introduction

Deep Convolutional Neural Networks (CNNs) are prone to overfitting—memorizing training data to the detriment of performance on unseen images. Traditional regularization methods typically target specific network components: Dropout affects hidden neurons, DropConnect targets weights, and Data Augmentation modifies input images.

DisturbLabel addresses a missing piece in this landscape: the loss layer. While training labels are generally assumed to be 100% accurate, this research explores the benefits of intentionally introducing label noise. By working directly at the output stage, DisturbLabel provides a complementary defense against overfitting that existing methods may miss.

Methodology

The DisturbLabel algorithm is elegantly simple and integrates seamlessly into standard mini-batch training. In each iteration:

  1. Sample Selection: For every image in the mini-batch, there is a probability $\alpha$ (the "noise rate") that its label will be "disturbed."
  2. Label Disturbance: If a sample is selected, its original ground-truth label is replaced with a new label drawn from a uniform distribution across all possible classes.
  3. Optimization: The network calculates the loss and updates its weights based on these potentially incorrect labels.
Illustration of the DisturbLabel process across multiple training batches.

Crucially, this disturbance happens independently in every iteration. As shown in the figure above, a specific image might retain its correct label in one batch but receive a different, incorrect label in subsequent batches. This stochasticity distinguishes DisturbLabel from "Soft Labeling" (label smoothing). While the average gradient of DisturbLabel is mathematically similar to soft labeling, the per-step noise provides a unique regularization effect that fixed smoothing lacks.

Experimental Results

The researchers evaluated DisturbLabel on several standard computer vision benchmarks: MNIST, SVHN, CIFAR-10/100, and ILSVRC2012 (ImageNet).

Performance Gains

DisturbLabel consistently improved performance across various architectures, including LeNet, AlexNet, and a custom "BigNet":

  • MNIST: Error reduced from 0.86% to 0.66%.
  • CIFAR-100: On the "BigNet" architecture, error dropped from 39.54% to 34.81%. When combined with Dropout, the error further decreased to 28.39%.
  • ImageNet: Using AlexNet, DisturbLabel improved Top-1 accuracy by approximately 0.3%. For large-scale training, such gains from a "zero-cost" algorithm are significant.

Data Scarcity and Noise Robustness

The method proved exceptionally effective when training data was limited. On a 1% subset of MNIST, DisturbLabel slashed the error rate from 10.92% to 6.38%. Furthermore, the network demonstrated remarkable robustness to high noise rates; a model trained with a 90% noise rate on MNIST still achieved less than 2% testing error.

Discussion: Key Insights

  • Implicit Model Ensemble: DisturbLabel effectively trains an exponential number of models on different "noisy" versions of the dataset. At inference, the single trained model acts as an average of this massive ensemble.
  • Gradient Damping: Theoretical analysis of a simple linear model suggests that DisturbLabel creates a "damping" effect on gradients. This prevents the model from becoming overconfident and overfitting to specific training samples.
  • Complementarity: Since Dropout works on internal activations and DisturbLabel works on the final output, they are not redundant. Empirical results show that using both together often yields superior results.

Conclusion

DisturbLabel is a computationally efficient regularization tool that enhances CNN generalization. While the noise rate $\alpha$ requires tuning and noisy gradients may slightly slow convergence, its simplicity and compatibility with existing techniques make it a valuable addition to the deep learning toolkit. Future work could explore its interaction with modern Transformer-based architectures and self-supervised learning frameworks.

Summary updated

BibTeX
@inproceedings{xie2016disturblabel,
  author = {Lingxi Xie and Jingdong Wang and Zhen Wei and Meng Wang and Qi Tian},
  title = {{DisturbLabel: Regularizing CNN on the Loss Layer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.514},
}
Figure