arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.08107cs.DScs.DC
收藏

共享内存n层超图划分

Shared-Memory n-level Hypergraph Partitioning

Lars Gottesbüren, Tobias Heuer, Peter Sanders, Sebastian Schlag

摘要:

我们提出了一个共享内存算法来计算高质量的平衡$k$ -路超图划分问题的解决方案。该问题要求将顶点集划分为最小化连通性度量的有界大小的$k$不相交块(即,由每个超边连接的不同块的数目的总和)。高质量的解决方案是通过并行化的核心技术,目前最好的顺序分区KaHyPar:最极端的$n$级版本的广泛使用的多级范例,其中只有一个顶点是收缩在每个级别。这种方法通过侵入式算法和数据结构实现快速和可伸缩性,这些算法和数据结构允许通过原子操作和细粒度锁定精确控制并行性。我们进行了广泛的实验,超过500现实世界的超图高达$140$百万顶点和20亿针(超边大小的总和)。我们发现,我们的算法计算的解决方案,相当于一个可比的配置KaHyPar,而平均速度快一个数量级。此外,我们表明,最近的非多级算法专门设计用于划分大型实例有相当大的质量处罚,并没有明显的优势,在运行时间。

英文摘要:

We present a shared-memory algorithm to compute high-quality solutions to the balanced $k$-way hypergraph partitioning problem. This problem asks for a partition of the vertex set into $k$ disjoint blocks of bounded size that minimizes the connectivity metric (i.e., the sum of the number of different blocks connected by each hyperedge). High solution quality is achieved by parallelizing the core technique of the currently best sequential partitioner KaHyPar: the most extreme $n$-level version of the widely used multilevel paradigm, where only a single vertex is contracted on each level. This approach is made fast and scalable through intrusive algorithms and data structures that allow precise control of parallelism through atomic operations and fine-grained locking. We perform extensive experiments on more than 500 real-world hypergraphs with up to $140$ million vertices and two billion pins (sum of hyperedge sizes). We find that our algorithm computes solutions that are on par with a comparable configuration of KaHyPar while being an order of magnitude faster on average. Moreover, we show that recent non-multilevel algorithms specifically designed to partition large instances have considerable quality penalties and no clear advantage in running time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑