{"title":"Improved Bounds for Matching in Random-Order Streams","authors":"Aaron Bernstein","doi":"10.1007/s00224-023-10155-7","DOIUrl":null,"url":null,"abstract":"<p>We study the problem of computing an approximate maximum cardinality matching in the semi-streaming model when edges arrive in a <i>random</i> order. In the semi-streaming model, the edges of the input graph <span>\\(G = (V,E)\\)</span> are given as a stream <span>\\(e_1, \\ldots , e_m\\)</span>, and the algorithm is allowed to make a single pass over this stream while using <span>\\(O(n\\text {polylog}(n))\\)</span> space (<span>\\(m = |E|\\)</span> and <span>\\(n = |V|\\)</span>). If the order of edges is adversarial, a simple single-pass greedy algorithm yields a 1/2-approximation in <i>O</i>(<i>n</i>) space; achieving a better approximation in adversarial streams remains an elusive open question. A line of recent work shows that one can improve upon the 1/2-approximation if the edges of the stream arrive in a random order. The state of the art for this model is two-fold: Assadi et al. [SODA 2019] show how to compute a <span>\\(\\frac{2}{3}\\)</span> <span>\\((\\sim .66)\\)</span>-approximate matching, but the space requirement is <span>\\(O(n^{1.5}\\text {polylog}(n))\\)</span>. Very recently, Farhadi et al. [SODA 2020] presented an algorithm with the desired space usage of <span>\\(O(n\\text {polylog}(n))\\)</span>, but a worse approximation ratio of <span>\\(\\frac{6}{11}\\)</span> <span>\\((\\sim .545)\\)</span>, or <span>\\(\\frac{3}{5}\\)</span> <span>\\((=.6)\\)</span> in bipartite graphs. In this paper, we present an algorithm that computes a <span>\\(\\frac{2}{3}(\\sim .66)\\)</span>-approximate matching using only <span>\\(O(n\\log (n))\\)</span> space, improving upon both results above. We also note that for adversarial streams, a lower bound of Kapralov [SODA 2013] shows that any algorithm that achieves a <span>\\(1-\\frac{1}{e}\\)</span>(<span>\\(\\sim .63\\)</span>)-approximation requires <span>\\((n^{1+\\Omega (1/\\log \\log (n))})\\)</span> space; recent follow-up work by the same author improved this lower bound to <span>\\(1+\\ln (2) \\sim .59\\)</span> [SODA 2021]. As a consequence, both our result and the earlier result of Farhadi et al. prove that the problem of computing a maximum matching is strictly easier in random-order streams than in adversarial ones.</p>","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":"31 1","pages":""},"PeriodicalIF":0.6000,"publicationDate":"2023-12-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theory of Computing Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s00224-023-10155-7","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
We study the problem of computing an approximate maximum cardinality matching in the semi-streaming model when edges arrive in a random order. In the semi-streaming model, the edges of the input graph \(G = (V,E)\) are given as a stream \(e_1, \ldots , e_m\), and the algorithm is allowed to make a single pass over this stream while using \(O(n\text {polylog}(n))\) space (\(m = |E|\) and \(n = |V|\)). If the order of edges is adversarial, a simple single-pass greedy algorithm yields a 1/2-approximation in O(n) space; achieving a better approximation in adversarial streams remains an elusive open question. A line of recent work shows that one can improve upon the 1/2-approximation if the edges of the stream arrive in a random order. The state of the art for this model is two-fold: Assadi et al. [SODA 2019] show how to compute a \(\frac{2}{3}\)\((\sim .66)\)-approximate matching, but the space requirement is \(O(n^{1.5}\text {polylog}(n))\). Very recently, Farhadi et al. [SODA 2020] presented an algorithm with the desired space usage of \(O(n\text {polylog}(n))\), but a worse approximation ratio of \(\frac{6}{11}\)\((\sim .545)\), or \(\frac{3}{5}\)\((=.6)\) in bipartite graphs. In this paper, we present an algorithm that computes a \(\frac{2}{3}(\sim .66)\)-approximate matching using only \(O(n\log (n))\) space, improving upon both results above. We also note that for adversarial streams, a lower bound of Kapralov [SODA 2013] shows that any algorithm that achieves a \(1-\frac{1}{e}\)(\(\sim .63\))-approximation requires \((n^{1+\Omega (1/\log \log (n))})\) space; recent follow-up work by the same author improved this lower bound to \(1+\ln (2) \sim .59\) [SODA 2021]. As a consequence, both our result and the earlier result of Farhadi et al. prove that the problem of computing a maximum matching is strictly easier in random-order streams than in adversarial ones.
期刊介绍:
TOCS is devoted to publishing original research from all areas of theoretical computer science, ranging from foundational areas such as computational complexity, to fundamental areas such as algorithms and data structures, to focused areas such as parallel and distributed algorithms and architectures.