Skip to main content
QUICK REVIEW

[Paper Review] Improved Bound for Matching in Random-Order Streams

Aaron Bernstein|arXiv (Cornell University)|May 1, 2020
Complexity and Algorithms in GraphsComputer Science30 references5 citations
TL;DR

This paper presents a deterministic single-pass streaming algorithm that computes a (2/3 − ε)-approximate maximum cardinality matching in random-order streams using only O(n log n) space, significantly improving upon prior work by achieving both a better approximation ratio and lower space complexity than previous methods in the semi-streaming model. The algorithm leverages random stream ordering to bypass adversarial lower bounds, establishing that matching is provably easier in random-order settings.

ABSTRACT

We study the problem of computing an approximate maximum cardinality matching in the semi-streaming model when edges arrive in a \emph{random} order. In the semi-streaming model, the edges of the input graph G = (V,E) are given as a stream e_1, ..., e_m, and the algorithm is allowed to make a single pass over this stream while using $O(n extrm{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 $2/3(\sim.66)$-approximate matching, but the space requirement is $O(n^{1.5} extrm{polylog}(n))$. Very recently, Farhadi et al. [SODA 2020] presented an algorithm with the desired space usage of $O(n extrm{polylog}(n))$, but a worse approximation ratio of $6/11(\sim.545)$, or $3/5(=.6)$ in bipartite graphs. In this paper, we present an algorithm that computes a $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-1/e(\sim.63)$-approximation requires $(n^{1+Ω(1/\log\log(n))})$ space. Our result for random-order streams is the first to go beyond the adversarial-order lower bound, thus establishing that computing a maximum matching is provably easier in random-order streams.

Motivation & Objective

  • To close the gap between the 1/2-approximation achievable in adversarial streams and the 1−1/e ≈ 0.633 lower bound, by exploiting random edge order in streaming graphs.
  • To design a single-pass semi-streaming algorithm that achieves a (2/3 − ε)-approximation for maximum matching with space usage O(n log n), improving upon prior space or approximation trade-offs.
  • To demonstrate that computing maximum matching is provably easier in random-order streams than in adversarial streams, by surpassing the adversarial-order space lower bound.
  • To unify high approximation ratio and low space complexity in a simple, deterministic algorithm for general and bipartite graphs.

Proposed method

  • The algorithm processes edges in random order in a single pass, maintaining a dynamic subgraph H that tracks potential matching edges.
  • It uses a two-phase approach: Phase I checks for underfull edges (degree sum < β(1−λ)) in epochs of size α, and terminates early if no such edge is found.
  • Phase II activates only if Phase I completes without finding underfull edges, ensuring the remaining graph has few low-degree edges.
  • The algorithm uses a thresholding mechanism based on β = 1/ε and λ = 1/2, with α = m/(5 log n) to control epoch size and ensure concentration bounds.
  • It applies probabilistic analysis to bound the failure probability of missing underfull edges, using union bounds over at most n² epochs and showing Pr[bad event] ≤ n⁻³.
  • The core insight is that if no underfull edge is found in an epoch, the remaining stream likely has few such edges, enabling a high-probability approximation.

Experimental results

Research questions

  • RQ1Can a (2/3 − ε)-approximate maximum matching be computed in a single pass with O(n log n) space in random-order streams?
  • RQ2Is it possible to surpass the adversarial-order space lower bound of n^{1+Ω(1/log log n)} for 1−1/e-approximation in random-order streams?
  • RQ3Can the approximation ratio of 2/3 be achieved with near-linear space in both general and bipartite graphs?
  • RQ4Does random edge ordering fundamentally reduce the space complexity required for high-approximation matching compared to adversarial streams?
  • RQ5Can the techniques be extended to weighted graphs to achieve better than 0.506 approximation in random-order streams?

Key findings

  • The algorithm achieves a (2/3 − ε)-approximation for maximum cardinality matching in general graphs using only O(n log n) space, improving upon the O(n^{1.5} polylog n) space of Assadi et al. [SODA 2019].
  • For bipartite graphs, the same algorithm achieves a (2/3 − ε)-approximation with O(n log n) space, matching the best-known approximation ratio but with significantly reduced space.
  • The algorithm improves upon Farhadi et al. [SODA 2020], who achieved 6/11 ≈ 0.545 approximation in general graphs with O(n polylog n) space, by achieving a higher approximation ratio with better space efficiency.
  • The result establishes that computing maximum matching is provably easier in random-order streams than in adversarial streams, as it surpasses the adversarial-order lower bound of n^{1+Ω(1/log log n)} space for 1−1/e-approximation.
  • The failure probability is bounded by O(n⁻³), ensuring high-probability correctness with a union bound over at most n² epochs.
  • The analysis shows that the probability of missing all underfull edges in an epoch is at most (1 − 5 log n / α)^α ≤ n⁻⁵, which is tightly controlled via concentration bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.