Multi-scale Feature Learning Dynamics: Insights for Double Descent

Mohammad Pezeshki, Amartya Mitra, Yoshua Bengio, Guillaume Lajoie

The Mystery of Epoch-Wise Double Descent

In classical statistical learning theory, model training is expected to follow a predictable, U-shaped generalization curve. As a model trains, it first learns the underlying patterns of the data, causing the test error to drop. Eventually, it begins to memorize noise in the training data, causing the test error to rise—a phenomenon known as overfitting.

However, modern deep learning often defies this classical intuition. Researchers frequently observe a phenomenon called "double descent," where the error curve exhibits a second drop after the initial overfitting peak. While "model-wise" double descent (where error drops as model size increases) is well-documented, "epoch-wise" double descent (where error drops as training time increases) remains less understood. This creates a practical dilemma: should engineers use early stopping to prevent overfitting, or continue training in hopes of reaching a second, deeper descent?

This paper seeks to uncover the fundamental mechanisms behind this temporal non-monotonicity, providing a theoretical explanation for why and when epoch-wise double descent occurs.

Methods: A Linear Teacher-Student Framework

To isolate the mechanics of learning dynamics, the authors employ a linear teacher-student setup analyzed through the lens of statistical physics.

  1. The Model: A "teacher" network generates labels from a set of latent features. A "student" network attempts to learn these labels from "pixels," which are modulated versions of the latent features.
  2. The Modulation Matrix ($F$): The key innovation in this setup is the modulation matrix $F$, which controls the student's access to the features. By assigning $F$ a high condition number, the authors create an environment where some features are "fast" (easy to learn) and others are "slow" (hard to learn).
  3. Statistical Physics: To solve the high-dimensional dynamics of Stochastic Gradient Descent (SGD), the authors utilize the "replica method" from statistical physics. This allows them to derive closed-form analytical expressions for the evolution of generalization error over time.
The linear teacher-student setup mapping isotropic latent features to anisotropic input features.

Key Insights: Multi-Scale Learning

The core finding of the paper is that epoch-wise double descent is essentially the superposition of multiple learning curves operating at different timescales.

  • Fast vs. Slow Features: Fast features reach their "U-shape" peak quickly and begin to overfit the data. Just as the fast features are degrading the model's generalization, the slower features finally begin to fit the data. This late-stage learning of slow features drives the total error down a second time, creating the double descent curve.
  • The Role of Regularization: Regularization (such as weight decay) acts as a gatekeeper for this phenomenon. High regularization prevents slow features from ever being learned, resulting in a standard U-curve. Conversely, low regularization allows both feature scales to be learned, unlocking the double descent behavior.
  • Predicting the Second Descent: The theoretical framework predicts that if one set of features is learned $\kappa$ times faster than another, the second descent will occur at a time scale roughly proportional to $\kappa$.
Superposition of fast and slow features creating the epoch-wise double descent curve.

Validation and Future Directions

The authors validated their theoretical findings using both synthetic data and real-world tasks. The closed-form expressions derived via the replica method accurately predicted the results of numerical simulations. Furthermore, experiments training a ResNet-18 on CIFAR-10 with label noise showed a striking qualitative match to the linear theory, confirming that double descent emerges primarily when regularization is sufficiently low.

While the core theory relies on a linear model and does not account for non-linear phenomena (like feature kernels changing over time), it successfully isolates a specific, powerful mechanism behind deep learning dynamics. Future work may explore whether "Grokking"—where a model suddenly generalizes long after training error has hit zero—can be explained by even more extreme differences in feature learning scales.

Summary updated

BibTeX
@inproceedings{pezeshki2022multi,
  author = {Mohammad Pezeshki and Amartya Mitra and Yoshua Bengio and Guillaume Lajoie},
  title = {{Multi-scale Feature Learning Dynamics: Insights for Double Descent}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=h6j82iBkWix},
}
Figure