[Paper Review] Fast Computation of Empirically Tight Bounds for the Diameter of Massive Graphs
This paper presents a fast, practical approach using simple BFS-based algorithms to compute empirically tight upper and lower bounds for the diameter of massive graphs. Despite no theoretical guarantee on bound tightness, experiments show the bounds are often nearly exact—sometimes equal—enabling precise diameter estimation in graphs too large for traditional methods.
The diameter of a graph is among its most basic parameters. Since a few years, it moreover became a key issue to compute it for massive graphs in the context of complex network analysis. However, known algorithms, including the ones producing approximate values, have too high a time and/or space complexity to be used in such cases. We propose here a new approach relying on very simple and fast algorithms that compute (upper and lower) bounds for the diameter. We show empirically that, on various real-world cases representative of complex networks studied in the literature, the obtained bounds are very tight (and even equal in some cases). This leads to rigorous and very accurate estimations of the actual diameter in cases which were previously untractable in practice.
Motivation & Objective
- Address the lack of efficient, accurate methods to compute or estimate the diameter of massive real-world graphs.
- Overcome the prohibitive time and space complexity of exact diameter computation via BFS or matrix multiplication.
- Provide rigorous bounds (upper and lower) that are computationally lightweight yet empirically very tight.
- Enable exact diameter determination or near-exact estimation in cases previously intractable with existing algorithms.
Proposed method
- Use vertex eccentricity from a single BFS to compute trivial lower and upper bounds: ecc(v) ≤ D ≤ 2·ecc(v).
- Apply the double sweep method: perform BFS from a vertex u, then from a vertex at maximal distance from u, yielding a better lower bound than trivial methods.
- Compute tree upper bounds by constructing BFS trees from selected vertices and measuring their diameters, which are always ≥ D.
- Use two variants for tree upper bounds: random vertex selection and highest-degree vertex selection to improve bound quality.
- Repeat multiple runs of the double sweep and tree upper bound methods to collect distributions of bounds and assess empirical performance.
- Combine results from multiple heuristics to estimate the actual diameter with high confidence when bounds converge.
Experimental results
Research questions
- RQ1Can simple, fast BFS-based heuristics produce empirically tight bounds for the diameter of massive real-world graphs?
- RQ2How do the double sweep and tree-based upper bound methods compare in practice to trivial bounds?
- RQ3To what extent do the upper and lower bounds converge in real-world complex networks?
- RQ4Can these methods yield the exact diameter in practice, even without theoretical guarantees?
Key findings
- The double sweep lower bound significantly outperforms the trivial lower bound across all tested graphs, with higher probability of yielding better estimates.
- The random tree upper bound and highest-degree tree upper bound both outperform the trivial upper bound, with the latter often providing tighter results.
- For the ip graph, the double sweep lower bound and tree upper bounds converged at 9, indicating the exact diameter was found.
- In 67% of cases for the p2p graph, the double sweep lower bound exceeded 7, showing strong empirical performance.
- The highest-degree tree upper bound outperformed the random tree upper bound in most graphs, though the reverse was observed for the web graph in terms of frequency of best value.
- In multiple cases, the upper and lower bounds were equal, yielding the exact diameter without exhaustive computation.
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.