Introduction
Deep learning practitioners have long observed that learning rate schedules significantly impact model performance. While constant learning rates are simple, cyclic and randomized stepsizes often lead to superior generalization. This paper provides a rigorous theoretical explanation for this phenomenon, linking stepsize schedules to the "heaviness" of the tails in the distribution of model parameters.
The Generalization Gap and Heavy Tails
A central goal in deep learning is achieving good generalization—the ability of a model to perform well on unseen data. Recent research suggests that the tail behavior of Stochastic Gradient Descent (SGD) iterates serves as a proxy for generalization. This behavior is quantified by a tail-index ($\alpha$), where a smaller $\alpha$ indicates "heavier tails." Heavier tails imply that the algorithm more frequently makes large jumps, potentially allowing it to escape sharp local minima and explore more robust regions of the parameter space.
While the tail behavior for constant stepsizes is well-characterized, the impact of non-constant schedules—such as cyclic learning rates or random jitter—remains less understood. This work addresses the theoretical gap: How do these schedules alter SGD's tail behavior, and why does this improve generalization?
Methodology: Markovian Stepsizes
The authors propose a unifying framework called Markovian Stepsizes. In this model, the stepsize $\eta_k$ at each iteration $k$ is not fixed but evolves according to a Markov chain. This framework is versatile, encompassing constant, i.i.d. random, and cyclic stepsizes as special cases.
To analyze the resulting stochastic processes, the researchers employ regeneration times from probability theory. By observing the algorithm at specific intervals (e.g., at the end of each cycle), they can decompose the optimization process into independent units, making the mathematical analysis of tail behavior tractable. The theoretical foundations are established using linear regression with Gaussian data, providing explicit formulas for the tail-index $\alpha$, which are then extended to more general smooth loss functions.
Experimental Setup
The theory was validated across three distinct environments:
- Synthetic Linear Regression: Used to confirm the mathematical relationship between stepsize parameters (range, mean, transition probability) and the tail-index.
- MNIST: A 3-layer fully connected neural network trained on the classic handwritten digit dataset.
- CIFAR-10: A VGG-11 architecture trained on the standard image classification benchmark.
Key Insights
The study reveals several critical properties of stepsize schedules:
- Randomness and Tail Heaviness: The authors prove that an i.i.d. random stepsize centered at a mean $\hat{\eta}$ consistently produces heavier tails (lower $\alpha$) than a constant stepsize fixed at $\hat{\eta}$.
- Grid Coarseness: In cyclic schedules, "coarser" grids (fewer steps per cycle) or a wider range of stepsizes result in heavier tails.
- Random vs. Cyclic: Theory suggests that i.i.d. random stepsizes generally produce heavier tails than cyclic ones.
- The Markovian Advantage: Tuning the transition probability ($p$) in a Markovian schedule allows for even heavier tails than standard rules. Specifically, smaller transition probabilities often lead to more pronounced heavy-tailed behavior.
- Structural Factors: Smaller batch sizes and higher model dimensionality naturally push the system toward heavier-tailed distributions, further aiding generalization.
Results and Validation
The theoretical predictions were strongly supported by empirical evidence:
- MNIST Experiments: A Markovian schedule with $p=0.5$ achieved the heaviest tails ($\alpha = 1.51$) and significantly better generalization (lower test error) compared to a constant stepsize ($\alpha = 1.85$).
- CIFAR-10 with VGG-11: Randomized and cyclic schedules consistently resulted in lower $\alpha$ values compared to constant stepsizes, which correlated with improved test accuracy.
Conclusion
This research provides a formal link between popular learning rate schedules and the heavy-tailed nature of SGD iterates. By demonstrating that cyclic and randomized stepsizes induce heavier tails, the authors offer a theoretical justification for why these techniques improve generalization.
While the correlation between heavy tails and generalization is robust, the authors note it is not absolute; edge cases exist where a smaller tail-index might not improve performance. Future work will likely explore the interaction between these schedules and the non-convex loss landscapes of large-scale neural networks, as well as the trade-off between optimization speed and generalization.
Summary updated