Lune

FOCS2021Top-tier venue

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 integerk≥2k\geq 2andδ>0\delta > 0, a2−1k−δ2-\frac{1}{k}-\deltaapproximation for diameter in directedmm-edge graphs requiresmn1+1/(k−1)−o(1)mn^{1+1/(k-1)-o(1)}time. 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,k=2,3k=2,3and 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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Removing Additive Structure in 3SUM-Based Reductions cites Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)
  • Removing Additive Structure in 3SUM-Based Reductions cites Tight conditional lower bounds for approximating diameter in directed graphs
  • Removing Additive Structure in 3SUM-Based Reductions cites Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest Cycles
  • Removing Additive Structure in 3SUM-Based Reductions cites A Refined Laser Method and Faster Matrix Multiplication
  • Removing Additive Structure in 3SUM-Based Reductions cites Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
  • On the Computational Hardness of Transformers cites Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)
  • Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH) cites Tight conditional lower bounds for approximating diameter in directed graphs
  • Tight conditional lower bounds for approximating diameter in directed graphs cites Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)
  • Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest Cycles cites A Refined Laser Method and Faster Matrix Multiplication
  • Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest Cycles cites Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites Tight conditional lower bounds for approximating diameter in directed graphs
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites A Refined Laser Method and Faster Matrix Multiplication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. 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
  2. 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
  3. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations
  4. 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
  5. On the Computational Hardness of TransformersBarna Saha, Yinzhan Xu, Christopher Ye, Hantao YuSTOC 2026

Builds on3

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. Settling SETH vs. approximate sparse directed unweighted diameter (up to (NU)NSETH)Ray LiSTOC 2021 · 5 citations
  3. Tight conditional lower bounds for approximating diameter in directed graphsMina Dalirrooyfard, Nicole WeinSTOC 2021 · 3 citations

Related papers

  1. Beyond 2-Approximation for k-Center in GraphsCe Jin, Yael Kirkpatrick, Virginia Vassilevska Williams, Nicole WeinSODA 2025 · 3 citations
  2. Constant Approximation of Min-Distances in Near-Linear TimeShiri Chechik, Tianyi ZhangFOCS 2022 · 1 citation
  3. Certificates in P and Subquadratic-Time Computation of Radius, Diameter, and all Eccentricities in GraphsFeodor F. Dragan, Guillaume Ducoffe, Michel Habib, Laurent ViennotSODA 2025
  4. 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
  5. Diameter computation on H-minor free graphs and graphs of bounded (distance) VC-dimensionGuillaume Ducoffe, Michel Habib, Laurent ViennotSODA 2020 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines