Fighting over-fitting with quantization for learning deep neural networks on noisy labels

Gauthier Tallec, Edouard Yvinec, Arnaud Dapogny, Kevin Bailly · DOI

Abstract

Deep neural networks are prone to overfitting, particularly when trained on datasets with noisy labels. While standard regularization techniques like dropout and weight decay are commonly employed, they do not address the need for model compression. This paper explores Quantization-Aware Training (QAT) as a dual-purpose solution. We demonstrate that by restricting the numerical precision of weights and activations, quantization acts as a powerful regularizer that prevents the model from memorizing incorrect labels. Our experiments on synthetic (CIFAR-10) and real-world (BP4D) noisy datasets show that QAT consistently outperforms traditional regularizers in accuracy preservation while simultaneously providing significant inference speedups.

Introduction

Modern deep learning models are typically over-parameterized, possessing a capacity far exceeding what is necessary for most tasks. This excess capacity allows models to learn complex patterns but also makes them susceptible to memorizing noise in the training data. Label noise is a pervasive issue in large-scale datasets due to human error or subjective task definitions. Traditional regularization methods like dropout or weight decay mitigate this but often require extensive hyperparameter tuning and do not reduce the model's deployment footprint. The authors propose that model compression, specifically quantization, can solve both the noise and deployment problems simultaneously.

Quantization as a Regularizer

Quantization-Aware Training (QAT) is primarily used to compress models for edge deployment by representing weights and activations with low-bit integers (e.g., 4-bit). The authors hypothesize that this restriction serves as an information bottleneck. By limiting the "vocabulary" available to the network, quantization prevents the fine-grained weight adjustments necessary to memorize specific noisy outliers, forcing the model to focus on broader, more generalizable features.

Quantization prevents the rise in evaluation loss seen in baseline models, indicating reduced overfitting.

As shown in the loss curves above, the baseline model's evaluation loss begins to rise early in training, a classic sign of overfitting to noise. In contrast, the quantized model maintains a stable evaluation loss, effectively "filtering" the noise.

Experimental Setup

The study compared QAT against several vanilla regularizers (early stopping, weight decay, dropout, label smoothing) and pruning. Evaluation was conducted on:

  1. CIFAR-10 with Synthetic Noise: Labels were randomly corrupted at varying percentages to test robustness.
  2. BP4D with Real-World Noise: A facial action unit detection dataset where labels are naturally noisy due to the subjectivity of facial expressions.

Results

On the CIFAR-10 dataset, quantization (specifically 4-bit weights and activations, W4/A4) demonstrated superior robustness to noise. The accuracy gap between quantized models and the baseline increases significantly as the noise level rises, outperforming other techniques like weight decay and pruning.

Comparison of various regularization and compression techniques across different levels of label noise on CIFAR-10.

In the real-world BP4D dataset, quantization achieved an average F1 score of 62.5, surpassing both the baseline (60.3) and the best-performing standard regularizer, dropout (61.4). Furthermore, the quantized models achieved a 55% reduction in inference runtime, proving that accuracy and efficiency can be improved simultaneously in noisy environments.

Conclusion

Quantization-Aware Training serves as an effective and robust regularizer for deep neural networks trained on noisy data. By constraining model expressivity, it prevents the memorization of incorrect labels more effectively than many traditional methods. Future work includes exploring adaptive quantization schemes to handle varying noise levels across different tasks in multi-task learning environments.

Summary updated

BibTeX
@inproceedings{tallec2023fighting,
  author = {Gauthier Tallec and Edouard Yvinec and Arnaud Dapogny and Kevin Bailly},
  title = {{Fighting over-fitting with quantization for learning deep neural networks on noisy labels}},
  booktitle = {ICIP},
  year = {2023},
  doi = {10.1109/icip49359.2023.10222687},
}
Figure