Skip to main content
QUICK REVIEW

[Paper Review] Probabilistic Line Searches for Stochastic Optimization

Maren Mahsereci, Philipp Hennig|arXiv (Cornell University)|Feb 10, 2015
Gaussian Processes and Bayesian InferenceComputer Science29 references24 citations
TL;DR

This paper introduces a probabilistic line search for stochastic optimization that replaces manual learning rate tuning by modeling the objective function as a Gaussian process and using Bayesian inference to probabilistically assess Wolfe conditions. The method achieves near-optimal performance across diverse initial learning rates with minimal computational overhead, effectively eliminating the need for hyperparameter tuning in stochastic gradient descent (SGD).

ABSTRACT

In deterministic optimization, line searches are a standard tool ensuring stability and efficiency. Where only stochastic gradients are available, no direct equivalent has so far been formulated, because uncertain gradients do not allow for a strict sequence of decisions collapsing the search space. We construct a probabilistic line search by combining the structure of existing deterministic methods with notions from Bayesian optimization. Our method retains a Gaussian process surrogate of the univariate optimization objective, and uses a probabilistic belief over the Wolfe conditions to monitor the descent. The algorithm has very low computational cost, and no user-controlled parameters. Experiments show that it effectively removes the need to define a learning rate for stochastic gradient descent.

Motivation & Objective

  • To address the critical challenge of learning rate selection in stochastic gradient descent (SGD), which significantly impacts convergence and performance.
  • To extend the deterministic line search framework—effective in noise-free optimization—into noisy, stochastic settings where traditional methods fail due to gradient uncertainty.
  • To develop a parameter-free, lightweight algorithm that automatically adapts step sizes in SGD without requiring user-defined hyperparameters or auxiliary statistics.
  • To stabilize SGD in practice by ensuring sufficient decrease and curvature conditions through a probabilistic belief over Wolfe conditions, even with noisy gradients.
  • To demonstrate that the method achieves performance comparable to optimally tuned SGD across multiple datasets and architectures without exploratory hyperparameter tuning.

Proposed method

  • The method models the univariate line search objective along a search direction as a Gaussian process, enabling uncertainty-aware optimization over step sizes.
  • It maintains a probabilistic belief over whether a candidate step satisfies the Armijo (sufficient decrease) and curvature (non-stagnation) conditions of the Wolfe criteria.
  • The algorithm uses Bayesian inference to update beliefs about acceptable steps based on function and gradient evaluations, avoiding hard decisions under noise.
  • It employs a sequential design: initial extrapolation to find a point with positive gradient, followed by interpolation and interval nesting using probabilistic confidence bounds.
  • The line search is implemented as a lightweight, black-box subroutine with no user-controlled parameters, suitable for integration with any stochastic optimization method.
  • Computational cost is minimal—averaging ~1.4 function evaluations per line search—making it scalable to high-dimensional problems.

Experimental results

Research questions

  • RQ1Can a probabilistic line search be constructed that reliably identifies acceptable step sizes in stochastic optimization despite noisy gradients?
  • RQ2Can such a method eliminate the need for manual learning rate tuning in SGD while maintaining or improving convergence performance?
  • RQ3How does the performance of the probabilistic line search compare to optimally tuned SGD across different initial learning rates and datasets?
  • RQ4To what extent does the method adapt step sizes dynamically during training, reflecting the empirical need for learning rate scheduling?
  • RQ5What is the computational overhead of the method, and how does it scale with problem dimensionality?

Key findings

  • The probabilistic line search achieved test errors comparable to the best-tuned SGD instances across both MNIST and CIFAR-10 datasets, regardless of the initial learning rate.
  • Across five orders of magnitude of initial learning rate values, the method consistently stabilized training and reached near-optimal performance without any manual tuning.
  • The average line search required only 1.4 function evaluations per iteration, with 80–90% terminating after the first evaluation, indicating high efficiency and rapid convergence.
  • The method effectively eliminated the need for exploratory hyperparameter searches, as a single run with α₀ = 1.0 achieved performance on par with the best-tuned SGD configurations.
  • The average time overhead per line search was approximately 48ms, independent of problem dimensionality, suggesting strong potential for optimization in production settings.
  • The algorithm dynamically adjusted step sizes over time, reflecting non-trivial adaptation consistent with the need for learning rate scheduling in practice.

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.