SoftTarget Regularization: An Effective Technique to Reduce Over-Fitting in Neural Networks

Armen Aghajanyan

TL;DR

SoftTarget Regularization reduces overfitting by training neural networks on a weighted blend of true "hard" labels and the model's own historical "soft" predictions. Unlike Dropout, which prevents overfitting by limiting a model's capacity, SoftTarget guides the learning process using the "dark knowledge" of class similarities, often outperforming traditional methods in deeper architectures.

What Problem Does This Paper Address?

Deep neural networks are notoriously prone to overfitting—they are so powerful that they often "memorize" the noise in training data rather than learning general patterns. To combat this, researchers typically use regularization techniques like Dropout or Weight Decay.

However, most of these methods work by "handcuffing" the model—either by randomly deleting neurons during training or penalizing large weights to effectively reduce the model's capacity. This paper asks: Can we regularize a model without making it smaller or less powerful? The author suggests that the mistakes a model makes early in training aren't just "errors"—they contain valuable information about which classes are similar (e.g., a model confusing a Husky for a Wolf). Overfitting occurs when the model eventually "forgets" these similarities to achieve 100% accuracy on the training set.

Methods

The author introduces SoftTarget Regularization, which modifies the training labels dynamically. The process involves three main components:

  1. Burn-in Period ($n_b$): The model is trained normally on hard labels for a few epochs so it can learn basic features and class similarities.
  2. Exponential Moving Average (EMA): The model keeps a running average of its past predictions ($\hat{Y}^t$). This smooths out the "noise" of a single epoch's predictions.
  3. Soft Target Update: The "true" label used for the loss function is updated to be a weighted average of the actual hard label and the EMA of past predictions.

By training on these "soft" targets, the model is forced to maintain the co-label similarities it discovered early on, preventing it from over-specializing on the training samples.

Datasets

The paper evaluates the method on three standard computer vision benchmarks:

  • MNIST: The classic dataset of handwritten digits.
  • CIFAR-10: A collection of 60,000 tiny images across 10 categories (planes, dogs, etc.), which is significantly more complex than MNIST.
  • SVHN (Street View House Numbers): A "more organic" dataset of house numbers cropped from Google Street View images, containing natural variations in lighting and orientation.

Key Insights and Ideas

  • Information in Mistakes: The core "aha" moment is that "soft labels" (probabilities) contain more information than "hard labels" (1s and 0s). A hard label says "This is a dog." A soft label might say "This is 90% dog, 8% cat, and 2% car," which tells the model that dogs look more like cats than cars.
  • Preserving Co-label Similarity: The author uses covariance matrices to show that in an overfitted model, the relationship between similar classes disappears. SoftTarget Regularization preserves this structure throughout the entire training process.
  • Guidance vs. Restriction: While Dropout works by restricting what the model can do, SoftTarget works by providing better guidance. This makes it particularly effective for very deep networks where reducing capacity might hinder performance.
  • Synergy with Batch Normalization: The experiments show that SoftTarget and Batch Normalization (BN) work exceptionally well together, often producing the best results when combined.

Key Results

  • Deep vs. Shallow: For shallow networks (3 layers), SoftTarget performed similarly to Dropout. However, for deeper networks (7+ layers), SoftTarget significantly outperformed all other regularization schemes on MNIST.
  • CIFAR-10 Accuracy: On the CIFAR-10 dataset, the combination of SoftTarget and Batch Normalization achieved the highest accuracy and lowest last-epoch loss across various dropout rates.
  • SVHN Performance: On the SVHN dataset using Residual Networks, SoftTarget regularized configurations scored the lowest test loss and highest accuracy compared to vanilla models or those using only Batch Normalization.
  • Efficiency: The author notes that SoftTarget allows for lower dropout rates, which can reduce the total training time needed to reach convergence.

Limitations and Future Work

  • Hyperparameter Sensitivity: The method introduces several new hyperparameters, including the burn-in period ($n_b$), the number of epochs per update ($n_t$), and the weighting factors ($\beta, \gamma$). Finding the "sweet spot" for these requires additional grid searching.
  • Mathematical Formalism: While the empirical results are strong, the author notes that a more formal mathematical framework is needed to fully understand the dynamics of co-label similarity propagation.
  • Scaling: While tested on standard benchmarks, the paper does not explore how this method scales to massive datasets like ImageNet or to non-vision tasks like Natural Language Processing.

Summary updated

Abstract

Deep neural networks are learning models with a very high capacity and therefore prone to over- fitting. Many regularization techniques such as Dropout, DropConnect, and weight decay all attempt to solve the problem of over-fitting by reducing the capacity of their respective models (Srivastava et al., 2014), (Wan et al., 2013), (Krogh & Hertz, 1992). In this paper we introduce a new form of regularization that guides the learning problem in a way that reduces over- fitting without sacrificing the capacity of the model. The mistakes that models make in early stages of training carry information about the learning problem. By adjusting the labels of the current epoch of training through a weighted average of the real labels, and an exponential average of the past soft-targets we achieved a regularization scheme as powerful as Dropout without necessarily reducing the capacity of the model, and simplified the complexity of the learning problem. SoftTarget regularization proved to be an effective tool in various neural network architectures.
BibTeX
@inproceedings{aghajanyan2017softtarget,
  author = {Armen Aghajanyan},
  title = {{SoftTarget Regularization: An Effective Technique to Reduce Over-Fitting in Neural Networks}},
  booktitle = {CYBCONF},
  year = {2017},
  url = {https://openreview.net/forum?id=xKOuUsDJ3e},
}

Loading related content...

Figure