Fast and Compact Graph Cuts for the Boykov-Kolmogorov Algorithm
Computing a minimum $s$-$t$ cut in a graph is a solution to a wide range of computer vision problems and is often done using the Boykov-Kolmogorov (BK) algorithm. In this paper, we revisit the BK algorithm from both a theoretical and practical point of view. We improve the analysis of the time complexity of the BK algorithm to $O(mn|C|)$ and propose a new algorithm, the fast BK (fBK) algorithm, with a time complexity of $O(m|C|)$, where $m$, $n$, and $|C|$ are the number of edges, the number of vertices, and the capacity of the cut, respectively. We additionally propose a compact graph representation that allows our implementations of the BK and fBK algorithms to find a minimum $s$-$t$ cut in a graph with up to $10^9$ vertices and $10^{10}$ edges on a machine with 128 GB of memory. We denote these as $\texttt{cBK}$ and $\texttt{fcBK}$, respectively. Despite $\texttt{fcBK}$ having the better worst-case guarantee, we find $\texttt{cBK}$ to be the fastest available implementation within the family of BK algorithms when evaluating on a comprehensive set of benchmark datasets, highlighting the importance of memory-efficient implementations. We make our implementations publicly available for further research and implementation development within minimum $s$-$t$ cut algorithms.
- Link
- https://arxiv.org/abs/2605.13402
- Found by
- arXiv
- Authors
- Christian M{\o}ller Mikkelstrup, Anders Bjorholm Dahl, Philip Bille, Vedrana Andersen Dahl, Inge Li G{\o}rtz
- Categories
- benchmark, evaluation, dataset
- Published
- 2026-10-23
- Last seen by the radar
- 2026-10-23
- Radar score
- 49.07 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, dataset, evaluat; Recency discount: updated event ×0.5; Primary record: arXiv