Skip to main content
QUICK REVIEW

[Paper Review] Time Matters in Regularizing Deep Networks: Weight Decay and Data Augmentation Affect Early Learning Dynamics, Matter Little Near Convergence

Aditya Golatkar, Alessandro Achille|arXiv (Cornell University)|May 30, 2019
Stochastic Gradient Optimization TechniquesComputer Science31 references21 citations
TL;DR

This paper demonstrates that regularization in deep networks—via weight decay or data augmentation—primarily affects generalization by shaping early training dynamics, not by altering the final loss landscape. The key finding is a 'critical period' in early epochs where regularization is essential; applying it later has minimal impact, even if the final model converges to the same solution.

ABSTRACT

Regularization is typically understood as improving generalization by altering the landscape of local extrema to which the model eventually converges. Deep neural networks (DNNs), however, challenge this view: We show that removing regularization after an initial transient period has little effect on generalization, even if the final loss landscape is the same as if there had been no regularization. In some cases, generalization even improves after interrupting regularization. Conversely, if regularization is applied only after the initial transient, it has no effect on the final solution, whose generalization gap is as bad as if regularization never happened. This suggests that what matters for training deep networks is not just whether or how, but when to regularize. The phenomena we observe are manifest in different datasets (CIFAR-10, CIFAR-100), different architectures (ResNet-18, All-CNN), different regularization methods (weight decay, data augmentation), different learning rate schedules (exponential, piece-wise constant). They collectively suggest that there is a ``critical period'' for regularizing deep networks that is decisive of the final performance. More analysis should, therefore, focus on the transient rather than asymptotic behavior of learning.

Motivation & Objective

  • Investigate whether the timing of regularization affects generalization in deep neural networks.
  • Challenge the classical view that regularization works by modifying the final loss landscape at convergence.
  • Identify a transient 'critical period' during early training where regularization exerts maximal influence on final performance.
  • Explore the hypothesis that regularization's main role is to guide initial optimization dynamics toward generalizable solutions.
  • Shift focus from asymptotic convergence behavior to transient dynamics in deep learning theory and analysis.

Proposed method

  • Systematically apply weight decay and data augmentation only during specific training intervals (early, late, or sliding windows) across multiple architectures and datasets.
  • Train models with regularization turned on or off at different epochs and compare final test accuracy and generalization gap.
  • Use the Fisher Information Matrix (FIM) norm to analyze changes in optimization dynamics and identify the critical period.
  • Compare results across CIFAR-10, CIFAR-100, ResNet-18, All-CNN, and various learning rate schedules to validate robustness.
  • Analyze the relationship between FIM norm peaks and generalization to detect when regularization most influences learning trajectory.
  • Contrast transient effects with asymptotic behavior by measuring test accuracy after regularization is removed or delayed.

Experimental results

Research questions

  • RQ1Does the timing of regularization significantly affect generalization in deep neural networks, independent of whether regularization is applied at all?
  • RQ2Is there a specific 'critical period' in early training where regularization has the most decisive impact on final model performance?
  • RQ3Can regularization applied only in the final phases of training still improve generalization, or is it ineffective?
  • RQ4Why does weight decay still work in batch-normalized networks, despite weight scale invariance, if regularization does not alter the final loss landscape?
  • RQ5To what extent do transient dynamics during early training determine the final solution, rather than the convergence point itself?

Key findings

  • Applying weight decay or data augmentation only during the initial transient period leads to optimal generalization, even if regularization is removed afterward.
  • Applying regularization only in the final convergence phase has negligible or even detrimental effects on generalization, despite altering the final loss function.
  • The critical period for regularization spans only a few early epochs, with maximal impact observed when regularization is active during this window.
  • The peak of the Fisher Information Matrix (FIM) norm during training correlates strongly with the critical period, indicating a key role in transient dynamics.
  • Generalization remains unchanged when regularization is toggled after the critical period, even though weight values and loss function change, indicating the final solution is insensitive to late regularization.
  • The mechanism of regularization in deep networks is not to re-shape the final loss landscape, but to bias the optimization path toward regions with multiple generalizable solutions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.