The space complexity of approximating the frequency moments

Citation
N. Alon et al., The space complexity of approximating the frequency moments, J COMPUT SY, 58(1), 1999, pp. 137-147
Citations number
21
Categorie Soggetti
Computer Science & Engineering
Journal title
JOURNAL OF COMPUTER AND SYSTEM SCIENCES
ISSN journal
00220000 → ACNP
Volume
58
Issue
1
Year of publication
1999
Pages
137 - 147
Database
ISI
SICI code
0022-0000(199902)58:1<137:TSCOAT>2.0.ZU;2-M
Abstract
The frequency moments of a sequence containing mi elements of type i, 1 les s than or equal to i less than or equal to n, are the numbers F-k = Sigma(i =1)(n), m(i)(k). We consider the space complexity of randomized algorithms that approximate the numbers F-k, when the elements of the sequence are giv en one by one and cannot be stored. Surprisingly, it turns out that the num bers F-0, F-1, and F-2 can be approximated in logarithmic space, whereas th e approximation of F-k for k greater than or equal to 6 requires n(Omega(1) ) space. Applications to data bases are mentioned as well. (C) 1999 Academi c Press.