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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext abba5103-7280-438c-9e88-a1fcb729576cCited 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
- Separating Adaptive Streaming from Oblivious Streaming Using the Bounded Storage ModelHaim Kaplan, Yishay Mansour, Kobbi Nissim, Uri StemmerCRYPTO 2021 · 12 citations
- Learning-Augmented Moment Estimation on Time-Decay ModelsSoham Nagawanshi, Shalini Panthangi, Chen Wang, David P. Woodruff et al.ICLR 2026 · 3 citations
