Space Complexity of Minimum Cut Problems in Single-Pass Streams
Matthew Ding, Alexandro Garces, Jason Li, Honghao Lin, Jelani Nelson, Vihan Shah, David P. Woodruff
TL;DR
This work advances streaming graph algorithms by delivering near-optimal space bounds for minimum cut problems in single-pass streams, across adversarial and random-order settings, and for both approximate and exact objectives. The authors introduce a novel for-each spectral sparsifier in streaming, built from graphical spectral sketches and online leverage-score sampling, achieving $\tilde{O}(n/\varepsilon)$ space and enabling near-linear-time processing with $\tilde{O}(m)$ stream time. This sparsification framework yields a $\tilde{O}(n/\varepsilon)$-space algorithm that approximates minimum cuts and all-pairs effective resistances, plus a random-order one-pass algorithm that computes the exact minimum cut in $\tilde{O}(n)$ space. Complementary lower bounds show near-tight space requirements for both randomized and deterministic one-pass insertion-only settings, and the paper also extends results to random-order streams where exact min-cut is obtainable with optimal space, highlighting a clear separation from adversarial models. The practical impact lies in enabling robust, memory-efficient minimum-cut computations on massive graphs in streaming contexts, with implications for network reliability and related metrics.
Abstract
We consider the problem of finding a minimum cut of a weighted graph presented as a single-pass stream. While graph sparsification in streams has been intensively studied, the specific application of finding minimum cuts in streams is less well-studied. To this end, we show upper and lower bounds on minimum cut problems in insertion-only streams for a variety of settings, including for both randomized and deterministic algorithms, for both arbitrary and random order streams, and for both approximate and exact algorithms. One of our main results is an $\widetilde{O}(n/\varepsilon)$ space algorithm with fast update time for approximating a spectral cut query with high probability on a stream given in an arbitrary order. Our result breaks the $Ω(n/\varepsilon^2)$ space lower bound required of a sparsifier that approximates all cuts simultaneously. Using this result, we provide streaming algorithms with near optimal space of $\widetilde{O}(n/\varepsilon)$ for minimum cut and approximate all-pairs effective resistances, with matching space lower-bounds. The amortized update time of our algorithms is $\widetilde{O}(1)$, provided that the number of edges in the input graph is at least $(n/\varepsilon^2)^{1+o(1)}$. We also give a generic way of incorporating sketching into a recursive contraction algorithm to improve the post-processing time of our algorithms. In addition to these results, we give a random-order streaming algorithm that computes the {\it exact} minimum cut on a simple, unweighted graph using $\widetilde{O}(n)$ space. Finally, we give an $Ω(n/\varepsilon^2)$ space lower bound for deterministic minimum cut algorithms which matches the best-known upper bound up to polylogarithmic factors.
