An improved interactive streaming algorithm for the distinct elements problem

From MaRDI portal



Abstract: The exact computation of the number of distinct elements (frequency moment F0) is a fundamental problem in the study of data streaming algorithms. We denote the length of the stream by n where each symbol is drawn from a universe of size m. While it is well known that the moments F0,F1,F2 can be approximated by efficient streaming algorithms, it is easy to see that exact computation of F0,F2 requires space Omega(m). In previous work, Cormode et al. therefore considered a model where the data stream is also processed by a powerful helper, who provides an interactive proof of the result. They gave such protocols with a polylogarithmic number of rounds of communication between helper and verifier for all functions in NC. This number of rounds left(O(log2m);extinthecaseof;F0ight) can quickly make such protocols impractical. Cormode et al. also gave a protocol with logm+1 rounds for the exact computation of F0 where the space complexity is Oleft(logmlogn+log2might) but the total communication Oleft(sqrtnlogmleft(logn+logmight)ight). They managed to give logm round protocols with operatornamepolylog(m,n) complexity for many other interesting problems including F2, Inner product, and Range-sum, but computing F0 exactly with polylogarithmic space and communication and O(logm) rounds remained open. In this work, we give a streaming interactive protocol with logm rounds for exact computation of F0 using Oleft(logmleft(,logn+logmloglogm,ight)ight) bits of space and the communication is Oleft(logmleft(,logn+log3m(loglogm)2,ight)ight). The update time of the verifier per symbol received is O(log2m).











This page was built for publication: An improved interactive streaming algorithm for the distinct elements problem

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5167803)