This paper, presented at NeurIPS 2022, introduces a more efficient way to solve the Cubic Regularization Subproblem (CRS), a core component of modern non-convex optimization. By replacing the computationally expensive requirement for a full matrix spectrum with an Approximate Secular Equation (ASE), the authors provide a "matrix-free" solver that is both theoretically grounded and practically faster for high-dimensional problems.
TL;DR
The authors propose a novel solver for the cubic regularization subproblem that avoids the $O(n^3)$ cost of full eigendecomposition by using only a few of the Hessian's smallest eigenvalues. Their "Approximate Secular Equation" (ASEM) method provides rigorous theoretical error bounds and significantly outperforms state-of-the-art solvers in high-dimensional settings like deep learning and low-rank recovery.
What Problem Does This Paper Address?
In non-convex optimization, the Cubic Regularization (CR) method is a powerful alternative to standard Newton methods. At each step, it solves a subproblem (the CRS) that minimizes a quadratic approximation of the objective function plus a cubic penalty term to ensure global convergence.
The standard way to solve this subproblem involves the secular equation. However, this equation requires knowing all the eigenvalues of the Hessian matrix. For a problem with $n$ variables, computing the full spectrum costs $O(n^3)$, which is prohibitive for modern large-scale applications (e.g., training a neural network with millions of parameters). While iterative methods like the Lanczos process exist, they often lack the theoretical guarantees or the efficiency needed when the Hessian is large and indefinite.
Methods
The authors bridge the gap between efficiency and theoretical rigor by developing two types of Approximate Secular Equations (ASEs):
- First-Order Truncated Secular Equation: This version uses the $m$ smallest eigenvalues (where $m \ll n$) and approximates the remaining "tail" of the spectrum using a single parameter $\mu$ (typically the average of the unobserved eigenvalues).
- Second-Order Truncated Secular Equation: This version uses a second-order Taylor approximation to better capture the influence of the unobserved eigenvalues.
The ASEM Algorithm: * Step 1: Use a Krylov subspace method (like Lanczos) to compute only the $m$ smallest eigenvalues and eigenvectors. This is "matrix-free," requiring only Hessian-vector products ($O(mn^2)$). * Step 2: Solve the ASE (a 1D root-finding problem) to find the optimal regularization shift $\sigma^*$. * Step 3: Solve the resulting linear system $(A + \sigma^* I)x = -b$ using an iterative solver like Conjugate Gradient.
Datasets
The authors evaluated their method using:
- Synthetic CRS Instances: Designed with specific eigenvalue distributions (evenly spaced, separated, or clustered) to test how the "shape" of the spectrum affects the approximation.
- CUTEst Library: A standard benchmark for constrained and unconstrained optimization, featuring real-world problems like
TOINTGSS,BRYBAND,DIXMAANG, andTQUARTICwith dimensions up to $n=5000$.
Key Insights and Ideas
- The Power of the Tail: You don't need the whole spectrum to find a good solution. The smallest eigenvalues dominate the behavior of the CRS, and the "tail" can be effectively summarized by a simple average ($\mu$).
- Theoretical Guarantees: Unlike many heuristic solvers, the authors prove that their approximate solution stays close to the true solution. The error is bounded by the spread of the unobserved eigenvalues: $|\sigma^*_{\text{approx}} - \sigma^*_{\text{true}}| \leq C_m \cdot \max_{i > m} |\lambda_i - \mu|$.
- Matrix-Free Scalability: Because the method only requires Hessian-vector products, it avoids the memory and time bottlenecks of matrix inversion, making it ideal for high-dimensional "big data" problems.
Key Results
- Superior Efficiency: In synthetic experiments, ASEM converged to high accuracy using significantly fewer Hessian-vector products than standard gradient descent or pure Krylov subspace methods.
- Robustness to Distribution: The method is particularly effective when unobserved eigenvalues are clustered. Even in "harder" cases where eigenvalues are spread out, ASEM remains competitive.
- Performance on Real Data: On CUTEst benchmarks, the ASEM-based ARC algorithm (Adaptive Regularization using Cubics) was often the fastest and most accurate. Surprisingly, the authors found that even using just one eigenvalue ($m=1$) was enough to perform well on several real-world problems.
Limitations and Future Work
- Hyperparameter Selection: The choice of $m$ (how many eigenvalues to compute) is crucial. While $m=1$ often works, some problems might require more. The authors suggest adaptive methods for selecting $m$ as a promising area for future research.
- The "Hard Case": The paper primarily focuses on the "easy case" where the linear term $b$ is not orthogonal to the first eigenvector. While the "hard case" is rare in practice and can be handled via perturbation, a more direct ASE treatment for it could be explored.
- Stochastic Settings: Extending this deterministic solver to stochastic cubic regularization (used in mini-batch training for deep learning) is a natural next step.
Reference: Gao, Y., Yue, M.-C., & Ng, M. K. (2022). Approximate Secular Equations for the Cubic Regularization Subproblem. 36th Conference on Neural Information Processing Systems (NeurIPS 2022).
Summary updated