Stochastic Second-Order Method for Large-Scale Nonconvex Sparse Learning Models

Hongchang Gao, Heng Huang

Abstract

This paper introduces a novel stochastic L-BFGS algorithm designed to solve large-scale sparse learning problems constrained by the nonconvex $\ell_0$-norm. By integrating second-order curvature information, variance reduction techniques, and hard-thresholding, the authors achieve a proven linear convergence rate. This bridges a critical gap in the field, offering the computational efficiency required for massive datasets while maintaining the accuracy needed to identify true underlying sparse models.

Introduction

In high-dimensional machine learning, identifying "sparse" models—where only a small subset of features drives predictions—is a fundamental goal. The most direct approach is to enforce an $\ell_0$-norm constraint, which strictly limits the number of non-zero parameters. However, the $\ell_0$-norm is nonconvex and NP-hard to optimize. Historically, researchers have favored the $\ell_1$-norm relaxation (e.g., Lasso), which is convex but introduces estimation bias and can degrade performance.

Existing methods for the exact $\ell_0$ problem face significant scaling challenges:

  1. First-order methods (e.g., Gradient Hard Thresholding) scale well but ignore objective function curvature, leading to slow convergence on ill-conditioned datasets.
  2. Second-order methods (e.g., Newton's method or standard L-BFGS) utilize curvature for faster convergence but require full-dataset gradient computations, making them prohibitively expensive for large-scale applications.

Prior to this work, stochastic second-order methods lacked theoretical guarantees for nonconvex sparse learning. This paper addresses this gap by proposing a method that combines the efficiency of stochastic updates with the convergence speed of second-order optimization.

Methodology

The proposed Stochastic L-BFGS Algorithm with Hard-Thresholding integrates three core components:

  1. Variance Reduction: To mitigate the noise inherent in stochastic mini-batch gradients, the algorithm periodically computes a full-dataset gradient to correct mini-batch updates, similar to the SVRG framework.
  2. Stochastic L-BFGS: To avoid the $O(d^2)$ memory cost of a full Hessian matrix, the algorithm approximates the inverse Hessian using recent gradient updates. A "two-loop recursion" trick is employed to compute matrix-vector products directly, maintaining low memory overhead.
  3. Hard-Thresholding: Following each quasi-Newton step, a hard-thresholding operator is applied, retaining only the $s$ largest weights by magnitude and setting others to zero to satisfy the $\ell_0$ constraint.

This is the first work to adapt stochastic L-BFGS for a nonconvex problem with a hard sparsity constraint while providing rigorous proofs for its linear convergence rate.

Experimental Evaluation

The authors evaluated the method across several benchmarks:

  • Synthetic Data: Sparse linear regression datasets ($d=2,000$ and $d=5,000$) with specific covariance structures to test robustness.
  • E2006-TFIDF: A real-world regression dataset (16,087 training points, 20,000 features).
  • RCV1-Binary: A real-world classification dataset (20,242 training samples, 5,000 features) for sparse logistic regression.

Key Results

The proposed method was compared against state-of-the-art stochastic first-order methods: SGHT (Stochastic Gradient Hard Thresholding) and SVG-GHT (Stochastic Variance Reduced GHT).

Synthetic Data Performance

On synthetic datasets, the proposed method converged to lower estimation errors and objective values significantly faster than both baselines in terms of total gradient evaluations.

Estimation error vs. gradient evaluations on synthetic data.

Real-World Benchmarks

In regression tasks (E2006), the method achieved lower objective values on both training and testing sets more rapidly than competing methods. For classification (RCV1), it reached peak accuracy (~94-96%) much earlier in the training process and maintained this lead throughout.

Performance comparison on real-world datasets E2006 and RCV1.

The theoretical breakthrough of this work is the proof of a linear convergence rate under nonconvexity, a property previously only established for strongly convex problems. Furthermore, the authors mathematically guarantee that the estimator converges to the true model parameters (within a statistical error bound).

Conclusion

By incorporating approximated Hessian information, the proposed algorithm identifies superior search directions compared to first-order methods. The experimental results demonstrate that the additional computational cost of L-BFGS is well-justified by the massive reduction in gradient evaluations required for high accuracy. While the current theory relies on Restricted Strong Convexity (RSC) and Restricted Strong Smoothness (RSS) assumptions, this framework opens new avenues for applying stochastic second-order methods to other large-scale nonconvex optimization challenges, such as sparse deep neural network training.

Summary updated

BibTeX
@inproceedings{gao2018stochastic,
  author = {Hongchang Gao and Heng Huang},
  title = {{Stochastic Second-Order Method for Large-Scale Nonconvex Sparse Learning Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/294},
}
Figure