Optimizing non-convex loss functions across millions of data points is a central challenge in modern machine learning. While standard first-order tools like Stochastic Gradient Descent (SGD) are popular due to their low per-iteration cost, they frequently struggle with "saddle points"—flat regions in the optimization landscape where the gradient is zero but a minimum has not been reached.
Second-order methods, specifically Cubic Regularization, are mathematically superior at escaping these traps because they leverage curvature information (the Hessian). However, calculating the full Hessian for $n$ data points is computationally ruinous, scaling at $O(nd^2)$.
This paper introduces Sub-sampled Cubic Regularization (SCR), a second-order optimization method that scales to massive datasets by using random sampling to approximate gradients and Hessians. It is the first work to prove that such a sub-sampled approach retains the powerful global and local convergence guarantees of full-batch cubic regularization, allowing it to efficiently escape saddle points without the prohibitive computational overhead.
The SCR Methodology
Instead of using the full gradient and Hessian, SCR constructs a local cubic model using unbiased estimates $g_k$ and $B_k$ calculated from independent subsets of the data ($S_g$ and $S_B$). The authors tackle the "scalability vs. accuracy" trade-off through three key technical components:
- Adaptive Sampling Scheme: Using concentration inequalities (specifically Vector and Matrix Bernstein Inequalities), the authors derive exactly how many samples are needed at each step. The required sample size is dynamically tied to the step size $\|s_k\|$. As the algorithm approaches a solution and steps get smaller, the sample size must increase to maintain the necessary precision. This embodies a "Precision on Demand" principle: SCR allows for very coarse approximations early in the optimization process, only demanding high-fidelity data as it nears a critical point.
- Approximate Subproblem Solver: Solving the cubic model exactly is expensive. Instead, SCR uses a Lanczos-type method to find an approximate minimizer in a Krylov subspace. This only requires matrix-vector products rather than explicit Hessian inversion, enabling "Hessian-Free" scaling.
- Regularization Update: A dynamic parameter $\sigma_k$ is adjusted based on how well the sub-sampled model predicts the actual change in the objective function, similar to traditional trust-region methods.
Empirical Results
The algorithm was evaluated on three real-world datasets for binary logistic regression (using both convex and non-convex regularizers) to demonstrate performance as the number of samples ($n$) grows significantly larger than the number of features ($d$):
- a9a: $n = 32,561$ (small scale)
- COVTYPE: $n = 581,012$ (medium scale)
- HIGGS: $n = 11,000,000$ (large scale)
Empirically, SCR demonstrates a massive speedup. On the 11-million-point HIGGS dataset, SCR reached high-precision solutions much faster than standard Newton methods or the full-batch Adaptive Cubic Regularization (ARC). It also proved significantly more robust than SGD on ill-conditioned problems like COVTYPE.
Theoretical Guarantees and Takeaways
Most stochastic second-order methods rely heavily on heuristics. This paper provides a rigorous theoretical bridge, showing that sub-sampling satisfies the same $O(\epsilon^{-3/2})$ worst-case iteration complexity as the full-batch version.
- Global Convergence: SCR is proven to converge to a first-order critical point and a second-order critical point (successfully escaping saddle points) with high probability.
- Local Quadratic Convergence: Near the optimum, SCR achieves a q-quadratic convergence rate, which is significantly faster than the linear rates typical of first-order methods like SGD or SAGA.
Limitations and Future Work
While the theory applies to any $C^2$ non-convex function, the experiments in this paper were limited to logistic regression. Testing SCR on deep neural networks remains a primary direction for future work. Additionally, the sampling bounds involve constants (like Lipschitz constants) that are often unknown in practice and must be tuned. Finally, even with sub-sampling, a second-order iteration is more complex than an SGD step; the "wall-clock" benefit is most apparent on problems where curvature information drastically reduces the total number of iterations needed.
Summary updated