NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When and how epochwise double descent happens

Cory Stephenson, Tyler LeearXiv 2021

TL;DR

This paper introduces a theoretical model to explain "epochwise double descent" (EDD), a phenomenon where generalization error initially improves, then worsens, and finally improves again during training. They show EDD is linked to noisy data and slow-to-learn features, and propose two methods to mitigate it, offering a new perspective on deep learning training dynamics.

What Problem Does This Paper Address?

Training deep neural networks (DNNs) is a time-consuming process. Traditionally, researchers rely on early stopping (ES) based on validation performance to find a good model without excessive training. However, a phenomenon called "epochwise double descent" (EDD) has been observed, where the generalization error can initially improve, then degrade, and then improve again as training progresses. This means that standard early stopping might lead to suboptimal models, as it could halt training before the final, better performance is reached. The paper aims to understand when and why EDD occurs and how to address it.

Methods

The authors tackle this problem using a two-pronged approach:

  • Analytical Model: They develop a simplified, analytically tractable model of EDD. This model is based on the hypothesis that the training data contains "slow-to-learn but informative features." By analyzing this model, they can derive conditions under which EDD is likely to occur and characterize its behavior.
  • Experimental Validation: They then validate their theoretical findings using deep neural networks, specifically ResNet18, trained on image datasets. They conduct experiments to see if EDD appears under similar conditions predicted by their model and test methods for removing EDD.

Datasets

  • CIFAR10: Used for experimental validation of the proposed methods and observations on deep neural networks.

Key Insights and Ideas

  • Noise is Crucial: Epochwise double descent doesn't just happen; it requires a critical amount of label noise to emerge. Without noise, generalization error typically decreases monotonically.
  • Slow-to-Learn Features Matter: The EDD phenomenon is hypothesized to arise from the interplay of training dynamics and informative features that are learned slowly. These features become relevant later in training, leading to the second descent in error.
  • Phase Diagram of EDD: The authors provide a phase diagram showing the conditions (parameterization ratio and noise level) under which EDD occurs and whether early stopping is beneficial.
  • Two Ways to Remove EDD:
    1. Feature Removal: Discarding "slow-to-learn" features from the input data can eliminate EDD, but at the cost of reduced generalization performance.
  • Training Dynamics Modification: By analytically solving for the final layer weights (effectively "skipping" to convergence for that layer), they can remove EDD and often match or exceed the performance of standard training.
  • EDD is Not Always Bad: While EDD can lead to suboptimal early stopping, if the noise level is very high, early stopping might actually be better than training to convergence.

Key Results

  • Their analytical model successfully predicts the conditions for EDD, showing it occurs near critical parameterization (ratio of features to data points) and above a certain noise threshold.
  • Experiments with ResNet18 on CIFAR10 confirm these findings: EDD appears at higher noise levels and larger network widths.
  • Removing the slowest-to-learn features (e.g., by keeping only the top 100 principal components) significantly reduces or eliminates EDD, though it also lowers overall performance.
  • Replacing the final layer weights with their analytically derived "converged" solution eliminates EDD and often leads to better or comparable generalization performance compared to standard training.

Limitations and Future Work

  • Linear Model Simplification: The analytical model is a simplification of deep neural networks. While it captures key phenomena, it doesn't fully represent the complex non-linear dynamics of DNNs.
  • Feature Selection Nuance: Discarding the smallest principal components is a blunt approach. Future work could explore more sophisticated methods for identifying and removing features responsible for EDD.
  • Noise Model Specificity: The model's assumption about noise coupling to large eigenvalues is crucial. Investigating other noise models and their impact on EDD is a promising direction.
  • EMC Hypothesis Tension: The authors note a potential tension between their findings and the "Effective Model Complexity" (EMC) hypothesis, suggesting further work is needed to clarify the underlying mechanisms of double descent.
  • Broader Impacts: The paper highlights that EDD poses a challenge for efficient training of large models, as it can make early stopping unreliable. Understanding and mitigating EDD is important for the compute-intensive field of deep learning.

Summary updated

BibTeX
@misc{stephenson2021when,
  author = {Cory Stephenson and Tyler Lee},
  title = {{When and how epochwise double descent happens}},
  year = {2021},
  eprint = {2108.12006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.12006},
}
Figure