Lune

SODA2023Top-tier venue

Online Lewis Weight Sampling

David P. Woodruff, Taisuke Yasuda

Abstract

The seminal work of Cohen and Peng [CP15] (STOC 2015) introduced Lewis weight sampling to the theoretical computer science community, which yields fast row sampling algorithms for approximating d-dimensional subspaces of ℓp up to (1 + ε) relative error. Prior works have extended this important primitive to other settings, such as the online coreset and sliding window models [BDM + 20] (FOCS 2020). However, these results are only for p ∈ 1, 2, and results for p = 1 require a suboptimal Õ(d 2 /ε 2 ) samples.

In this work, we design the first nearly optimal ℓp subspace embeddings for all p ∈ (0, ∞) in the online coreset and sliding window models. In both models, our algorithms store Õ(d/ε 2 ) rows for p ∈ (0, 2) and Õ(d p/2 /ε 2 ) rows for p ∈ (2, ∞). This answers a substantial generalization of the main open question of [BDM + 20], and gives the first results for all p / ∈ 1, 2 and achieves nearly optimal sample complexities for all p.

Towards our result, we give the first analysis of "one-shot" Lewis weight sampling of sampling rows proportionally to their Lewis weights, which gives a sample complexity of Õ(d p/2 /ε 2 ) rows for p > 2. Previously, such a sampling scheme was only known to have a sample complexity of Õ(d p/2 /ε 5 ) [CP15], whereas a bound of Õ(d p/2 /ε 2 ) is known if a more sophisticated recursive sampling algorithm is used [MMWY21,LT91]. Note that the recursive sampling strategy cannot be implemented in an online setting, thus necessitating an analysis of one-shot Lewis weight sampling. Perhaps surprisingly, our analysis crucially uses a novel connection to online numerical linear algebra, even for offline Lewis weight sampling.

As an application, we obtain the first one-pass streaming coreset algorithms for (1 + ε) approximation of important generalized linear models, such as logistic regression and p-probit regression. Our upper bounds are parameterized by a complexity parameter µ introduced by [MSSW18], and we also provide the first lower bounds showing that a linear dependence on µ is necessary.

  • An earlier version of this work appears in SODA 2023, which includes an error in the result about adversarially robust ℓp subspace embeddings. The current version removes this result. The other results in this paper are unaffected.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Consistent Low-Rank Approximation cites Online Learning with Limited Information in the Sliding Window Model
  • Consistent Low-Rank Approximation cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • Computing Approximate 𝓁p Sensitivities cites Fast Regression for Structured Inputs
  • Computing Approximate 𝓁p Sensitivities cites Coresets for Classification - Simplified and Strengthened
  • Computing Approximate 𝓁p Sensitivities cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • Optimal bounds for ℓp sensitivity sampling via ℓ2 augmentation cites Computing Approximate 𝓁p Sensitivities
  • Optimal bounds for ℓp sensitivity sampling via ℓ2 augmentation cites Coresets for Classification - Simplified and Strengthened
  • Optimal bounds for ℓp sensitivity sampling via ℓ2 augmentation cites Oblivious Sketching for Logistic Regression
  • Fast Regression for Structured Inputs cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • Online Learning with Limited Information in the Sliding Window Model cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • Coresets for Classification - Simplified and Strengthened cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • Coresets for Classification - Simplified and Strengthened cites Oblivious Sketching for Logistic Regression
  • Adversarially Robust Dense-Sparse Tradeoffs via Heavy-Hitters cites Near Optimal Linear Algebra in the Online and Sliding Window Models
  • A Framework for Private Matrix Analysis in Sliding Window Model cites Near Optimal Linear Algebra in the Online and Sliding Window Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Consistent Low-Rank ApproximationDavid Woodruff, Samson ZhouICLR 2026 · 62 citations
  2. Adversarially Robust Dense-Sparse Tradeoffs via Heavy-HittersDavid P. Woodruff, Samson ZhouNeurIPS 2024 · 9 citations
  3. Optimal bounds for ℓp sensitivity sampling via ℓ2 augmentationAlexander Munteanu, Simon OmlorICML 2024 · 6 citations
  4. Computing Approximate 𝓁p SensitivitiesSwati Padmanabhan, David P. Woodruff, Richard ZhangNeurIPS 2023 · 5 citations
  5. Online Learning with Limited Information in the Sliding Window ModelVladimir Braverman, Sumegha Garg, Chen Wang, David P. Woodruff et al.SODA 2026 · 4 citations

Builds on12

  1. Coresets for Classification - Simplified and StrengthenedTung Mai, Cameron Musco, Anup RaoNeurIPS 2021 · 39 citations
  2. Near Optimal Linear Algebra in the Online and Sliding Window ModelsVladimir Braverman, Petros Drineas, Cameron Musco, Christopher Musco et al.FOCS 2020 · 24 citations
  3. Oblivious Sketching for Logistic RegressionAlexander Munteanu, Simon Omlor, David P. WoodruffICML 2021 · 23 citations
  4. Fast Regression for Structured InputsRaphael A. Meyer, Cameron Musco, Christopher Musco, David P. Woodruff et al.ICLR 2022 · 14 citations
  5. A Framework for Private Matrix Analysis in Sliding Window ModelJalaj Upadhyay, Sarvagya UpadhyayICML 2021 · 14 citations

Related papers

  1. High-Dimensional Geometric Streaming in Polynomial SpaceDavid P. Woodruff, Taisuke YasudaFOCS 2022 · 3 citations
  2. Root Ridge Leverage Score Sampling for ℓp Subspace ApproximationDavid P. Woodruff, Taisuke YasudaFOCS 2025 · 1 citation
  3. Active Linear Regression for ℓp Norms and BeyondCameron Musco, Christopher Musco, David P. Woodruff, Taisuke YasudaFOCS 2022 · 4 citations
  4. Coresets for Multiple ℓp RegressionDavid P. Woodruff, Taisuke YasudaICML 2024 · 3 citations
  5. High-Dimensional Geometric Streaming for Nearly Low Rank DataHossein Esfandiari, Praneeth Kacham, Vahab Mirrokni, David P. Woodruff et al.ICML 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines