Faster Global Minimum Cut with Predictions

Helia Niaparast, Benjamin Moseley, Karan Singh

Introduction

The Global Minimum Cut problem—finding the smallest set of edges that, if removed, partitions a graph into two—is a cornerstone of combinatorial optimization. While efficient randomized algorithms like Karger’s (1993) exist, the standard approach is to solve every problem instance from scratch.

In reality, many applications, such as solving the Traveling Salesperson Problem (TSP), require solving min-cut problems repeatedly on highly similar graphs. This paper addresses a major gap: how to use information from previous instances to "warm-start" these algorithms. The authors introduce "Boosted" versions of the classic Karger’s and Karger-Stein algorithms. By leveraging machine-learned predictions to prioritize which edges to contract, these algorithms achieve near-linear runtimes and remain remarkably resilient to prediction errors, outperforming traditional baselines by orders of magnitude in practical scenarios.

Methodology: Algorithms with Predictions

The authors propose a framework that integrates machine learning predictions into randomized "edge-contraction" algorithms:

  • Boosted Karger’s Algorithm: The standard Karger’s algorithm uniformly picks edges at random to "contract" (merge two nodes) until only two nodes remain. The "Boosted" version reweights these edges. Edges predicted not to be in the min-cut have their weights multiplied by a large scaling factor ($B$). This probabilistic bias makes the algorithm significantly more likely to contract "safe" edges early, preserving the actual min-cut edges for the final partition.
  • Boosted FPZ (A Karger-Stein Variant): Karger-Stein is a more complex, recursive optimization of Karger's algorithm. The authors adapt a variant called FPZ, modifying both the edge weights and the "branching factor" (the probability of making recursive calls) based on prediction quality.
  • Learning the Predictions: Rather than assuming predictions are simply given, the authors provide a method to learn them from historical data. They overcome a tricky mathematical hurdle: while the runtime function is non-convex (and thus hard to optimize), they prove it can be "convexified" by introducing a free variable. This allows for efficient learning via Online Gradient Descent.

Datasets and Evaluation

The researchers evaluated their algorithms across three distinct data environments:

  1. Synthetic "Hard" Graphs: Bipartite graphs specifically engineered with numerous "near-minimum" cuts to challenge standard randomized algorithms.
  2. TSP LP Instances: Graphs generated during the "subtour elimination" phase of solving Traveling Salesperson Problems, where min-cuts are used to identify constraints.
  3. Real-World Networks: Three datasets from the Network Repository, including a social network (soc-fb-messages), a biological network (bn-mouse_brain_1), and a communication network (rt-retweet).

Key Insights and Results

The Impact of Asymmetric Error

A critical insight from the paper is that not all prediction errors are equal. A false negative (predicting a min-cut edge is not in the cut) is significantly more damaging to the runtime than a false positive (predicting an extra edge is in the cut).

Theoretical Speedup and Resilience

Simply biasing the random selection process can eliminate an entire factor of $n$ from the runtime, turning a polynomial-time search into a near-linear one. Boosted Karger’s improves the success probability from $\Omega(1/n^2)$ to $\Omega(1/n^{2\eta})$, where $\eta$ represents the false negative rate. If $\eta$ is small, the required number of trials drops drastically. Furthermore, the algorithm is theoretically guaranteed to perform no worse than the standard version as long as the number of false positives is less than $o(n)$. This "safety net" is crucial for real-world deployment.

Runtime Interpolation

The Boosted FPZ algorithm acts as a bridge. With perfect predictions, it achieves near-linear $O(m)$ time; with poor predictions, it gracefully degrades back to the standard Karger-Stein complexity.

Empirical Performance

On synthetic "hard" graphs, the Boosted algorithm found the min-cut using two orders of magnitude fewer trials than the standard baseline when error rates were below 50%. On the TSP-related instances, the Boosted version consistently outperformed Karger’s, particularly on the most difficult instances where the baseline required thousands of repetitions to succeed.

Limitations and Future Directions

  • Parameter Knowledge: Current theoretical guarantees require knowing (or upper-bounding) the error rates ($\eta$ and $\rho$) to optimally set the scaling factor $B$ and threshold $t$. While the authors used heuristics in practice, developing a truly "error-oblivious" algorithm remains an open challenge.
  • Prediction Granularity: The current model predicts whether an individual edge is in a cut. Future work could explore predicting vertex partitions (which side of the cut a node belongs to), potentially offering even stronger priors.
  • Broader Applications: While this paper focuses on the global minimum cut, the "boosting via reweighting" logic could potentially be extended to other randomized contraction-based algorithms in graph theory.

Summary updated

BibTeX
@inproceedings{niaparast2025faster,
  author = {Helia Niaparast and Benjamin Moseley and Karan Singh},
  title = {{Faster Global Minimum Cut with Predictions}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=FeZoO7mfG7},
}
Figure