The Adversarial Robustness of Sampling
Not on the map. Why?
Abstract (arXiv)
Random sampling is a fundamental primitive in modern algorithms, statistics, and machine learning, used as a generic method to obtain a small yet "representative" subset of the data. In this work, we investigate the robustness of sampling against adaptive adversarial attacks in a streaming setting: An adversary sends a stream of elements from a universe U to a sampling algorithm (e.g., Bernoulli sampling or reservoir sampling), with the goal of making the sample "very unrepresentative" of the underlying data stream. The adversary is fully adaptive in the sense that it knows the exact content of the sample at any given point along the stream, and can choose which element to send next accordingly, in an online manner. Well-known results in the static setting indicate that if the full stream is chosen in advance (non-adaptively), then a random sample of size Omega(d / varepsilon2) is an varepsilon-approximation of the full data with good probability, where d is the VC-dimension of the underlying set system (U,R). Does this sample size suffice for robustness against an adaptive adversary? The simplistic answer is negative: We demonstrate a set system where a constant sample size (corresponding to VC-dimension 1) suffices in the static setting, yet an adaptive adversary can make the sample very unrepresentative, as long as the sample size is (strongly) sublinear in the stream length, using a simple and easy-to-implement attack. However, this attack is "theoretical only", requiring the set system size to (essentially) be exponential in the stream length. This is not a coincidence: We show that to make Bernoulli or reservoir sampling robust against adaptive adversaries, the modification required is solely to replace the VC-dimension term d in the sample size with the cardinality term log |R|. This nearly matches the bound imposed by the attack.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 2; 2023: 6; 2024: 3; 2025: 3.
18 papers.
Sort:
By area:
- 2023Data Distillation: A Surveycited by 86
- 2021Adversarial Laws of Large Numbers and Optimal Regret in Online Classificationcited by 39
- 2025ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-Searchcited by 17
- 2022Online Lewis Weight Samplingcited by 15
- 2021Adversarial Robustness of Streaming Algorithms through Importance Samplingcited by 13
- 2021A Framework for Adversarial Streaming via Differential Privacy and Difference Estimatorscited by 9
- 2021Online Selective Classification with Limited Feedbackcited by 8
- 2022Uniform Approximations for Randomized Hadamard Transforms with Applicationscited by 7
- 2024Sequential Manipulation Against Rank Aggregation: Theory and Algorithmcited by 7
- 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributionscited by 6
- 2024Fingerprinting Codes Meet Geometry: Improved Lower Bounds for Private Query Release and Adaptive Data Analysiscited by 3
- 2023Provable Robustness for Streaming Models with a Sliding Windowcited by 1
6 more
- 2023Universal Deoxidation of Semiconductor Substrates Assisted by Machine-Learning and Real-Time-Feedback-Controlcited by 1
- 2023Relaxed Models for Adversarial Streaming: The Advice Model and the Bounded Interruptions Modelcited by 0
- 2023Adversarially Robust Distributed Count Tracking via Partial Differential Privacycited by 0
- 2023Robust Streaming, Sampling, and a Perspective on Online Learningcited by 0
- 2024Fast White-Box Adversarial Streaming Without a Random Oraclecited by 0
- 2025Minimizing Human Intervention in Online Classificationcited by 0
- 2025Minimizing Human Intervention in Online Classification27 Oct 2025
- 2025ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-Search27 Sep 2025
- 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributions2 Mar 2025
- 2024Fingerprinting Codes Meet Geometry: Improved Lower Bounds for Private Query Release and Adaptive Data Analysis18 Dec 2024
- 2024Sequential Manipulation Against Rank Aggregation: Theory and Algorithm2 Jul 2024
- 2024Fast White-Box Adversarial Streaming Without a Random Oracle10 Jun 2024
- 2023Universal Deoxidation of Semiconductor Substrates Assisted by Machine-Learning and Real-Time-Feedback-Control4 Dec 2023
- 2023Robust Streaming, Sampling, and a Perspective on Online Learning4 Dec 2023
- 2023Adversarially Robust Distributed Count Tracking via Partial Differential Privacy1 Nov 2023
- 2023Provable Robustness for Streaming Models with a Sliding Window28 Mar 2023
- 2023Relaxed Models for Adversarial Streaming: The Advice Model and the Bounded Interruptions Model22 Jan 2023
- 2023Data Distillation: A Survey11 Jan 2023
6 more
- 2022Online Lewis Weight Sampling17 Jul 2022
- 2022Uniform Approximations for Randomized Hadamard Transforms with Applications3 Mar 2022
- 2021Online Selective Classification with Limited Feedback27 Oct 2021
- 2021A Framework for Adversarial Streaming via Differential Privacy and Difference Estimators30 Jul 2021
- 2021Adversarial Robustness of Streaming Algorithms through Importance Sampling28 Jun 2021
- 2021Adversarial Laws of Large Numbers and Optimal Regret in Online Classification22 Jan 2021
- 2023Data Distillation: A Surveycited by 86
- 2021Adversarial Laws of Large Numbers and Optimal Regret in Online Classificationcited by 39
- 2022Online Lewis Weight Samplingcited by 15
- 2021Adversarial Robustness of Streaming Algorithms through Importance Samplingcited by 13
- 2021A Framework for Adversarial Streaming via Differential Privacy and Difference Estimatorscited by 9
- 2021Online Selective Classification with Limited Feedbackcited by 8
- 2022Uniform Approximations for Randomized Hadamard Transforms with Applicationscited by 7
- 2024Sequential Manipulation Against Rank Aggregation: Theory and Algorithmcited by 7
- 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributionscited by 6
- 2024Fingerprinting Codes Meet Geometry: Improved Lower Bounds for Private Query Release and Adaptive Data Analysiscited by 3
- 2023Provable Robustness for Streaming Models with a Sliding Windowcited by 1
- 2023Universal Deoxidation of Semiconductor Substrates Assisted by Machine-Learning and Real-Time-Feedback-Controlcited by 1
12 most cited of 17 All 17 (JSON)
- 2025Minimizing Human Intervention in Online Classification27 Oct 2025
- 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributions2 Mar 2025
- 2024Fingerprinting Codes Meet Geometry: Improved Lower Bounds for Private Query Release and Adaptive Data Analysis18 Dec 2024
- 2024Sequential Manipulation Against Rank Aggregation: Theory and Algorithm2 Jul 2024
- 2024Fast White-Box Adversarial Streaming Without a Random Oracle10 Jun 2024
- 2023Universal Deoxidation of Semiconductor Substrates Assisted by Machine-Learning and Real-Time-Feedback-Control4 Dec 2023
- 2023Robust Streaming, Sampling, and a Perspective on Online Learning4 Dec 2023
- 2023Adversarially Robust Distributed Count Tracking via Partial Differential Privacy1 Nov 2023
- 2023Provable Robustness for Streaming Models with a Sliding Window28 Mar 2023
- 2023Relaxed Models for Adversarial Streaming: The Advice Model and the Bounded Interruptions Model22 Jan 2023
- 2023Data Distillation: A Survey11 Jan 2023
- 2022Online Lewis Weight Sampling17 Jul 2022
12 newest of 17 All 17 (JSON)