Polynomial self-stabilizing algorithm and proof for a 2/3-approximation of a maximum matching

Johanne Cohen, Khaled Maâmra, George Manoussakis, Laurence PilardarXiv 2016

Abstract

This paper introduces MAXMATCH, the first polynomial-time self-stabilizing algorithm to achieve a 2/3-approximation of a maximum matching in general graphs. By refining a previous sub-exponential approach with just one additional boolean variable, the authors reduce the stabilization time to $O(n^3)$ moves under an adversarial distributed scheduler.

Introduction

In graph theory, a matching is a set of edges that share no common endpoints. While finding a maximal matching (where no more edges can be added) is straightforward and provides a 1/2-approximation of the maximum matching, achieving better ratios in a distributed environment is challenging. To reach a 2/3-approximation, an algorithm must identify and "flip" 3-augmenting paths—sequences of three edges where the central edge is matched and the outer two are not.

The primary difficulty lies in self-stabilization: the ability of a distributed system to recover from any arbitrary initial state and converge to a correct configuration without external intervention. Previous self-stabilizing 2/3-approximation algorithms suffered from sub-exponential time complexity, making them impractical for large networks.

The MAXMATCH Algorithm

The proposed MAXMATCH algorithm operates in a shared memory model where nodes can observe the states of their immediate neighbors. It employs a layered architecture, assuming an underlying maximal matching algorithm has already stabilized to provide a baseline 1/2-approximation.

Augmenting Path Detection

The core of the 2/3-approximation logic involves nodes in a matched pair $(u, v)$ scanning for unmatched ("single") neighbors. If $u$ identifies an unmatched neighbor $x$ and $v$ identifies an unmatched neighbor $y$, they coordinate to dissolve the $(u, v)$ bond and establish two new matched pairs: $(x, u)$ and $(v, y)$.

Detection and resolution of a 3-augmenting path (x, u, v, y) as described in Lemma 5.

State Variables and Rule Prioritization

Each node maintains three pointers and two boolean variables. The critical innovation is the addition of a single boolean variable that allows nodes to track the progress of rematching attempts, preventing the redundant moves that led to sub-exponential complexity in earlier models. The algorithm uses a set of prioritized "if-then" rules (e.g., "Reset" takes precedence over "Update") to ensure convergence and prevent infinite state cycling.

Theoretical Analysis and Results

The authors provide a formal proof of correctness and complexity, demonstrating that the algorithm stabilizes in $O(n^3)$ moves, where $n$ is the number of nodes. This proof is robust even under an adversarial distributed daemon, which can schedule node movements in the most disruptive order possible.

Visual representation of various node configurations and state transitions governed by the algorithm's lemmas.

The algorithm is highly memory-efficient, requiring only constant space per node (three node IDs and two bits), making it ideal for resource-constrained environments like IoT sensor networks. It formally guarantees a matching $M^+$ such that $|M^+| \geq \frac{2}{3} |M_{max}|$.

Conclusion and Future Work

MAXMATCH represents a significant advancement in distributed graph algorithms by bringing 2/3-approximation into the realm of polynomial-time self-stabilization. While the current approach depends on a pre-stabilized maximal matching and is limited to static graphs, it sets the stage for future research into $(1 - \epsilon)$-approximations and dynamic network topologies.

Summary updated

BibTeX
@misc{cohen2016polynomial,
  author = {Johanne Cohen and Khaled Maâmra and George Manoussakis and Laurence Pilard},
  title = {{Polynomial self-stabilizing algorithm and proof for a 2/3-approximation of a maximum matching}},
  year = {2016},
  eprint = {1611.06038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.06038},
}
Figure