通过简并排序的更快和广义的时间三角形计数
Faster and Generalized Temporal Triangle Counting, via Degeneracy Ordering
摘要:
三角形计数是网络分析中的一项基本技术,在各种输入模型中得到了广泛的关注。绝大多数三角形计数算法都是针对静态图的。然而,许多现实世界的图是有向的和时间的,其中边带有时间戳。时间三角形产生更多的信息,因为它们同时考虑了图形拓扑和时间戳。时间三角形计数已经看到了一些最近的结果,但有不同的时间三角形的定义。在所有情况下,时间三角形模式对边之间的时间间隔(三角形中)施加约束。我们定义了一个一般的概念$(δ_{1,3}, δ_{1,2}, δ_{2,3})$ -时间三角形,允许单独的时间约束的所有对边缘。我们的主要结果是一个新的算法,DOTTT(退化导向的时间三角形累加器),精确计数所有有向变量的$(δ_{1,3}, δ_{1,2}, δ_{2,3})$ -时间三角形。使用经典的退化排序的思想与仔细的组合参数,我们可以证明DOTTT运行在$O(mκ\log m)$时间,其中$m$是(时间)边的数量和$κ$是图的退化(最大核心数)。直到对数因子,这匹配最佳静态三角形计数器的运行时间。而且,这种运行时间比现有的更好。DOTTT具有出色的实用性能,运行速度是现有最先进的时间三角计数器的两倍(并且更通用)。例如,DOTTT在商品机器上不到一个小时的时间内计算了比特币时间网络中所有类型的时间查询,其中有5亿条边。
英文摘要:
Triangle counting is a fundamental technique in network analysis, that has received much attention in various input models. The vast majority of triangle counting algorithms are targeted to static graphs. Yet, many real-world graphs are directed and temporal, where edges come with timestamps. Temporal triangles yield much more information, since they account for both the graph topology and the timestamps. Temporal triangle counting has seen a few recent results, but there are varying definitions of temporal triangles. In all cases, temporal triangle patterns enforce constraints on the time interval between edges (in the triangle). We define a general notion $(δ_{1,3}, δ_{1,2}, δ_{2,3})$-temporal triangles that allows for separate time constraints for all pairs of edges. Our main result is a new algorithm, DOTTT (Degeneracy Oriented Temporal Triangle Totaler), that exactly counts all directed variants of $(δ_{1,3}, δ_{1,2}, δ_{2,3})$-temporal triangles. Using the classic idea of degeneracy ordering with careful combinatorial arguments, we can prove that DOTTT runs in $O(mκ\log m)$ time, where $m$ is the number of (temporal) edges and $κ$ is the graph degeneracy (max core number). Up to log factors, this matches the running time of the best static triangle counters. Moreover, this running time is better than existing. DOTTT has excellent practical behavior and runs twice as fast as existing state-of-the-art temporal triangle counters (and is also more general). For example, DOTTT computes all types of temporal queries in Bitcoin temporal network with half a billion edges in less than an hour on a commodity machine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。