Optimal Sketching Bounds for Sparse Linear Regression

Tung Mai, Alexander Munteanu, Cameron Musco, Anup Rao, Chris Schwiegelshohn, David P. Woodruff

Abstract

In the context of high-dimensional data analysis, sketching has emerged as a vital technique for compressing massive datasets into manageable sizes. However, applying these techniques to sparse linear regression—where the solution is constrained to have at most $k$ non-zero entries—presents unique theoretical challenges. This paper establishes the first optimal and near-optimal bounds for "oblivious sketching" in $k$-sparse linear regression. The authors demonstrate that for various loss functions, including $\ell_2$, $\ell_p$, and logistic loss, datasets can be compressed into a number of rows that depends only logarithmically on the total number of features $d$. These results provide a definitive answer to the scaling requirements of sparse regression and reveal a fundamental separation between sparse recovery and sparse regression tasks.

Introduction

In the era of Big Data, researchers frequently encounter matrices $A \in \mathbb{R}^{n \times d}$ where the number of observations $n$ is significantly larger than the number of features $d$. Sketching is a common dimensionality reduction technique used to address this. By multiplying the original data by a random matrix $S \in \mathbb{R}^{m \times n}$ (where $m \ll n$), we can solve regression problems on the smaller "sketched" data $SA$ and $Sb$.

While sketching is well-understood for standard unconstrained regression—typically requiring a sketch size $m$ linear in $d$—sparse linear regression introduces a different set of constraints. In fields like genetics or signal processing, $d$ is often so large that $O(d)$ sketches are computationally impractical. This research addresses the central question: Can we achieve a sketch size $m$ that depends primarily on the sparsity $k$ and only logarithmically on the total dimensionality $d$?

Methodological Framework

The authors focus on oblivious sketching, a paradigm where the random matrix $S$ is selected without prior knowledge of the data $A$ or $b$. Their methodology is divided into two primary theoretical components:

1. Upper Bounds and Algorithmic Construction

The researchers construct sparse affine embeddings to provide upper bounds for the required sketch size. For $\ell_2$ regression, they utilize Gaussian random projections combined with a "net argument" across all possible $k$-sparse subspaces. For more complex loss functions, such as $\ell_p$ norms ($1 \le p < 2$) and hinge-like losses (including ReLU and logistic loss), they employ $p$-stable distributions and non-linear median estimators. These estimators ensure the sketch remains robust even when dealing with heavy-tailed data distributions.

2. Lower Bounds and Information Theory

To prove the tightness of their bounds, the authors use information-theoretic techniques to establish impossibility results. A key innovation is the reduction from sparse PCA (sPCA) and support recovery. They demonstrate that if a sketch size falls below their established thresholds, it becomes mathematically impossible to recover sufficient information regarding the "support" (the indices of the non-zero entries) of the optimal solution $x$.

Key Insights

The Logarithmic Breakthrough

The most significant finding is that for sparse regression, the sketch size $m$ only needs to scale with $\log(d/k)$ rather than $d$. This confirms that sparsity allows for an exponential advantage in data compression, making high-dimensional regression feasible even with massive datasets.

Regression vs. Recovery

The paper identifies a "surprising separation" between sparse regression and sparse recovery (compressed sensing). While in sparse recovery the matrix $A$ is typically the identity, in regression, $A$ can be any arbitrary matrix. The authors prove that the general regression case is strictly harder, requiring more rows in the sketch to achieve comparable accuracy.

Projections vs. Subsampling

A critical theoretical distinction is made between sampling and projection. The authors prove that simply subsampling rows of the data fails to achieve the desired logarithmic dependence on $d$ for sparse regression. Instead, one must use linear combinations of rows (projections) to reach the optimal bounds.

Complexity Parameter $\mu$

For non-linear losses like logistic regression, the authors introduce a parameter $\mu$, which measures the "balance" of the data. This parameter indicates that certain datasets are inherently more difficult to compress than others when using non-linear loss functions.

Summary of Sketching Complexity

The paper provides a comprehensive classification of the required number of rows $m$ for different loss functions:

Loss Function Sketch Size ($m$) Status
$\ell_2$ norm $\Theta(k \log(d/k)/\epsilon^2)$ Tight
$\ell_p$ norm ($1 \le p < 2$) $\approx O(k \log(d/k)/\epsilon^2)$ Near-optimal
ReLU / Logistic $O(\mu^2 k \log(\dots)/\epsilon^2)$ First $o(d)$ bound
LASSO $O(\log(d)/(\lambda\epsilon)^2)$ Tight in $d$ and $\lambda$

For the $\ell_2$ norm, the bound $\Theta(k \log(d/k)/\epsilon^2)$ is particularly notable as it matches the known degrees of freedom for $k$-sparse vectors in $d$ dimensions.

Limitations and Future Directions

While the paper establishes optimal sketch sizes, it notes that computational efficiency remains a challenge for certain loss functions. For instance, using median estimators for $\ell_p$ regression can result in non-convex optimization problems in the sketched space. Additionally, for hinge-like and logistic losses, a small gap remains between the upper and lower bounds concerning the complexity parameter $\mu$. Future research may focus on developing faster, scalable heuristics that can implement these optimal sketching dimensions within practical software libraries.

Summary updated

BibTeX
@inproceedings{mai2023optimal,
  author = {Tung Mai and Alexander Munteanu and Cameron Musco and Anup Rao and Chris Schwiegelshohn and David P. Woodruff},
  title = {{Optimal Sketching Bounds for Sparse Linear Regression}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=6EigC0qR9c},
}
Figure