Temporal Dynamics of Weight Decay and Delayed Generalization

This direction is merged into another direction: delayed generalization, generalization delay scaling. Its last version stays readable and citable here.

Version 1 of 128 papers46 conceptsfrozen 2026-10-04

In classical machine learning, $L_2$ regularization (weight decay) is typically viewed as a static constraint—a penalty added to the loss function to prevent parameters from growing too large and overfitting. However, recent research into overparameterized neural networks reveals a more dynamic role: weight decay acts as a "speed dial" for the training process. Instead of merely changing the final solution, weight decay dictates the temporal scale upon which generalization occurs.

The Inverse Scaling Law of Training Speed

The most striking observation in this research direction is that the time required for a network to reach peak generalization performance is inversely proportional to the weight decay coefficient $\lambda$. As Aitor Lewkowycz and Guy Gur-Ari demonstrate in On the training dynamics of deep networks with $L_2$ regularization, reducing the regularization strength by half necessitates doubling the training duration to achieve equivalent results.

In the overparameterized regime, the model's final performance remains remarkably stable across different values of $\lambda$, provided the training budget is adjusted to compensate. This suggests that weight decay is not just a mechanism for preventing overfitting, but a controller for the speed of training dynamics. This insight led to the development of AUTOL2, a schedule that dynamically adjusts $\lambda$ to accelerate training without sacrificing accuracy.

Grokking as a Predictable Delay

This temporal perspective provides a rigorous explanation for "grokking"—the phenomenon where a model suddenly transitions from memorization to perfect generalization long after the training error has hit zero. Rather than being a mysterious "aha!" moment, grokking is a predictable consequence of the interplay between initialization scale and regularization.

As Eric J Michaud and Max Tegmark argue in Omnigrok: Grokking Beyond Algorithmic Data, grokking occurs when a model is initialized with large weights and trained with small weight decay. The model first rapidly overfits the training data (the "memorization" phase). Then, weight decay acts as a slow-moving force, pulling the weights toward a lower-norm region where generalization becomes possible.

The "grokking clock" is remarkably precise. Pascal Junior Tikeng Notsawo shows that the time delay between memorization and generalization is inversely proportional to the product of the learning rate and the regularization strength ($T \propto 1 / \eta \lambda$). This allows researchers to induce or eliminate grokking at will by tuning these hyperparameters.

The Transition from Lazy to Rich Regimes

Why does the model need to "drift" toward lower norms to generalize? The answer lies in a dichotomy of implicit biases. Early in training, especially with large initializations, models often operate in a "lazy" or "kernel" regime. In this state, the model behaves like a linear regressor with fixed features, which is often mathematically incapable of generalizing from small datasets.

Kaifeng Lyu and Simon Shaolei Du prove in Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking that weight decay acts as the catalyst for a phase transition. It forces the model out of the kernel regime and into a "rich" regime, where the network actively learns low-norm, structured features.

This transition can be viewed as a two-speed optimization process:

  1. Interpolation: The model rushes to fit the training data, moving to a manifold of solutions with zero training error.
  2. Riemannian Drift: As described by Etienne Boursier in A Theoretical Framework for Grokking, the model then slowly "drifts" along this solution manifold. Weight decay guides this drift toward simpler, lower-norm parameters that generalize far better.

Universality Across Models

While grokking was first popularized in the context of Transformers and modular arithmetic, these dynamics are universal. Mingyue Xu and Itay Safran have provided rigorous proofs that these same delays occur in simple ridge regression and linear estimators. Even in these basic settings, the "grokking time" remains a predictable consequence of the ratio between initialization scale and weight decay.

By reframing weight decay as a temporal controller, this research direction transforms a mysterious training quirk into a manageable engineering parameter, allowing for better control over when and how deep networks learn to generalize.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_temporal_dynamics_of_weight_decay_and_de_eec7034d,
  title = {Temporal Dynamics of Weight Decay and Delayed Generalization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-dynamics-of-weight-decay-and-delayed-generalization/rdr_eec7034d441f461280ab787bdc028c93},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_temporal_dynamics_of_weight_decay_and_de_eec7034d_v1,
  title = {Temporal Dynamics of Weight Decay and Delayed Generalization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/temporal-dynamics-of-weight-decay-and-delayed-generalization/rdr_eec7034d441f461280ab787bdc028c93/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}