NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards a better understanding of randomized greedy matching

Zhihao Gavin Tang, Xiaowei Wu, Yuhao Zhang

TL;DR

This paper delves into the theoretical limits of randomized greedy matching algorithms, particularly in the "oblivious" setting where algorithms make decisions without full knowledge of the graph. The authors introduce a simplified algorithm, Random Decision Order (RDO), and prove it achieves significantly better approximation ratios than previously known for both unweighted and edge-weighted graphs, resolving open questions in the field.

What Problem Does This Paper Address?

The core problem this paper tackles is understanding the theoretical performance limits of randomized greedy algorithms for finding maximum matchings in graphs, specifically in the "oblivious" setting. In this setting, the algorithm receives vertices one by one and must decide whether to match them without knowing the entire graph structure beforehand. While simple greedy algorithms are easy to implement and often perform well in practice, their worst-case theoretical guarantees are often suboptimal (around 0.5 approximation ratio). The paper aims to push this theoretical boundary, particularly for randomized approaches, and to better understand the role of randomness in decision-making and vertex preferences. A key challenge is to design algorithms that can consistently achieve a better approximation ratio than the trivial 0.5, especially in more complex scenarios like edge-weighted graphs.

Methods

The paper introduces and analyzes a simplified randomized greedy algorithm called Random Decision Order (RDO). The core idea of RDO is to randomly permute the order in which vertices are considered (the "decision order") and then, for each vertex, match it to an arbitrary available neighbor if one exists. This contrasts with more complex algorithms that might involve sophisticated preference orders.

The authors employ a randomized primal-dual framework to analyze RDO. This technique involves splitting the "gain" of a matched edge between its two endpoints and proving that the expected combined gain for any pair of vertices in a maximum matching is at least r times the weight of their edge, where r is the approximation ratio. They develop novel "gain sharing" and "compensation" rules to carefully distribute these gains, especially in general graphs where simple bipartite graph properties don't hold.

For the edge-weighted case, they introduce a Perturbed Greedy algorithm. This algorithm assigns random "ranks" to vertices and then probes edges in descending order of a "perturbed weight" that incorporates these ranks. This allows them to generalize their analysis to weighted graphs and achieve a better-than-0.5 approximation ratio.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithm design, not empirical evaluation on specific datasets.

Key Insights and Ideas

  • Random Decision Order is Crucial: The paper strongly suggests that randomizing the order in which vertices are considered is a more critical factor for achieving high approximation ratios in greedy matching than randomizing vertex preferences. This is demonstrated by RDO's strong performance even with arbitrary preference orders.
  • Breaking the 0.5 Barrier is Achievable: The work provides concrete algorithms (RDO and Perturbed Greedy) that demonstrably break the long-standing 0.5 approximation barrier for both unweighted and edge-weighted oblivious matching problems.
  • A Unified Framework for Analysis: The paper's use of a refined gain sharing and compensation mechanism, particularly the novel "victim" definition for general graphs, offers a clearer and more fundamental approach to analyzing randomized greedy matching.
  • Edge-Weighted Matching is Solvable: The paper resolves an open question by showing that an algorithm strictly better than 0.5-approximation exists for the edge-weighted oblivious matching problem.

Key Results

  • RDO for Unweighted Graphs:
    • Achieves a 0.639-approximation ratio for bipartite graphs.
  • Achieves a 0.531-approximation ratio for general graphs.
  • As a corollary, this improves the approximation ratio of the Modified Randomized Greedy (MRG) algorithm.
  • Perturbed Greedy for Edge-Weighted Graphs:
    • Achieves a 0.501-approximation ratio for the edge-weighted oblivious matching problem.
  • This resolves an open question about the existence of an algorithm beating 0.5 in this setting.
  • Hardness Results: The paper also presents experimental evidence suggesting a gap between RDO's performance on bipartite and general graphs, with a lower bound of 0.625 for general graphs.

Limitations and Future Work

  • Random Preferences vs. Decision Order: While the paper shows RDO with random decision order is effective, it leaves open the question of whether randomizing preferences in addition to decision order (as in MRG) offers further improvements. The authors believe it might, but their current framework doesn't fully capture it.
  • Edge-Weighted Bipartite Graphs: The paper provides an algorithm for edge-weighted general graphs. It's an open question what the precise approximation ratio is for edge-weighted bipartite graphs using their approach.
  • Theoretical Optimality: The 0.501 approximation ratio for edge-weighted graphs is achieved via a specific construction of the function g. The authors note this construction is likely not optimal and leave it as an open problem to find the best possible ratio.
  • Experimental Hardness: For RDO on bipartite graphs, experimental results suggest a performance around 0.646, but a theoretical analysis for this specific scenario is left as future work.

Summary updated

BibTeX
@inproceedings{tang2019towards,
  author = {Zhihao Gavin Tang and Xiaowei Wu and Yuhao Zhang},
  title = {{Towards a better understanding of randomized greedy matching}},
  booktitle = {STOC},
  year = {2019},
  url = {https://openreview.net/forum?id=WRm7Ta10tx3},
}
Figure