NTH

Semi-Streaming Matching in a Single Pass II: Greedy is Optimal

AuthorsSepehr Assadi, Max Jiang, Mars Xiang

July 22, 2026 2 min read
Watch on YouTube
The one-line take

After two decades, this paper proves that in severely memory-limited streaming matching, simple greedy is as good as any possible algorithm.

Key results

0.5
Optimal matching approximation

No single-pass semi-streaming algorithm can achieve a constant approximation strictly above 0.5; greedy attains this bound.

2/3
Optimal blueprint value

The constructed blueprint family has values converging to 2/3.

2
Vertex-cover barrier

Single-pass semi-streaming minimum bipartite vertex cover cannot achieve an approximation factor strictly better than 2.

What the paper found

In “Semi-Streaming Matching in a Single Pass II: Greedy is Optimal,” Sepehr Assadi, Max Jiang, and Mars Xiang of the University of Waterloo settle a two-decade open problem: in the single-pass semi-streaming model, which permits O(n polylog n) memory, no deterministic or randomized algorithm for maximum bipartite matching can achieve a constant approximation strictly above 0.5 with constant probability. Since the standard greedy algorithm already guarantees 0.5, greedy is optimal. The proof advances the authors’ blueprint framework, constructing proper combinatorial blueprints whose value approaches 2/3. The construction encodes vertices as delayed gambler’s-ruin random walks on the line from 0 to 2m, uses reflection symmetry to enforce blueprint ban constraints, and selects the starting-state distribution through a linear program so that the probability of reaching 0 is 2m/(3m+1), converging to 2/3. The resulting lower bound translates through the framework into the 0.5 barrier. The same argument proves that online matching with preemption cannot exceed 0.5 expected competitiveness and, by matching–vertex-cover duality, that single-pass semi-streaming minimum bipartite vertex cover cannot beat approximation factor 2. The paper also reports using Google’s Gemini models, OpenAI’s GPT-5.5 Pro and GPT-5.6 Sol, and Anthropic’s Claude Opus and Claude Fable for brainstorming and technical assistance, while the authors wrote the final mathematical content.

Original abstract

We prove that no single-pass semi-streaming algorithm (deterministic or randomized) can achieve a better-than-half approximation to the maximum matching problem. This implies the optimality of the naive greedy algorithm, answering an outstanding open question in the graph streaming literature since the introduction of the model over two decades ago. Our proof follows the "blueprint framework" introduced previously by the authors, which reduced proving lower bounds for semi-streaming matching to constructing certain combinatorial objects called blueprints. We present an optimal construction of blueprints that when used in this framework implies our semi-streaming matching lower bound. Our results also imply that the optimal competitive ratio of online matching with preemption is half, again matching the naive greedy algorithm, settling this open question as well.

Read the original paper

More in Graph Learning

Browse all 32 papers →
02Graph Learning

GraphWrit3R: End-to-End 3D Scene Graph Writing

Luka Milivojevic, Nikola Popovic, Sayan Deb Sarkar, Sebastian Koch, Iro Armeni, Luc Van Gool, Danda Pani Paudel

GraphWrit3R turns 3D spatial data into open-vocabulary scene graphs using multimodal encoders and an LLM, without requiring ground-truth object annotations at inference.

Read analysis