Paperlane

no. 22 · Wednesday 25 November 2026

The Min-Cut Formulation of Ollivier-Ricci Curvature

Giorgio Micaletto

math.CO · via cs.DS · code · 25 pp

Abstract

Computing Ollivier-Ricci curvature normally requires a local distance matrix and a linear program per edge, prompting workarounds based on entropic regularization or combinatorial proxies. We show that exact curvature needs neither. For any one-step measures, the Kantorovich dual has an integral three-level optimum, reducing each edge to one minimum s-t cut on a distance-free network linear in the read adjacency lists. This solves instances requiring quadratically many distance queries in linear time, while a converse reduction shows that no exact algorithm can beat bipartite matching. Our solver is a median 6 times (up to 506 times) faster than distance construction plus $\mathtt{POT}$'s C++ simplex, 441 times faster than $\mathtt{GraphRicciCurvature}$, and 23 times faster than graph min-cost flow. Even given the distances, Sinkhorn iterations at $\mathtt{GraphRicciCurvature}$'s regularization are a median 12 times slower, and combinatorial proxies alter edge rankings, missing the bulk of the most negatively curved ones.

code
github.com/GiorgioMB/orcut
comments
25 pages, 5 figures, 12 tables. Code: https://github.com/GiorgioMB/orcut. Python package: https://pypi.org/project/faster-or-curvature/
fields
Combinatorics