Tight Streaming Lower Bounds for Deterministic Approximate Counting
Abstract
We study the streaming complexity of k-counter approximate counting. In the kcounter approximate counting problem, we are given an input string in [k] n , and we are required to approximate the number of each j's (j ∈ [k]) in the string. Typically we require an additive error ≤ n 3(k-1) for each j ∈ [k] respectively, and we are mostly interested in the regime n ≫ k. We prove a lower bound result that the deterministic and worst-case k-counter approximate counting problem requires Ω(k log(n/k)) bits of space in the streaming model, while no non-trivial lower bounds were known before. In contrast, trivially counting the number of each j ∈ [k] uses O(k log n) bits of space. Our main proof technique is analyzing a novel potential function.
Our lower bound for k-counter approximate counting also implies the optimality of some other streaming algorithms. For example, we show that the celebrated Misra-Gries algorithm for heavy hitters [MG82] has achieved optimal space usage.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on3
- The Coin Problem with Applications to Data StreamsMark Braverman, Sumegha Garg, David P. WoodruffFOCS 2020 · 14 citations
- Tight Space Complexity of the Coin ProblemMark Braverman, Sumegha Garg, Or ZamirFOCS 2021 · 5 citations
- Optimal Quantile Estimation: Beyond the Comparison ModelMeghal Gupta, Mihir Singhal, Hongxun WuFOCS 2024 · 3 citations
Related papers
- Tight Space Lower Bound for Pseudo-Deterministic Approximate CountingOfer Grossman, Meghal Gupta, Mark SellkeFOCS 2023 · 1 citation
- Settling the Pass Complexity of Streaming Set CoverSepehr Assadi, Janani SundaresanSTOC 2026
- An Iconic Heavy Hitters Algorithm Made PrivateRayne HollandCCS 2026
- An Unconditional Lower Bound for Two-Pass Streaming Algorithms for Maximum Matching ApproximationChristian Konrad, Kheeran K. NaiduSODA 2024 · 1 citation
- A New Information Complexity Measure for Multi-pass Streaming with ApplicationsMark Braverman, Sumegha Garg, Qian Li, Shuo Wang et al.STOC 2024
