Scalable Shared-Memory Hypergraph Partitioning

Lars Gottesbüren, Tobias Heuer, Peter Sanders, Sebastian Schlag
10/20/2020
cs.DCcs.DS

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

Abstract

Hypergraph partitioning is an important preprocessing step for optimizing data placement and minimizing communication volumes in high-performance computing applications. To cope with ever growing problem sizes, it has become increasingly important to develop fast parallel partitioning algorithms whose solution quality is competitive with existing sequential algorithms.

Show full abstract

To this end, we present Mt-KaHyPar, the first shared-memory multilevel hypergraph partitioner with parallel implementations of many techniques used by the sequential, high-quality partitioning systems: a parallel coarsening algorithm that uses parallel community detection as guidance, initial partitioning via parallel recursive bipartitioning with work-stealing, a scalable label propagation refinement algorithm, and the first fully-parallel direct $k$-way formulation of the classical FM algorithm. Experiments performed on a large benchmark set of instances from various application domains demonstrate the scalability and effectiveness of our approach. With 64 cores, we observe self-relative speedups of up to 51 and a harmonic mean speedup of 23.5. In terms of solution quality, we outperform the distributed hypergraph partitioner Zoltan on 95% of the instances while also being a factor of 2.1 faster. With just four cores,Mt-KaHyPar is also slightly faster than the fastest sequential multilevel partitioner PaToH while producing better solutions on 83% of all instances. The sequential high-quality partitioner KaHyPar still finds better solutions than our parallel approach, especially when using max-flow-based refinement. This, however, comes at the cost of considerably longer running times.

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{gottesbren2020scalable,
  title  = {Scalable Shared-Memory Hypergraph Partitioning},
  author = {Lars Gottesbüren and Tobias Heuer and Peter Sanders and Sebastian Schlag},
  year   = {2020},
  eprint = {2010.10272},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.10272}
}

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/2010.10272.svg)](https://codeofpaper.com/paper/2010.10272)

Discussion