Regularization for Deep Learning: A Taxonomy

Jan Kukacka, Vladimir Golkov, Daniel CremersarXiv 2017

Abstract

Regularization in deep learning has evolved from simple penalty terms to a diverse set of techniques aimed at improving generalization. This paper provides a comprehensive taxonomy that unifies these methods—ranging from dropout and data augmentation to architectural constraints—under a single framework based on the Empirical Risk Minimization (ERM) process. By categorizing techniques based on which part of the learning pipeline they modify, the authors provide a roadmap for understanding and developing new regularization strategies.

The Fragmentation of Regularization

In the early days of machine learning, "regularization" almost exclusively referred to adding a penalty term, such as L2 weight decay, to a loss function. However, as deep learning matured, the term began to encompass any technique that improved test-set performance, even if it didn't involve a formal penalty. Methods like Dropout, Batch Normalization, and Data Augmentation were often developed and studied in isolation, leading to a fragmented understanding of the field. This paper addresses this fragmentation by proposing a formal taxonomy that reveals the fundamental similarities between seemingly unrelated techniques.

A Unified Taxonomy

The authors base their taxonomy on the standard Empirical Risk Minimization framework. They identify five key elements in the training process that can be modified to achieve a regularizing effect:

  1. Data ($\mathcal{D}$): Techniques that transform the training set, such as data augmentation, noise injection, or pre-processing.
  2. Network Architecture ($f$): Choices that limit the search space of functions, such as using Convolutional layers (which assume spatial locality) or skip-connections.
  3. Error Function ($E$): Modifications to the core loss (e.g., using a Dice coefficient instead of Cross-Entropy).
  4. Regularization Term ($R$): The "traditional" penalty terms added to the loss, such as weight decay or Jacobian penalties.
  5. Optimization Procedure: Implicit regularization that comes from the training process itself, including SGD noise, weight initialization, and early stopping.

Categorizing Data-Based and Architectural Methods

The paper provides detailed classification tables that map dozens of popular algorithms into these categories based on their dependencies and stochasticity. Generic data-based methods, such as Dropout and Gaussian noise, are categorized by how they sample noise and the space in which they operate.

Table 1: Classification of generic data-based regularization methods, detailing their dependencies and transformation spaces.

Beyond data transformations, the authors argue that architectural choices are themselves a form of regularization because they encode specific assumptions about the learnable input-output mapping. For example, convolutional layers assume spatial locality, while pooling assumes spatial invariance.

Table 3: Analysis of architectural choices as regularization, highlighting the underlying assumptions about the input-output mapping.

Key Insights and Ideas

  • A Broader Definition: The authors define regularization as "any supplementary technique that aims at making the model generalize better." This shifts the focus from how a technique is implemented to what its ultimate goal is.
  • The "Data-Architecture" Link: Many "data-based" methods can be viewed as "architectural" modifications. For instance, Dropout can be interpreted as a stochastic transformation of hidden features or as an implicit ensemble of different architectures.
  • Hard vs. Soft Constraints: The paper distinguishes between "hardwiring" assumptions into the architecture (e.g., CNNs forcing translation invariance) versus "softly" encouraging them via loss terms. Hardwiring is more restrictive but often more powerful if the assumption is correct.
  • Data Augmentation as Distribution Matching: The authors show that data augmentation is essentially an attempt to bridge the gap between the finite training set and the true underlying data distribution.

Conclusion and Future Directions

The primary contribution of this work is the taxonomy itself, which provides a roadmap for researchers to identify "empty niches" for new hybrid regularization methods. The authors highlight three promising areas for future work: adaptive sampling (moving toward "challenging" samples that maximize network error), class-dependent transformations (learning specific ways to augment data for specific classes), and developing regularization techniques specifically designed to counter adversarial attacks.

Summary updated

BibTeX
@misc{kukacka2017regularization,
  author = {Jan Kukacka and Vladimir Golkov and Daniel Cremers},
  title = {{Regularization for Deep Learning: A Taxonomy}},
  year = {2017},
  eprint = {1710.10686},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.10686},
}
Figure