TL;DR
This paper provides the first formal proof of global convergence for the Online Limited Memory BFGS (oLBFGS) algorithm, a stochastic quasi-Newton method. The authors demonstrate that oLBFGS effectively handles ill-conditioned optimization problems in large-scale machine learning, achieving significantly faster convergence than Stochastic Gradient Descent (SGD) in both data processed and wall-clock time.
What Problem Does This Paper Address?
In machine learning, we often solve optimization problems by minimizing a stochastic objective function (an expectation over data). Stochastic Gradient Descent (SGD) is the industry standard because it is computationally cheap per iteration. However, SGD struggles with "ill-conditioned" problems—where the objective function has a challenging curvature (like a long, narrow valley). In these cases, SGD takes a very long time to converge.
Standard "Second-Order" methods like Newton’s method use Hessian (curvature) information to navigate these valleys quickly, but they are too expensive for high-dimensional data. Quasi-Newton methods like BFGS approximate this curvature using only gradients. While an "online" version of BFGS exists, it often suffers from numerical instability (singular Hessian estimates) and high memory costs ($O(n^2)$). The limited-memory version, oLBFGS, was known to work well in practice, but it lacked a rigorous theoretical guarantee of convergence—until this paper.
Methods
The authors analyze the oLBFGS algorithm, which combines two key ideas:
- Stochastic Quasi-Newton Updates: It uses stochastic gradients (calculated on small batches of data) to update both the optimization variable and the Hessian approximation.
- Limited Memory (L-BFGS): Instead of storing a full $n \times n$ matrix, it approximates the Hessian using a sliding window of the last $\tau$ gradient variations. This reduces the computational cost per iteration to $O(\tau n)$, making it linear with respect to the number of features.
The Theoretical Contribution: The core of the paper is proving that if the sample functions are strongly convex, the eigenvalues of the approximated Hessian remain bounded. This prevents the "noise amplification" that causes other online BFGS variants to fail. They prove that oLBFGS converges to the optimal solution with probability 1.
Datasets
The authors evaluated the algorithm using:
- Synthetic SVM Data: Used to compare oLBFGS against SGD, regularized stochastic BFGS (RES), and Stochastic Average Gradient (SAG) across different dimensions ($n=10^2$ and $n=10^3$).
- Tencent Search Engine Advertising Dataset: A real-world large-scale dataset for Click-Through Rate (CTR) prediction. It features a heterogeneous feature vector with 174,026 binary entries, representing a highly sparse and high-dimensional practical application.
Key Insights and Ideas
- Adaptive Reconditioning: The authors argue that oLBFGS is best viewed as an "adaptive reconditioning" strategy. It doesn't change the fundamental asymptotic convergence rate—which remains $O(1/t)$ due to stochastic noise—but it dramatically improves the constant factor by straightening out the optimization landscape.
- Stability through Bounds: The "aha moment" in the proof is showing that the trace and determinant of the curvature approximation matrices are strictly bounded. This ensures the algorithm never gets "stuck" due to an infinitely large or small step size caused by poor curvature estimates.
- Efficiency in High Dimensions: Because the cost is $O(\tau n)$, the advantage of oLBFGS over full-matrix methods (like oBFGS or RES) grows as the number of features $n$ increases.
Key Results
- Data Efficiency: On the Tencent advertising problem, oLBFGS required less than 1% of the data that SGD needed to reach the same level of classification accuracy.
- Speed: In numerical experiments with $n=10^3$ features, oLBFGS was nearly an order of magnitude faster in wall-clock time than SGD and SAG to reach a target objective value.
- Robustness: Unlike standard oBFGS, which can behave erratically due to noise, oLBFGS showed stable numerical behavior across all experiments, confirming the theoretical bounds derived by the authors.
Limitations and Future Work
- Strong Convexity Requirement: The convergence proof relies on the assumption that the instantaneous functions are strongly convex. While many ML problems (like L2-regularized logistic regression) satisfy this, many modern deep learning problems do not.
- Asymptotic Rate: As noted by the authors, oLBFGS does not beat the $O(1/t)$ rate of SGD. The stochastic noise eventually dominates the second-order information. Future work could explore combining oLBFGS with variance reduction techniques (like SVRG) to potentially achieve a linear convergence rate.
- Step-size Sensitivity: Like most stochastic methods, the performance still depends on choosing a good initial step size and decay schedule.
Summary updated