Ridge Regression and Provable Deterministic Ridge Leverage Score Sampling

Shannon R. McCurdyNeurIPS 2018

TL;DR

This paper introduces a deterministic algorithm for sampling columns from a matrix using "ridge leverage scores." By selecting a specific subset of features with provable error bounds, the author demonstrates that we can perform ridge regression on a fraction of the data while maintaining nearly identical statistical risk. This provides a more interpretable and reliable alternative to traditional randomized sketching methods.

The Problem: Big Data and the Need for Reproducibility

In the era of "big data," we frequently encounter matrices where the number of features ($d$) far exceeds the number of samples ($n$). To make these high-dimensional problems tractable, researchers rely on matrix sketching—reducing the matrix to a smaller version that still captures the essential information.

The standard tool for this dimensionality reduction is "leverage score sampling," which identifies and selects the most "influential" columns (features). However, most existing methods are randomized. While computationally efficient, randomized algorithms have a non-zero failure probability and return slightly different results upon every execution. For practitioners in fields like biology or finance, this lack of reproducibility is a major hurdle for interpretability.

Furthermore, classical leverage scores can be highly sensitive to noise. While "ridge" leverage scores (RLS) improve upon this by incorporating regularization, they have historically lacked a robust deterministic framework with strong theoretical guarantees.

The Method: Deterministic Ridge Leverage Scores (DRLS)

To bridge this gap, the author proposes the Deterministic Ridge Leverage Score (DRLS) algorithm. The process is elegantly simple and highly reproducible:

  1. Calculate: Compute the ridge leverage scores for every column in the data matrix $\mathbf{A}$.
  2. Sort: Rank the columns from highest to lowest score.
  3. Threshold: Select the top columns until their cumulative score exceeds a specific threshold determined by a user-defined error tolerance ($\epsilon$).
  4. Sketch: Form a new, smaller matrix $\mathbf{C}$ using only these selected columns.

The "Ridge" component relies on a regularization parameter, $\lambda_2$, which prevents the algorithm from being overly influenced by small singular values (noise). Unlike previous deterministic methods that relied on rank-$k$ subspace scores, this approach uses the full spectrum of the matrix, leading to much tighter error bounds across all values of $k$.

Comparison of theoretical guarantees between prior Rank-k Subspace methods and the proposed Rank-k Ridge algorithm.

Key Insights and Advantages

  • The Power-Law Advantage: The author proves that if the leverage scores follow a "power-law decay" (meaning a few features are vastly more important than the rest), the deterministic algorithm actually requires fewer columns than randomized sampling to achieve the same accuracy.
  • Interpretability is King: Because the algorithm is deterministic, it always selects the exact same features. This allows researchers to definitively state, "These specific 1,500 genes are the most important," rather than relying on a randomized subset that changes with each run.
  • A New Alternative to Elastic Net: Ridge regression typically keeps all coefficients non-zero (shrinkage), while Lasso sets many to zero (selection). By performing ridge regression on a DRLS-sketched matrix, the author creates a hybrid approach. It provides automatic feature selection alongside the stability of ridge regularization, backed by a provable $(1 + \epsilon)$ bound on statistical risk.

Empirical Validation and Key Results

The paper validates the algorithm using a high-dimensional biological dataset: the TCGA Lower-Grade Glioma (LGG) multi-omic dataset, which consists of 274 tumor samples and 68,522 features (including mutations, DNA copy number, and gene expression levels). The goal was to predict clinical outcomes using a tiny fraction of the total genomic features.

  • Massive Compression: On the LGG dataset, the DRLS algorithm selected only 1,512 features out of 68,522 (approximately 0.02% of the data).
  • High Fidelity: Despite this massive reduction, the statistical risk of the ridge regression performed on the sketch was nearly identical to the full model.
Experimental results demonstrating that the deterministic sketch maintains 99% of the predictive power (risk ratio of 0.99) across different variance levels.

As shown in the results, the risk ratio $\mathcal{R}(\hat{y}_C)/\mathcal{R}(\hat{y}_A)$ was 0.99, meaning the sketch successfully captured 99% of the predictive power of the full dataset.

Limitations and Future Work

While powerful, the DRLS approach has a few limitations that pave the way for future research:

  • Computational Cost: The algorithm requires calculating the ridge leverage scores, which involves a matrix inversion or Singular Value Decomposition (SVD). For "moderately big data" (huge $d$, manageable $n$), this is feasible. However, for truly massive datasets where both $n$ and $d$ are in the millions, this step remains a computational bottleneck.
  • Linearity: The current work focuses strictly on linear ridge regression. Extending these proofs to non-linear kernels (Kernel Ridge Regression) is a promising, open research direction.
  • Parameter Sensitivity: The choice of the regularization parameter $\lambda_2$ is crucial for the theoretical bounds to hold, meaning practitioners may need to invest time in careful hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{mccurdy2018ridge,
  author = {Shannon R. McCurdy},
  title = {{Ridge Regression and Provable Deterministic Ridge Leverage Score Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure