Tight Streaming Lower Bounds for Deterministic Approximate Counting
Yichuan Wang
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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8f6bf78c-0f10-4dd1-99e2-6ca136b2fa4dBuilds 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
