New Subset Selection Algorithms for Low Rank Approximation: Offline and Online

David P. Woodruff, Taisuke Yasuda

Introduction

Low-Rank Approximation (LRA) is a cornerstone of modern data science, enabling the compression and simplification of massive datasets by identifying their underlying structure. Traditionally, the Singular Value Decomposition (SVD) provides an optimal solution for LRA under the Frobenius norm (squared error). However, real-world data often presents challenges that the SVD cannot address: the presence of outliers requires robust loss functions like $\ell_1$ or Huber loss, and the need for interpretability often necessitates subset selection—choosing actual rows or columns from the original data rather than creating synthetic, dense basis vectors.

This paper introduces a novel framework for subset selection that bridges the gap between theoretical optimality and practical robustness. By introducing "well-conditioned spanning sets," the authors provide nearly optimal approximation ratios for robust loss functions in both offline and online settings.

The Problem: Beyond the Frobenius Norm

While SVD excels at minimizing squared errors, it is notoriously sensitive to outliers. Robust error measures, such as the $\ell_1$ norm or the Huber loss, provide a more resilient alternative. Furthermore, in many applications, we require the approximation to be formed from a subset of the original data points to preserve sparsity and maintain the physical meaning of the features.

The challenge is compounded in the online model, where data arrives as a stream. In this scenario, an algorithm must decide immediately and irrevocably whether to include a row in its subset without knowledge of future data. Previous methods often struggled to maintain low error rates while keeping the subset size manageable.

Methodological Innovation: Well-Conditioned Spanning Sets

The central innovation of this work is the shift from a traditional "well-conditioned basis" to a well-conditioned spanning set.

From Basis to Spanning Set

Historically, algorithms for subset selection relied on an Auerbach basis, which selects exactly $d$ vectors to represent a $d$-dimensional space. While mathematically elegant, these bases only provide weak guarantees, specifically regarding $\ell_\infty$ norm bounds.

The authors demonstrate that by relaxing the requirement from a basis to a spanning set—selecting slightly more vectors, specifically $O(d \log \log d)$—one can achieve significantly stronger $\ell_2$ norm bounds. This approach leverages the geometry of Löwner-John ellipsoids (the unique volume-minimizing ellipsoid containing a convex body) to minimize the "distortion" of the approximation.

Online Sensitivity Sampling

In the online setting, the authors address the difficulty of Sensitivity Sampling. Typically, determining the importance (sensitivity) of a data point requires multiple passes over the dataset. To solve this in a single pass, the authors developed an online detector that monitors the stability of the "optimal subspace." When the subspace is stable, the algorithm can accurately estimate sensitivities on the fly. If the subspace shifts significantly, the detector triggers a re-evaluation, allowing the algorithm to adapt to changing data distributions in real-time.

Key Insights

  • The Spanning Set Advantage: The transition from a basis to a spanning set is the paper's primary breakthrough. The additional vectors provide the mathematical leverage needed to drastically reduce approximation error.
  • Stability in Streams: The authors observed that while individual data points change, the optimal subspace representing the data often remains stable for long periods. Partitioning the stream into these stable segments allows for the application of sophisticated offline sampling techniques to online data.
  • Handling $\ell_p$ for $p > 2$: By utilizing "Lewis weights," the paper translates complex $\ell_p$ norm problems into more manageable $\ell_2$ geometric problems, overcoming technical barriers that previously limited research in this area.

Results and Impact

The paper establishes several "firsts" and improvements in the field of algorithmic linear algebra:

  1. Offline Improvements: For general entrywise loss functions, the authors removed a $\sqrt{k}$ factor from previous error bounds, reaching results that are theoretically tight.
  2. Oblivious Embeddings: They provided the first "oblivious" $\ell_p$ subspace embeddings for $1 \le p < 2$ with nearly optimal distortion, solving a long-standing open question.
  3. Online Breakthroughs: This work presents the first-ever online subset selection algorithms for both $\ell_p$ subspace approximation and entrywise $\ell_p$ low-rank approximation.
  4. Active Regression: The authors established nearly optimal query complexity for online active regression, answering open questions from major venues like NeurIPS and STOC.

Limitations and Future Work

Despite these advancements, the authors identify areas for further refinement. In the online setting, the subset size currently has a heavy dependence on the rank $k$ (specifically $k^{p+O(1)}$), which future research may reduce to match offline efficiency. Additionally, while the results for $p = \infty$ are tight, there remains a potential gap for improvements in the $2 < p < \infty$ range, particularly regarding the Huber loss distortion, which might be improvable from $O(k)$ to $O(\sqrt{k})$.

Summary updated

BibTeX
@inproceedings{woodruff2023new,
  author = {David P. Woodruff and Taisuke Yasuda},
  title = {{New Subset Selection Algorithms for Low Rank Approximation: Offline and Online}},
  booktitle = {STOC},
  year = {2023},
  doi = {10.1145/3564246.3585100},
}
Figure