English

Approximating Min-Mean-Cycle for low-diameter graphs in near-optimal time and memory

Data Structures and Algorithms 2023-10-03 v2 Optimization and Control

Abstract

We revisit Min-Mean-Cycle, the classical problem of finding a cycle in a weighted directed graph with minimum mean weight. Despite an extensive algorithmic literature, previous work falls short of a near-linear runtime in the number of edges mm. We propose an approximation algorithm that, for graphs with polylogarithmic diameter, achieves a near-linear runtime. In particular, this is the first algorithm whose runtime scales in the number of vertices nn as O~(n2)\tilde{O}(n^2) for the complete graph. Moreover, unconditionally on the diameter, the algorithm uses only O(n)O(n) memory beyond reading the input, making it "memory-optimal". Our approach is based on solving a linear programming relaxation using entropic regularization, which reduces the problem to Matrix Balancing -- \'a la the popular reduction of Optimal Transport to Matrix Scaling. The algorithm is practical and simple to implement.

Keywords

Cite

@article{arxiv.2004.03114,
  title  = {Approximating Min-Mean-Cycle for low-diameter graphs in near-optimal time and memory},
  author = {Jason M. Altschuler and Pablo A. Parrilo},
  journal= {arXiv preprint arXiv:2004.03114},
  year   = {2023}
}
R2 v1 2026-06-23T14:42:10.476Z