A note on sparse least-squares regression

Christos Boutsidis, Malik Magdon-IsmailarXiv 2013

TL;DR

This paper presents a deterministic algorithm for sparse least-squares regression that achieves parsimony by selecting a subset of columns from the input matrix. The authors prove that their method produces a solution competitive with the "gold standard" truncated SVD approach, providing a principled, efficient way to handle ill-conditioned systems where traditional solutions fail.

What Problem Does This Paper Address?

In classical least-squares regression, we aim to find a vector $x$ that minimizes $\|Ax - b\|_2$. While the solution is theoretically straightforward using the Moore-Penrose pseudo-inverse ($x^* = A^\dagger b$), real-world matrices $A$ are often ill-conditioned. In these cases, the smallest singular values are near zero, causing the solution vector to become extremely sensitive to noise and prone to massive overfitting.

Practitioners typically turn to regularization—like Lasso ($L_1$), Tikhonov ($L_2$), or truncated SVD—to stabilize the problem. However, explicitly enforcing sparsity (ensuring $x$ has very few non-zero entries) is a combinatorial challenge that is generally NP-hard. The authors tackle the need for a deterministic, computationally efficient algorithm that provides a sparse solution with provable performance guarantees relative to the truncated SVD benchmark.

Methods

The authors propose a two-stage deterministic algorithm:

  1. Column Selection: Instead of using all columns of $A$, the algorithm selects a subset of $r$ columns. The "secret sauce" here is a DeterministicSampling subroutine (Algorithm 2). This greedy procedure simultaneously samples columns to control both the spectral and Frobenius norms of the resulting submatrix. It takes the right singular vectors ($V_k$) and the residual error matrix ($E = A - A_k$) as inputs to ensure the selected columns capture the most important structural information of the original matrix.
  2. Reduced Least-Squares: Once the columns are selected, the algorithm solves a standard (dense) least-squares problem using only those $r$ columns. The resulting solution vector $\hat{x}_r$ is naturally sparse because it is zero for all indices corresponding to unselected columns.

The key theoretical contribution is Lemma 2, a new "structural" result that bounds the error of this sparse solution. It shows that the sparse error is at most the truncated SVD error plus a term related to how well the selected columns approximate the original matrix's range.

Datasets

The paper evaluates the algorithm using a synthetic dataset to illustrate its numerical properties:

  • Matrix Dimensions: $A$ is a $2000 \times 1000$ matrix.
  • Data Generation: Elements of both $A$ and the target vector $b$ are i.i.d. Gaussian random variables with zero mean and unit variance.
  • Parameters: The target rank was set to $k = 20$, and the sparsity parameter $r$ was varied from 20 to 200 to observe how increasing the number of allowed non-zero entries affects the error.

Key Insights and Ideas

  • Unsupervised Sparsity: Interestingly, the column selection process is "oblivious" to the target vector $b$. It relies entirely on the internal structure of the matrix $A$. This suggests that the "important" features for regression are often inherent in the data matrix itself.
  • Bridging CSSP and Regression: The authors successfully adapt techniques from the Column Subset Selection Problem (CSSP)—usually used for matrix approximation—to the specific domain of sparse regression.
  • Non-Monotonicity: A surprising observation in the numerical results is that the error doesn't always decrease smoothly as you increase the sparsity parameter $r$. This happens because the deterministic algorithm chooses a new set of columns for each $r$; the columns chosen for a small $r$ are not necessarily a subset of those chosen for a larger $r$.

Key Results

The primary result is a formal performance guarantee (Theorem 1). For a given target rank $k$ and error parameter $\epsilon$, the algorithm returns a solution $\hat{x}_r$ with at most $r \approx 9k/\epsilon^2$ non-zero entries such that:

$$\|A\hat{x}_r - b\|_2 \leq \|Ax^*_k - b\|_2 + (1 + \epsilon) \cdot \|b\|_2 \cdot \frac{\|A - A_k\|_F}{\sigma_k(A)}$$

In plain English: the error of the sparse solution is very close to the error of the best rank-$k$ approximation, provided the matrix $A$ is "effectively" low-rank (i.e., the tail of its singular values is small).

Numerical experiments (see Figure 1 below) show that the algorithm often performs significantly better in practice than this worst-case theoretical bound predicts.

Figure 1: Residual error on a problem with a 2000 × 1000 matrix A. The non-monotonic decrease arises because the algorithm chooses columns given r, which means that the columns chosen for a small r are not necessarily a subset of the columns chosen for a larger r.

Limitations and Future Work

  • Oblivious Selection: Because the algorithm ignores $b$ when picking columns, it might miss specific features that are highly correlated with the target but not dominant in the matrix structure. The authors pose an open question: could a $b$-dependent selection process yield even tighter bounds?
  • Computational Cost: While deterministic, the algorithm requires computing an initial SVD and performing a greedy search, which might be intensive for extremely high-dimensional "big data" scenarios.
  • Bound Tightness: The current bound uses the Frobenius norm of the residual. The authors suggest that a more computationally expensive sampling variant could potentially tighten this by using the spectral norm instead.

Summary updated

BibTeX
@misc{boutsidis2013note,
  author = {Christos Boutsidis and Malik Magdon-Ismail},
  title = {{A note on sparse least-squares regression}},
  year = {2013},
  eprint = {1312.7499},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1312.7499},
}
Figure