Toward tight approximation bounds for graph diameter and eccentricities

ARTURS BACKURS, LIAM RODITTY, GILAD SEGAL, VIRGINIA VASSILEVSKA WILLIAMS, NICOLE WEIN

Research output: Contribution to journalArticlepeer-review

13 Scopus citations

Abstract

Among the most important graph parameters is the diameter, the largest distance between any two vertices. There are no known very efficient algorithms for computing the diameter exactly. Thus, much research has been devoted to how fast this parameter can be approximated. Chechik et al. [Proceedings of SODA 2014, Portland, OR, 2014, pp. 1041-1052] showed that the diameter can be approximated within a multiplicative factor of 3/2 in O(m3/2) time. Furthermore, Roditty and Vassilevska W. [Proceedings of STOC '13, New York, ACM, 2013, pp. 515-524] showed that unless the strong exponential time hypothesis (SETH) fails, no O(n2) time algorithm can achieve an approximation factor better than 3/2 in sparse graphs. Thus the above algorithm is essentially optimal for sparse graphs for approximation factors less than 3/2. It was, however, completely plausible that a 3/2-approximation is possible in linear time. In this work we conditionally rule out such a possibility by showing that unless SETH fails no O(m3/2) time algorithm can achieve an approximation factor better than 5/3. Another fundamental set of graph parameters is the eccentricities. The eccentricity of a vertex v is the distance between v and the farthest vertex from v. Chechik et al. [Proceedings of SODA 2014, Portland, OR, 2014, pp. 1041-1052] showed that the eccentricities of all vertices can be approximated within a factor of 5/3 in O (m3/2) time and Abboud, Vassilevska W., and Wang [Proceedings of SODA 2016, Arlington, VA, 2016, pp. 377-391] showed that no O(n2 ) algorithm can achieve better than 5/3 approximation in sparse graphs. We show that the runtime of the 5/3 approximation algorithm is also optimal by proving that under SETH, there is no O(m3/2) algorithm that achieves a better than 9/5 approximation. We also show that no near-linear time algorithm can achieve a better than 2 approximation for the eccentricities. This is the first lower bound in fine-grained complexity that addresses near-linear time computation. We show that our lower bound for near-linear time algorithms is essentially tight by giving an algorithm that approximates eccentricities within a 2 + δ factor in O(m/δ) time for any 0 < δ < 1. This beats all eccentricity algorithms in Cairo, Grossi, and Rizzi [Proceedings of SODA 2016, Arlington, VA, 2016, pp. 363-376] and is the first constant factor approximation for eccentricities in directed graphs. To establish the above lower bounds we study the S-T diameter problem: Given a graph and two subsets S and T of vertices, output the largest distance between a vertex in S and a vertex in T. We give new algorithms and show tight lower bounds that serve as a starting point for all other hardness results. Our lower bounds apply only to sparse graphs. We show that for dense graphs, there are near-linear time algorithms for S-T diameter, diameter, and eccentricities, with almost the same approximation guarantees as their O(m3/2) counterparts, improving upon the best known algorithms for dense graphs.

Original languageEnglish
Pages (from-to)1155-1199
Number of pages45
JournalSIAM Journal on Computing
Volume50
Issue number4
DOIs
StatePublished - 2020

Bibliographical note

Publisher Copyright:
© 2020 Society for Industrial and Applied Mathematics Publications. All rights reserved.

Funding

\ast Received by the editors November 15, 2018; accepted for publication (in revised form) March 29, 2021; published electronically July 1, 2021. A preliminary version appeared in Proceedings of STOC '18. https://doi.org/10.1137/18M1226737 Funding: The first author was supported by an IBM Ph.D. fellowship, the NSF, and the Simons Foundation. The fourth author was supported by an NSF CAREER award, NSF grants CCF-1417238 and CCF-1528078, BSF grant BSF:2012338, and a Sloan research fellowship. The fourth and fifth authors were supported by an NSF graduate fellowship and NSF grant CCF-1514339. \dagger MIT, Cambridge, MA 02139 USA ([email protected]). \ddagger Computer Science, Bar Ilan University, Tel Aviv, Israel ([email protected]). \S Computer Science, Bar Ilan University, Ramat Gan, Israel ([email protected]). \P CSAIL, MIT, Cambridge, MA 02139 USA ([email protected]). \| EECS, MIT, Cambridge, MA 02139 USA ([email protected]).

FundersFunder number
National Science Foundation
Simons FoundationCCF-1514339, CCF-1528078, BSF:2012338, CCF-1417238
International Business Machines Corporation

    Keywords

    • Approximation algorithms
    • Fine-grained complexity
    • Graph diameter

    Fingerprint

    Dive into the research topics of 'Toward tight approximation bounds for graph diameter and eccentricities'. Together they form a unique fingerprint.

    Cite this