X-Wim: Massive Parallelization of Weighted Matching in Bipartite Graphs
Dayi Fan, Simon Zhang, Rubao Lee, Hanqi Guo, Xiaodong Zhang
Abstract
The maximum weight perfect matching (MWPM) problem in bipartite graphs has extensive applications in database, machine learning, financial markets, and other data-intensive domains, and serves as a general formulation of weighted matching problems. The Hungarian algorithm is widely adopted for solving bipartite MWPM, and substantial research efforts have focused on improving its sequential time complexity. As data volumes grow and real-time processing demands escalate, parallel solutions become increasingly essential. However, efficient parallelization remains highly nontrivial due to the algorithm's intricate execution patterns, inherently sequential data dependencies, frequent phase switching, and the single-path-per-iteration search constraint. These critical issues motivate us to develop X-Wim, a massively parallel framework. It is built on a new phase-decoupled approach that breaks the strong interleaving between algorithmic phases, eliminates frequent global updates, enables concurrent search for multiple disjoint paths, and incorporates an adaptive search strategy. These algorithmic design efforts lead to substantial performance gains, even in the single-threaded setting. Extensive experiments on real-world datasets indicate that X-Wim surpasses state-of-the-art baselines, achieving up to a 9.93x speedup with 1 core and up to a 56.3x speedup with 8 cores. It also exhibits strong scalability. In tests up to 96 cores, it achieves an average 1.70x speedup each time the number of threads doubles. To the best of our knowledge, X-Wim is the fastest solution for this class of graph algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a1b3f323-dbf7-42c7-a04a-d7876c0b6713Builds on31
- GNNAdvisor: An Adaptive and Efficient Runtime System for GNN Acceleration on GPUsYuke Wang, Boyuan Feng, Gushu Li, Shuangchen Li et al.OSDI 2021 · 163 citations
- Faster Matchings via Learned DualsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2021 · 98 citations
- Realtime Top-k Personalized PageRank over Large Graphs on GPUsJieming Shi, Renchi Yang, Tianyuan Jin, Xiaokui Xiao et al.VLDB 2020 · 44 citations
- Columnar Storage and List-based Processing for Graph Database Management SystemsPranjal Gupta, Amine Mhedhbi, Semih SalihogluVLDB 2021 · 31 citations
- Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite GraphsXin-Wei Cai, Xiangyu Ke, Kai Wang, Lu Chen et al.VLDB 2024 · 27 citations
Related papers
- X-Blossom: Massive Parallelization of Graph Maximum MatchingDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2025 · 3 citations
- A Faster Combinatorial Algorithm for Maximum Bipartite MatchingJulia Chuzhoy, Sanjeev KhannaSODA 2024 · 6 citations
- PimPam: Efficient Graph Pattern Matching on Real Processing-in-Memory HardwareShuangyu Cai, Boyu Tian, Huanchen Zhang, Mingyu GaoSIGMOD 2024 · 18 citations
- GraphMatch: Subgraph Query Processing on SteroidsJonas Dann, Tobias Götz, Daniel Ritter, Jana Giceva et al.SIGMOD 2026
- Maximum Bipartite Matching in n2+o(1) Time via a Combinatorial AlgorithmJulia Chuzhoy, Sanjeev KhannaSTOC 2024 · 2 citations
