Score: 3

Improved girth approximation in weighted undirected graphs

Published: July 18, 2025 | arXiv ID: 2507.13869v1

By: Avi Kadria , Liam Roditty , Aaron Sidford and more

BigTech Affiliations: Massachusetts Institute of Technology Stanford University

Potential Business Impact:

Finds a short loop in a network faster.

Let $G = (V,E,\ell)$ be a $n$-node $m$-edge weighted undirected graph, where $\ell: E \rightarrow (0,\infty)$ is a real \emph{length} function defined on its edges, and let $g$ denote the girth of $G$, i.e., the length of its shortest cycle. We present an algorithm that, for any input, integer $k \geq 1$, in $O(kn^{1+1/k}\log{n} + m(k+\log{n}))$ expected time finds a cycle of length at most $\frac{4k}{3}g$. This algorithm nearly matches a $O(n^{1+1/k}\log{n})$-time algorithm of \cite{KadriaRSWZ22} which applied to unweighted graphs of girth $3$. For weighted graphs, this result also improves upon the previous state-of-the-art algorithm that in $O((n^{1+1/k}\log n+m)\log (nM))$ time, where $\ell: E \rightarrow [1, M]$ is an integral length function, finds a cycle of length at most $2kg$~\cite{KadriaRSWZ22}. For $k=1$ this result improves upon the result of Roditty and Tov~\cite{RodittyT13}.

Country of Origin
🇮🇱 🇺🇸 Israel, United States

Page Count
16 pages

Category
Computer Science:
Data Structures and Algorithms