Robust Neural Network Classification via Double Regularization

Olof Zetterqvist, Rebecka Jörnsten, Johan JonassonarXiv 2021

Abstract

Deep neural networks are notoriously susceptible to label noise, often memorizing mislabeled training examples at the expense of generalization. Traditional remedies, such as early stopping, are heuristic-based and often leave models in a sub-optimal state. This paper introduces DRFit, a "double regularization" framework that simultaneously penalizes model complexity and dynamically reweights training observations. By incorporating an entropy penalty on observation weights, DRFit analytically identifies and ignores noisy labels during training. We demonstrate that DRFit provides strong mathematical guarantees for parameter recovery and achieves superior robustness on MNIST and CIFAR-10 datasets, even under extreme noise conditions.

Introduction

In the era of big data, the cost of high-quality human annotation has led researchers to rely on web-scraped or crowdsourced datasets. While abundant, these datasets are frequently contaminated with label noise—instances where the assigned category does not match the underlying features. Because modern neural networks are highly overparameterized, they possess the capacity to memorize these errors perfectly, a phenomenon that significantly degrades test-time performance.

Practitioners typically combat this via data augmentation or "early stopping," the latter of which relies on the observation that networks learn general patterns before memorizing specific noise. However, early stopping is fundamentally limited: it requires a perfectly clean validation set to determine the stopping point and prevents the model from reaching full convergence. This research proposes a more principled approach: a loss function that naturally resists noise through a dual-regularization mechanism.

The DRFit Framework

The core innovation of this work is Double Regularisation (DRFit). Standard training minimizes a loss function based on model parameters. DRFit extends this by introducing a weight $\omega_i$ for every training observation $i$. The modified objective function scales the error of each example by its corresponding weight.

To prevent the trivial solution where the model assigns zero weight to all examples to minimize loss, the authors introduce an entropy penalty on the weights. This penalty encourages weights to remain uniform unless an observation is significantly inconsistent with the evolving model.

Analytical Weight Updates

While adding a parameter for every training instance usually risks extreme overfitting, DRFit avoids this through its specific mathematical formulation. The optimal weights can be solved analytically in terms of the model's standard parameters. During the training process, the network dynamically updates these weights. If an example’s label strongly contradicts the learned decision boundary, its weight is pushed toward zero, effectively removing it from the gradient calculation. This creates a form of "localized early stopping" where the model stops learning from suspicious data points while continuing to refine its understanding of clean data.

Mathematical Guarantees

Beyond empirical performance, the authors provide a rigorous theoretical foundation for DRFit. They prove that for binary logistic regression with Gaussian features, DRFit converges to the exact same decision boundary as a model trained on a noise-free version of the dataset. In contrast, standard logistic regression is shown to consistently underestimate true parameters when noise is present, leading to biased classifiers.

Experimental Results

Robustness to Initialization

One of the most striking findings involves the stability of the training process. In experiments using a CIFAR-10 subset (classifying cars vs. planes), standard Ridge-regularized networks were highly sensitive to random initialization. In noisy settings, Ridge-regularized models "crashed"—dropping to baseline 50% accuracy—in up to 38% of training runs. DRFit, however, maintained a 0% crash rate, demonstrating remarkable stability regardless of the initial parameter state.

Performance Under High Noise

On the full CIFAR-10 dataset with 40% synthetic label noise, DRFit outperformed established baselines. It achieved a test accuracy of 80.4%, surpassing both standard Ridge regularization (79.7%) and the popular Mixup augmentation technique (76.6%). These results suggest that DRFit is particularly effective when the signal-to-noise ratio is low.

Dataset Auditing and Cleaning

Because DRFit assigns an explicit weight to every example, it serves as a powerful diagnostic tool. In MNIST experiments with asymmetric noise (30% noise in one class, 10% in another), the final weights formed a bimodal distribution. By applying a simple threshold to these weights, the authors could identify over 90% of the mislabeled examples while retaining over 90% of the clean data. This allows DRFit to be used not just as a classifier, but as a pre-processing tool to clean corrupted datasets.

Limitations and Future Directions

Despite its strengths, DRFit introduces additional hyperparameter complexity, requiring the tuning of both the model complexity parameter ($\lambda$) and the weight flexibility parameter ($\alpha$). Furthermore, while the method excels with random label noise, its performance on asymmetric noise is optimized when the true class proportions are known, which may require a small, clean validation set.

Future research will focus on extending DRFit to handle "adversarial" or feature-dependent noise, where examples are mislabeled because they are visually ambiguous. Expanding the theoretical guarantees to more complex, non-linear architectures also remains a key objective.

Conclusion

DRFit offers a mathematically grounded alternative to heuristic noise-reduction techniques. By treating observation weights as dynamic parameters subject to regularization, it allows neural networks to ignore corrupted data automatically. This results in models that are more robust to initialization, more accurate under high noise, and capable of auditing their own training data for errors.

Summary updated

BibTeX
@misc{zetterqvist2021robust,
  author = {Olof Zetterqvist and Rebecka Jörnsten and Johan Jonasson},
  title = {{Robust Neural Network Classification via Double Regularization}},
  year = {2021},
  eprint = {2112.08102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.08102},
}
Figure