Efficient Line Search Method Based on Regression and Uncertainty Quantification

Tomislav Prusina, Sören Laue

Efficient Line Search Method Based on Regression and Uncertainty Quantification

Abstract

Traditional line search methods in unconstrained optimization often discard valuable data from failed steps, leading to inefficiencies. This paper proposes a novel line search framework based on Bayesian Optimization (BO). By utilizing cubic spline interpolation and Gaussian uncertainty quantification, the method leverages all queried function values and gradients to select optimal step lengths. Experimental results on the CUTEst benchmark demonstrate that this approach achieves higher success rates and greater computational efficiency compared to standard algorithms like Moré-Thuente.

Introduction

In the field of unconstrained optimization, algorithms iteratively move toward a minimum by selecting a descent direction and determining an appropriate step length—a process known as line search. Standard techniques, such as the widely used Moré-Thuente algorithm, typically employ interval-refinement strategies to satisfy the Strong Wolfe conditions. However, these methods are "forgetful," discarding function values and gradients from points that fall outside the narrowing search interval. This loss of information can lead to suboptimal step selection and redundant computations, especially when the objective function is expensive to evaluate.

The Bayesian Optimization Framework

To address these limitations, the authors introduce a line search method grounded in Bayesian Optimization (BO). Unlike traditional BO, which can be computationally expensive in high dimensions, this one-dimensional implementation is designed to be lightweight and efficient.

  1. Probabilistic Modeling: The algorithm constructs a model of the objective function along the search ray using cubic spline interpolation. This model incorporates both function values and directional gradients, providing a high-fidelity local approximation with very few data points.
  2. Uncertainty Quantification: A Gaussian uncertainty estimate is added to the spline model. This uncertainty increases with the distance from known query points, ensuring the search does not prematurely converge to a local minimum.
  3. Acquisition Function: The next step length is determined by minimizing an acquisition function—specifically, the spline value minus the uncertainty. This mechanism naturally balances exploitation (sampling near predicted minima) and exploration (sampling in regions of high uncertainty).
Figure 1: Progression of the Bayesian Optimization line search over three iterations. The model (red dashed line) and uncertainty bounds (green dashed line) adapt as new points (orange dots) are queried along the true function (blue line).

Experimental Evaluation

The proposed method was integrated into the GENO solver and evaluated against established optimizers, including L-BFGS-B (using Moré-Thuente) and Ipopt (using filter line search), using the CUTEst benchmark suite. The test set comprised 285 large-scale, numerically challenging unconstrained problems representing real-world scenarios in machine learning and engineering.

Key Results

  • Robustness: The BO-based line search successfully solved 257 problems to optimality, surpassing L-BFGS-B (245), GENO with Moré-Thuente (242), and Ipopt (226).
  • Efficiency: In a head-to-head comparison with L-BFGS-B on 230 shared problems, the BO method required fewer function evaluations in approximately 63% of the cases (146 problems).
  • Global Awareness: The inclusion of uncertainty allows the algorithm to "jump" over local humps in the objective function. This allows it to identify deeper minima along the search ray that traditional interval-based methods might overlook by narrowing their focus too early.

Conclusion

By treating line search as a data-driven regression problem rather than a simple interval-refinement task, the proposed BO-based approach significantly improves optimization performance. Its ability to retain and utilize all available data makes it particularly well-suited for the complex, expensive objective functions common in modern machine learning. While numerical stability at high query counts remains a consideration, the method offers a robust, drop-in replacement for traditional line search modules in optimization libraries.

Summary updated

BibTeX
@inproceedings{prusina2024efficient,
  author = {Tomislav Prusina and Sören Laue},
  title = {{Efficient Line Search Method Based on Regression and Uncertainty Quantification}},
  booktitle = {LION},
  year = {2024},
  doi = {10.1007/978-3-031-75623-8\_26},
}
Figure