Skip to main content
QUICK REVIEW

[Paper Review] Speed learning on the fly

Pierre-Yves Massé, Yann Ollivier|arXiv (Cornell University)|Nov 8, 2015
Stochastic Gradient Optimization TechniquesComputer Science8 references5 citations
TL;DR

This paper proposes an online, adaptive step size method for stochastic gradient descent (SGD) and related algorithms by treating the learning rate as a hyperparameter to be optimized in real time. It uses a gradient ascent on the step size itself, computed efficiently via backpropagation through the optimization trajectory, enabling automatic adaptation without full backward passes, and achieves superior performance across multiple models with minimal hyperparameter tuning.

ABSTRACT

The practical performance of online stochastic gradient descent algorithms is highly dependent on the chosen step size, which must be tediously hand-tuned in many applications. The same is true for more advanced variants of stochastic gradients, such as SAGA, SVRG, or AdaGrad. Here we propose to adapt the step size by performing a gradient descent on the step size itself, viewing the whole performance of the learning trajectory as a function of step size. Importantly, this adaptation can be computed online at little cost, without having to iterate backward passes over the full data.

Motivation & Objective

  • To address the critical sensitivity of online stochastic gradient descent to manual hyperparameter tuning of the learning rate.
  • To develop a method that automatically adapts the step size during training to maximize cumulative objective performance.
  • To enable online, low-cost adaptation of the learning rate without requiring backward passes over the entire dataset.
  • To extend the approach to advanced variants like SVRG and SAGA, improving convergence and robustness.

Proposed method

  • The method formulates the learning rate as a hyperparameter and performs gradient ascent on it using the derivative of the cumulative objective function with respect to the step size.
  • It computes the derivative ∂/∂η ℓₜ(θₜ(η)) via a recursive update of the Hessian and gradient terms along the training trajectory.
  • A practical approximation is introduced using a memory-weighted gradient update, inspired by [SZL13], to prioritize recent step sizes and reduce computational cost.
  • The algorithm is extended to SVRG by adapting the update rule to account for variance-reduced gradient estimates.
  • The approach uses a logarithmic parameterization of the step size to stabilize updates and improve numerical behavior.
  • The method avoids full backward passes by computing gradients through the optimization path using a chain rule on the sequence of parameter updates.

Experimental results

Research questions

  • RQ1Can the learning rate be automatically optimized during online training without manual tuning or full backward passes?
  • RQ2How can the gradient of the cumulative objective with respect to the step size be efficiently computed in an online setting?
  • RQ3Does adaptive step size selection via gradient ascent on the learning rate improve convergence and performance across different models and algorithms?
  • RQ4Can the method be extended to variance-reduced stochastic optimization methods like SVRG?
  • RQ5What is the impact of using a memory-weighted gradient update on the stability and performance of the adaptive learning rate?

Key findings

  • The proposed method, SG/SG, achieves significantly better performance than standard SGD with fixed learning rates across all tested models, including one-dimensional Gaussian, Bernoulli, and 50-dimensional linear regression.
  • The adaptive learning rate scheme reduces sensitivity to initial hyperparameter choice, enabling robust performance without manual tuning.
  • The method successfully extends to SVRG, demonstrating improved convergence and stability compared to fixed-step-size variants.
  • Theoretical analysis confirms that the update rule approximates a true gradient ascent on the learning rate in the space of step size sequences.
  • The memory-weighted variant (SG/AG) improves performance by prioritizing recent step size adjustments, leading to faster adaptation and better final objective values.
  • Empirical results show that the adaptive method outperforms both fixed learning rate SGD and AdaGrad in terms of cumulative objective value and convergence speed.

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.