Abstract
We investigate the adversarial robustness of streaming algorithms. In this context, an algorithm is considered robust if its performance guarantees hold even if the stream is chosen adaptively by an adversary that observes the outputs of the algorithm along the stream and can react in an online manner. While deterministic streaming algorithms are inherently robust, many central problems in the streaming literature do not admit sublinear-space deterministic algorithms; on the other hand, classical space-efficient randomized algorithms for these problems are generally not adversarially robust. This raises the natural question of whether there exist efficient adversarially robust (randomized) streaming algorithms for these problems. In this work, we show that the answer is positive for various important streaming problems in the insertion-only model, including distinct elements and more generally Fp-estimation, Fp-heavy hitters, entropy estimation, and others. For all of these problems, we develop adversarially robust (1+ϵ)-approximation algorithms whose required space matches that of the best known non-robust algorithms up to a poly(log n, 1/ϵ) multiplicative factor (and in some cases even up to a constant factor). Towards this end, we develop several generic tools allowing one to efficiently transform a non-robust streaming algorithm into a robust one in various scenarios.
Original language | English |
---|---|
Article number | 17 |
Journal | Journal of the ACM |
Volume | 69 |
Issue number | 2 |
DOIs | |
State | Published - Apr 2022 |
Bibliographical note
Publisher Copyright:© 2022 Association for Computing Machinery.
Funding
∗Work partially done while the author was at Tel Aviv University and later at Harvard University. †‡Work partially conducted while the author was at Carnegie Mellon University. ‡Supported by the Office of Naval Research (ONR) grant N00014-18-1-2562, and the National Science Foundation (NSF) under Grant No. CCF-1815840. §Work partially done while the author was at Tel Aviv University. Authors’ addresses: O. Ben-Eliezer, Massachusetts Institute of Technology, Cambridge, Massachusetts 02139; email: [email protected]; R. Jayaram, Google Research, New York, New York; email: [email protected]; D. P. Woodruff (corresponding author), Carnegie Mellon University, Pittsburgh, Pennsylvania 15213; email: [email protected]; E. Yogev, Bar-Ilan University, Ramat Gan 5290002, Israel; email: [email protected]. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]. © 2022 Association for Computing Machinery. 0004-5411/2022/01-ART17 $15.00 https://doi.org/10.1145/3498334
Funders | Funder number |
---|---|
National Science Foundation | CCF-1815840 |
Office of Naval Research | N00014-18-1-2562 |
Directorate for Computer and Information Science and Engineering | 1815840 |
Keywords
- Streaming algorithms
- adaptive inputs
- adversarial model
- distinct elements
- robust streaming