使时序介数计算更快且更具无等待性
Making Temporal Betweenness Computation Faster and Restless
AI总结:
本文提出一种新的时序介数计算算法,在最短路径情形下将时间复杂度从 O(n³T²) 降至 O(nM),并扩展至无等待游走,实验显示性能提升达 250 倍,且能处理百万级边的图。
摘要:
Buß 等人 [KDD 2020] 近期证明,在首要路径和最快路径的情况下,计算时序图所有节点的介数在计算上是困难的,而在最短路径和最短首要路径的情况下,该问题可在 O(n³T²) 时间内解决,其中 n 是节点数,T 是不同时间步的数量。本文介绍了一种新的时序介数计算算法。在最短路径和最短首要路径的情况下,该算法需要 O(n + M) 空间,运行时间为 O(nM),其中 M 是时序边的数量,从而在时间复杂度上显著改进了 Buß 等人的算法(注意 T 通常很大)。实验证据表明,我们的算法性能比 Buß 等人的算法好 2 倍到近 250 倍。此外,我们能够计算多个具有超过一百万条时序边的大型时序图的精确时序介数值。对于如此规模,此前仅能通过使用 Santoro 和 Sarpe [WWW 2022] 的算法进行近似计算。也许更重要的是,我们的算法扩展到无等待游走(即在每个节点具有等待约束的游走)的情况,从而为计算多种不同最优性准则下的时序介数提供了多项式时间算法(复杂度为 O(nM))。这种无等待计算此前仅对最短准则已知(Rymar 等人 [JGAA 2023]),其复杂度为 O(n²MT²)。我们通过比较不同的等待约束和不同的优化准则进行了广泛的实验验证。此外,作为案例研究,我们调查了包括柏林、罗马和巴黎在内的六个公共交通网络。总体而言,我们发现介数中心性的不同变体之间具有普遍的一致性。然而,我们确实测量到等待约束的显著影响,并注意到在某些网络中某些准则对之间存在低相关性的情况。
英文摘要:
Buß 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ß 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ß 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。