Feature Selection for Ridge Regression with Provable Guarantees

Saurabh Paul, Petros Drineas

TL;DR

This paper introduces a deterministic, unsupervised feature selection method called single-set spectral sparsification for ridge regression and its classification cousin, Regularized Least Squares Classification (RLSC). Unlike randomized methods that might fail or produce inconsistent results, this approach provides rock-solid, worst-case theoretical guarantees on generalization error while requiring fewer features to achieve high accuracy.

What Problem Does This Paper Address?

In the era of "Big Data," we often encounter the "curse of dimensionality": datasets where the number of features ($d$) vastly exceeds the number of observations ($n$). To make models interpretable and computationally efficient, we need to pick a small subset of the most important features.

While many feature selection techniques exist, they usually fall into two camps:

  1. Empirical Heuristics: They work well in practice but offer no mathematical guarantee that the selected features will perform well on unseen data.
  2. Randomized Algorithms: Methods like "leverage-score sampling" provide theoretical bounds but come with a "failure probability." Because they are random, you might get a different set of features every time you run the algorithm, which is a nightmare for reproducibility in fields like medicine or finance.

The authors tackle this by proposing a deterministic method that ensures the selected subset of features preserves the "spectral" (structural) integrity of the original data matrix, providing provable bounds on how much the model's performance might deviate from a model trained on all features.

Methods

The core of the paper is the application of the Batson-Spielman-Srivastava (BSS) algorithm—originally designed for graph sparsification—to the problem of feature selection.

  • Single-set Spectral Sparsification (BSS): This is a greedy algorithm. It selects features one by one by monitoring "potential functions" that track how the eigenvalues of the data matrix change. It ensures that the "reduced" matrix is a good approximation of the original matrix in terms of its spectral properties.
  • Leverage-Score Sampling: The authors also provide new theoretical risk bounds for this randomized approach, which selects features based on their "importance" (leverage scores) relative to the principal components of the data.
  • Unsupervised Nature: Crucially, both methods are unsupervised. They don't look at the labels ($y$) to pick features; they only look at the structure of the data matrix ($X$). This makes them robust against overfitting to specific labels.

Datasets

The authors evaluated their approach using two primary sources:

  1. Synthetic Data: A controlled environment where the number of "relevant" features is known. This allowed them to verify if the algorithms were actually picking the features with the most discriminatory power.
  2. TechTC-300: A massive collection of 48 real-world document-term matrices (text classification). These datasets are notoriously high-dimensional, with tens of thousands of words (features) but only a few hundred documents.

Key Insights and Ideas

  • Deterministic > Randomized: The BSS method requires fewer features ($O(n/\epsilon^2)$) to reach a specific accuracy level compared to randomized sampling, which requires an extra logarithmic factor. More importantly, it is stable; the same input always yields the same features.
  • Spectral Preservation is Key: The "aha moment" here is that if you preserve the eigenvalues of the data matrix, you effectively preserve the model's ability to generalize. The paper proves that the "risk" (error) in the sampled space is directly comparable to the risk in the full-feature space.
  • The Accuracy-Speed Trade-off: BSS is a "slower but better" method. While randomized sampling is nearly instant, BSS takes more time because it iterates through features greedily. However, since feature selection is often an "offline" task done once during preprocessing, the authors argue the extra accuracy is well worth the wait.

Key Results

  • Superior Accuracy: On all 48 TechTC-300 datasets, BSS consistently outperformed leverage-score sampling, Information Gain (a popular supervised method), and Rank-Revealing QR (RRQR) factorizations.
  • Massive Compression: The authors showed that by selecting only 2% to 4% of the total features, BSS could achieve out-of-sample error rates nearly identical to (and sometimes better than) using 100% of the features.
  • Theoretical Tightness: The paper provides the first relative-error guarantees for the risk of ridge regression in a fixed-design setting using these specific sparsification tools.

Limitations and Future Work

  • Computational Complexity: The BSS algorithm has a running time of $O(rdn^2)$, where $r$ is the number of features to select. While manageable for the datasets tested (up to 50,000 features), it might struggle with truly "extreme" dimensions without further optimization.
  • Linear Constraint: The current work focuses on linear kernels (Ridge Regression and RLSC). The authors note that extending these provable guarantees to non-linear kernels (like RBF) is a significant and interesting challenge for future research.
  • Fixed Design Setting: The theoretical bounds are derived for the "fixed design" setting (where the features are considered fixed and noise is added to the labels). Extending this to the "random design" setting would be a natural next step.

Summary updated

BibTeX
@article{paul2016feature,
  author = {Saurabh Paul and Petros Drineas},
  title = {{Feature Selection for Ridge Regression with Provable Guarantees}},
  journal = {Neural Computation},
  year = {2016},
  url = {https://openreview.net/forum?id=zXDcMph777N},
}
Figure