Optimal Bounds for Approximate Counting

PROCEEDINGS OF THE 41ST ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '22)(2022)

引用 5|浏览34
暂无评分
摘要
Storing a counter incremented N times would naively consume Omicron (log Nu) 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 Omicron (log log Nu + log(1 / epsilon) + log( 1 / delta)) bits in expectation to provide a ( 1 + epsilon)-approximation with probability 1 - delta to the counter's value. We provide a new simple algorithm with a simple analysis showing that randomized space Omicron (log log Nu + log(1 / epsilon) + log( 1 / delta)) 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).
更多
查看译文
关键词
approximate counting, streaming, lower bounds
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要