arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.29128cs.DB
收藏

代数子图计数

Algebraic Subgraph Counting

University of New South Wales(新南威尔士大学);Guangzhou University(广州大学);PengCheng Laboratory(鹏城实验室);University of Technology Sydney(悉尼科技大学);Zhejiang Gongshang University(浙江工商大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Qiuyu Guo, Jianye Yang, Wenjie Zhang, Hanchen Wang, Ying Zhang, Xuemin Lin

AI总结:

提出基于候选树的代数子图计数方法ASC,通过矩阵计算处理非树边约束,结合局部采样解决单射映射约束,实现高精度子图同构计数,性能优于现有方法。

摘要:

子图同构计数是图分析中的一个基本问题,旨在计算数据图中查询图的子图同构数量。基于候选树的框架为子图计数任务提供了有前景的基础,提供了一种统一的计数范式,可扩展到树模式之外。然而,在该框架内支持子图同构仍然具有挑战性,因为它需要同时处理非树边约束和单射映射约束。尽管现有解决方案采用采样或学习技术来解决这些约束,但它们仍然要么遭受固有的采样失败,要么严重依赖监督。在本文中,我们提出了ASC,一种基于候选树计数框架的代数子图计数方法。在我们的方法中,非树边约束通过基于矩阵的计算方法直接纳入候选树计数过程,从而能够在多项式时间内以高精度实现子图同态计数。基于得到的子图同态计数,我们进一步应用局部采样方法来解决单射映射约束,从而获得最终的子图同构计数。大量实验表明,ASC在各种数据集上能够实现比基线方法更好且更稳定的性能,同时可扩展到十亿边图。最令人印象深刻的是,作为一种非学习方法,ASC的平均精度甚至比最先进的基于学习的方法FlowSC高出一个数量级以上,且效率相似。本文是SIGMOD 2027录用论文的完整版本。代码可在https://github.com/EricaGuoQiuyu/AlgebraicSubgraphCounting获取。

英文摘要:

Subgraph isomorphism counting is a fundamental problem in graph analytics, which aims to find the number of subgraph isomorphisms of a query graph in a data graph. The candidate tree-based framework provides a promising foundation for subgraph counting tasks, offering a unified counting paradigm that can be extended beyond tree patterns. However, supporting subgraph isomorphism within this framework remains challenging, as it requires handling both the non-tree edge constraint and the injective mapping constraint. Although existing solutions employ sampling or learning techniques to address these constraints in this framework, they still either suffer from inherent sampling failures or rely heavily on supervision. In this paper, we propose ASC, an algebraic subgraph counting approach built on the candidate tree-based counting framework. In our method, the non-tree edge constraint is directly incorporated into the candidate tree-based counting process through a matrix-based computation method, enabling subgraph homomorphism counting with high accuracy in polynomial time. Based on the resulting subgraph homomorphism count, we further apply a local sampling method to address the injective mapping constraint, thereby obtaining the final subgraph isomorphism count. Extensive experiments show that ASC can achieve substantially better and more stable performance over the baselines across various datasets, while scaling to billion-edge graphs. Most impressively, as a non-learning method, ASC can even achieve more than an order of magnitude higher average accuracy than the state-of-the-art learning-based method FlowSC with similar efficiency. This paper is the full version of the work accepted at SIGMOD 2027. The code is available at https://github.com/EricaGuoQiuyu/AlgebraicSubgraphCounting.

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

↑