An Effective Hard Thresholding Method Based on Stochastic Variance Reduction for Nonconvex Sparse Learning

Guannan Liang, Qianqian Tong, Chunjiang Zhu, Jinbo Bi

Abstract

Sparse learning is essential for high-dimensional data analysis, yet solving Empirical Risk Minimization (ERM) with $l_0$-norm constraints remains a significant challenge due to its non-convex and NP-hard nature. This paper introduces SCSG-HT, a new algorithm that combines stochastically controlled variance reduction with hard thresholding. SCSG-HT achieves a linear convergence rate and, notably, its computational complexity becomes independent of the total number of samples for sufficiently large datasets. Experimental results across various benchmarks demonstrate that SCSG-HT outperforms existing methods in terms of scalability and efficiency for massive-scale sparse learning problems.

Introduction

In high-dimensional data regimes, sparse models—where most weights are zero—are preferred for their interpretability and efficiency. This is typically formulated as an ERM problem with an $l_0$-norm constraint, limiting non-zero entries to $k$. Iterative Hard Thresholding (IHT) is a standard approach, alternating between gradient descent and a thresholding step. However, existing IHT variants face scalability hurdles: full gradient methods (GD-HT) are too slow for large $n$, stochastic methods (SG-HT) require restrictive assumptions for stability, and variance-reduced methods like SVRG-HT still scale linearly with $n$ due to periodic full gradient computations.

Methodology: SCSG-HT

The proposed SCSG-HT (Stochastically Controlled Stochastic Gradients - Hard Thresholding) addresses these limitations by building on the SCSG framework. Unlike SVRG, which computes a full gradient over all $n$ samples to reduce variance, SCSG-HT utilizes a smaller, pre-determined batch. This approach introduces a manageable amount of bias while drastically reducing computational overhead.

Key features of SCSG-HT include:

  • Batch-based Variance Reduction: Gradient computation over a subset of samples rather than the full dataset.
  • Stochastic Loop Length: Inner iteration counts are drawn from a geometric distribution to optimize the bias-variance trade-off.
  • Hard Thresholding Integration: The first rigorous integration of SCSG variance reduction with hard thresholding for non-convex objectives.

Experimental Evaluation

The researchers evaluated SCSG-HT on several benchmarks, including E2006-tfidf (regression), rcv1 and real-sim (sparse logistic regression), and MNIST and news20 (multi-class softmax regression).

Key Results and Insights

A primary theoretical and empirical insight is that for a fixed precision $\epsilon$, the complexity of SCSG-HT becomes independent of $n$ when $n > 1/\epsilon$. This allows for "sub-linear" passes over massive datasets. Despite using biased gradient estimates, the algorithm maintains a linear convergence rate. Furthermore, the inherent stochasticity in the biased gradients appears to help the algorithm escape poor local minima that often trap more rigid methods.

Convergence performance of SCSG-HT compared to other methods on the E2006-tfidf dataset across iterations, epochs, and CPU time.

As shown in Figure 1, SCSG-HT consistently reaches target accuracy with fewer Incremental First-order Oracle (IFO) calls and less CPU time compared to SVRG-HT or HSG-HT on the E2006-tfidf dataset. Similar trends were observed across other datasets.

Objective value vs. Epoch for the rcv1 dataset, demonstrating SCSG-HT's rapid convergence.

In Figure 2, the rapid descent of the objective value for the rcv1 dataset highlights the efficiency of the SCSG-HT approach in classification tasks.

Conclusion and Future Work

SCSG-HT represents a significant step forward in scalable sparse learning. While it requires hyperparameter tuning for learning rates and batch sizes, its performance on large-scale datasets is state-of-the-art. Future work may involve developing adaptive strategies for step sizes and batch sizes to further enhance late-stage convergence, as well as extending the framework to other sparsity structures like low-rank matrix constraints.

Summary updated

BibTeX
@inproceedings{liang2020effective,
  author = {Guannan Liang and Qianqian Tong and Chunjiang Zhu and Jinbo Bi},
  title = {{An Effective Hard Thresholding Method Based on Stochastic Variance Reduction for Nonconvex Sparse Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i02.5519},
}
Figure