Abstract
Graph hyperbolicity is a critical metric for measuring the "tree-likeness" of networks, with significant applications in routing and social network analysis. However, computing it exactly is computationally expensive, typically requiring $O(n^4)$ time for a graph with $n$ vertices. This paper investigates whether structural graph parameters can be exploited to achieve linear-time computation. By applying the framework of "Fixed-Parameter Tractability (FPT) in P," the authors provide several linear-time algorithms for specific parameters and establish lower bounds proving that further speedups are unlikely under standard complexity conjectures.
Introduction
Gromov hyperbolicity captures how closely a graph's shortest-path distances approximate a tree metric. A hyperbolicity of 0 indicates a perfect tree; lower values generally imply more efficient routing properties. The standard definition relies on a "four-point condition" that evaluates every possible quadruple of vertices, leading to a naive $O(n^4)$ complexity. Even optimized algorithms remain near $O(n^{3.69})$, which is impractical for massive modern datasets.
To address this, the authors explore parameterized complexity. They ask: if a structural parameter $k$ (such as vertex cover or feedback edge number) is small, can we compute hyperbolicity in $O(f(k) \cdot (n+m))$ time? This approach allows the bulk of the graph to be processed linearly, isolating the combinatorial explosion to the parameter $k$.
Methodology
The authors employ a multi-faceted approach combining graph theory, optimization, and complexity theory:
- Data Reduction: A key preprocessing step involves iteratively pruning degree-1 vertices (leaves). The authors prove that this operation preserves the graph's hyperbolicity and can be executed in linear time.
- Path Covers and ILP: They introduce a "minimum maximal paths cover number" to bound the search space. By representing the graph through maximal paths where internal nodes have a degree of two, they reduce the hyperbolicity calculation to a bounded number of Integer Linear Programs (ILPs) with a constant number of variables.
- Dynamic Programming: For graphs structurally similar to cographs (graphs lacking induced 4-vertex paths), the authors utilize dynamic programming on cotrees to maintain linear efficiency.
- Hardness Reductions: To define the limits of algorithmic improvement, they use reductions from the Orthogonal Vectors problem (linked to the Strong Exponential Time Hypothesis, or SETH) and the 4-Independent Set problem.
Key Results
The study successfully identifies several parameters that allow for linear-time hyperbolicity computation. These results are summarized in the table below.
Positive Results (Linear-Time FPT)
As shown in the table, parameters such as the covering path number and feedback edge number allow for $O(k^4(n+m))$ algorithms. The vertex cover number yields an algorithm running in $2^{O(k)} + O(n+m)$, while distance to cographs results in a more complex $O(4^{4k} \cdot k^7 \cdot (n+m))$ bound.
Negative Results (Lower Bounds)
The authors also establish theoretical "walls" that suggest these algorithms are near-optimal:
- SETH Lower Bound: For the vertex cover parameter $k$, no algorithm can run in $2^{o(k)}n^{2-\epsilon}$ time unless SETH fails. This justifies the exponential dependence on $k$ in their linear-time approach.
- 4-Independent Set Barrier: Hyperbolicity computation is shown to be at least as hard as finding a 4-Independent Set. Since the current best time for the latter is $O(n^{3.257})$, a sub-cubic algorithm for hyperbolicity would represent a major breakthrough in theoretical computer science.
Conclusion and Future Work
This research demonstrates that "FPT in P" is a viable strategy for making notoriously slow polynomial problems tractable on large graphs. While the exponential dependence on parameters like vertex cover limits these algorithms to graphs where $k$ is small, they provide a rigorous path forward for practical implementation. Future work remains to determine if a linear-time FPT algorithm exists for the feedback vertex number, and whether polynomial dependence on $k$ is possible if the base running time is relaxed to $O(n^2)$ or $O(n^3)$.
Summary updated