Hardness of Approximate Diameter: Now for Undirected Graphs
Open Access
- 24 January 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 72 (1) , 1-32
Abstract
Approximating the graph diameter is a basic task of both theoretical and practical interest. A simple folklore algorithm can output a 2-approximation to the diameter in linear time by running BFS from an arbitrary vertex. It has been open whether a better approximation is possible in near-linear time. A series of articles on fine-grained complexity have led to strong hardness results for diameter in directed graphs, culminating in a recent tradeoff curve independently discovered by [Li, STOC’21] and [Dalirrooyfard and Wein, STOC’21], showing that under the Strong Exponential Time Hypothesis (SETH), for any integer k ≥ 2 and δ > 0, a \(2-\frac{1}{k}-\delta\) approximation for diameter in directed m -edge graphs requires \(m^{1+1/(k-1)-o(1)}\) time. In particular, the simple linear time 2-approximation algorithm is optimal for directed graphs. In this article, we prove that the same tradeoff lower bound curve is possible for undirected graphs as well, extending results of [Roditty and Vassilevska W., STOC’13], [Li’20] and [Bonnet, ICALP’21] who proved the first few cases of the curve, k =2,3, and 4, respectively. Our result shows in particular that the simple linear time 2-approximation algorithm is conditionally optimal for undirected graphs. To obtain our result, we extract the core ideas in known reductions and introduce a unification and generalization that could be useful for proving SETH-based hardness for other problems in undirected graphs related to distance computation.
Keywords
Funding Information
- NSF CAREER (1651838)
- NSF (DGE-1656518, CCF-1528078, CCF-1514339, CCF-1909429 and CCF-2330048)
This publication has 25 references indexed in Scilit:
- A Refined Laser Method and Faster Matrix Multiplication2021
- Faster All-Pairs Shortest Paths via Circuit ComplexitySIAM Journal on Computing, 2018
- New Bounds for Approximating Extremal Distances in Undirected Graphs2015
- Better Approximation Algorithms for the Graph Diameter2013
- On Computing the Diameter of Real-World Directed (Weighted) Graphs2012
- A new algorithm for optimal 2-constraint satisfaction and its implicationsTheoretical Computer Science, 2005
- A new approach to all-pairs shortest paths on real-weighted graphsTheoretical Computer Science, 2004
- On the Complexity of k-SATJournal of Computer and System Sciences, 2001
- On the Exponent of the All Pairs Shortest Path ProblemJournal of Computer and System Sciences, 1997
- On the All-Pairs-Shortest-Path Problem in Unweighted Undirected GraphsJournal of Computer and System Sciences, 1995