Lune

FOCS2025Top-tier venue

Perfect Lp Sampling with Polylogarithmic Update Time

William Swartworth, David P. Woodruff, Samson Zhou

Abstract

Perfect LpL_{p} sampling in a stream was introduced by Jayaram and Woodruff (FOCS 2018) as a streaming primitive which, given turnstile updates to a vector x∈{−poly⁡(n),…,poly⁡(n)}nx \in\{-\operatorname{poly}(n), \ldots, \operatorname{poly}(n)\}^{n}, outputs an index i∗∈{1,2,…,n}i^{*} \in\{1,2, \ldots, n\} such that the probability of returning index i is exactly Pr⁡[i∗=i]=∣xi∣p∥x∥pp±1nC\operatorname{Pr}\left[i^{*}=i\right]=\frac{\left|x_{i}\right|^{p}}{\|x\|_{p}^{p}} \pm \frac{1}{n^{C}}, where C>0C\gt0 is an arbitrarily large constant. Jayaram and Woodruff achieved the optimal O~(log⁡2n)\tilde{O}\left(\log ^{2} n\right) bits of memory for 0(<)p(<)20(\lt)p(\lt)2, but their update time is at least nCn^{C} per stream update. Thus an important open question is to achieve efficient update time while maintaining optimal space. For 0(<)p(<)20(\lt)p(\lt)2, we give the first perfect LpL_{p}-sampler with the same optimal amount of memory but with only poly (log⁡n)(\log n) update time. Crucial to our result is an efficient simulation of a sum of reciprocals of powers of truncated exponential random variables by approximating its characteristic function, using the Gil-Pelaez inversion formula, and applying variants of the trapezoid formula to quickly approximate it.

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.

1 top-tier paper has 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

  • Towards Sampling Data Structures for Tensor Products in Turnstile Streams cites Non-adaptive adaptive sampling on turnstile streams
  • Towards Sampling Data Structures for Tensor Products in Turnstile Streams cites Composable Core-sets for Determinant Maximization Problems via Spectral Spanners
  • Towards Sampling Data Structures for Tensor Products in Turnstile Streams cites Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
  • Non-adaptive adaptive sampling on turnstile streams cites Composable Core-sets for Determinant Maximization Problems via Spectral Spanners
  • Core-sets for Fair and Diverse Data Summarization cites Composable Core-sets for Determinant Maximization Problems via Spectral Spanners
  • Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators cites Non-adaptive adaptive sampling on turnstile streams
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Towards Sampling Data Structures for Tensor Products in Turnstile StreamsZhao Song, Shenghao Xie, Samson ZhouICLR 2026 · 1 citation

Builds on9

  1. Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference EstimatorsDavid P. Woodruff, Samson ZhouFOCS 2021 · 25 citations
  2. Core-sets for Fair and Diverse Data SummarizationSepideh Mahabadi, Stojan TrajanovskiNeurIPS 2023 · 16 citations
  3. Non-adaptive adaptive sampling on turnstile streamsSepideh Mahabadi, Ilya P. Razenshteyn, David P. Woodruff, Samson ZhouSTOC 2020 · 10 citations
  4. Composable Core-sets for Determinant Maximization Problems via Spectral SpannersPiotr Indyk, Sepideh Mahabadi, Shayan Oveis Gharan, Alireza RezaeiSODA 2020 · 10 citations
  5. Optimal Communication Bounds for Classic Functions in the Coordinator Model and BeyondHossein Esfandiari, Praneeth Kacham, Vahab Mirrokni, David P. Woodruff et al.STOC 2024 · 2 citations

Related papers

  1. Lp Sampling in Distributed Data Streams with Applications to Adversarial RobustnessHonghao Lin, Zhao Song, David P. Woodruff, Shenghao Xie et al.SODA 2026
  2. Universal Perfect Samplers for Incremental StreamsSeth Pettie, Dingyu WangSODA 2025 · 1 citation
  3. Turnstile ℓp leverage score sampling with applicationsAlexander Munteanu, Simon OmlorICML 2024 · 4 citations
  4. Faster Update Time for Turnstile Streaming AlgorithmsJosh Alman, Huacheng YuSODA 2020 · 4 citations
  5. Pseudorandom Hashing for Space-bounded Computation with Applications in StreamingPraneeth Kacham, Rasmus Pagh, Mikkel Thorup, David P. WoodruffFOCS 2023
Dusk over the sea between two cliffs drawn in fine vertical lines