arXiv · 2411.02148
Optimality of Frequency Moment Estimation
Abstract
Estimating the second frequency moment of a stream up to $(1\pm\varepsilon)$ multiplicative error requires at most $O(\log n / \varepsilon^2)$ bits of space, due to a seminal result of Alon, Matias, and Szegedy. It is also known that at least $\Omega(\log n + 1/\varepsilon^{2})$ space is needed. We prove an optimal lower bound of $\Omega\left(\log \left(n \varepsilon^2 \right) / \varepsilon^2\right)$ for all $\varepsilon = \Omega(1/\sqrt{n})$. Note that when $\varepsilon>n^{-1/2 + c}$, where $c>0$, our lower bound matches the classic upper bound of AMS. For smaller values of $\varepsilon$ we also introduce a revised algorithm that improves the classic AMS bound and matches our lower bound.
Explore related subjects
Keep this discovery
Mark Braverman, Or Zamir. 2024-11-04. Optimality of Frequency Moment Estimation. https://arxiv.org/abs/2411.02148
Cite the original work for its findings. Save a collection to share your selection of sources.