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

近似蝴蝶计数在亚线性时间内

Approximate Butterfly Counting in Sublinear Time

Antai College of Economics and Management, Shanghai Jiao Tong University(上海交通大学安泰经济与管理学院);University of Illinois, Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);John Hopcroft Center, Shanghai Jiao Tong University(上海交通大学霍普克罗夫特中心)

Chi Luo, Jiaxin Song, Yuhao Zhang, Kai Wang, Zhixing He, Kuan Yang

AI总结:

本文提出TLS算法,在亚线性时间内近似计数 bipartite 图中的蝴蝶,通过小度优先采样和楔采样等技术,实现高精度且低查询成本的估计。

摘要:

二分图是一种表示两种不同实体之间关系的自然模型。在分析二分图时,蝴蝶计数是一个基本的研究问题,旨在计算给定二分图中的蝴蝶(即2x2双 clique)数量。尽管该问题已在文献中广泛研究,但现有算法通常需要访问大量整个图的数据,这在实际场景中存在挑战,因为图非常大且I/O成本昂贵。本文在查询模型下研究蝴蝶计数问题,允许执行度查询、邻居查询和顶点对查询操作。我们提出TLS,一种实用的两级采样算法,能够在仅访问有限图结构的情况下准确估计蝴蝶计数,从而在标准查询模型下实现显著更低的查询成本。TLS还结合了控制方差的关键技术,包括“小度优先采样”和“通过小子集的楔采样”。为确保理论保证,我们进一步引入了两种新技巧:“重-轻划分”和“猜测-证明”,整合到TLS中。通过这些技术,我们证明该算法可以在一般二分图上以任意给定的近似参数0 < eps < 1实现(1+eps)的精度,承诺的时间和查询复杂度。特别是,当输入图足够密集时,承诺的时间是亚线性的。在15个数据集上的广泛实验表明,TLS在查询成本和运行时间上比现有解决方案低多达三个数量级,提供了稳健的估计。

英文摘要:

Bipartite graphs serve as a natural model for representing relationships between two different types of entities. When analyzing bipartite graphs, butterfly counting is a fundamental research problem that aims to count the number of butterflies (i.e., 2x2 bicliques) in a given bipartite graph. While this problem has been extensively studied in the literature, existing algorithms usually necessitate access to a large portion of the entire graph, presenting challenges in real scenarios where graphs are extremely large and I/O costs are expensive. In this paper, we study the butterfly counting problem under the query model, where the following query operations are permitted: degree query, neighbor query, and vertex-pair query. We propose TLS, a practical two-level sampling algorithm that can estimate the butterfly count accurately while accessing only a limited graph structure, achieving significantly lower query costs under the standard query model. TLS also incorporates several key techniques to control the variance, including "small-degree-first sampling" and "wedge sampling via small subsets". To ensure theoretical guarantees, we further introduce two novel techniques: "heavy-light partition" and "guess-and-prove", integrated into TLS. With these techniques, we prove that the algorithm can achieve a (1+eps) accuracy for any given approximation parameter 0 < eps < 1 on general bipartite graphs with a promised time and query complexity. In particular, the promised time is sublinear when the input graph is dense enough. Extensive experiments on 15 datasets demonstrate that TLS delivers robust estimates with up to three orders of magnitude lower query costs and runtime compared to existing solutions.

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

↑