Accelerated Sparse Linear Regression via Random Projection

Weizhong Zhang, Lijun Zhang, Rong Jin, Deng Cai, Xiaofei He

Introduction

In modern data science, high-dimensional "under-determined" problems—where the number of features ($d$) significantly exceeds the number of samples ($n$)—are ubiquitous. Sparse linear regression, particularly the Lasso, is the standard approach for identifying relevant features in these settings. However, state-of-the-art solvers encounter a significant computational bottleneck: each update requires a matrix-vector multiplication ($XX^T\beta$) costing $O(nd)$. For large-scale datasets where $n$ and $d$ reach tens of thousands, this $O(nd)$ per-iteration cost becomes prohibitively expensive.

Methodology: SLviaRP

To address this, the authors propose SLviaRP (Sparse Linear regression via Random Projection), a two-phase algorithm designed to bypass the full cost of interacting with the massive data matrix $X$.

  1. Phase 1: Randomized Sketching. The algorithm utilizes a Gaussian random matrix to construct a rank-$k$ approximation (where $k \ll n, d$) of the data. By performing a QR decomposition on this projected data, a "sketch" matrix $\hat{X}$ is created. This preprocessing step significantly reduces the cost of subsequent gradient evaluations.
  2. Phase 2: Proximal Gradient Homotopy. The optimization is performed using a proximal gradient method integrated with a homotopy strategy. The algorithm begins with a high regularization parameter $\lambda$, ensuring a very sparse solution, and exponentially decreases it toward the target value.

By leveraging the low-rank sketch, the computational complexity of heavy matrix multiplications is reduced to depend on $k$ rather than the full dimensions $n$ or $d$, specifically lowering the cost per iteration from $O(nd)$ to $O(nk + dk)$.

Experimental Evaluation

The performance of SLviaRP was evaluated on both synthetic and real-world datasets:

  • Synthetic Data: Generated with $d=10,000$, $n=5,000$, and a ground truth sparsity of $s=25$.
  • MNIST Dataset: 10,000 sampled images of handwritten digits were used to test the algorithm's efficacy on real-world, approximately low-rank data.
Performance comparison on synthetic data showing error vs. iterations and running time.

Key Results and Insights

The experimental results highlight several critical advantages of the SLviaRP approach:

  • Significant Speedups: In synthetic trials, SLviaRP demonstrated a massive reduction in wall-clock time. As shown in Figure 1, while the number of iterations to reach a certain error level is comparable to standard methods like Proximal Gradient Homotopy (PGH), the actual running time is orders of magnitude lower.
  • Efficiency on Real-World Data: On the MNIST dataset, SLviaRP achieved convergence in just 0.7 seconds, vastly outperforming PGH (63.8s) and Nesterov’s accelerated dual gradient (ADG) method (48.3s).
Comparison of methods on the MNIST dataset.
  • Theoretical Robustness: The authors prove that despite using an approximation, the algorithm maintains a geometric convergence rate. Furthermore, the homotopy strategy ensures that intermediate solutions remain sparse, which self-preserves the computational gains. The method also proved insensitive to the choice of the shrinkage rate ($\eta$), simplifying hyperparameter tuning.

Discussion and Future Work

The primary limitation of SLviaRP is its dependence on the low-rank assumption. If the data matrix $X$ is high-rank and dense, the approximation error may necessitate a larger sketch size $k$, diminishing the speed advantage. Additionally, there is an upfront computational cost for the initial random projection and QR decomposition, which might outweigh the benefits for smaller-scale problems.

Future research could explore more structured random projections, such as the Subsampled Randomized Hadamard Transform, to further accelerate the initial sketching phase.

Summary updated

BibTeX
@inproceedings{zhang2016accelerated,
  author = {Weizhong Zhang and Lijun Zhang and Rong Jin and Deng Cai and Xiaofei He},
  title = {{Accelerated Sparse Linear Regression via Random Projection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10260},
}
Figure