Optimal bounds for approximate counting
Jelani Nelson, Huacheng Yu

TL;DR
This paper presents a new simple algorithm for approximate counting that improves space efficiency, provides a refined analysis of Morris Counter, and establishes a tight lower bound, fully resolving the asymptotic space complexity.
Contribution
It introduces a simplified algorithm with improved space bounds, refines analysis of Morris Counter, and proves a matching lower bound, resolving the asymptotic space complexity of approximate counting.
Findings
New simple algorithm with $O(\log\log N + \log(1/\varepsilon) + \log\log(1/\delta))$ bits
Refined analysis showing Morris Counter also achieves improved bounds
Established a tight lower bound within a factor of 3+o(1)
Abstract
Storing a counter incremented times would naively consume bits of memory. In 1978 Morris described the very first streaming algorithm: the "Morris Counter". His algorithm's space bound is a random variable, and it has been shown to be bits in expectation to provide a -approximation with probability to the counter's value. We provide a new simple algorithm with a simple analysis showing that randomized space 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Machine Learning and Algorithms · Algorithms and Data Compression
