Learning-Augmented Streaming Algorithms for Approximating MAX-CUT

Yinhao Dong, Pan Peng, Ali Vakilian

Abstract We study learning-augmented streaming algorithms for estimating the value of MAX-CUT in a graph. In the classical streaming model, while a 1/2-approximation for estimating the value of MAX-CUT can be achieved with $O(1)$ words of space, it has been shown that for any $\epsilon > 0$, any randomized single-pass streaming algorithm achieving an approximation ratio of $1/2 + \epsilon$ requires $\Omega(n / 2^{poly(1/\epsilon)})$ space. We demonstrate that it is possible to surpass this 1/2-approximation barrier using $O(1)$ words of space by leveraging a machine-learned oracle. We consider streaming algorithms equipped with an $\epsilon$-accurate oracle that returns the correct label in $\{-1, +1\}$ for each vertex with probability $1/2 + \epsilon$. Within this framework, we present a single-pass algorithm that approximates the MAX-CUT value to within a factor of $1/2 + \Omega(\epsilon^2)$ with probability at least 2/3 for insertion-only streams using $poly(1/\epsilon)$ space, and extend this to fully dynamic streams using $poly(1/\epsilon, \log n)$ space.

Introduction

The MAX-CUT problem is a cornerstone of combinatorial optimization and theoretical computer science. Given an undirected graph, the goal is to partition the vertices into two sets such that the number of edges crossing the partition is maximized. While the problem is NP-hard in the offline setting, it becomes even more challenging in the streaming model, where an algorithm must process edges sequentially and maintain a very small memory footprint.

In the classical streaming setting, a 1/2-approximation is trivial: one can simply count the total number of edges $m$ and return $m/2$ as the estimate. However, a seminal result by Kapralov and Krachun (2019) established a formidable lower bound, proving that exceeding this 1/2-approximation ratio requires space nearly linear in the number of vertices $n$. This research investigates whether "noisy hints" from machine learning models can be used to bypass this fundamental space-approximation trade-off.

The Learning-Augmented Framework

This work adopts the learning-augmented algorithm paradigm, where the algorithm is supplemented with a potentially imperfect oracle. In this context, the oracle provides a "hint" for each vertex $v$ in the form of a label $y_v \in \{-1, 1\}$. This label corresponds to the vertex's side in an optimal MAX-CUT solution.

The oracle is defined as $\epsilon$-accurate: for any vertex, it returns the correct optimal label with probability $1/2 + \epsilon$ and the incorrect label with probability $1/2 - \epsilon$. This represents a "weak" oracle that is only slightly better than a random coin flip, yet, as the authors demonstrate, this small bias is sufficient to break the 1/2-approximation barrier.

Algorithmic Methodology

The proposed algorithm differentiates between vertices based on their degrees, employing a multi-pronged strategy to estimate the cut value efficiently.

1. Handling Low-Degree Vertices

For vertices with relatively few connections, the algorithm relies on the statistical bias of the oracle. The authors prove that even with a noisy signal, the aggregate labels provided by the oracle for low-degree vertices allow for an estimation that is strictly better than a random 1/2-approximation. The error introduced by the oracle's noise is bounded and accounted for in the final approximation ratio.

2. High-Degree Vertices (Heavy Hitters)

Vertices with a high number of incident edges (heavy hitters) pose a different challenge. Because there are relatively few such vertices, the algorithm can afford to track them more precisely using sketching techniques:

  • Insertion-only streams: The algorithm uses CountMin Sketches and Reservoir Sampling to identify high-degree vertices and estimate their contributions to the cut.
  • Fully dynamic streams: To handle edge deletions, the algorithm utilizes $\ell_0$-sampling, which allows for the recovery of elements from a stream even when the net frequency of items fluctuates.

3. Integration and Greedy Extension

The algorithm effectively partitions the graph's edge set into those incident to high-degree vertices and those connecting low-degree vertices. It uses the oracle's labels to establish a base cut for the low-degree components and then greedily assigns high-degree vertices to the side of the cut that maximizes the number of crossing edges based on the sketched information.

Key Results and Complexity

The primary contribution of this work is the proof that a $(1/2 + \Omega(\epsilon^2))$-approximation is achievable with minimal space.

  • Space Efficiency: In insertion-only streams, the algorithm requires only $poly(1/\epsilon)$ words of space. Crucially, this space complexity is independent of $n$, the number of vertices in the graph. For fully dynamic streams, the complexity increases only slightly to $poly(1/\epsilon, \log n)$.
  • Breaking the Lower Bound: Compared to the classical requirement of $\Omega(n)$ space to exceed a 1/2-approximation, the learning-augmented approach offers an exponential improvement in space efficiency relative to the graph size.
  • Robustness: The algorithm is designed to be robust; if the oracle's predictions are no better than random, the algorithm can still provide the standard 1/2-approximation by falling back to a simple edge count.

Conclusion and Future Directions

This research demonstrates that even weak machine-learned signals can fundamentally change the complexity landscape of streaming graph problems. By leveraging an $\epsilon$-accurate oracle, the authors bypass long-standing lower bounds for MAX-CUT.

Future work remains in extending these results to weighted graphs, where a single high-weight edge could significantly impact the approximation if the oracle provides an incorrect label. Additionally, while the $\epsilon^2$ improvement is theoretically significant, further research could explore whether stronger oracles or more sophisticated sketching techniques could push the approximation ratio closer to the 0.878 limit achievable in the offline setting.

Summary updated

BibTeX
@inproceedings{dong2025learning,
  author = {Yinhao Dong and Pan Peng and Ali Vakilian},
  title = {{Learning-Augmented Streaming Algorithms for Approximating MAX-CUT}},
  booktitle = {ITCS},
  year = {2025},
  url = {https://openreview.net/forum?id=iLEDKAXAdq},
}
Figure