Abstract
We study stochastic Cubic Newton methods for solving general, possibly non-convex minimization problems. We propose a new framework, the helper framework, that provides a unified view of the stochastic and variance-reduced second-order algorithms equipped with global complexity guarantees; it can also be applied to learning with auxiliary information. Our helper framework offers the algorithm designer high flexibility for constructing and analyzing stochastic Cubic Newton methods, allowing arbitrary size batches and using noisy and possibly biased estimates of the gradients and Hessians, incorporating both the variance reduction and the lazy Hessian updates. We recover the best-known complexities for the stochastic and variance-reduced Cubic Newton under weak assumptions on the noise. A direct consequence of our theory is the new lazy stochastic second-order method, which significantly improves the arithmetic complexity for large dimension problems. We also establish complexity bounds for the classes of gradient-dominated objectives that include convex and strongly convex problems. For Auxiliary Learning, we show that using a helper (auxiliary function) can outperform training alone if a given similarity measure is small.
Introduction
In large-scale machine learning, first-order methods like Stochastic Gradient Descent (SGD) are the standard due to their low per-iteration computational cost. However, these methods often struggle with ill-conditioned problems and can become trapped near saddle points in non-convex landscapes. Second-order methods, particularly Cubic Newton (CN) methods, offer a theoretically superior alternative. By utilizing the Hessian matrix, they can navigate complex landscapes more efficiently and provide global convergence guarantees.
The primary barrier to adopting second-order methods is the "computational beast" of the Hessian: computing and factorizing it typically costs $d$ times more than a gradient update, where $d$ is the problem dimension. This paper bridges the gap between theoretical elegance and practical efficiency by introducing a unified framework that incorporates variance reduction and "lazy" Hessian updates.
The Helper Framework
The core contribution of this work is the Helper Framework. Instead of optimizing the objective $f(x)$ directly using exact derivatives, the algorithm utilizes "helper functions" ($h_1$ for gradients and $h_2$ for Hessians) that approximate $f$. This abstraction allows for several key optimizations:
- Snapshots and Variance Reduction: The algorithm periodically takes a "snapshot" of the state to perform variance reduction, ensuring that stochastic estimates do not drift significantly from the true gradient and Hessian.
- Lazy Hessian Updates: Recognizing that the Hessian often changes more slowly than the gradient, the framework allows for Lazy Hessian updates. Reusing an old Hessian for several iterations significantly reduces the per-step arithmetic complexity.
- Unified Analysis: The framework provides a single mathematical roof for analyzing non-convex, convex, and gradient-dominated (e.g., Polyak-Łojasiewicz) functions.
Complexity and Performance
A major result of this research is the identification of the $d \ge n^{2/3}$ threshold. In high-dimensional regimes where the dimension $d$ is large relative to the dataset size $n$, updating the Hessian at every step is computationally inefficient. The proposed VRCN-Lazy algorithm exploits this by combining variance reduction for gradients with lazy updates for Hessians.
As shown in the complexity comparison, VRCN-Lazy achieves state-of-the-art bounds. In practical experiments on datasets like a9a and MNIST, the lazy method matched the convergence precision of full variance-reduced methods while requiring significantly less wall-clock time and fewer total arithmetic operations. As the dimension $d$ increases, the efficiency gap between VRCN-Lazy and standard methods widens, as the latter must re-factorize the Hessian at every step.
Auxiliary Learning
Beyond computational speed, the Helper Framework extends to Auxiliary Learning. By using a related task or unlabeled data as a "helper function," the algorithm can reach the optimum using fewer expensive labeled samples, provided the helper is sufficiently similar to the main task.
Limitations and Future Work
While the framework is robust, it relies on knowing similarity constants between the helper and the objective, which can be difficult to estimate in practice. Future work involves developing more automated ways to choose snapshot frequencies and regularization parameters, as well as engineering more efficient inexact subproblem solvers for extremely high-dimensional applications.
Summary updated