Abstract: Maximum weight matching (MWM) is one of the most fundamental combinatorial optimization problems with a wide range of applications in data mining and bioinformatics. Developing distributed weighted matching algorithms is essential for handling massive modern datasets. This paper introduces a simple, two-round MapReduce algorithm for the MWM problem that achieves a $(2+\epsilon)$ approximation ratio. By leveraging "randomized composable coresets," the authors successfully parallelize the inherently sequential greedy algorithm, allowing it to scale to massive graphs with over half a trillion edges while maintaining nearly 99% of the solution quality of a centralized approach.
Introduction
Maximum Weight Matching (MWM)—the task of finding a set of edges that share no vertices and maximize total weight—is a cornerstone of combinatorial optimization. Its applications are diverse, ranging from kidney exchange programs and online advertising to complex bioinformatics tasks.
While sequential algorithms, such as the standard greedy approach, provide a reliable 2-approximation, they are notoriously difficult to parallelize. In a greedy framework, each edge selection depends on the decisions made for all preceding edges. As datasets grow to the scale of "Big Data," where graphs exceed the memory capacity of any single machine, distributed solutions become necessary. However, existing distributed MWM algorithms often suffer from high communication latency due to many rounds of interaction or offer poor approximation guarantees. This research seeks a "sweet spot": a minimal two-round communication framework that preserves the approximation quality of sequential greedy algorithms.
Methodology: Randomized Composable Coresets
The core of the proposed solution is the use of Randomized Composable Coresets. The algorithm is designed for a MapReduce-style environment and operates in two primary rounds:
- Random Partitioning with Multiplicity: The edges of the input graph are randomly distributed across $k$ machines. A key innovation is the "multiplicity" parameter $c$; each edge is sent to a machine with a certain probability such that it may appear on multiple machines in expectation. This redundancy is critical for ensuring that "important" edges are available for selection in at least one local partition.
- Local Greedy Matching: Each machine independently executes a sequential greedy algorithm on its assigned subset of edges to find a local matching.
- Aggregation and Final Solve: The edges selected in these local matchings are aggregated onto a single central machine. This subset of edges constitutes the "coreset." The central machine then performs a final MWM solve (using another greedy pass or a near-optimal algorithm) to produce the global result.
The theoretical foundation of this work proves that the union of local greedy matchings is highly likely to contain the edges necessary for a globally high-weight matching. The analysis involves categorizing edge configurations (as seen in the figure above) to demonstrate that even with partial views of the graph, the most significant edges are rarely "blocked" across all machines.
Experimental Evaluation
The algorithm was evaluated on four large-scale social and co-authorship networks, most notably the Friendster graph, which contains approximately 65 million vertices and 546 billion edges. Other datasets included Orkut (21B edges), LiveJournal (3.9B edges), and DBLP (5.9M edges).
Key Results
- Scalability and Speed: The algorithm successfully processed the half-trillion-edge Friendster graph, achieving a 130x speedup over the sequential greedy algorithm. Such a task is typically impossible for standard sequential or high-latency distributed algorithms.
- Solution Quality: Across all tested datasets, the coreset-based approach captured between 98.9% and 99.8% of the weight found by a centralized sequential greedy algorithm. This indicates that the quality loss inherent in distribution is less than 2%.
- The Impact of Multiplicity: Empirical results confirm that increasing the multiplicity parameter $c$ significantly boosts the probability of capturing optimal edges in the coreset, leading to rapid convergence toward the centralized solution quality.
Conclusion
This paper demonstrates that two rounds of communication are sufficient to achieve high-quality maximum weight matchings on a massive scale. By breaking the sequential dependencies of the greedy algorithm through randomized partitioning and multiplicity, the authors provide a practical and theoretically sound framework for Big Data optimization. Future work may explore the application of randomized greedy parallelization to other complex problems, such as constrained submodular maximization, and address potential memory bottlenecks on the central machine for even larger vertex counts.
Summary updated