arXiv:2610.22718cs.DSOct 2026

Manuscript Offprint

arXiv:2610.22718

Improved Pass Complexity for Semi-Streaming Matching in General Graphs via Budgeted Price Approach

Tatsuya Terao

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

Abstract

We present a simple deterministic semi-streaming algorithm that computes a (1−ε)(1-\varepsilon)-approximate maximum matching in general graphs in O(1/ε2)O(1/\varepsilon^2) passes. This matches the pass complexity of the auction algorithm of Assadi, Liu, and Tarjan [SOSA'21] for bipartite graphs, and answers Open Question 2 of Assadi [SOSA'24 & TheoretiCS'25].

Our approach, which we call the budgeted price approach, is very different from the previous poly(1/ε)-pass semi-streaming algorithms for (1 - ε)-approximation of matching in general graphs and improves their pass complexity. All previous approaches are augmenting-path-based and use O(1/ε19)O(1/\varepsilon^{19}) passes by Fischer, Mitrović, and Uitto [STOC'22], O(1/ε6)O(1/\varepsilon^{6}) passes by Mitrović, Mukherjee, Sankowski, and Sheu [ICALP'25], and O(1/ε4)O(1/\varepsilon^{4}) passes by Izumi, Kitamura, and Yamaguchi ['25].

1 Introduction

In the semi-streaming model for graph problems, formalized by Feigenbaum, Kannan, McGregor, Suri, and Zhang [FKM +^{+}05], the edges of an n-vertex graph G=(V,E)G = (V, E) arrive in an arbitrarily ordered stream, and an algorithm makes a small number of passes over the stream using O(n⋅poly(log⁡n))O(n \cdot \text{poly}(\log n)) space. We study the maximum matching problem in this model. The goal is to compute a (1−ε)(1 - \varepsilon)-approximate maximum matching in as few passes as possible, using O(n⋅poly(log⁡n,1/ε))O(n \cdot \text{poly}(\log n, 1/\varepsilon)) space.

The first (1−ε)(1-\varepsilon)-approximation semi-streaming algorithm, due to McGregor [McG05], is randomized and uses (1/ε)O(1/ε)(1/\varepsilon)^{O(1/\varepsilon)} passes. Tirodkar [Tir18] later gave a deterministic algorithm with the same pass complexity.

For bipartite graphs, Eggert, Kliemann, and Srivastav [EKS09] gave a deterministic algorithm with O(1/ε8)O(1/\varepsilon^8) passes, which was improved to O(1/ε5)O(1/\varepsilon^5) passes by Eggert, Kliemann, Munstermann, and Srivastav [EKMS12]. Ahn and Guha [AG13] obtained O(log⁡(1/ε)/ε2)O(\log(1/\varepsilon)/\varepsilon^2) passes even for weighted bipartite graphs, and the auction algorithm of Assadi, Liu, and Tarjan [ALT21] achieves O(1/ε2)O(1/\varepsilon^2) passes. Their auction algorithm computes a sequence of O(1/ε2)O(1/\varepsilon^2) maximal matchings in subgraphs of the input graph, and hence can be implemented in the semi-streaming model with O(1/ε2)O(1/\varepsilon^2) passes.

For general graphs, whether poly(1/ε) passes suffice remained open for a long time, until Fischer, Mitrović, and Uitto [FMU22] gave a deterministic semi-streaming algorithm with O(1/ε19)O(1/\varepsilon^{19}) passes. The pass complexity was subsequently improved to O(1/ε6)O(1/\varepsilon^{6}) by Mitrović, Mukherjee, Sankowski, and Sheu [MMSS25], and to O(1/ε4)O(1/\varepsilon^{4}) by Izumi, Kitamura, and Yamaguchi [IKY25].

Assadi [Ass25] posed, as an open question, whether this gap can be closed, i.e., whether O(1/ε2)O(1/\varepsilon^{2}) passes are achievable for general graphs. We answer this question affirmatively.

Theorem 1. For any ε>0\varepsilon > 0, there exists a deterministic semi-streaming algorithm that computes a(1−ε)a(1-\varepsilon)-approximate maximum matching in O(1/ε2)O(1/\varepsilon^2) passes. The algorithm uses O(n/ε2)O(n/\varepsilon^2) words of space. 1^1

∗^{*}Research Institute for Mathematical Sciences, Kyoto University. E-mail: ttatsuya@kurims.kyoto-u.ac.jp

1^{1}Throughout this paper, a word consists of O(log⁡(n/ε))O(\log(n/\varepsilon)) bits.

Our approach, which we call the budgeted price approach, is very different from the previous poly(1/ε)-pass semi-streaming algorithms for the (1-ε)-approximation of matching in general graphs [FMU22, MMSS25, IKY25]. Our algorithm computes a sequence of O(1/ε2)O(1/\varepsilon^2) weighted matchings in subgraphs of the input graph, where the edge weights are carefully chosen at each step. Moreover, a constant-factor approximate maximum weight matching suffices at each step, which can be computed in a single pass [FKM +^+05, ELMS11, Zel12, CS14, PS18, GW19]. Hence, our algorithm can be implemented in the semi-streaming model with O(1/ε2)O(1/\varepsilon^2) passes.

References (20)