๐ค AI Summary
Computing exact temporal betweenness centrality for nodes in large-scale, high-temporal-resolution (i.e., very large T) temporal graphsโunder waiting constraints and path optimization criteria such as shortest paths, shortest foremost paths, and restless walksโis computationally intractable with existing methods.
Method: We propose the first polynomial-time algorithm with complexity O(nM), where n is the number of nodes and M the number of temporal edges. Our approach integrates dynamic programming with time-layered graph traversal, unifying support for multiple path optimality criteria while explicitly modeling waiting constraints.
Contribution/Results: The algorithm achieves 2โ250ร speedup over state-of-the-art methods and enables, for the first time, exact computation on temporal graphs with up to one million temporal edges. We validate it on six real-world public transit networks (Berlin, Rome, Paris, etc.), demonstrating that waiting constraints substantially alter node centrality rankings. This provides a scalable, robust tool for identifying critical nodes in temporal networks.
๐ Abstract
Bu{ss} et al [KDD 2020] recently proved that the problem of computing the betweenness of all nodes of a temporal graph is computationally hard in the case of foremost and fastest paths, while it is solvable in time O(n 3 T 2 ) in the case of shortest and shortest foremost paths, where n is the number of nodes and T is the number of distinct time steps. A new algorithm for temporal betweenness computation is introduced in this paper. In the case of shortest and shortest foremost paths, it requires O(n + M ) space and runs in time where M is the number of temporal edges, thus significantly improving the algorithm of Bu{ss} et al in terms of time complexity (note that T is usually large). Experimental evidence is provided that our algorithm performs between twice and almost 250 times better than the algorithm of Bu{ss} et al. Moreover, we were able to compute the exact temporal betweenness values of several large temporal graphs with over a million of temporal edges. For such size, only approximate computation was possible by using the algorithm of Santoro and Sarpe [WWW 2022]. Maybe more importantly, our algorithm extends to the case of restless walks (that is, walks with waiting constraints in each node), thus providing a polynomial-time algorithm (with complexity O(nM )) for computing the temporal betweenness in the case of several different optimality criteria. Such restless computation was known only for the shortest criterion (Rymar et al [JGAA 2023]), with complexity O(n 2 M T 2 ). We performed an extensive experimental validation by comparing different waiting constraints and different optimisation criteria. Moreover, as a case study, we investigate six public transit networks including Berlin, Rome, and Paris. Overall we find a general consistency between the different variants of betweenness centrality. However, we do measure a sensible influence of waiting constraints, and note some cases of low correlation for certain pairs of criteria in some networks.