English

Polynomial Estimators for High Frequency Moments

Data Structures and Algorithms 2015-03-19 v1

Abstract

We present an algorithm for computing FpF_p, the ppth moment of an nn-dimensional frequency vector of a data stream, for 2<p<log(n)2 < p < \log (n) , to within 1±ϵ1\pm \epsilon factors, ϵ[n1/p,1]\epsilon \in [n^{-1/p},1] with high constant probability. Let mm be the number of stream records and MM be the largest magnitude of a stream update. The algorithm uses space in bits O(p2ϵ2n12/pE(p,n)log(n)log(nmM)/min(log(n),ϵ4/p2)) O(p^2\epsilon^{-2}n^{1-2/p}E(p,n) \log (n) \log (nmM)/\min(\log (n),\epsilon^{4/p-2})) where, E(p,n)=(12/p)1(1n4(12/p)E(p,n) = (1-2/p)^{-1}(1-n^{-4(1-2/p}). Here E(p,n)E(p,n) is O(1) O(1) for p=2+Ω(1)p = 2+\Omega(1) and O(logn) O(\log n) for p=2+O(1/log(n)p = 2 + O(1/\log (n). This improves upon the space required by current algorithms \cite{iw:stoc05,bgks:soda06,ako:arxiv10,bo:arxiv10} by a factor of at least Ω(ϵ4/pmin(log(n),ϵ4/p2))\Omega(\epsilon^{-4/p} \min(\log (n), \epsilon^{4/p-2})). The update time is O(log(n))O(\log (n)). We use a new technique for designing estimators for functions of the form ψ(\expectX)\psi(\expect{X}), where, XX is a random variable and ψ\psi is a smooth function, based on a low-degree Taylor polynomial expansion of ψ(\expectX)\psi(\expect{X}) around an estimate of \expectX\expect{X}.

Keywords

Cite

@article{arxiv.1104.4552,
  title  = {Polynomial Estimators for High Frequency Moments},
  author = {Sumit Ganguly},
  journal= {arXiv preprint arXiv:1104.4552},
  year   = {2015}
}
R2 v1 2026-06-21T17:58:01.568Z