arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.01838cs.DCcs.CVcs.DScs.LG
收藏

RAMA:一种基于GPU的快速多割算法

RAMA: A Rapid Multicut Algorithm on GPU

Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Ahmed Abbas, Paul Swoboda

摘要:

我们提出了一个高度并行的原始-对偶算法的multicut(又名。相关聚类)问题,这是一个广泛应用于机器学习和计算机视觉的经典图聚类问题。我们的算法包括三个步骤递归执行:(1)找到冲突的循环,对应于违反的不平等的基础multicut松弛,(2)执行消息传递之间的边缘和循环,以优化拉格朗日松弛来自发现违反循环产生减少的成本和(3)收缩边缘通过矩阵矩阵乘法降低成本高。我们的算法产生原始的解决方案和下界估计的距离最优。我们实现我们的算法在GPU上,并显示产生一到两个数量级的执行速度的改善,而不牺牲解决方案的质量相比,传统的顺序算法在CPU上运行。我们可以解决非常大规模的基准问题,高达$\mathcal{O}(10^8)$变量在几秒钟内与小的原始-对偶差距。我们的代码可在https://github.com/pawelswoboda/RAMA上获得。

英文摘要:

We propose a highly parallel primal-dual algorithm for the multicut (a.k.a. correlation clustering) problem, a classical graph clustering problem widely used in machine learning and computer vision. Our algorithm consists of three steps executed recursively: (1) Finding conflicted cycles that correspond to violated inequalities of the underlying multicut relaxation, (2) Performing message passing between the edges and cycles to optimize the Lagrange relaxation coming from the found violated cycles producing reduced costs and (3) Contracting edges with high reduced costs through matrix-matrix multiplications. Our algorithm produces primal solutions and lower bounds that estimate the distance to optimum. We implement our algorithm on GPUs and show resulting one to two orders-of-magnitudes improvements in execution speed without sacrificing solution quality compared to traditional sequential algorithms that run on CPUs. We can solve very large scale benchmark problems with up to $\mathcal{O}(10^8)$ variables in a few seconds with small primal-dual gaps. Our code is available at https://github.com/pawelswoboda/RAMA.

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

↑