research

Fast Moment Estimation in Data Streams in Optimal Space

Abstract

We give a space-optimal streaming algorithm with update time O(log2(1/ϵ)loglog(1/ϵ))O(log^2(1/\epsilon)loglog(1/\epsilon)) for approximating the pth frequency moment, 0 < p < 2, of a length-n vector updated in a data stream up to a factor of 1±ϵ1 \pm \epsilon. This provides a nearly exponential improvement over the previous space optimal algorithm of [Kane-Nelson-Woodruff, SODA 2010], which had update time Ω(1/ϵ2)\Omega(1/\epsilon^2). When combined with the work of [Harvey-Nelson-Onak, FOCS 2008], we also obtain the first algorithm for entropy estimation in turnstile streams which simultaneously achieves near-optimal space and fast update time.Engineering and Applied Science

    Similar works