English

RAMA: A Rapid Multicut Algorithm on GPU

Distributed, Parallel, and Cluster Computing 2022-03-14 v3 Computer Vision and Pattern Recognition Data Structures and Algorithms Machine Learning

Abstract

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 O(108)\mathcal{O}(10^8) variables in a few seconds with small primal-dual gaps. Our code is available at https://github.com/pawelswoboda/RAMA.

Keywords

Cite

@article{arxiv.2109.01838,
  title  = {RAMA: A Rapid Multicut Algorithm on GPU},
  author = {Ahmed Abbas and Paul Swoboda},
  journal= {arXiv preprint arXiv:2109.01838},
  year   = {2022}
}

Comments

Published in CVPR 2022

R2 v1 2026-06-24T05:40:49.349Z