paper

On Diameter Approximation in Directed Graphs

arXiv:2307.07583

Abstract

Computing the diameter of a graph, i.e. the largest distance, is a fundamental problem that is central in fine-grained complexity. In undirected graphs, the Strong Exponential Time Hypothesis (SETH) yields a lower bound on the time vs. approximation trade-off that is quite close to the upper bounds. In \emph{directed} graphs, however, where only some of the upper bounds apply, much larger gaps remain. Since may not be the same as , there are multiple ways to define the problem, the two most natural being the \emph{(one-way) diameter} () and the \emph{roundtrip diameter} (). In this paper we make progress on the outstanding open question for each of them. -- We design the first algorithm for diameter in sparse directed graphs to achieve time with an approximation factor better than . The new upper bound trade-off makes the directed case appear more similar to the undirected case. Notably, this is the first algorithm for diameter in sparse graphs that benefits from fast matrix multiplication. -- We design new hardness reductions separating roundtrip diameter from directed and undirected diameter. In particular, a -approximation in subquadratic time would refute the All-Nodes -Cycle hypothesis, and any -approximation would imply a breakthrough algorithm for approximate -Closest-Pair. Notably, these are the first conditional lower bounds for diameter that are not based on SETH.