Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
David P. Woodruff, Samson Zhou
Abstract
In the adversarially robust streaming model, a stream of elements is presented to an algorithm and is allowed to depend on the output of the algorithm at earlier times during the stream. In the classic insertion-only model of data streams, Ben-Eliezer et al. (PODS 2020, best paper award) show how to convert a non-robust algorithm into a robust one with a roughlyfactor overhead. This was subsequently improved to afactor overhead by Hassidim et al. (NeurIPS 2020, oral presentation), suppressing logarithmic factors. For general functions the latter is known to be best-possible, by a result of Kaplan et al. (CRYPTO 2021). We show how to bypass this impossibility result by developing data stream algorithms for a large class of streaming problems, with no overhead in the approximation factor. Our class of streaming problems includes the most well-studied problems such as the-heavy hitters problem,-moment estimation, as well as empirical entropy estimation. We substantially improve upon all prior work on these problems, giving the first optimal dependence on the approximation factor. As in previous work, we obtain a general transformation that applies to any non-robust streaming algorithm and depends on the so-called flip number. However, the key technical innovation is that we apply the transformation to what we call a difference estimator for the streaming problem, rather than an estimator for the streaming prob-lem itself. We then develop the first difference estimators for a wide range of problems. Our difference estimator methodology is not only applicable to the adversarially ro-bust model, but to other streaming models where temporal properties of the data play a central role. To demonstrate the generality of our technique, we additionally introduce a general framework for the related sliding window model of data streams and resolve longstanding open questions in that model, obtaining a drastic improvement from the previousdependence for-moment estimation for[1], [2] and integerof Braverman and Ostrovsky (FOCS, 2007), to the optimalbound. We also improve the priorbound for, and the priorbound for empirical entropy, obtaining the first optimaldependence for both of these problems as well. Qualitatively, our results show there is no separation between the sliding window model and the standard data stream model in terms of the approximation factor.
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.
39 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Non-adaptive adaptive sampling on turnstile streams cites Near Optimal Linear Algebra in the Online and Sliding Window Models
- Near Optimal Linear Algebra in the Online and Sliding Window Models cites Non-adaptive adaptive sampling on turnstile streams
- Consistent Low-Rank Approximation cites Adversarial Robustness of Streaming Algorithms through Importance Sampling
- Consistent Low-Rank Approximation cites Near-Optimal k-Clustering in the Sliding Window Model
- Consistent Low-Rank Approximation cites Sliding Window Algorithms for k-Clustering Problems
- Consistent Low-Rank Approximation cites Near Optimal Linear Algebra in the Online and Sliding Window Models
- Adversarial Robustness of Streaming Algorithms through Importance Sampling cites Near Optimal Linear Algebra in the Online and Sliding Window Models
- Near-Optimal k-Clustering in the Sliding Window Model cites Adversarial Robustness of Streaming Algorithms through Importance Sampling
- Near-Optimal k-Clustering in the Sliding Window Model cites Sliding Window Algorithms for k-Clustering Problems
- Near-Optimal k-Clustering in the Sliding Window Model cites Near Optimal Linear Algebra in the Online and Sliding Window Models
- Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs cites On the Robustness of CountSketch to Adaptive Inputs
- Sliding Window Algorithms for k-Clustering Problems cites Near Optimal Linear Algebra in the Online and Sliding Window Models
Cited by top-tier papers39
- Consistent Low-Rank ApproximationDavid Woodruff, Samson ZhouICLR 2026 · 62 citations
- Adversarial Robustness of Streaming Algorithms through Importance SamplingVladimir Braverman, Avinatan Hassidim, Yossi Matias, Mariano Schain et al.NeurIPS 2021 · 56 citations
- On the Robustness of CountSketch to Adaptive InputsEdith Cohen, Xin Lyu, Jelani Nelson, Tamás Sarlós et al.ICML 2022 · 29 citations
- Near-Optimal k-Clustering in the Sliding Window ModelDavid P. Woodruff, Peilin Zhong, Samson ZhouNeurIPS 2023 · 14 citations
- Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive InputsEdith Cohen, Jelani Nelson, Tamás Sarlós, Uri StemmerAAAI 2023 · 14 citations
Builds on3
- Sliding Window Algorithms for k-Clustering ProblemsMichele Borassi, Alessandro Epasto, Silvio Lattanzi, Sergei Vassilvitskii et al.NeurIPS 2020 · 35 citations
- Near Optimal Linear Algebra in the Online and Sliding Window ModelsVladimir Braverman, Petros Drineas, Cameron Musco, Christopher Musco et al.FOCS 2020 · 24 citations
- Non-adaptive adaptive sampling on turnstile streamsSepideh Mahabadi, Ilya P. Razenshteyn, David P. Woodruff, Samson ZhouSTOC 2020 · 10 citations
Related papers
- Adversarial Robustness on Insertion-Deletion StreamsElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu et al.STOC 2026 · 2 citations
- Adversarially Robust Dense-Sparse Tradeoffs via Heavy-HittersDavid P. Woodruff, Samson ZhouNeurIPS 2024 · 9 citations
- Learning-Augmented Data Stream AlgorithmsTanqiu Jiang, Yi Li, Honghao Lin, Yisong Ruan et al.ICLR 2020 · 53 citations
- DPSW-Sketch: A Differentially Private Sketch Framework for Frequency Estimation over Sliding WindowsYiping Wang, Yanhao Wang, Cen ChenKDD 2024 · 2 citations
- Separating Adaptive Streaming from Oblivious Streaming Using the Bounded Storage ModelHaim Kaplan, Yishay Mansour, Kobbi Nissim, Uri StemmerCRYPTO 2021 · 12 citations
