TY - GEN
T1 - Tight Bounds for Low-Error Frequency Moment Estimation and the Power of Multiple Passes
AU - Green-Maimon, Naomi
AU - Zamir, Or
N1 - Publisher Copyright: © Naomi Green-Maimon and Or Zamir.
PY - 2026/7/1
Y1 - 2026/7/1
N2 - Estimating the second frequency moment F2 of a data stream up to a (1 ± ε) factor is a central problem in the streaming literature. For errors ε > Ω(1/√n), the tight bound Θ (log(ε2n)/ε2) was recently established by Braverman and Zamir. In this work, we complete the picture by resolving the remaining regime of small error, ε < 1/√n, showing that the optimal space complexity is (Formula presented) bits for all ε ≥ 1/n2, assuming a sufficiently large universe. This closes the gap between the best known Ω(n) lower bound and the straightforward O(n log n) upper bound in that range, and shows that essentially storing the entire stream is necessary for high-precision estimation. To derive this bound, we fully characterize the two-party communication complexity of estimating the size of a set intersection up to an arbitrary additive error εn. In particular, we prove a tight Ω(n log n) lower bound for one-way communication protocols when ε < n-1/2-Ω(1), in contrast to classical O(n)-bit protocols that use two-way communication. Motivated by this separation, we present a two-pass streaming algorithm that computes the exact histogram of a stream with high probability using only O(n log log n) bits of space, in contrast to the Θ(n log n) bits required in one pass even to approximate F2 with small error. This yields the first asymptotic separation between one-pass and O(1)-passes space complexity for small frequency moment estimation.
AB - Estimating the second frequency moment F2 of a data stream up to a (1 ± ε) factor is a central problem in the streaming literature. For errors ε > Ω(1/√n), the tight bound Θ (log(ε2n)/ε2) was recently established by Braverman and Zamir. In this work, we complete the picture by resolving the remaining regime of small error, ε < 1/√n, showing that the optimal space complexity is (Formula presented) bits for all ε ≥ 1/n2, assuming a sufficiently large universe. This closes the gap between the best known Ω(n) lower bound and the straightforward O(n log n) upper bound in that range, and shows that essentially storing the entire stream is necessary for high-precision estimation. To derive this bound, we fully characterize the two-party communication complexity of estimating the size of a set intersection up to an arbitrary additive error εn. In particular, we prove a tight Ω(n log n) lower bound for one-way communication protocols when ε < n-1/2-Ω(1), in contrast to classical O(n)-bit protocols that use two-way communication. Motivated by this separation, we present a two-pass streaming algorithm that computes the exact histogram of a stream with high probability using only O(n log log n) bits of space, in contrast to the Θ(n log n) bits required in one pass even to approximate F2 with small error. This yields the first asymptotic separation between one-pass and O(1)-passes space complexity for small frequency moment estimation.
KW - communication complexity
KW - frequency moments
KW - multipass streaming
KW - streaming algorithms
UR - https://www.scopus.com/pages/publications/105044610037
U2 - 10.4230/LIPIcs.ICALP.2026.102
DO - 10.4230/LIPIcs.ICALP.2026.102
M3 - Conference contribution
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026
A2 - Bhattacharya, Sayan
A2 - Nanongkai, Danupon
A2 - Benedikt, Michael
A2 - Puppis, Gabriele
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026
Y2 - 7 July 2026 through 10 July 2026
ER -