arXiv(opens in a new tab)cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.34097

A Nearly Optimal Min-Cut Algorithm for Dynamic Streams

Yang P. Liu, Hoai-An Nguyen, Vihan Shah, David P. Woodruff

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give an O~(n/ε)\widetilde{O}(n/\varepsilon)-space algorithm for the minimum cut problem in dynamic streams, resolving the space complexity of streaming min-cut up to polylogarithmic factors. Ding, Garces, Li, Lin, Nelson, Shah, and Woodruff (ITCS 2025) obtained the same O~(n/ε)\widetilde{O}(n/\varepsilon) space bound for insertion-only streams, while prior to our work the best known bound even for unweighted dynamic streams was O~(n/ε2)\widetilde{O}(n/\varepsilon^2), due to Ahn, Guha, and McGregor (PODS 2012). Our main technical contribution is an O~(n/ε)\widetilde{O}(n/\varepsilon)-space for each cut sketch in dynamic streams, which may be of independent interest. The construction applies to weighted graphs under general ±Δ\pm\Delta updates, a stronger model than the standard dynamic-stream setting in which weighted edges are inserted and deleted in their entirety. Despite this stronger guarantee, our algorithm is surprisingly simple and relies on very little machinery. We also obtain applications to minimum ℓp\ell_p-norm k-partitioning for every fixed k, weighted correlation-clustering evaluation for two clusters, and for each cut sketching in balanced directed graphs.

*(yangl7@andrew.cmu.edu) Carnegie Mellon University. Supported in part by NSF Career Award CCF2542272.

†(hnnguyen@andrew.cmu.edu) Carnegie Mellon University. Supported in part by an NSF GRFP fellowship grant number DGE2140739/DGE2631988, NSF Career Award CCF2542272, Office of Naval Research award number N000142112647, and a Simons Investigator Award.

†^{\dagger}(vihanshah98@gmail.com) University of Birmingham. Supported in part by the European Union under the Horizon Europe Marie Skłodowska-Curie Actions, Grant Agreement No. 101282993 (HuNTR).

§(dwoodruf@cs.cmu.edu) Carnegie Mellon University, Google Research. Supported in part by Office of Naval Research award number N000142112647 and a Simons Investigator Award.

1 Introduction

Minimum cut is one of the most fundamental graph problems and has been studied extensively across every major model of computation. Beyond its theoretical interest, minimum cut also has practical applications, including measuring influence in social networks [WDL +^{+}20] and robustness to failures in power [HJJ +^{+}14] and road networks [SK23].

In the classical setting, a line of work [Kar93, KS96, BK96], culminating in [Kar00], gave the first randomized algorithm for minimum cut running in O(mlog⁡3n)O(m \log^3 n) time, where mm is the number of edges in the graph. Many years later, Gawrychowski, Mozes, and Weimann [GMW20] improved the randomized running time to O(mlog⁡2n)O(m \log^2 n). Around the same time, Li and Panigrahi [LP20] showed that minimum cut can be solved deterministically within a polylogarithmic factor of max-flow time. Breakthroughs in max flow [CKL +^{+}22a, VDBCK +^{+}23] then implied an m1+o(1)m^{1+o(1)}-time deterministic algorithm for minimum cut. Finally, a line of work [KT18, HRW20, Li21, HLRW24] showed that minimum cut can be solved deterministically in O~(m)1\widetilde{O}(m)^1 time.

We study the minimum cut problem in the graph streaming model, which is particularly relevant for processing massive graphs. We consider the arbitrary-order streaming setting, where the vertex set is fixed and edge insertions and deletions arrive sequentially in a stream in an arbitrary order. The goal is to solve the problem using as little space as possible. The streaming model was first formalized by Alon, Matias, and Szegedy [AMS96] and has been studied extensively over the past couple of decades (see, e.g., [McG14] for a survey on graph streams).

We first review the setting of simple unweighted graphs. Zelke [Zel11] showed that solving minimum cut exactly in the streaming model requires Ω(n2)\Omega(n^2) bits of space. Since the entire graph can be stored using (n2)\binom{n}{2} bits, beating the quadratic bound requires settling for an approximation. Ahn and Guha [AG09] showed that a (1+ε)(1 + \varepsilon)-approximation to minimum cut can be achieved using O~(n/ε2)\widetilde{O}(n/\varepsilon^2) space, and also proved an Ω(nlog⁡(1/ε))\Omega(n\log(1/\varepsilon))-bit lower bound for this problem. These bounds hold in the insertion-only streaming model where the stream only contains edge insertions. Ahn, Guha, and McGregor [AGM12b] subsequently extended the O~(n/ε2)\widetilde{O}(n/\varepsilon^2)-space upper bound to insertion-deletion streams for unweighted graphs. They also obtained a weighted extension by grouping edges into weight classes, but this requires the weight of an edge to be known when that edge is inserted or deleted and therefore does not apply to general turnstile weight updates. Chen, Khanna, and Li [CKL22b] later gave the first linear-sketching algorithm for weighted graphs in the general turnstile model, using O~(n/ε3)\widetilde{O}(n/\varepsilon^3) space.

These approaches are based on the notion of cut sparsifiers introduced by Benczúr and Karger [BK96]. A cut sparsifier of a graph is a sparse weighted subgraph that approximately preserves the value of every cut. For a for-all guarantee, a single random sketch must simultaneously approximate every cut with high probability. In contrast, a for-each guarantee only requires that, for any fixed cut chosen independently of the sketch randomness, that cut is approximated with high probability.

These prior streaming algorithms achieve their guarantees by constructing for-all cut sparsifiers using O~(n/ε2)\widetilde{O}(n/\varepsilon^2) or O~(n/ε3)\widetilde{O}(n/\varepsilon^3) space. Benczúr and Karger [BK96] showed that every graph admits a cut sparsifier with O(nlog⁡n/ε2)O(n\log n/\varepsilon^2) edges, and this was later improved to O(n/ε2)O(n/\varepsilon^2) edges by [BSS12]. On the other hand, an Ω(nlog⁡n/ε2)\Omega(n\log n/\varepsilon^2)-bit lower bound for representing a cut sparsifier was established in a line of work [Alo97, ACK +^{+}16, CKST19], even when the sparsifier is not required to be a subgraph of the original graph. The corresponding existence results were also extended to the stronger notion of spectral sparsifiers [ST04, ST11, SS11, BSS12]. Consequently, any streaming algorithm for minimum cut that explicitly constructs such a cut sparsifier incurs Ω(nlog⁡n/ε2)\Omega(n\log n/\varepsilon^2) bits of space.

1^{1}Throughout the paper, we use O~(f):=O(f⋅polylog⁡(n))\widetilde{O}(f) := O(f \cdot \text{poly}\log(n)) to hide polylogarithmic factors in nn.

This limitation of the cut-sparsifier approach was later circumvented by Ding, Garces, Li, Lin, Nelson, Shah, and Woodruff [DGL +^{+}25], who gave a minimum cut algorithm for weighted graphs (where the weight of an edge is known upon insertion) using O~(n/ε)\widetilde{O}(n/\varepsilon) bits of space in insertion-only streams. A key ingredient in their algorithm is a streaming construction of a for-each spectral sparsifier, building on a line of work [ACK +^{+}16, JS18, CGP +^{+}18].

More specifically, the for-each spectral sparsifier of [DGL+25][DGL^{+}25] builds on the short-cycle decomposition framework of [CGP+18][CGP^{+}18]. At a high level, the approach finds a large collection of edge-disjoint short cycles, randomly keeps and reweights one alternating half of each cycle, and repeats on the remaining graph. Constructing the required short-cycle decompositions is itself highly nontrivial, relying on low-congestion cycle covers and additional graph-decomposition machinery. Thus, even the core sparsification primitive behind their result requires a substantial collection of sophisticated spectral and graph-theoretic tools.

[DGL +^{+}25] also proved an Ω(n/ε)\Omega(n/\varepsilon)-bit lower bound for minimum cut, resolving the space complexity of the problem in insertion-only streams up to logarithmic factors. However, even for simple unweighted graphs in dynamic streams, the best known space bound remained O~(n/ε2)\widetilde{O}(n/\varepsilon^{2}) bits.

This gap in our understanding is particularly interesting in light of a broader phenomenon in graph streaming, where many problems have essentially the same space complexity in insertion-only and dynamic streams up to logarithmic factors. This insertion-only versus dynamic “near-equivalence” is known for several problems, including k-edge-connectivity [NI92, AGM12a], k-vertex-connectivity [CKT93, AS23], cut sparsifiers [AG09, AGM12b], spectral sparsifiers [KL13, KLM +^{+}17], constant-factor approximation to densest subgraph [MTVV15, EHW16], correlation clustering [AKP25, ASW23], and (Δ+1)(\Delta + 1)-vertex coloring [ACK19]. Notable exceptions include maximum matching and minimum vertex cover, for which dynamic streams are provably harder than insertion-only streams [AKLY16, DK20, AS22, NS22]. Approximate minimum cut therefore represents one of the remaining gaps in our understanding of the relationship between insertion-only and dynamic streams:

Question 1.1. Can (1+ε)(1+\varepsilon)-approximate minimum cut be solved in O~(n/ε)\widetilde{O}(n/\varepsilon) bits of space in dynamic graph streams where both insertions and deletions are allowed?

References (65)

  • Correlation clustering in data streams
  • On sketching quadratic forms
  • Sublinear algorithms for $(\Delta + 1)$ vertex coloring
  • A Simple Semi-Streaming Algorithm for Global Minimum Cuts, pages 172–180
  • Graph sparsification in the semi-streaming model
  • Analyzing graph structure via linear measurements
  • Graph sketches: sparsification, spanners, and subgraphs
  • Maximum matchings in dynamic graph streams and the simultaneous communication model
  • Correlation clustering and (de)sparsification: Graph sketches can match classical algorithms
  • The space complexity of approximating the frequency moments
  • An asymptotically optimal algorithm for maximum matching in dynamic streams
  • Tight bounds for vertex connectivity in dynamic streams
  • Streaming algorithms and lower bounds for estimating correlation clustering cost
  • Approximating s-t minimum cuts in $\tilde{O}(n^{2})$ time
  • Twice-Ramanujan sparsifiers
  • Sparsification of directed graphs via cut balance
  • Graph sparsification, spectral sketches, and faster resistance computation, via short cycle decompositions
  • Maximum flow and minimum-cost flow in almost-linear time
  • On weighted graph sparsification by linear sketching
  • Optimal lower bounds for sketching graph cuts
  • Scan-first search and sparse certificates: an improved parallel algorithm for k-vertex connectivity
  • Tight lower bounds for directed cut sparsification and distributed min-cut
  • LP relaxation and tree packing for minimum k-cuts
  • Fixed parameter approximation scheme for min-max k-cut
  • Nearly space-optimal graph and hypergraph sparsification in insertion-only data streams (opens arXiv in a new tab)
  • Space complexity of minimum cut problems in single-pass streams
  • Optimal lower bounds for matching and vertex cover in dynamic graph streams
  • Concentration of measure for the analysis of randomized algorithms
  • Brief announcement: Applications of uniform sampling: Densest subgraph and beyond
  • A polynomial algorithm for the k-cut problem for fixed k
  • Incremental approximate maximum flow via residual graph sparsification
  • Vertex and hyperedge connectivity in dynamic graph streams
  • Minimum cut in o(m log² n) time
  • New Lower Bounds in Merlin-Arthur Communication and Graph Streaming Verification
  • Efficient computations of a security index for false data attacks in power networks
  • Deterministic near-linear time minimum cut in weighted graphs
  • Local flow partitioning for faster edge connectivity
  • Cut sparsifiers for balanced digraphs
  • Turnstile streaming algorithms might (still) as well be linear sketches, for polynomial-length streams (opens arXiv in a new tab)
  • Efficient $\widetilde{O}(n/\varepsilon)$ spectral sketches for the laplacian and its pseudoinverse
  • Spectral sparsification in the semi-streaming setting
  • Single pass spectral sparsification in dynamic streams
  • On the exact space complexity of sketching and streaming small norms
  • A new approach to the minimum cut problem
  • Deterministic edge connectivity in near-linear time
  • Nonlinear estimators and tail bounds for dimension reduction in $l_{1}$ using cauchy random projections
  • Turnstile streaming algorithms might as well be linear sketches
  • Deterministic min-cut in poly-logarithmic max-flows
  • Weighted min-cut: sequential, cut-query, and streaming algorithms
  • Randomized Algorithms
  • Densest subgraph in dynamic graph streams
  • A linear-time algorithm for finding a sparse k-connected spanning subgraph of a k-connected graph
  • Space optimal vertex cover in dynamic streams
  • Optimal lower bounds for distributed and streaming spanning forest computation
  • Computing exact minimum cuts without knowing the graph
  • Isolation vulnerability analysis in road network: Edge connectivity and critical link sets
  • Graph sparsification by effective resistances
  • Chernoff-hoeffding bounds for applications with limited independence
  • Nearly-linear time algorithms for graph partitioning, graph sparsification, and solving linear systems
  • Spectral sparsification of graphs
  • Perfect lp sampling with polylogarithmic update time
  • A (very) nearly optimal sketch for k-edge connectivity certificates
  • A deterministic almost-linear time algorithm for minimum-cost flow
  • Efficient targeted influence minimization in big social networks
  • The same block $R_j$ can be regenerated whenever coordinate $j$ is updated