TL;DR
This paper provides the first convergence analysis for Newton-MR—a second-order optimization algorithm for non-convex problems—when using approximate or "noisy" Hessian information. The authors demonstrate that Newton-MR is remarkably resilient to crude Hessian approximations, allowing it to outperform first-order methods like SGD and Adam in large-scale machine learning tasks.
What Problem Does This Paper Address?
Second-order methods (like Newton’s method) are prized for their speed and robustness to ill-conditioned problems. However, they have two major "deal-breakers" for modern machine learning:
- Computational Cost: Calculating and inverting a full Hessian matrix ($d \times d$) is prohibitively expensive for large models.
- Non-Convexity: Classical Newton methods often fail or get "stuck" when the objective function isn't convex.
While researchers have developed "Inexact Newton" methods (using sub-sampled or sketched Hessians) for convex problems, the theory for non-convex settings is much thinner. This paper focuses on Newton-MR, a variant designed for "invex" problems (a broad class of non-convex functions where every stationary point is a global minimum). The authors ask: Can we use cheap, approximate Hessians with Newton-MR and still guarantee it will converge?
Methods
The authors analyze Algorithm 1: Newton-MR with Inexact Hessian Information. Instead of the exact Hessian $H$, the algorithm uses an approximation $\tilde{H} = H + E$, where $E$ represents the error (perturbation).
Key technical components include:
- Sub-sampled Hessians: In finite-sum problems (like training a neural net), they estimate the Hessian using only a small fraction of the data points.
- MINRES-QLP: Since the approximate Hessian might be singular or indefinite, they use the MINRES-QLP solver to find the "least-norm" solution to the sub-problem.
- Matrix Perturbation Theory: Unlike standard analysis that relies on the "Löwner partial order" (which only works for convex/positive-definite matrices), this paper uses perturbation theory to measure the distance between the subspaces (range spaces) of the true and approximate Hessians.
- Moral-Smoothness: They utilize a relaxed smoothness assumption that doesn't require the Hessian to be Lipschitz continuous, making the theory applicable to a wider range of functions.
Datasets
The authors evaluated their approach on several standard benchmarks for classification and mixture modeling:
- MNIST: The classic handwritten digit dataset.
- CIFAR10: A popular image classification dataset.
- HAPT: The Human Activity Recognition Using Smartphones (Transitions) dataset.
- Synthetic Gaussian Mixture Models (GMM): Used to test the algorithm on non-invex landscapes with saddle points.
Key Insights and Ideas
- Inherent Stability: The "aha" moment of the paper is the discovery that Newton-MR is "inherently stable." Even if the pseudo-inverse of a perturbed Hessian grows very large (a common problem when matrices are nearly singular), the action of that pseudo-inverse on the gradient remains bounded under favorable conditions.
- Subspace Alignment: The algorithm's success depends on the "angle" between the gradient and the range space of the Hessian. As long as the approximation doesn't wildly rotate the Hessian's range space away from the gradient, the descent direction remains effective.
- Robustness vs. Newton-CG: Newton-MR is significantly more robust to crude approximations than the popular Newton-CG. While Newton-CG requires very accurate (and thus expensive) Hessian estimates to stay stable, Newton-MR can converge even with very small sub-samples.
Key Results
- Theoretical Guarantees: The authors prove both global convergence (getting to a stationary point from anywhere) and local convergence rates for Newton-MR with inexact Hessians.
- Efficiency: In experiments on Softmax regression, sub-sampled Newton-MR converged faster than first-order methods (SGD, Adam, RMSProp) in terms of "oracle calls" (total computations of gradients/Hessian-vector products).
- Crude Approximations Work: On the MNIST and HAPT datasets, Newton-MR showed almost uniform performance even when the Hessian was estimated using as little as 1% of the data, whereas Newton-CG’s performance degraded rapidly as the approximation became coarser.
Limitations and Future Work
- The Invex Assumption: While the theory is built for invex functions, many deep learning landscapes are more complex. Although the authors showed success on Gaussian Mixture Models (which are not strictly invex), a broader theory for general non-convex landscapes is still needed.
- Rank Changes: The analysis is most powerful when the perturbation is "acute" (doesn't change the rank of the Hessian). When the rank changes, the bounds become more pessimistic, suggesting there is still room to tighten the theory for very noisy regimes.
- Hyper-parameter Tuning: While second-order methods generally require less tuning than SGD, the inexactness tolerance ($\theta$) and the sub-sample size ($s$) still represent new parameters that need to be managed.
Summary updated