Abstract
Researchers from UC Berkeley have developed a new stochastic version of the L-BFGS optimization algorithm that achieves a linear convergence rate for strongly convex functions. By combining the curvature-capturing power of quasi-Newton methods with the noise-reduction benefits of variance-reduced gradients (SVRG), this algorithm offers high-precision solutions and remarkable robustness to step-size selection.
Introduction
In large-scale machine learning, optimization often involves a trade-off between speed, scalability, and precision. First-order methods like Stochastic Gradient Descent (SGD) scale well but suffer from high variance near the optimum, requiring decaying step sizes. Conversely, second-order methods like Newton’s method converge rapidly but are computationally prohibitive in high dimensions due to Hessian inversion. Quasi-Newton methods like L-BFGS attempt to bridge this gap by approximating the Hessian using gradient information. However, stochastic L-BFGS variants are notoriously unstable because curvature updates can be easily corrupted by gradient noise. This paper introduces Stochastic L-BFGS (SLBFGS), a variant designed to be stable and theoretically guaranteed to converge linearly to the global optimum.
Methodology
The SLBFGS algorithm integrates two primary components to ensure stability and speed:
- Variance Reduction (SVRG): The algorithm utilizes the Stochastic Variance Reduced Gradient approach, occasionally computing a full gradient to "anchor" the optimization and correct noise in subsequent minibatch updates. This allows for a constant step size.
- Decoupled Hessian Estimation: Unlike standard L-BFGS, which uses differences between successive gradients, SLBFGS computes Hessian-vector products on a separate minibatch to stabilize curvature estimates.
- Two-Loop Structure: An inner loop performs $m$ iterations of variance-reduced updates, while an outer loop updates the inverse Hessian approximation ($H_r$) every $L$ iterations using the average direction of movement.
Experimental Evaluation
The authors evaluated SLBFGS on three large-scale datasets: Millionsong (ridge regression, ~460k points), RCV1 (SVM classification, ~7.8M points), and Netflix (non-convex matrix completion, ~100M points).
On Millionsong and RCV1, SLBFGS reached high precision significantly faster than SVRG, SGD, or previous stochastic quasi-Newton variants (SQN). In the non-convex Netflix problem, SLBFGS successfully escaped stationary points near initialization where first-order methods stalled, finding a superior optimum.
Key Insights and Robustness
A defining characteristic of SLBFGS is its robustness to hyperparameter selection. While methods like SGD and SVRG are highly sensitive to the choice of step size, SLBFGS maintains consistent performance across several orders of magnitude.
By using the average direction over $2L$ iterations for Hessian updates, the algorithm avoids the erratic behavior typical of other stochastic quasi-Newton methods. Although SLBFGS incurs more computation per data pass due to full gradients and Hessian-vector products, its efficiency in terms of total passes required for convergence makes it highly competitive.
Conclusion and Future Work
SLBFGS provides a rigorous theoretical framework for linear convergence in stochastic quasi-Newton optimization. While the theoretical constants scale conservatively with dimensionality, empirical results demonstrate its practical superiority. Future research may explore achieving superlinear convergence in a stochastic setting or reducing the computational overhead of Hessian-vector products.
Summary updated