Parallel Flow-Based Hypergraph Partitioning

Lars Gottesbüren, Tobias Heuer, Peter Sanders
1/5/2022
cs.DScs.DC

Official code: kahypar/mt-kahypar (205 stars, C++, MIT, last commit 2026-04-30).

Abstract

We present a shared-memory parallelization of flow-based refinement, which is considered the most powerful iterative improvement technique for hypergraph partitioning at the moment. Flow-based refinement works on bipartitions, so current sequential partitioners schedule it on different block pairs to improve $k$-way partitions.

Show full abstract

We investigate two different sources of parallelism: a parallel scheduling scheme and a parallel maximum flow algorithm based on the well-known push-relabel algorithm. In addition to thoroughly engineered implementations, we propose several optimizations that substantially accelerate the algorithm in practice, enabling the use on extremely large hypergraphs (up to 1 billion pins). We integrate our approach in the state-of-the-art parallel multilevel framework Mt-KaHyPar and conduct extensive experiments on a benchmark set of more than 500 real-world hypergraphs, to show that the partition quality of our code is on par with the highest quality sequential code (KaHyPar), while being an order of magnitude faster with 10 threads.

View on arXivView PDF

Code Implementations(1)

kahypar/mt-kahyparOfficial100%
MIT

Mt-KaHyPar (Multi-Threaded Karlsruhe Hypergraph Partitioner) is a shared-memory multilevel graph and hypergraph partitioner equipped with parallel implementations of techniques used in the best sequential partitioning algorithms. Mt-KaHyPar can partition extremely large hypergraphs very fast and with high quality.

20550C++, PythonSep 2, 20197 months agoMIT
algorithm-engineeringgraph-algorithmsgraph-partitioninggraphshigh-performance-computing+8 more

Similar Papers

Cite this paper

@article{gottesbren2022parallel,
  title  = {Parallel Flow-Based Hypergraph Partitioning},
  author = {Lars Gottesbüren and Tobias Heuer and Peter Sanders},
  year   = {2022},
  eprint = {2201.01556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.01556}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.01556.svg)](https://codeofpaper.com/paper/2201.01556)

Discussion