Tight Streaming Lower Bounds for Deterministic Approximate Counting
Abstract
We study the streaming complexity of -counter approximate counting. In the -counter approximate counting problem, we are given an input string in , and we are required to approximate the number of each 's () in the string. Typically we require an additive error for each respectively, and we are mostly interested in the regime . We prove a lower bound result that the deterministic and worst-case -counter approximate counting problem requires bits of space in the streaming model, while no non-trivial lower bounds were known before. In contrast, trivially counting the number of each uses bits of space. Our main proof technique is analyzing a novel potential function. Our lower bound for -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.
Keywords
Cite
@article{arxiv.2406.12149,
title = {Tight Streaming Lower Bounds for Deterministic Approximate Counting},
author = {Yichuan Wang},
journal= {arXiv preprint arXiv:2406.12149},
year = {2024}
}