arXiv:2409.08975cs.SIcs.DB2024-09中稿 · ICDM'24被引 4

提出路径采样法,快速准确估算复杂时序图中的小模式数量。

Accurate and Fast Estimation of Temporal Motifs using Path Sampling

  • 用时序路径采样结合特殊数据结构,实现高效近似计数。
  • 在超大规模比特币图上,1分钟内完成计数,比精确算法快2000倍。
  • 适合处理海量时序网络分析,尤其适用于高并发场景的科研与工程应用。

统计小型子图(称为模式)的数量是社交网络分析和图挖掘中的基础问题。许多现实世界网络具有方向性和时序性,边带有时间戳。在有向时序图中进行模式计数尤为困难,因为存在大量不同的模式类型。时序模式计数能揭示更丰富的信息,亟需可扩展的算法。主要挑战在于,即使仅有数百万顶点的图,也可能存在数万亿个时序模式匹配。模式和输入图中两点间可能有多条边,导致组合爆炸。目前最先进的算法无法对仅含四个顶点的时序模式进行计数。我们设计了名为TEACUPS的算法,采用新颖的时序路径采样技术,结合精心设计的时序数据结构,提出一种高效的近似算法用于时序模式计数。TEACUPS是一个无偏估计器,具有可证明的集中性,可用于界定估计误差。对于包含数亿条边的比特币图,TEACUPS在1分钟内完成计算,而精确计数算法耗时超过一天。我们在大规模数据集上实证验证了TEACUPS的准确性,相比现有基于GPU的精确计数方法平均提速30倍(最高达2000倍),同时保持高估计算精度。

原文摘要 · Abstract (English)

Counting the number of small subgraphs, called motifs, is a fundamental problem in social network analysis and graph mining. Many real-world networks are directed and temporal, where edges have timestamps. Motif counting in directed, temporal graphs is especially challenging because there are a plethora of different kinds of patterns. Temporal motif counts reveal much richer information and there is a need for scalable algorithms for motif counting. A major challenge in counting is that there can be trillions of temporal motif matches even with a graph with only millions of vertices. Both the motifs and the input graphs can have multiple edges between two vertices, leading to a combinatorial explosion problem. Counting temporal motifs involving just four vertices is not feasible with current state-of-the-art algorithms. We design an algorithm, TEACUPS, that addresses this problem using a novel technique of temporal path sampling. We combine a path sampling method with carefully designed temporal data structures, to propose an efficient approximate algorithm for temporal motif counting. TEACUPS is an unbiased estimator with provable concentration behavior, which can be used to bound the estimation error. For a Bitcoin graph with hundreds of millions of edges, TEACUPS runs in less than 1 minute, while the exact counting algorithm takes more than a day. We empirically demonstrate the accuracy of TEACUPS on large datasets, showing an average of 30$\times$ speedup (up to 2000$\times$ speedup) compared to existing GPU-based exact counting methods while preserving high count estimation accuracy.

时序图模式计数路径采样高效算法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。