Finding missing items requires strong forms of randomness
Abstract
Adversarially robust streaming algorithms are required to process a stream of elements and produce correct outputs, even when each stream element can be chosen as a function of earlier algorithm outputs. As with classic streaming algorithms, which must only be correct for the worst-case fixed stream, adversarially robust algorithms with access to randomness can use significantly less space than deterministic algorithms. We prove that for the Missing Item Finding problem in streaming, the space complexity also significantly depends on how adversarially robust algorithms are permitted to use randomness. (In contrast, the space complexity of classic streaming algorithms does not depend as strongly on the way randomness is used.) For Missing Item Finding on streams of length with elements in , and error, we show that when , "random seed" adversarially robust algorithms, which only use randomness at initialization, require bits of space, while "random tape" adversarially robust algorithms, which may make random decisions at any time, may use space. When is between and , "random tape" adversarially robust algorithms need space, while "random oracle" adversarially robust algorithms, which can read from a long random string for free, may use space. The space lower bound for the "random seed" case follows, by a reduction given in prior work, from a lower bound for pseudo-deterministic streaming algorithms given in this paper.
Cite
@article{arxiv.2310.03634,
title = {Finding missing items requires strong forms of randomness},
author = {Amit Chakrabarti and Manuel Stoeckl},
journal= {arXiv preprint arXiv:2310.03634},
year = {2024}
}
Comments
46 pages, 3 figures; since v1, rewrote Sec 2, simplified proofs in Sec 4, clarified Sec 6, changed title from "When a random tape is not enough: lower bounds for a problem in adversarially robust streaming", and made many minor improvements