[Paper Review] Algorithms and Hardness for Diameter in Dynamic Graphs
This paper presents nearly optimal dynamic approximation algorithms for graph diameter, radius, and eccentricities in directed and undirected graphs, leveraging reductions to incremental/decremental single-source shortest paths (SSSP). Under popular fine-grained complexity hypotheses, it proves that no significantly better fully dynamic approximations exist than recomputing from scratch or maintaining full APSP, while achieving a nearly (3/2 + ϵ)-approximation for diameter in decremental graphs with total time m^{1+o(1)}√n/ϵ², matching the conditional optimality of static algorithms.
The diameter, radius and eccentricities are natural graph parameters. While these problems have been studied extensively, there are no known dynamic algorithms for them beyond the ones that follow from trivial recomputation after each update or from solving dynamic All-Pairs Shortest Paths (APSP), which is very computationally intensive. This is the situation for dynamic approximation algorithms as well, and even if only edge insertions or edge deletions need to be supported. This paper provides a comprehensive study of the dynamic approximation of Diameter, Radius and Eccentricities, providing both conditional lower bounds, and new algorithms whose bounds are optimal under popular hypotheses in fine-grained complexity. Some of the highlights include: - Under popular hardness hypotheses, there can be no significantly better fully dynamic approximation algorithms than recomputing the answer after each update, or maintaining full APSP. - Nearly optimal partially dynamic (incremental/decremental) algorithms can be achieved via efficient reductions to (incremental/decremental) maintenance of Single-Source Shortest Paths. For instance, a nearly $(3/2+ε)$-approximation to Diameter in directed or undirected graphs can be maintained decrementally in total time $m^{1+o(1)}\sqrt{n}/ε^2$. This nearly matches the static $3/2$-approximation algorithm for the problem that is known to be conditionally optimal.
Motivation & Objective
- To close the gap in understanding dynamic approximation algorithms for fundamental graph parameters like diameter, radius, and eccentricities.
- To establish conditional lower bounds for fully dynamic approximations under fine-grained complexity hypotheses such as SETH.
- To develop nearly optimal partially dynamic (incremental/decremental) algorithms by reducing to dynamic SSSP maintenance.
- To determine whether existing dynamic approximation bounds are conditionally optimal or can be improved.
- To provide a comprehensive study of trade-offs between approximation quality, update time, and dynamic graph operations.
Proposed method
- Reduces dynamic diameter, radius, and eccentricity approximation to incremental or decremental maintenance of single-source shortest paths (SSSP).
- Uses a deterministic center selection strategy to sample vertices that can approximate eccentricity within a (1−ϵ) factor.
- Employs approximate SSSP data structures with error parameter ϵ′ = ϵ/2 to bound approximation error in distance estimates.
- Maintains max-heaps per vertex to track the maximum estimated distance to any center, used for query responses.
- Applies a modified SSSP algorithm that supports edge insertions and updates center sets efficiently after each update.
- Uses SCC detection and vertex ID reassignment to ensure center sets are monotonic and correct after insertions.
Experimental results
Research questions
- RQ1Can fully dynamic (4/3 − ϵ)-approximation algorithms for diameter be improved beyond the APSP-based ˜O(n²) amortized update time under SETH?
- RQ2Is the (3/2 + ϵ)-approximation for diameter in decremental graphs conditionally optimal, or can it be improved further?
- RQ3Can nearly optimal dynamic approximations for radius and eccentricities be achieved via reductions to dynamic SSSP?
- RQ4Are the existing dynamic approximation bounds for eccentricities, such as (5/3 − ϵ), conditionally optimal under SETH?
- RQ5What is the trade-off between approximation ratio, update time, and the use of dynamic SSSP as a subroutine?
Key findings
- Under SETH, no fully dynamic (4/3 − ϵ)-approximation algorithm for diameter can achieve amortized update time better than ˜O(n²), matching the APSP-based bound.
- A nearly (3/2 + ϵ)-approximation for diameter in decremental graphs can be maintained in total time ˜O(m^{1+o(1)}√n/ϵ²), nearly matching the conditional optimality of the static 3/2-approximation algorithm.
- For incremental eccentricities in unweighted, directed, strongly connected graphs, a (1−ϵ)-approximation can be maintained in total time ˜O((Tinc(n,m,D′,ϵ)+m)n/(ϵ²D′)) with D′ ≤ ε(v) as a parameter.
- The correctness of the approximation relies on ensuring that for each vertex v, a center exists within distance ϵ′D′ of the farthest vertex from v, enabling (1−ϵ) approximation via triangle inequality.
- The algorithm maintains a superset of previous centers after edge insertions by reassigning IDs, ensuring monotonicity and correctness of the center set.
- The total running time includes ˜O(mn) for updating centers over n insertions, and the SCC algorithm adds O(m^{3/2}) time, both bounded within the overall complexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.