Core Concepts
This paper proves a tight space complexity lower bound of Ω(log(nε^2)/ε^2) for estimating the second frequency moment (F2) of a data stream up to a (1 ± ε) multiplicative error, resolving a long-standing open question in streaming algorithms.
Stats
The classic Alon-Matias-Szegedy (AMS) algorithm uses O(log n/ε^2) bits of space for (1 ± ε)-estimating the F2 of a stream.
For p > 2, at least Ω(n^(1−2/p)/poly(ε)) space is needed for Fp-estimation.
A tight bound of Θ(log log n + log ε^(−1)) is known for approximate counting (p = 1).
For ε = Ω(1/√n), a (1 ± ε)-approximation of the F2 of a stream of length n can be achieved using O(log(ε^2n)/ε^2) space.
For p ∈ (1, 2], a streaming algorithm requires Ω(log(nε^(1/p))/ε^2) space to achieve a (1 ± ε) approximation to the Fp.