Skip to content

Space-Optimal Algorithms for Spanning Forests in Dynamic Streams at Every Confidence Level: With and Without Deletion Constraints

Zemin Chao, Jianhe Cen, Hengzhao Ma, Hongzhi Wang

cs.DSarXiv:2611.04365

Abstract

We characterize the optimal space for one-pass spanning-forest computation in dynamic streams of v-vertex simple graphs with failure probability at most δ. Nelson and Yu proved an Ω(v2v(v/δ))-bit lower bound, establishing the AGM algorithm's optimality for each fixed 0<ε<1 and 2-v1-ε<δ1/4. We resolve the remaining high-confidence regime: for every 0<δ1/4, matching lower bounds and an algorithm give \[ Θ\!(\v2,\;v(v/δ)2\!(2+v(v/δ))\) \] bits, improving space by up to a factor of Θ(( v/ v)2) in this regime. We also study streams with at most Z previously inserted edges deleted and not yet reinserted at report time, where the integer Z0 is given in advance. Total deletions, restorations, and intermediate absence counts are unrestricted. For a single report and every 0<δ1/4, matching lower bounds and a one-pass randomized algorithm yield optimal space Θ( L(v,Z,(1/δ))) bits, where xZ(t)=\Z+1,v,vt\ and \[ L(v,Z,t)=v v\2v,2(Z+2)\ +vt\!(1+xZ(t)t)\!(1+ vxZ(t)). \] At zero error, a lower bound for all zero-error algorithms and a matching deterministic algorithm give optimal space \[ Θ\!(\v2,v(Z+1)(1+v/(Z+1))\) \] bits. Together, these results characterize the memory required across all confidence levels and report-time edge-loss bounds.

Create a lesson