Skip to main content
QUICK REVIEW

[Paper Review] Gradient-only line searches: An Alternative to Probabilistic Line Searches

Dominic Kafka, Daniël N. Wilke|arXiv (Cornell University)|Mar 22, 2019
Robotics and Sensor-Based LocalizationEngineering38 references11 citations
TL;DR

This paper proposes Gradient-Only Line Searches that are Inexact (GOLS-I), a computationally efficient method to automatically determine learning rates in stochastic neural network training without using surrogates or function value estimates. By detecting sign changes in the directional derivative to locate Stochastic Non-Negative Associated Gradient Projection Points (SNN-GPPs), GOLS-I adapts step sizes over 15 orders of magnitude and outperforms probabilistic line searches (PrLS) in large mini-batch settings, achieving superior training stability and convergence.

ABSTRACT

Step sizes in neural network training are largely determined using predetermined rules such as fixed learning rates and learning rate schedules. These require user input or expensive global optimization strategies to determine their functional form and associated hyperparameters. Line searches are capable of adaptively resolving learning rate schedules. However, due to discontinuities induced by mini-batch sub-sampling, they have largely fallen out of favour. Notwithstanding, probabilistic line searches, which use statistical surrogates over a limited spatial domain, have recently demonstrated viability in resolving learning rates for stochastic loss functions. This paper introduces an alternative paradigm, Gradient-Only Line Searches that are Inexact (GOLS-I), as an alternative strategy to automatically determine learning rates in stochastic loss functions over a range of 15 orders of magnitude without the use of surrogates. We show that GOLS-I is a competitive strategy to reliably determine step sizes, adding high value in terms of performance, while being easy to implement.

Motivation & Objective

  • To address the challenge of automatically determining optimal learning rates in stochastic neural network training, where traditional line searches fail due to discontinuities from mini-batch sub-sampling.
  • To develop a simpler, more efficient alternative to probabilistic line searches (PrLS), which rely on Gaussian process surrogates and variance estimates.
  • To enable robust, adaptive step size selection in dynamic mini-batch sub-sampling (dynamic MBSS) scenarios common in modern deep learning.
  • To demonstrate that gradient-only information—specifically directional derivative sign changes—can effectively locate minima in discontinuous loss functions.
  • To provide a practical, easy-to-implement alternative to PrLS that avoids costly surrogate modeling while maintaining high performance.

Proposed method

  • GOLS-I detects Stochastic Non-Negative Associated Gradient Projection Points (SNN-GPPs) by identifying sign changes from negative to positive in the directional derivative along a search direction.
  • It uses only gradient information from successive function evaluations along a descent direction, avoiding the need for function value estimates or surrogate models.
  • The method dynamically adjusts step sizes over a range of 15 orders of magnitude, from α_min = 10⁻⁸ to α_max = 10⁷, based on the location of SNN-GPPs.
  • It operates under dynamic mini-batch sub-sampling, where new mini-batches are sampled for each gradient evaluation, introducing discontinuities in the loss surface.
  • The algorithm is designed to be robust to sampling noise and discontinuities, treating sign changes in the directional derivative as indicators of local minima.
  • It is implemented as a functional line search in discontinuous loss functions, requiring no variance estimation or probabilistic modeling.

Experimental results

Research questions

  • RQ1Can gradient-only information be sufficient to determine effective step sizes in stochastic, discontinuous loss functions arising from dynamic mini-batch sub-sampling?
  • RQ2How does GOLS-I compare to probabilistic line searches (PrLS) in terms of convergence speed, stability, and final performance across diverse deep learning problems?
  • RQ3Does GOLS-I maintain robustness and efficiency when applied to small versus large mini-batch sizes, particularly in comparison to PrLS?
  • RQ4Can GOLS-I reliably locate minima in discontinuous loss landscapes without using function value estimates or surrogate models?
  • RQ5Is GOLS-I a viable and practical alternative to PrLS in real-world deep learning training pipelines?

Key findings

  • GOLS-I successfully reduced the loss to 1×10⁻¹⁰ in isolated training runs and achieved zero training classification errors, whereas PrLS exhibited divergent behavior after approximately 1500 function evaluations.
  • For mini-batch sizes ≥100, GOLS-I consistently outperformed PrLS in terms of training convergence speed and final loss, demonstrating superior adaptability and step size selection.
  • PrLS performed better than GOLS-I with small mini-batch sizes (|ℬₙ,ᵢ| = 10), particularly on MNIST and CIFAR10, due to its use of additional variance estimates and conservative step size control.
  • GOLS-I achieved competitive or superior performance compared to manually tuned constant learning rates across all tested problems and architectures.
  • The method requires no surrogate modeling, variance estimation, or function value storage, making it computationally more efficient and easier to integrate into existing training frameworks than PrLS.
  • GOLS-I demonstrated dynamic re-adjustment of step sizes throughout training, adapting to changing loss function characteristics over 15 orders of magnitude in scale.

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.