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 $F_p$-estimation, $F_p$-heavy hitters, entropy estimation, and others. For all of these problems, we develop adversarially robust $(1+\varepsilon)$-approximation algorithms whose required space matches that of the best known non-robust algorithms up to a $\text{poly}(\log n, 1/\varepsilon)$ 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.
翻译:我们调查了流动算法的对抗性强度。 在这种背景下,如果一种算法如果其性能保证保持稳健,即使其性能保证保持稳健,即使其性能保证保持稳健,即使它是由观察流流中算法产出的对手根据情况选择的,并且能够以在线方式作出反应。虽然确定性流算法本质上是稳健的,但流文学的许多中心问题并不包含亚线-空间确定性算法;另一方面,针对这些问题的典型的空间高效随机随机算法一般不具有对抗性强健。这引起了一个自然问题,即是否存在高效的敌对性强强(随机化)流算法来应对这些问题。在这项工作中,我们表明答案是积极的,是针对只插入型模型中各种重要的流问题,包括不同的元素和更一般的美元-美元估算值, $F_p$- heaty-spy hitter, entpro 估测, etropy 等等等。对于所有这些问题,我们开发了一种对抗性强性(varepsilal) $- a nualtraction a an-stalbliversaltragal) a extraction a as a an-stolgilling a as a as an- as an-stalblifolgalblipalgalgalgalbligalbligaldaldgald as as as as as asup asup a a as an an an- exgalgalgalgalgalgald exgalgalgalgalgalgald exgal exgald.