Universal Sketches for the Frequency Negative Moments and Other Decreasing Streaming Sums
Universal Sketches for the Frequency Negative Moments and Other Decreasing Streaming Sums
复制标题
频率负矩和其他递减流总和的通用草图
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Stephen R. Chestnut
中科院分区:
文献类型:
--
作者:
V. Braverman;Stephen R. Chestnut
Given a stream with frequencies $f_d$, for $d\in[n]$, we characterize the space necessary for approximating the frequency negative moments $F_p=\sum |f_d|^p$, where $p<0$ and the sum is taken over all items $d\in[n]$ with nonzero frequency, in terms of $n$, $\epsilon$, and $m=\sum |f_d|$. To accomplish this, we actually prove a much more general result. Given any nonnegative and nonincreasing function $g$, we characterize the space necessary for any streaming algorithm that outputs a $(1\pm\epsilon)$-approximation to $\sum g(|f_d|)$, where again the sum is over items with nonzero frequency. The storage required is expressed in the form of the solution to a relatively simple nonlinear optimization problem, and the algorithm is universal for $(1\pm\epsilon)$-approximations to any such sum where the applied function is nonnegative, nonincreasing, and has the same or smaller space complexity as $g$. This partially answers an open question of Nelson (IITK Workshop Kanpur, 2009).