Score: 1

Tight Bounds for Heavy-Hitters and Moment Estimation in the Sliding Window Model

Published: April 29, 2025 | arXiv ID: 2504.21175v1

By: Shiyuan Feng, William Swartworth, David P. Woodruff

Potential Business Impact:

Finds important items in fast-moving data streams.

Business Areas:
A/B Testing Data and Analytics

We consider the heavy-hitters and $F_p$ moment estimation problems in the sliding window model. For $F_p$ moment estimation with $1<p\leq 2$, we show that it is possible to give a $(1\pm \epsilon)$ multiplicative approximation to the $F_p$ moment with $2/3$ probability on any given window of size $n$ using $\tilde{O}(\frac{1}{\epsilon^p}\log^2 n + \frac{1}{\epsilon^2}\log n)$ bits of space. We complement this result with a lower bound showing that our algorithm gives tight bounds up to factors of $\log\log n$ and $\log\frac{1}{\epsilon}.$ As a consequence of our $F_2$ moment estimation algorithm, we show that the heavy-hitters problem can be solved on an arbitrary window using $O(\frac{1}{\epsilon^2}\log^2 n)$ space which is tight.

Country of Origin
πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ China, United States

Page Count
26 pages

Category
Computer Science:
Data Structures and Algorithms