Skip to content
Preprint

Optimal Passes and Perfect Sampling for Similarity Graph Statistics

Sep 2026 · 0 citations · 33 references
Computer Science

TL;DR

Matching lower bounds up to polylogarithmic factors show that both the number of passes and the polynomial dependence on $n$ are optimal.

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 $\mathsf{DI}=\sum_i d_i^{-1}$ and the degree moments $M_p=\sum_i d_i^p$ for $p>0$, together with their associated sampling problems $L_{\mathsf{DI}}$ and $L_{M_p}$. We settle three questions left unresolved by the previous work. First, we show that any two-pass streaming algorithm that $1.1$-approximates $\mathsf{DI}$ requires $\Omega(n)$ bits of space; combined with the three-pass $\tilde{O}(\sqrt n)$-space algorithm of~\cite{LZ26b}, this establishes a sharp transition between two and three passes for $\mathsf{DI}$. Second and third, for every fixed $c>0$ we give a three-pass $n^{-c}$-perfect $L_{\mathsf{DI}}$-sampler using $O_c(\sqrt n\log n)$ words and a two-pass $n^{-c}$-perfect $L_{M_p}$-sampler using $O_{p,c}(n^{1-1/(p+1)}\log n)$ words. Matching lower bounds up to polylogarithmic factors show that both the number of passes and the polynomial dependence on $n$ are optimal.

View source

Similar papers

Preprint Oct 2026

Almost-Linear Decremental Single-Source Distance Estimates in Directed Graphs via Cut Balance

We give a deterministic reduction for maintaining simultaneous approximate single-source distance estimates in online decremental directed graphs. For positive integer weights in $[1,W]$, the algorithm maintains an explicit array of integer $(1+\varepsilon)$ upper estimates, identifies unreachable vertices exactly, and...

Han-Qing Li · 0 citations
Preprint Oct 2026

Sharp detection thresholds for random geometric graphs with polynomial average degrees

We study the random geometric graph formed by connecting $n$ independent uniform points on $\mathbb S^{d-1}$ whenever their inner product exceeds a threshold chosen to give edge density $p$. We establish the conjectured dimensionality threshold for indistinguishability from the Erd\"{o}s-R\'enyi graph $G(n,p)$ througho...

Hang Du, Cheng Mao, Ni-Ke Sun et al. · 0 citations
Preprint Aug 2026

Streaming algorithms for computing coresets and $k$-median clustering in the Hamming space

This work presents the first streaming algorithm for computing an $\varepsilon$-coreset for continuous $k$-median clustering under the Hamming distance, and can be implemented in streaming, requiring only $\tilde{O}_\varepsilon(\ell k + k^2)$ space.

Taha El Ghazi, Jonas Ellert, Chien-Chung Huang et al. · 0 citations
Preprint Sep 2026

Scalable Triangle Counting: The Threshold Algorithm

We study one-pass triangle counting on random-order edge streams. We present a remarkably simple algorithm---read edges from the stream until $Q$ triangles are observed in the prefix, then output $Q\,(m/S)^3$ where $S$ is the stopping length---and prove that, when the maximum number of triangles incident to any edge sa...

Asaf Etgar, A. Gilbert, Quan-Quan C. Liu et al. · 0 citations
Preprint Oct 2026

Nearly optimal Personalized PageRank computation

We study the fundamental problem of computing Personalized PageRank (PPR) on an undirected and unweighted graph $G$. We focus on the $\eps$-error guarantee introduced by Andersen, Chung, and Lang [ACL; FOCS 2006 $\&$ Internet Math 2007]. Their classic local push method computes an approximate PPR vector satisfying the...

Rong-Hua Li, Yi-Chun Yang, Jun-Jie Zhou · 0 citations
Preprint Sep 2026

A sampling Lov\'{a}sz Local Lemma

We give an approximately uniform sampler for satisfying assignments of constraint satisfaction problems that satisfy $4\mathrm e p(\Delta+1)^2\le1$, where $p$ is the largest constraint-violation probability under the uniform product distribution, and $\Delta$ is the maximum degree of the dependency graph. The algorithm...

D. Achlioptas · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.