Adversarial Robustness of Streaming Algorithms through Importance Sampling
Vladimir Braverman, Avinatan Hassidim, Yossi Matias, Mariano Schain, Sandeep Silwal, Samson Zhou
Abstract
Robustness against adversarial attacks has recently been at the forefront of algorithmic design for machine learning tasks. In the adversarial streaming model, an adversary gives an algorithm a sequence of adaptively chosen updates u 1 , . . . , u n as a data stream. The goal of the algorithm is to compute or approximate some predetermined function for every prefix of the adversarial stream, but the adversary may generate future updates based on previous outputs of the algorithm. In particular, the adversary may gradually learn the random bits internally used by an algorithm to manipulate dependencies in the input. This is especially problematic as many important problems in the streaming model require randomized algorithms, as they are known to not admit any deterministic algorithms that use sublinear space. In this paper, we introduce adversarially robust streaming algorithms for central machine learning and algorithmic tasks, such as regression and clustering, as well as their more general counterparts, subspace embedding, low-rank approximation, and coreset construction. For regression and other numerical linear algebra related tasks, we consider the row arrival streaming model. Our results are based on a simple, but powerful, observation that many importance sampling-based algorithms give rise to adversarial robustness which is in contrast to sketching based algorithms, which are very prevalent in the streaming literature but suffer from adversarial attacks. In addition, we show that the well-known merge and reduce paradigm in streaming is adversarially robust. Since the merge and reduce paradigm allows coreset constructions in the streaming setting, we thus obtain robust algorithms for k-means, k-median, k-center, Bregman clustering, projective clustering, principal component analysis (PCA) and non-negative matrix factorization. To the best of our knowledge, these are the first adversarially robust results for these problems yet require no new algorithmic implementations. Finally, we empirically confirm the robustness of our algorithms on various adversarial attacks and demonstrate that by contrast, some common existing algorithms are not robust.
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 4a578412-969c-4058-ae60-d9c5fffe4a3dCited by top-tier papers29
- Consistent Low-Rank ApproximationDavid Woodruff, Samson ZhouICLR 2026 · 62 citations
- Fast Regression for Structured InputsRaphael A. Meyer, Cameron Musco, Christopher Musco, David P. Woodruff et al.ICLR 2022 · 14 citations
- Near-Optimal k-Clustering in the Sliding Window ModelDavid P. Woodruff, Peilin Zhong, Samson ZhouNeurIPS 2023 · 14 citations
- Dynamic algorithms against an adaptive adversary: generic constructions and lower boundsAmos Beimel, Haim Kaplan, Yishay Mansour, Kobbi Nissim et al.STOC 2022 · 11 citations
- Streaming Attention Approximation via Discrepancy TheoryEkaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh et al.NeurIPS 2025 · 10 citations
Builds on10
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Robust Graph Representation Learning via Neural SparsificationCheng Zheng, Bo Zong, Wei Cheng, Dongjin Song et al.ICML 2020 · 330 citations
- Small-GAN: Speeding up GAN Training using Core-SetsSamarth Sinha, Han Zhang, Anirudh Goyal, Yoshua Bengio et al.ICML 2020 · 87 citations
- Adversarially Robust Streaming Algorithms via Differential PrivacyAvinatan Hassidim, Haim Kaplan, Yishay Mansour, Yossi Matias et al.NeurIPS 2020 · 85 citations
- Data-Independent Neural Pruning via CoresetsBen Mussay, Margarita Osadchy, Vladimir Braverman, Samson Zhou et al.ICLR 2020 · 65 citations
Related papers
- Improved Algorithms for White-Box Adversarial StreamsYing Feng, David P. WoodruffICML 2023 · 5 citations
- Robust Sparsification via SensitivityChansophea Wathanak In, Yi Li, David P. Woodruff, Xuan WuICML 2025
- Near Optimal Linear Algebra in the Online and Sliding Window ModelsVladimir Braverman, Petros Drineas, Cameron Musco, Christopher Musco et al.FOCS 2020 · 24 citations
- Layered Sampling for Robust Optimization ProblemsHu Ding, Zixiu WangICML 2020 · 6 citations
- Tight Sensitivity Bounds For Smaller CoresetsAlaa Maalouf, Adiel Statman, Dan FeldmanKDD 2020 · 11 citations
