Approximate Secular Equations for the Cubic Regularization Subproblem

Yihang Gao, Man-Chung Yue, Michael Ng

Abstract

Cubic Regularization (CR) is a robust framework for non-convex optimization, providing convergence to second-order critical points. However, its computational bottleneck—solving the Cubic Regularization Subproblem (CRS)—traditionally requires a full eigendecomposition of the Hessian, costing $O(n^3)$. This paper presents the Approximate Secular Equation Method (ASEM), a scalable solver that approximates the Hessian's spectrum using only the $m$ smallest eigenvalues. By leveraging trace-based approximations for the spectral "tail," ASEM reduces complexity to $O(mn^2)$. Experimental results on synthetic and benchmark datasets show that ASEM provides superior convergence rates and precision compared to traditional first-order and Krylov-based methods.

Introduction

In non-convex optimization, reaching a global minimum is often difficult, but ensuring convergence to a second-order critical point (where the gradient is zero and the Hessian is positive semidefinite) is a standard requirement for reliable algorithms. Cubic Regularization (CR) methods are preferred over standard Newton's methods for their global convergence properties and better handling of saddle points.

Despite these advantages, CR is computationally expensive. At each iteration, it requires solving the Cubic Regularization Subproblem (CRS): $$\min_{s \in \mathbb{R}^n} g^T s + \frac{1}{2} s^T H s + \frac{\sigma}{6} \|s\|^3$$ The standard solution involves the "secular equation," which necessitates the full eigendecomposition of the Hessian matrix $H$. For high-dimensional problems where $n$ is large, this $O(n^3)$ cost is prohibitive. This paper addresses this scalability gap by introducing an efficient, matrix-free approximation scheme.

The Approximate Secular Equation Method (ASEM)

The core innovation of ASEM is the use of Truncated Secular Equations. Rather than computing all $n$ eigenvalues, the method computes only the $m$ smallest eigenvalues (where $m \ll n$). The remaining $n-m$ eigenvalues, referred to as the "tail," are approximated by a single parameter $\mu$.

Truncated Approximations

The authors propose two variants:

  1. First-order Truncation: Uses the $m$ known eigenvalues and replaces the rest with their mean value.
  2. Second-order Truncation: Employs a weighted average to better capture the influence of the tail.
Figure 1: Convergence of the gradient norm relative to the number of eigenvalues $m$ across different spectral distributions.

As shown in Figure 1, the choice of $m$ significantly impacts the accuracy of the subproblem solution. The error typically decreases as $m$ increases, particularly when eigenvalues are clustered. Crucially, $\mu$ can be calculated efficiently using the matrix trace and the $m$ known eigenvalues, ensuring the entire process remains $O(mn^2)$ and matrix-free.

Experimental Evaluation

The performance of ASEM was evaluated using synthetic matrices with varied eigenvalue distributions and the CUTEst library, a standard benchmark for unconstrained optimization.

Key Results

The ASEM solver demonstrates significant improvements in both computational efficiency and numerical precision. When compared to standard Gradient Descent and Krylov-based solvers, ASEM requires fewer Hessian-vector products to reach a target gradient norm.

Figure 4: Comparison of ASEM against Gradient Descent and Krylov subspace methods for varying condition numbers $\kappa$.

In Figure 4, we observe that ASEM (green line) exhibits a much steeper convergence rate than Gradient Descent (blue) or Krylov subspace methods (orange). This advantage persists across different condition numbers ($\kappa$), highlighting the robustness of the approximate secular approach. On the TOINTGSS benchmark ($n=1000$), ASEM achieved a gradient norm of approximately $8 \times 10^{-10}$, outperforming traditional methods by several orders of magnitude in precision for the same computational budget.

Discussion and Insights

A key insight from this work is that the "tail" of the Hessian's spectrum does not need to be known perfectly to find an effective descent direction. Approximating the unobserved eigenvalues with a trace-based average provides sufficient information to solve the CRS with high accuracy. Furthermore, empirical tests on the CUTEst library revealed that using as few as $m=1$ eigenvalue often suffices for excellent performance in practice.

Limitations and Future Directions

While ASEM is highly effective, selecting the optimal $m$ remains a challenge. Currently, $m$ is treated as a hyperparameter. Future work could focus on adaptive heuristics that increase $m$ dynamically based on the progress of the optimization. Additionally, while the paper focuses on the "easy case" of the CRS, further research is needed to refine the handling of the "hard case" (where the gradient is orthogonal to the eigenvector of the smallest eigenvalue), although perturbations often mitigate this issue in practice.

Conclusion

By replacing the full eigendecomposition with a truncated, trace-based approximation, the Approximate Secular Equation Method makes Cubic Regularization viable for large-scale optimization. ASEM maintains the theoretical rigor of CR while providing the scalability required for modern high-dimensional applications.

Summary updated

BibTeX
@inproceedings{gao2022approximate,
  author = {Yihang Gao and Man-Chung Yue and Michael Ng},
  title = {{Approximate Secular Equations for the Cubic Regularization Subproblem}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure