[Paper Review] Computing top-k Closeness Centrality Faster in Unweighted Graphs
This paper presents a novel exact algorithm for computing the top-$k$ closeness centrality nodes in unweighted graphs, significantly accelerating performance over textbook and state-of-the-art methods by integrating dynamic upper-bound pruning with BFS. The approach achieves up to 87,918× speedup on real-world networks like Wikipedia, enabling top-$k$ centrality computation in under 10 minutes for graphs with millions of nodes and edges.
Given a connected graph $G=(V,E)$, the closeness centrality of a vertex $v$ is defined as $\frac{n-1}{\sum_{w \in V} d(v,w)}$. This measure is widely used in the analysis of real-world complex networks, and the problem of selecting the $k$ most central vertices has been deeply analysed in the last decade. However, this problem is computationally not easy, especially for large networks: in the first part of the paper, we prove that it is not solvable in time $Ø(|E|^{2-ε})$ on directed graphs, for any constant $ε>0$, under reasonable complexity assumptions. Furthermore, we propose a new algorithm for selecting the $k$ most central nodes in a graph: we experimentally show that this algorithm improves significantly both the textbook algorithm, which is based on computing the distance between all pairs of vertices, and the state of the art. For example, we are able to compute the top $k$ nodes in few dozens of seconds in real-world networks with millions of nodes and edges. Finally, as a case study, we compute the $10$ most central actors in the IMDB collaboration network, where two actors are linked if they played together in a movie, and in the Wikipedia citation network, which contains a directed edge from a page $p$ to a page $q$ if $p$ contains a link to $q$.
Motivation & Objective
- To establish theoretical hardness bounds for computing the most central vertex under closeness centrality in unweighted graphs.
- To design a practical, exact algorithm that outperforms the textbook BFS-based approach on real-world large-scale networks.
- To compute the top-$k$ most central nodes in massive networks—such as IMDB and Wikipedia—where prior methods were infeasible.
- To validate the algorithm's effectiveness through case studies on real-world networks, revealing intuitive and non-intuitive centrality patterns.
Proposed method
- Proposes a new exact algorithm that combines BFS with dynamic upper-bound pruning to eliminate nodes from consideration early.
- Employs two strategies for setting initial upper bounds and two for updating them during computation, resulting in four algorithmic variants.
- Uses the upper bound to prune nodes whose closeness centrality cannot exceed the $k$-th largest value, reducing unnecessary BFS computations.
- Applies the algorithm to both standard and reverse graphs of the Wikipedia citation network to analyze centrality under different topological views.
- Employs the standard textbook approach (all-pairs BFS) as a baseline for performance comparison.
- Uses the Orthogonal Vector problem as a hardness assumption to prove that the BFS-based approach cannot be improved in the worst case under SETH.
Experimental results
Research questions
- RQ1Can the computation of the top-$k$ closeness centrality nodes be performed faster than the textbook all-pairs BFS approach in large unweighted graphs?
- RQ2Is there a theoretical lower bound on the time complexity of computing the most central vertex, and can it be proven under standard complexity assumptions?
- RQ3Can pruning techniques based on dynamic upper bounds significantly reduce the number of BFS traversals in real-world networks?
- RQ4How do the top-$k$ central nodes in real-world networks like IMDB and Wikipedia compare to intuitive notions of importance?
- RQ5Does the centrality ranking differ meaningfully between a graph and its reverse, and what insights does this reveal about network structure?
Key findings
- The paper proves that computing the most central vertex cannot be done in $\mathcal{O}(m^{2-\epsilon})$ time for any $\epsilon > 0$ under the Orthogonal Vector conjecture, which is implied by SETH.
- The proposed algorithm achieves a 1,784× speedup on the Wikipedia standard graph for $k=1$, reducing runtime from ~39 minutes to under 14 seconds.
- On the Wikipedia reversed graph, the algorithm achieves a 87,918× speedup for $k=1$, completing in under 3 minutes.
- For $k=100$, the algorithm runs in less than 1 hour and 20 minutes on the standard graph and under 10 minutes on the reversed graph.
- In the Wikipedia standard graph, the top-10 most central pages are years (e.g., 1989, 1967), due to their high out-degree and role as hubs linking diverse topics.
- In the reversed Wikipedia graph, the top-10 most central pages are nations (e.g., United States, World War II, United Kingdom), aligning with intuitive notions of centrality and confirming prior conjectures.
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.