English

Maximum Matching in Two, Three, and a Few More Passes Over Graph Streams

Data Structures and Algorithms 2017-04-24 v3

Abstract

We consider the maximum matching problem in the semi-streaming model formalized by Feigenbaum, Kannan, McGregor, Suri, and Zhang that is inspired by giant graphs of today. As our main result, we give a two-pass (1/2+1/16)(1/2 + 1/16)-approximation algorithm for triangle-free graphs and a two-pass (1/2+1/32)(1/2 + 1/32)-approximation algorithm for general graphs; these improve the approximation ratios of 1/2+1/521/2 + 1/52 for bipartite graphs and 1/2+1/1401/2 + 1/140 for general graphs by Konrad, Magniez, and Mathieu. In three passes, we achieve approximation ratios of 1/2+1/101/2 + 1/10 for triangle-free graphs and 1/2+1/19.7531/2 + 1/19.753 for general graphs. We also give a multi-pass algorithm where we bound the number of passes precisely---we give a (2/3ε)(2/3 -\varepsilon)-approximation algorithm that uses 2/(3ε)2/(3\varepsilon) passes for triangle-free graphs and 4/(3ε)4/(3\varepsilon) passes for general graphs. Our algorithms are simple and combinatorial, use O(nlogn)O(n \log n) space, and have O(1)O(1) update time per edge. For general graphs, our multi-pass algorithm improves the best known deterministic algorithms in terms of the number of passes: --Ahn and Guha give a (2/3ε)(2/3 - \varepsilon)-approximation algorithm that uses O(log(1/ε)/ε2)O(\log(1/\varepsilon)/\varepsilon^2) passes, whereas our (2/3ε)(2/3 - \varepsilon)-approximation algorithm uses 4/(3ε)4/(3\varepsilon) passes; --they also give a (1ε)(1-\varepsilon)-approximation algorithm that uses O(lognpoly(1/ε))O(\log n \cdot \mathrm{poly}(1/\varepsilon)) passes, where nn is the number of vertices of the input graph; although our algorithm is (2/3ε)(2/3 - \varepsilon)-approximation, our number of passes do not depend on nn. Earlier multi-pass algorithms either have a large constant inside big-OO notation for the number of passes or the constant cannot be determined due to the involved analysis, so our multi-pass algorithm should use much fewer passes for approximation ratios bounded slightly below 2/32/3.

Keywords

Cite

@article{arxiv.1702.02559,
  title  = {Maximum Matching in Two, Three, and a Few More Passes Over Graph Streams},
  author = {Sagar Kale and Sumedh Tirodkar},
  journal= {arXiv preprint arXiv:1702.02559},
  year   = {2017}
}

Comments

22 pages, 8 figures

R2 v1 2026-06-22T18:13:06.705Z