Optimal Bounds for Approximate Counting
Optimal Bounds for Approximate Counting
复制标题
近似计数的最佳界限
DOI:
10.1145/3517804.3526225
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Yu, Huacheng
中科院分区:
文献类型:
--
作者:
Nelson, Jelani;Yu, Huacheng
Storing a counter incremented N times would naively consume O(log N) bits of memory. In 1978 Morris described the very first streaming algorithm: the "Morris Counter" [15]. His algorithm's space bound is a random variable, and it has been shown to be O(log log N + log(1/ε) + log(1/δ)) bits in expectation to provide a (1+ε)-approximation with probability $1-δ to the counter's value. We provide a new simple algorithm with a simple analysis showing that randomized space O(log log N + log(1/ε) + log log(1/δ)) bits suffice for the same task, i.e. an exponentially improved dependence on the inverse failure probability. We then provide a new analysis showing that the original Morris Counter itself, after a minor but necessary tweak, actually also enjoys this same improved upper bound. Lastly, we prove a new lower bound for this task showing optimality of our upper bound. We thus completely resolve the asymptotic space complexity of approximate counting. Furthermore all our constants are explicit, and our lower bound and tightest upper bound differ by a multiplicative factor of at most 3+o(1).
影响因子:
0.5
作者:
André Gronemeier;Martin Sauerhoff
通讯作者:
Martin Sauerhoff
DOI:
--
发表时间:
1982-07
期刊:
--
影响因子:
--
作者:
P. Flajolet
通讯作者:
P. Flajolet
影响因子:
2.5
作者:
Graham Cormode;K. Yi
通讯作者:
K. Yi