Skip to main content
QUICK REVIEW

[Paper Review] An Adaptive Version of Brandes' Algorithm for Betweenness Centrality

Matthias Bentert, Alexander J. Dittmann|arXiv (Cornell University)|Jan 1, 2018
Complex Network Analysis TechniquesPhysics and Astronomy2 citations
TL;DR

This paper presents an adaptive algorithm for betweenness centrality that runs in O(kn) time, where k is the feedback edge number of the input graph. By extending prior preprocessing for degree-one vertices to include degree-two vertices using dynamic programming on maximal induced paths, the authors achieve a provably tighter worst-case bound than Brandes' O(nm) algorithm in sparse, tree-like graphs.

ABSTRACT

Betweenness centrality - measuring how many shortest paths pass through a vertex - is one of the most important network analysis concepts for assessing the relative importance of a vertex. The well-known algorithm of Brandes [2001] computes, on an n-vertex and m-edge graph, the betweenness centrality of all vertices in O(nm) worst-case time. In follow-up work, significant empirical speedups were achieved by preprocessing degree-one vertices and by graph partitioning based on cut vertices. We further contribute an algorithmic treatment of degree-two vertices, which turns out to be much richer in mathematical structure than the case of degree-one vertices. Based on these three algorithmic ingredients, we provide a strengthened worst-case running time analysis for betweenness centrality algorithms. More specifically, we prove an adaptive running time bound O(kn), where k < m is the size of a minimum feedback edge set of the input graph.

Motivation & Objective

  • To develop a theoretically improved algorithm for computing betweenness centrality in sparse real-world networks.
  • To address the computational challenge of degree-two vertices, which are more complex than degree-one vertices in shortest path computations.
  • To provide a rigorous worst-case running time analysis that adapts to the structural sparsity of the input graph.
  • To extend prior work on preprocessing degree-one vertices and using cut vertices to include degree-two vertices in the algorithmic optimization.
  • To establish a new parameterized upper bound based on the feedback edge number k, which interpolates between linear time and Brandes' original bound.

Proposed method

  • Preprocess the graph by contracting degree-one vertices, which reduces the graph size without altering betweenness centrality values.
  • Identify and process maximal induced paths of degree-two vertices using dynamic programming to compute contributions to betweenness centrality efficiently.
  • Use a dynamic programming table to compute differences in path contributions between consecutive vertices on a maximal path in constant time per step.
  • Leverage precomputed tables (W_left, W_right) to enable O(|V(P_max)|) time computation of betweenness contributions for vertices outside the maximal path.
  • Integrate postprocessing steps that account for pairs of vertices in V≥3(G) by maintaining Inc[s,t] values that accumulate contributions from degree-two and higher-degree vertices.
  • Combine results from degree-one contraction, cut vertex partitioning, and degree-two path processing into a unified algorithm with O(kn) time and space complexity.

Experimental results

Research questions

  • RQ1Can degree-two vertices be processed in a way that leads to a provably better worst-case time complexity for betweenness centrality?
  • RQ2Does incorporating degree-two vertex processing into an adaptive algorithm yield a tighter running time bound than Brandes' O(nm) for sparse graphs?
  • RQ3Is the feedback edge number k a suitable structural parameter that enables adaptive complexity bounds for betweenness centrality?
  • RQ4Can dynamic programming on maximal induced paths of degree-two vertices be used to compute betweenness contributions in linear time per path?
  • RQ5What is the impact of combining preprocessing for degree-one vertices, cut vertices, and degree-two vertices on the overall asymptotic performance?

Key findings

  • The proposed algorithm runs in O(kn) time, where k is the feedback edge number, providing a provably tighter worst-case bound than Brandes' O(nm) algorithm.
  • The algorithm achieves linear time for graphs with constant k, such as trees (k = 0), and interpolates toward O(nm) for dense graphs (k ≈ m).
  • The dynamic programming approach on maximal induced paths of degree-two vertices enables O(|V(P_max)|) computation of their betweenness contributions.
  • The use of precomputed W_left and W_right tables allows constant-time updates of path contribution differences, crucial for linear-time per-path processing.
  • The algorithm integrates preprocessing for degree-one vertices, cut vertices, and degree-two vertices into a unified framework with O(kn) time and space complexity.
  • The theoretical improvement is most significant in tree-like graphs where k = m − n + 1 is small, such as in academic advisor networks or corporate ownership graphs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.