Skip to main content
QUICK REVIEW

[Paper Review] Robust Learning Rate Selection for Stochastic Optimization via Splitting Diagnostic

Matteo Sordello, Dalmasso, Niccolò|arXiv (Cornell University)|Oct 18, 2019
Stochastic Gradient Optimization TechniquesComputer Science31 references7 citations
TL;DR

This paper proposes SplitSGD, a robust learning rate scheduling method for stochastic optimization that dynamically reduces the learning rate when stationarity is detected via a novel splitting diagnostic. By comparing gradients from two independent SGD threads, it identifies when iterates are bouncing near a local minimum and adapts the learning rate without additional computational cost, achieving superior convergence and generalization—especially in non-convex settings like deep neural networks—compared to Adam and standard SGD.

ABSTRACT

This paper proposes SplitSGD, a new dynamic learning rate schedule for stochastic optimization. This method decreases the learning rate for better adaptation to the local geometry of the objective function whenever a stationary phase is detected, that is, the iterates are likely to bounce at around a vicinity of a local minimum. The detection is performed by splitting the single thread into two and using the inner product of the gradients from the two threads as a measure of stationarity. Owing to this simple yet provably valid stationarity detection, SplitSGD is easy-to-implement and essentially does not incur additional computational cost than standard SGD. Through a series of extensive experiments, we show that this method is appropriate for both convex problems and training (non-convex) neural networks, with performance compared favorably to other stochastic optimization methods. Importantly, this method is observed to be very robust with a set of default parameters for a wide range of problems and, moreover, can yield better generalization performance than other adaptive gradient methods such as Adam.

Motivation & Objective

  • Address the challenge of selecting an optimal learning rate in stochastic optimization, which critically affects convergence and generalization.
  • Overcome the limitations of fixed or heuristic learning rate schedules that are sensitive to hyperparameter choices.
  • Develop a method that detects stationary phases (near local minima) automatically and adapts the learning rate accordingly.
  • Ensure robustness across diverse problems, including convex and non-convex objectives, with minimal tuning.
  • Improve generalization performance compared to adaptive methods like Adam, particularly in deep learning settings.

Proposed method

  • SplitSGD runs two independent SGD threads initialized from the same parameter value using different random data samples.
  • At regular intervals, it computes the inner product (gradient coherence) between the averaged gradients of the two threads to assess stationarity.
  • A hypothesis test based on the proportion of negative inner products across multiple windows determines whether the system is in a stationary phase.
  • If the proportion of negative inner products exceeds a threshold $ q $, the method concludes stationarity and reduces the learning rate by a fixed factor.
  • The diagnostic uses a sliding window of $ l $ iterations and multiple diagnostic windows $ w $ to improve statistical reliability.
  • The learning rate decay is triggered only when stationarity is detected, preserving full gradient updates during non-stationary phases.

Experimental results

Research questions

  • RQ1Can a simple, low-cost diagnostic mechanism reliably detect when stochastic optimization has entered a stationary phase near a local minimum?
  • RQ2How does the proposed splitting diagnostic compare to existing stationarity detection methods in terms of accuracy and timing?
  • RQ3Does dynamic learning rate reduction based on stationarity detection lead to faster convergence and better generalization in both convex and non-convex problems?
  • RQ4To what extent is SplitSGD robust to initial learning rate choices across diverse optimization tasks?
  • RQ5Can SplitSGD outperform adaptive methods like Adam in deep learning benchmarks without requiring extensive hyperparameter tuning?

Key findings

  • SplitSGD detects stationarity with high accuracy using only the sign of gradient coherence between two independent SGD threads, requiring no additional computation beyond standard SGD.
  • The method achieves faster convergence and better generalization than Adam and standard SGD on both convex problems and deep neural networks like VGG19 trained on CIFAR-10.
  • In the VGG19 experiment, SplitSGD matched the test accuracy of manually tuned SGD but in fewer epochs, demonstrating improved sample efficiency.
  • SplitSGD is robust to initial learning rate choices, maintaining strong performance across a wide range of settings without requiring fine-tuning.
  • The splitting diagnostic outperforms the Pflug diagnostic in detecting stationarity earlier and more accurately, especially when starting far from the optimum.
  • The method exhibits a clear pattern of learning rate decay after accuracy spikes due to averaging, followed by smoothing from reduced step size, indicating effective adaptation to local geometry.

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.