arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.01388cs.DS
收藏

AGIS:基于结构引导采样的快速近似图模式挖掘

AGIS: Fast Approximate Graph Pattern Mining with Structure-Informed Sampling

Seoul National University(首尔大学)

Seoyong Lee, Jinho Lee

AI总结:

AGIS通过结构引导采样技术实现快速近似图模式挖掘,显著提升大规模图分析效率。

摘要:

近似图模式挖掘(AGPM)对于分析大规模图至关重要,因为在计算上无法精确计数。尽管已有许多基于采样的AGPM系统,但它们都依赖于均匀采样,并忽略了底层的概率分布。这一限制限制了它们扩展到更广泛模式范围的可扩展性。在本文中,我们引入了AGIS,一个极快的AGPM系统,能够从巨大的图中计数任意模式。AGIS采用结构引导的邻居采样,一种新颖的采样技术,偏离均匀性,但根据模式结构分配特定的采样概率。我们首先推导出AGPM的理想采样分布,然后提出一种实际方法来近似它。此外,我们开发了一种方法,平衡收敛速度和计算开销,确定何时使用近似分布。实验结果表明,AGIS在性能上显著优于最先进的AGPM系统,实现了28.5倍的几何均值加速,并在某些情况下实现了超过10万倍的加速。此外,AGIS是唯一能够扩展到拥有数十亿条边的图,并且能够稳健地处理多种模式的AGPM系统,成功在几秒钟内提供准确的估计。我们将开源AGIS以鼓励该领域进一步的研究。

英文摘要:

Approximate Graph Pattern Mining (AGPM) is essential for analyzing large-scale graphs where exact counting is computationally prohibitive. While there exist numerous sampling-based AGPM systems, they all rely on uniform sampling and overlook the underlying probability distribution. This limitation restricts their scalability to a broader range of patterns. In this paper, we introduce AGIS, an extremely fast AGPM system capable of counting arbitrary patterns from huge graphs. AGIS employs structure-informed neighbor sampling, a novel sampling technique that deviates from uniformness but allocates specific sampling probabilities based on the pattern structure. We first derive the ideal sampling distribution for AGPM and then present a practical method to approximate it. Furthermore, we develop a method that balances convergence speed and computational overhead, determining when to use the approximated distribution. Experimental results demonstrate that AGIS significantly outperforms the state-of-the-art AGPM system, achieving 28.5x geometric mean speedup and more than 100,000x speedup in specific cases. Furthermore, AGIS is the only AGPM system that scales to graphs with tens of billions of edges and robustly handles diverse patterns, successfully providing accurate estimates within seconds. We will open-source AGIS to encourage further research in this field.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑