A Note on Computing Betweenness Centrality from the 2-core
Charalampos E. Tsourakakis
TL;DR
This paper addresses the computational bottleneck of betweenness centrality (BC) by deriving a recursive BC computation from the graph's 2-core via progressive peeling of degree-1 nodes. It introduces a one-round peeling algorithm that augments Brandes' framework with delta and zeta quantities to capture the contributions of removed leaves, and analyzes memory-efficient and sampling-based variants to accelerate exact and approximate BC computations. Theoretical results establish a recurrence linking BC in the original graph to BC in the 2-core, with a quantified time complexity that yields asymptotic speedups in graphs with large leaves or thin cores; empirical results on synthetic and real networks confirm substantial speedups and improved accuracy, particularly for small pivot sets. These contributions have practical impact for BC computation in large knowledge graphs and networks where degree-1 structure is prevalent, enabling faster analysis with limited memory and improved sampling efficiency.
Abstract
A central task in network analysis is to identify important nodes in a graph. Betweenness centrality (BC) is a popular centrality measure that captures the significance of nodes based on the number of shortest paths each node intersects with. In this note, we derive a recursive formula to compute the betweenness centralities of a graph from the betweenness centralities of its 2-core.Furthermore, we analyze mathematically the significant impact of removing degree-one nodes on the estimation of betweenness centrality within the context of the popular pivot sampling scheme for Single-Source Shortest Path (SSSP) computations, as described in the Brandes-Pich approach and implemented in widely used software such as NetworkX. We demonstrate both theoretically and empirically that removing degree-1 nodes can reduce the sample complexity needed to achieve better accuracy, thereby decreasing the overall runtime.
