Abstract
Betweenness centrality is a fundamental metric in network science used to identify influential nodes. While well-understood in static graphs, its application to temporal graphs—where edges appear and disappear over time—introduces significant computational challenges. This paper explores the algorithmic landscape of temporal betweenness, classifying various path-based metrics by their computational complexity. The authors prove that while counting foremost and fastest paths is #P-hard, other variants like shortest and prefix-foremost paths can be computed efficiently. They introduce new algorithms that outperform traditional static expansion techniques in both time and memory efficiency on real-world datasets.
Introduction
In many real-world systems, such as social networks, communication logs, and transportation systems, the underlying graph structure is dynamic. Traditional static analysis often fails to capture the nuances of these temporal interactions. Betweenness centrality, which measures the proportion of optimal paths passing through a node, must be redefined for temporal contexts. However, "optimality" in a temporal graph is multi-faceted: a path might be optimal because it has the minimum number of hops (shortest), the earliest possible arrival time (foremost), or the minimum duration from start to finish (fastest).
Computational Complexity
The researchers conducted a rigorous complexity analysis of these different betweenness variants. They discovered a sharp divide between tractable and intractable problems. By using counting reductions from the "Imperfect Matchings" problem, they demonstrated that counting foremost and fastest paths is #P-hard, making exact computation for large networks infeasible.
Conversely, they identified that "shortest" and "prefix-foremost" paths (where every sub-path is also a foremost path) allow for polynomial-time solutions. The complete complexity mapping is summarized in the table below.
Algorithms and Implementation
For the tractable variants, the authors adapted the classic Brandes’ algorithm for temporal graphs. Their "direct" approach utilizes Temporal Dependency Accumulation, which processes the graph without "unrolling" it into a massive static structure (static expansion). This method avoids the memory explosion typical of time-layered graphs.
The algorithms were tested on various real-world datasets, including SocioPatterns (human interactions) and communication networks (email and Facebook-like messaging). The direct algorithm showed significant performance gains:
- On a Facebook-like dataset, it was 6 times faster than static expansion.
- On the "infectious" dataset, it completed in 15 minutes, whereas the static expansion method failed to finish within 5 hours.
Key Insights
A significant finding is the utility of the prefix-foremost constraint. By requiring that every prefix of a path also be optimal, the problem becomes mathematically cleaner and computationally efficient. Furthermore, the authors observed that "shortest" and "shortest-foremost" criteria often produce similar node rankings, suggesting that practitioners can often choose the most efficient algorithm without sacrificing significant analytical insight.
Conclusion and Future Work
While the direct algorithms provide a major leap in efficiency, memory remains a bottleneck for networks with extremely high temporal resolution, as the algorithms must store state for every vertex at every time step ($V \times T$). Future research directions include developing approximation algorithms for the #P-hard variants and exploring fixed-parameter tractability to handle specific graph structures more effectively.
Summary updated