Skip to main content
QUICK REVIEW

[Paper Review] A Faster Algorithm for Fully Dynamic Betweenness Centrality

Matteo Pontecorvi, Vijaya Ramachandran|arXiv (Cornell University)|Jun 18, 2015
Complex Network Analysis TechniquesPhysics and Astronomy23 references6 citations
TL;DR

This paper presents a faster fully dynamic algorithm for maintaining betweenness centrality (BC) in directed weighted graphs, achieving an amortized time complexity of $ O({ u^{*}}^{2} ullet \log^{2}n) $ per update, where $ \nu^{*} $ bounds the number of distinct edges on shortest paths through any vertex. The method extends Thorup's fully dynamic APSP approach using novel data structures for succinctly representing multiple shortest paths, improving upon prior exact dynamic BC algorithms by a logarithmic factor.

ABSTRACT

We present a new fully dynamic algorithm for maintaining betweenness centrality (BC) of vertices in a directed graph $G=(V,E)$ with positive edge weights. BC is a widely used parameter in the analysis of large complex networks. We achieve an amortized $O((ν^*)^2 \log^2 n)$ time per update, where $n = |V| $ and $ν^*$ bounds the number of distinct edges that lie on shortest paths through any single vertex. This result improves on the amortized bound for fully dynamic BC in [Pontecorvi-Ramachandran2015] by a logarithmic factor. Our algorithm uses new data structures and techniques that are extensions of the method in the fully dynamic algorithm in Thorup [Thorup2004] for APSP in graphs with unique shortest paths. For graphs with $ν^* = O(n)$, our algorithm matches the fully dynamic APSP bound in [Thorup2004], which holds for graphs with $ν^* = n-1$, since it assumes unique shortest paths.

Motivation & Objective

  • To develop a provably faster exact algorithm for fully dynamic betweenness centrality in directed weighted graphs.
  • To improve upon the previous best amortized bound of $ O({\nu^{*}}^{2} \cdot \log^{3}n) $ for fully dynamic BC by reducing the logarithmic factor.
  • To generalize Thorup's fully dynamic APSP technique to handle multiple shortest paths per vertex pair, enabling efficient BC maintenance.
  • To design new data structures that succinctly represent all shortest paths while supporting efficient dynamic updates and path counting.
  • To match the fully dynamic APSP bound of Thorup when $ \nu^{*} = O(n) $, particularly in graphs with unique shortest paths.

Proposed method

  • Extends Thorup's fully dynamic APSP framework to support multiple shortest paths per vertex pair using a generalized tuple-system for path representation.
  • Introduces a hierarchical data structure with level-specific sets $ L_j^*, R_j^*, LC_j^*, RC_j^* $ to track left and right extensions of shortest paths at different levels.
  • Employs a priority queue $ H_f $ to process triples of the form $ (xa, by) $ with associated weights and counts, ensuring only new or updated paths are processed.
  • Uses marked tuples and control bits to track path updates and ensure correctness during dynamic changes, with invariant maintenance across levels.
  • Leverages the 'ff-fixup' procedure to restore and propagate path counts through valid left and right extensions, ensuring all shortest paths are correctly maintained.
  • Generalizes the concept of level graphs from Thorup's unique-path model to multi-path settings, allowing efficient propagation of updates across multiple path layers.

Experimental results

Research questions

  • RQ1Can a fully dynamic algorithm for betweenness centrality be designed with a better amortized time bound than the prior $ O({\nu^{*}}^{2} \cdot \log^{3}n) $ method?
  • RQ2Is it possible to generalize Thorup's fully dynamic APSP algorithm—originally for unique shortest paths—to handle multiple shortest paths efficiently?
  • RQ3Can the data structures used for path representation be extended to support dynamic updates while maintaining correctness and logarithmic performance overhead?
  • RQ4Does the new algorithm achieve the same asymptotic bound as Thorup's APSP algorithm when $ \nu^{*} = O(n) $, particularly in graphs with unique shortest paths?
  • RQ5How can the number of distinct edges on shortest paths through a vertex ($ \nu^{*} $) be used as a parameter to bound the complexity of dynamic BC computation?

Key findings

  • The proposed algorithm achieves an amortized time complexity of $ O({\nu^{*}}^{2} \cdot \log^{2}n) $ per update, improving the prior best bound by a logarithmic factor.
  • For graphs with $ \nu^{*} = O(n) $, the algorithm matches Thorup's fully dynamic APSP bound, which assumes unique shortest paths.
  • The algorithm maintains correctness of betweenness centrality scores and all-pairs shortest paths throughout dynamic updates using a novel tuple-system and hierarchical data structures.
  • The method generalizes Thorup's level graph technique to support multiple shortest paths per pair, enabling efficient path counting and propagation.
  • The algorithm correctly maintains path counts via control bits and marked tuples, ensuring that only newly discovered or updated paths are processed during each update.
  • The ff-fixup procedure ensures that all shortest paths are correctly restored and extended across levels, maintaining the invariant that all valid paths are accounted for.

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.