arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.02022cs.DS
收藏

深度多级图划分

Deep Multilevel Graph Partitioning

Lars Gottesbüren, Tobias Heuer, Peter Sanders, Christian Schulz, Daniel Seemaier

摘要:

将一个图划分成“大致相等”的块,同时只切割很少的边,这是计算机科学中的一个基本问题,有着广泛的应用。特别地,该问题是需要并行处理的应用程序中的构建块。虽然近年来并行架构中可用核的数量显著增加,但是如果输入需要被划分为大量块,则最先进的图划分算法不能很好地工作。通常,目前可用的算法计算高度不平衡的解决方案,低质量的解决方案,或者在这种情况下具有过多的运行时间。这是因为大多数高质量的通用图划分器是多级算法,其执行图粗化以构建图的层次结构,初始划分以计算初始解,以及局部改进以改进整个层次结构的解。然而,对于大量的块,用于初始分区的层次结构中的最小图仍然必须很大。在这项工作中,我们大大减轻了这些问题,通过引入深多级图分区和共享内存实现。我们的方案继续深入到初始分区的多级方法-将其集成到一个框架中,其中递归二分区和直接k路分区相结合,使它们可以以高性能和高质量运行。我们的方法更强大,更灵活,可以说更优雅,并减少了瓶颈的并行化相比,其他多级方法。例如,对于大量的块,我们的算法平均比竞争算法快一个数量级,同时计算具有可比解决方案质量的平衡分区。对于少量的块,我们的算法是最快的竞争系统具有可比的质量。

英文摘要:

Partitioning a graph into blocks of "roughly equal" weight while cutting only few edges is a fundamental problem in computer science with a wide range of applications. In particular, the problem is a building block in applications that require parallel processing. While the amount of available cores in parallel architectures has significantly increased in recent years, state-of-the-art graph partitioning algorithms do not work well if the input needs to be partitioned into a large number of blocks. Often currently available algorithms compute highly imbalanced solutions, solutions of low quality, or have excessive running time for this case. This is because most high-quality general-purpose graph partitioners are multilevel algorithms which perform graph coarsening to build a hierarchy of graphs, initial partitioning to compute an initial solution, and local improvement to improve the solution throughout the hierarchy. However, for large number of blocks, the smallest graph in the hierarchy that is used for initial partitioning still has to be large. In this work, we substantially mitigate these problems by introducing deep multilevel graph partitioning and a shared-memory implementation thereof. Our scheme continues the multilevel approach deep into initial partitioning -- integrating it into a framework where recursive bipartitioning and direct k-way partitioning are combined such that they can operate with high performance and quality. Our approach is stronger, more flexible, arguably more elegant, and reduces bottlenecks for parallelization compared to other multilevel approaches. For example, for large number of blocks our algorithm is on average an order of magnitude faster than competing algorithms while computing balanced partitions with comparable solution quality. For small number of blocks, our algorithms are the fastest among competing systems with comparable quality.

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

↑