In machine learning, optimizing models often involves solving Empirical Risk Minimization (ERM) problems—minimizing the average loss over a finite dataset. While simple first-order methods like Stochastic Gradient Descent (SGD) are the industry standard, they struggle with "ill-conditioned" problems where the loss landscape is stretched out, leading to slow convergence.
Second-order methods, such as Newton’s method, handle these challenging landscapes much better by utilizing curvature information via the Hessian matrix. However, they suffer from two major flaws. First, calculating and inverting a Hessian matrix is incredibly expensive for high-dimensional data. Second, the lightning-fast "superlinear" convergence of these methods typically only occurs locally—when the algorithm is already very close to the optimal solution. For most of the training process, they aren't significantly faster than basic gradient descent.
To address this, researchers have introduced AdaQN (Adaptive Sample Size Quasi-Newton), an algorithm designed to force the superlinear speed of quasi-Newton methods to work throughout the entire training process, without the massive computational overhead.
The Adaptive Sample Size Approach
The core innovation of AdaQN is its adaptive sample size schedule. Instead of attacking the full dataset of $N$ samples immediately, AdaQN follows a strategic progression:
- Start Small: The algorithm begins with a small subset of data ($m_0$) and solves it to its statistical accuracy.
- Grow Geometrically: The sample size is doubled ($n \leftarrow 2n$) at each subsequent phase.
- Warm Start: The solution from the previous, smaller dataset is used as the starting point for the new, larger dataset.
The authors prove a crucial "sweet spot" guarantee: if the initial sample size $m_0$ is large enough, the warm start from the previous phase will always land the algorithm inside the superlinear convergence neighborhood of the next phase. By staying in this optimal zone, the algorithm can use a constant step size ($\eta = 1$) and skip expensive line searches entirely.
Computational Efficiency
Unlike previous "Adaptive Newton" methods that require re-computing and inverting the Hessian at every stage, AdaQN uses the BFGS update and requires only one initial matrix inversion at the very beginning.
As shown in the complexity comparison, AdaQN drastically reduces the computational burden. While Ada Newton requires $\mathcal{O}(\log N)$ matrix inversions and $\mathcal{O}(N)$ Hessian computations, AdaQN requires only a single matrix inversion and an initial Hessian computation bounded by $m_0$. A surprising insight from the paper is that this initial Hessian approximation from the smallest dataset contains enough structural information to guide the algorithm through much larger datasets, provided the samples come from the same distribution.
Key Insights and Results
The authors evaluated AdaQN on four diverse benchmarks (MNIST, GISETTE, Orange, and Epsilon) to test performance across different scales and dimensionalities. The results highlighted several key advantages:
- The Power of Three: Theoretically, because the iterates stay in the superlinear neighborhood, each subproblem can be solved in at most three iterations.
- Statistical Accuracy vs. Optimization Error: The algorithm avoids optimizing subproblems to infinite precision, stopping once the optimization error is smaller than the statistical noise of that specific sample size.
- Robustness to Ill-Conditioning: On the highly ill-conditioned Epsilon dataset (condition number $\kappa \approx 10^4$), AdaQN showed a massive performance gap over first-order methods like Katyusha and SAGA. First-order methods slow down as $\kappa$ increases, but AdaQN’s iteration count per subproblem remains constant.
- Overall Speedup: AdaQN significantly outperformed standard BFGS, L-BFGS, and stochastic quasi-Newton (SQN) methods in both the number of data passes and actual wall-clock runtime.
Limitations and Future Work
While AdaQN presents a significant leap forward, it has a few limitations. The theoretical guarantees require a sufficiently large initial sample size ($m_0$) to ensure the algorithm lands in the superlinear neighborhood. While experiments show robustness even with smaller $m_0$ values, finding the optimal starting size remains somewhat empirical. Furthermore, the current proofs rely on the problem being strongly convex and self-concordant (like Logistic Regression). Extending this global superlinear logic to non-convex landscapes, such as deep neural networks, remains a major open challenge for future research.
Summary updated