Abstract
Cyclic and randomized stepsizes are widely used in deep learning practice and can often outperform standard stepsize choices such as constant stepsize in SGD. Despite their empirical success, not much is currently known about when and why they can theoretically improve generalization performance. We consider a general class of Markovian stepsizes for learning, which contain i.i.d. random stepsize, cyclic stepsize, as well as constant stepsize as special cases. Motivated by literature showing that the heaviness of the tails (measured by the "tail-index") in SGD iterates is correlated with generalization, we study the tail-index and provide theoretical results demonstrating how it varies with stepsize scheduling. Our results bring a new understanding of the benefits of cyclic and randomized stepsizes compared to constant stepsize in terms of tail behavior. We illustrate our theory on linear regression experiments and show through deep learning experiments that Markovian stepsizes can achieve even heavier tails and be a viable alternative to cyclic and i.i.d. randomized stepsize rules.
Introduction
In modern deep learning, the choice of learning rate (stepsize) schedule is critical for model performance. Practitioners often favor non-constant schedules—such as cyclic learning rates or random jitter—because they frequently lead to better generalization than a fixed stepsize. However, the underlying mechanism for this improvement has been largely empirical.
Recent research suggests that the success of Stochastic Gradient Descent (SGD) is linked to the "heaviness" of the tails in its iterate distribution. "Heavy tails" imply that the algorithm occasionally makes large jumps, which can help it escape sharp local minima in favor of flatter, more robust regions of the loss landscape. This heaviness is quantified by the tail-index ($\alpha$), where a smaller $\alpha$ indicates a heavier tail. This paper investigates whether cyclic and randomized stepsizes inherently induce heavier tails compared to constant stepsizes.
Theoretical Framework: Markovian Stepsizes
The authors introduce a unifying framework of Markovian stepsizes, which encompasses several common strategies:
- Constant stepsize: A fixed learning rate.
- Cyclic stepsize: A deterministic sequence (e.g., triangular or cosine waves).
- i.i.d. random stepsize: Learning rates sampled independently from a fixed distribution at each step.
Analyzing these schedules is mathematically challenging because the stepsize varies over time. To address this, the authors employ regeneration times—identifying points where the stepsize sequence effectively "restarts." This allows the application of renewal theory to analyze the long-term behavior of the SGD iterates. While the rigorous proofs focus on linear regression (quadratic loss), the insights provide a foundation for understanding more complex models.
Key Insights and Results
The study reveals a clear hierarchy in tail heaviness based on the stepsize schedule.
The Hierarchy of Tails
The theoretical analysis proves that Markovian > i.i.d. Random > Cyclic > Constant. Specifically, moving from a fixed stepsize to a randomized or Markovian schedule strictly decreases the tail-index $\alpha$, thereby making the tails heavier. This suggests that non-constant schedules encourage more aggressive exploration of the loss landscape.
Factors Influencing Tail Heaviness
- Coarseness: For cyclic or randomized schedules, a wider range of learning rates or a "coarser" grid of values leads to heavier tails.
- Batch Size and Dimension: Decreasing the batch size or increasing the model's dimensionality generally results in heavier tails, provided the tail-index is not already extremely small.
- Markovian Advantage: Markovian stepsizes, where the next learning rate depends on the current one, can achieve heavier tails than purely independent random stepsizes.
Empirical Validation
The theory was tested across three domains:
- Synthetic Linear Regression: Confirmed the mathematical formulas for the tail-index.
- MNIST (3-layer MLP): Demonstrated that schedules with lower tail-indices consistently achieved better test accuracy. A Markovian stepsize ($p=0.5$) produced the heaviest tail ($\alpha = 1.51$) and the best performance.
- CIFAR-10 (VGG-11): Validated that the correlation between heavy tails and improved generalization holds for modern convolutional architectures.
Conclusion
This work provides a theoretical justification for the empirical success of non-constant learning rate schedules. By showing that cyclic and randomized stepsizes induce heavier tails in the SGD process, the authors link stepsize scheduling directly to the algorithm's ability to navigate complex loss landscapes. While the rigorous proofs are currently limited to quadratic losses, the empirical alignment with deep learning tasks suggests that tail-index analysis is a powerful tool for understanding and designing better optimization strategies. Future research may extend these findings to non-convex losses and develop adaptive Markovian rules to optimize generalization in real-time.
Summary updated