Abstract
In this paper, we study the application of quasi-Newton methods for solving empirical risk minimization (ERM) problems defined over a large dataset. Traditional deterministic and stochastic quasi-Newton methods can be executed to solve such problems; however, it is known that their global convergence rate may not be better than first-order methods, and their local superlinear convergence only appears towards the end of the learning process. In this paper, we use an adaptive sample size scheme that exploits the superlinear convergence of quasi-Newton methods globally and throughout the entire learning process. The main idea of the proposed adaptive sample size algorithms is to start with a small subset of data points and solve their corresponding ERM problem within its statistical accuracy, and then enlarge the sample size geometrically and use the optimal solution of the problem corresponding to the smaller set as an initial point for solving the subsequent ERM problem with more samples. We show that if the initial sample size is sufficiently large and we use quasi-Newton methods to solve each subproblem, the subproblems can be solved superlinearly fast (after at most three iterations), as we guarantee that the iterates always stay within a neighborhood that quasi-Newton methods converge superlinearly. Numerical experiments on various datasets confirm our theoretical results and demonstrate the computational advantages of our method.
Introduction
Empirical Risk Minimization (ERM) is a cornerstone of machine learning, yet optimizing these problems over large datasets presents a trade-off between first-order and second-order methods. First-order methods like SGD are computationally inexpensive per iteration but suffer from slow convergence on ill-conditioned landscapes. Conversely, second-order methods like Quasi-Newton (QN) offer superlinear convergence but typically only in a local neighborhood near the optimum. Often, by the time a QN method reaches this "fast" regime, the optimization error is already below the statistical accuracy of the dataset, rendering the speedup moot. This paper addresses the challenge of exploiting superlinear convergence globally from the start of training without the prohibitive costs of full Hessian computations.
The AdaQN Framework
The proposed Adaptive Sample Size Quasi-Newton (AdaQN) algorithm bridges the gap between local superlinearity and global optimization. The core strategy involves solving a sequence of ERM problems with geometrically increasing sample sizes. By using the solution of a smaller problem as a "warm start" for a larger one, the algorithm ensures that the initial iterate for each sub-problem lies within the region of superlinear convergence for the next.
Specifically, AdaQN starts with a small subset $m_0$ and solves it to statistical accuracy. The sample size is then doubled ($n = 2m$), and the previous solution serves as the starting point. Theoretical analysis guarantees that each sub-problem requires at most three iterations to solve when using a constant step size of 1. Furthermore, the Hessian approximation is computed only once at the beginning, with subsequent updates performed via BFGS or DFP, significantly reducing overhead.
Computational Efficiency
A key contribution of AdaQN is its reduced arithmetic complexity compared to existing second-order adaptive methods. While previous approaches like "Ada Newton" required $O(\log N)$ matrix inversions and $O(N)$ Hessian evaluations, AdaQN reduces these to a single matrix inversion and $m_0$ Hessian computations.
This efficiency is further enhanced by the data-dependent parameter $s$. In scenarios where data features exhibit high variance disparity (small $s$), the algorithm becomes even more computationally advantageous.
Experimental Evaluation
The authors validated AdaQN across several datasets, including MNIST, GISETTE, Orange, and Epsilon. The results consistently showed:
- Superior Speed: AdaQN outperformed first-order methods (SGD, SAGA, Katyusha) and standard L-BFGS in both dataset passes and wall-clock time.
- Scalability: On high-dimensional datasets like GISETTE ($d=5000$) and Orange ($d=14000$), AdaQN maintained a significant lead over Ada Newton by avoiding frequent large-scale matrix inversions.
- Theoretical Alignment: Empirical observations confirmed that sub-problems were typically solved in 2-3 iterations, validating the "at most three" theoretical bound.
Conclusion
AdaQN successfully demonstrates that local superlinear convergence can be harnessed globally through an adaptive sample size strategy. While highly effective for strongly convex problems, future research is needed to extend these guarantees to non-convex landscapes, such as deep neural networks. Additionally, while the algorithm is robust to the choice of $m_0$ in practice, refining the theoretical bounds for the initial sample size remains a valuable direction for further optimization.
Summary updated