Skip to main content
QUICK REVIEW

[Paper Review] Scaling algorithms for approximate and exact maximum weight matching

Ran Duan, Seth Pettie|arXiv (Cornell University)|Dec 4, 2011
Complexity and Algorithms in GraphsComputer Science104 references15 citations
TL;DR

This paper presents scaling algorithms for approximate and exact maximum weight matching in graphs, achieving a (1−ε)-approximate solution in O(mε⁻¹ log ε⁻¹) time and an exact solution for integer-weighted bipartite graphs in O(m√n log N) time. The approach uses dual adjustments and scaling techniques to break the longstanding m√n barrier, offering simpler and faster algorithms for practical applications where near-optimal solutions suffice.

ABSTRACT

The {\em maximum cardinality} and {\em maximum weight matching} problems can be solved in time $ ilde{O}(m\sqrt{n})$, a bound that has resisted improvement despite decades of research. (Here $m$ and $n$ are the number of edges and vertices.) In this article we demonstrate that this "$m\sqrt{n}$ barrier" is extremely fragile, in the following sense. For any $ε>0$, we give an algorithm that computes a $(1-ε)$-approximate maximum weight matching in $O(mε^{-1}\logε^{-1})$ time, that is, optimal {\em linear time} for any fixed $ε$. Our algorithm is dramatically simpler than the best exact maximum weight matching algorithms on general graphs and should be appealing in all applications that can tolerate a negligible relative error. Our second contribution is a new {\em exact} maximum weight matching algorithm for integer-weighted bipartite graphs that runs in time $O(m\sqrt{n}\log N)$. This improves on the $O(Nm\sqrt{n})$-time and $O(m\sqrt{n}\log(nN))$-time algorithms known since the mid 1980s, for $1\ll \log N \ll \log n$. Here $N$ is the maximum integer edge weight.

Motivation & Objective

  • To overcome the m√n time barrier that has persisted for decades in maximum weight matching algorithms.
  • To design simpler, faster algorithms for approximate maximum weight matching that are practical for real-world applications tolerating small errors.
  • To improve the exact time complexity for integer-weighted bipartite graphs by reducing the dependency on maximum edge weight N.
  • To demonstrate that the m√n bottleneck is fragile and can be circumvented using scaling and dual adjustment techniques.

Proposed method

  • Uses a scaling framework where edge weights are processed in decreasing powers of two, maintaining dual variables with increasing granularity.
  • Employs a three-phase algorithm: Phase I finds an initial matching, Phase II performs dual adjustments and augmentations using chain and antichain elimination, and Phase III refines the solution with fine-grained adjustments.
  • Applies chain and antichain elimination to reduce the total badness f(M) by at least √(b/2) per iteration, ensuring logarithmic convergence.
  • Introduces a modified dual adjustment strategy in perfect matching (mwpm) that allows full reduction of f(M) in antichain steps and efficient cycle-based augmentations.
  • Uses a parameter t = √(b/2) to decide between chain or antichain dual adjustments, ensuring progress in each iteration.
  • Leverages the fact that in bipartite graphs, the LP relaxation is integral, enabling efficient dual-based optimization without integer programming.

Experimental results

Research questions

  • RQ1Can the m√n time bound for maximum weight matching be broken using approximation and scaling techniques?
  • RQ2To what extent can the complexity of exact maximum weight matching in integer-weighted bipartite graphs be improved by reducing dependence on the maximum edge weight N?
  • RQ3Is it possible to design a simpler, faster algorithm for approximate maximum weight matching that achieves near-optimality with linear time dependence on ε⁻¹?
  • RQ4How does the use of dual adjustments and scaling improve convergence and reduce the number of augmentation steps in matching algorithms?
  • RQ5Can the reduction from maximum weight perfect matching to maximum weight matching be avoided by designing a direct algorithm with improved time complexity?

Key findings

  • A (1−ε)-approximate maximum weight matching can be computed in O(mε⁻¹ log ε⁻¹) time, which is optimal linear time for any fixed ε.
  • The exact maximum weight matching algorithm for integer-weighted bipartite graphs runs in O(m√n log N) time, improving upon prior bounds of O(Nm√n) and O(m√n log(nN)) for 1 ≪ log N ≪ log n.
  • The number of augmentation and dual adjustment steps in Phase III is bounded by O(√n), ensuring the total time remains O(m√n) for exact matching.
  • For maximum weight perfect matching, the algorithm achieves a factor-of-2 improvement in the number of scales, reducing from log((n+1)N) to log(√n N), leading to faster convergence.
  • The algorithm maintains dual variables with increasing granularity and uses chain/antichain elimination to ensure monotonic reduction in badness, guaranteeing convergence in O(√n) rounds per scale.
  • The method avoids the need for complex data structures or matrix multiplication, making it simpler and more practical than prior exact algorithms.

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.