Optimal Passes and Perfect Sampling for Similarity Graph Statistics
arXiv:2609.35798
Abstract
We study statistical estimation on implicit weighted similarity graphs presented as node-arrival streams. Previous work~\cite{LZ26b} obtained constant-pass, sublinear-space algorithms for several basic statistics of such graphs, including the diversity index and the degree moments for , together with their associated sampling problems and . We settle three questions left unresolved by the previous work. First, we show that any two-pass streaming algorithm that -approximates requires bits of space; combined with the three-pass -space algorithm of~\cite{LZ26b}, this establishes a sharp transition between two and three passes for . Second and third, for every fixed we give a three-pass -perfect -sampler using words and a two-pass -perfect -sampler using words. Matching lower bounds up to polylogarithmic factors show that both the number of passes and the polynomial dependence on are optimal.
arXiv comment32 pages