Statistical Adaptive Stochastic Gradient Methods

Pengchuan Zhang, Hunter Lang, Qiang Liu, Lin XiaoarXiv 2020

Introduction

In the optimization of deep neural networks, the learning rate (or step size) is arguably the most critical hyperparameter. A learning rate that is too large leads to instability and divergence, while one that is too small results in prohibitively slow convergence. The current industry standard relies on "constant-and-cut" schedules—manually defined regimes where a high initial rate is dropped by a factor (typically 10) at fixed intervals. This process is often dubbed a "black art" because it requires expensive grid searches to find the starting point and arbitrary heuristics to decide when to drop the rate.

The SALSA Framework

To eliminate this manual tuning, we introduce SALSA (Stochastic Approximation with Line-search and Statistical Adaptation). SALSA automates the learning rate schedule through a two-phase process that adapts to the actual state of the optimization rather than following a fixed chronological clock.

  1. SSLS (Smoothed Stochastic Line-Search): Instead of requiring a perfectly tuned initial learning rate, SALSA begins with an arbitrary, small value. The SSLS phase employs a modified Armijo line-search on minibatches, smoothed via an exponential moving average. This allows the learning rate to "warm up," automatically discovering the highest stable plateau for the specific model and dataset.
  2. SASA+ (Statistical Adaptive Stochastic Approximation+): Once the learning rate reaches a stable plateau, the algorithm monitors for stationarity. By applying a rigorous statistical test to the relationship between parameters and search directions, SASA+ detects when the model has reached a stationary distribution—essentially bouncing around a local minimum without making further progress. When this state is detected, the learning rate is automatically reduced.
Figure 1: Conceptual overview of the SALSA framework, showing the initial SSLS warm-up phase followed by the SASA+ statistical drop phase.

Key Insights and Robustness

A defining characteristic of SALSA is its robustness to initialization. Traditional SGD is highly sensitive to the starting learning rate; however, the SSLS phase in SALSA quickly drives the rate to the same optimal plateau regardless of whether the initial value is $10^{-1}$ or $10^{-3}$. This effectively removes the need for an initial grid search.

Furthermore, SALSA shifts the logic of learning rate drops from chronology to geometry. Rather than dropping the rate at a pre-defined epoch (e.g., epoch 30), SALSA drops the rate only when the geometry of the loss landscape indicates that the current step size can no longer yield meaningful progress. This statistical rigor ensures that the schedule is tailored to the specific optimization path of the model.

Experimental Results

We evaluated SALSA against expertly hand-tuned schedules (SHB-hand) and popular adaptive methods like Adam across several benchmarks, including CIFAR-10 and ImageNet using ResNet18 architectures.

Figure 3: Performance comparison on CIFAR-10 (left) and ImageNet (right). SALSA matches the accuracy of hand-tuned schedules across various initial learning rates (alpha_0).

As shown in the results, SALSA achieves test accuracies on par with (and sometimes exceeding) painstakingly tuned manual schedules. On CIFAR-10, it reaches ~95% accuracy, and on ImageNet, it tracks the performance of expert benchmarks closely. Notably, the computational overhead is minimal; while the line-search adds extra function evaluations, it is primarily active during the early stages of training, resulting in a total wall-clock time increase of only about 15%—a small price to pay for eliminating manual hyperparameter tuning.

Conclusion and Limitations

SALSA provides a mathematically grounded, automated alternative to manual learning rate scheduling. While it demonstrates high sensitivity to its own internal parameters (like confidence levels), it remains robust across diverse tasks. Future work includes extending the theoretical analysis to non-smooth loss functions (common with ReLU activations) and refining the statistical triggers to prevent overfitting on smaller datasets where validation-set heuristics may still be necessary.

Summary updated

BibTeX
@misc{zhang2020statistical,
  author = {Pengchuan Zhang and Hunter Lang and Qiang Liu and Lin Xiao},
  title = {{Statistical Adaptive Stochastic Gradient Methods}},
  year = {2020},
  eprint = {2002.10597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.10597},
}
Figure