Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Gradient Descent: Going As Fast As Possible But Not Faster

Alice Schoenauer Sebag, Marc Schoenauer|arXiv (Cornell University)|Sep 5, 2017
Stochastic Gradient Optimization TechniquesComputer Science28 references10 citations
TL;DR

This paper proposes SALeRA, a novel adaptive learning rate method for stochastic gradient descent (SGD) that dynamically adjusts the learning rate using two statistical tests: one to accelerate learning when gradient directions align, and another to detect and recover from catastrophic training failures via the Page-Hinkley change point test. SALeRA reduces failure rates by 40% compared to baseline methods while matching or exceeding state-of-the-art performance on MNIST and CIFAR-10 benchmarks.

ABSTRACT

When applied to training deep neural networks, stochastic gradient descent (SGD) often incurs steady progression phases, interrupted by catastrophic episodes in which loss and gradient norm explode. A possible mitigation of such events is to slow down the learning process. This paper presents a novel approach to control the SGD learning rate, that uses two statistical tests. The first one, aimed at fast learning, compares the momentum of the normalized gradient vectors to that of random unit vectors and accordingly gracefully increases or decreases the learning rate. The second one is a change point detection test, aimed at the detection of catastrophic learning episodes; upon its triggering the learning rate is instantly halved. Both abilities of speeding up and slowing down the learning rate allows the proposed approach, called SALeRA, to learn as fast as possible but not faster. Experiments on standard benchmarks show that SALeRA performs well in practice, and compares favorably to the state of the art.

Motivation & Objective

  • To address the challenge of unstable training in deep neural networks caused by catastrophic explosions in loss and gradient norm during SGD.
  • To develop a learning rate adaptation strategy that enables fast convergence without triggering such catastrophic episodes.
  • To provide a principled, agnostic method for detecting and recovering from training failures in real time.
  • To reduce reliance on manual learning rate decay schedules that slow down training unnecessarily.
  • To improve robustness and performance on standard benchmarks like MNIST and CIFAR-10 without increasing hyperparameter sensitivity.

Proposed method

  • SALeRA uses the ALeRA procedure to compare the momentum of normalized gradient vectors with that of random unit vectors to determine whether to increase or decrease the learning rate.
  • When gradient direction agreement exceeds random levels, the learning rate is increased; otherwise, it is decreased.
  • A Page-Hinkley (PH) change point detection test monitors minibatch loss curves to detect sudden shifts indicating catastrophic episodes.
  • Upon PH test triggering, the learning rate is instantly halved and the model is restored to its previous state, enabling rapid recovery.
  • The method operates without prior knowledge of the loss landscape, making it agnostic to model or data distribution.
  • The approach is designed to be plug-and-play, compatible with existing optimizers like Adam, and can be tuned with minimal hyperparameters.

Experimental results

Research questions

  • RQ1Can a statistical test detect catastrophic training failures in SGD before they cause irreversible damage?
  • RQ2Can gradient direction correlation be used as a reliable signal to safely increase the learning rate?
  • RQ3Does a reactive recovery mechanism—immediately halving the learning rate upon failure detection—improve training robustness?
  • RQ4Can a combination of adaptive acceleration and reactive recovery outperform existing adaptive optimizers like Adam and NAG?
  • RQ5How does the choice of the Page-Hinkley threshold affect the balance between learning speed and failure avoidance?

Key findings

  • SALeRA reduces the failure rate of training runs (defined as test error >80% after 20 epochs) from 18.3% (ALeRA) to 11.7% on the tested benchmarks.
  • The method successfully salvages approximately 40% of runs that would otherwise fail, demonstrating strong resilience to catastrophic episodes.
  • Setting the Page-Hinkley threshold to 10% of the initial loss value provides the best balance between aggressive learning and failure prevention.
  • Using λ=100 or λ=1000 for the threshold reduces performance significantly, indicating that overly sensitive detection harms learning speed.
  • The optimal hyperparameters for SALeRA are α = 0.01 and C = 3×10⁻⁶, while Adam's optimal β1 and β2 values differ from the default settings (0.8 and 0.9999 vs. 0.9 and 0.999).
  • SALeRA achieves performance comparable to or better than state-of-the-art optimizers like Adam and NAG, even with minimal hyperparameter tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.