Hardness of Approximate Diameter: Now for Undirected Graphs
Mina Dalirrooyfard, Ray Li, Virginia Vassilevska Williams
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 papers 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 integerand, aapproximation for diameter in directed-edge graphs requirestime. In particular, the simple linear time 2-approximation algorithm is optimal for directed graphs. In this paper 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,and 4, respectively. Our result shows in particular that the simple linear time 2-approximation algorithm is also optimal for undirected graphs. To obtain our result we develop new tools for fine-grained reductions that could be useful for proving SETH-based hardness for other problems in undirected graphs related to distance computation.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d472ca43-ca2f-4404-8eca-ea036e3d1256Cited by top-tier papers7
- Bypass Exponential Time Preprocessing: Fast Neural Network Training via Weight-Data Correlation PreprocessingJosh Alman, Jiehao Liang, Zhao Song, Ruizhe Zhang et al.NeurIPS 2023 · 32 citations
- Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyondAmir Abboud, Karl Bringmann, Seri Khoury, Or ZamirSTOC 2022 · 11 citations
- Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations
- Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest CyclesMina Dalirrooyfard, Ce Jin, Virginia Vassilevska Williams, Nicole WeinFOCS 2022 · 3 citations
- On the Computational Hardness of TransformersBarna Saha, Yinzhan Xu, Christopher Ye, Hantao YuSTOC 2026
Builds on3
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)Ray LiSTOC 2021 · 5 citations
- Tight conditional lower bounds for approximating diameter in directed graphsMina Dalirrooyfard, Nicole WeinSTOC 2021 · 3 citations
Related papers
- Beyond 2-Approximation for k-Center in GraphsCe Jin, Yael Kirkpatrick, Virginia Vassilevska Williams, Nicole WeinSODA 2025 · 3 citations
- Constant Approximation of Min-Distances in Near-Linear TimeShiri Chechik, Tianyi ZhangFOCS 2022 · 1 citation
- Certificates in P and Subquadratic-Time Computation of Radius, Diameter, and all Eccentricities in GraphsFeodor F. Dragan, Guillaume Ducoffe, Michel Habib, Laurent ViennotSODA 2025
- New hardness results for planar graph problems in p and an algorithm for sparsest cutAmir Abboud, Vincent Cohen-Addad, Philip N. KleinSTOC 2020 · 6 citations
- Diameter computation on H-minor free graphs and graphs of bounded (distance) VC-dimensionGuillaume Ducoffe, Michel Habib, Laurent ViennotSODA 2020 · 19 citations
