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

在具有重复边的流式双图上计算蝴蝶

Counting Butterflies over Streaming Bipartite Graphs with Duplicate Edges

Antai College of Economics and Management, Shanghai Jiao Tong University(上海交通大学安泰经济与管理学院);Nanjing University of Science and Technology, School of Computer Science and Technology(南京理工大学计算机科学与技术学院);University of New South Wales(新南威尔士大学)

Lingkai Meng, Long Yuan, Xuemin Lin, Chengjie Li, Kai Wang, Wenjie Zhang

AI总结:

研究针对流式双图中重复边问题,提出DEABC方法,通过桶优先采样提高蝴蝶计数的准确性和效率,降低内存使用并提升吞吐量。

摘要:

双图常用于建模两个不同实体之间的关系,如用户-产品互动、用户-电影评分和作者-出版物合作。蝴蝶(2x2双 clique)是双图中的关键子结构,在社区检测、欺诈检测和链接预测中起重要作用。随着更多现实数据以流式格式呈现,高效计数流式双图中的蝴蝶变得越来越重要。然而,大多数现有算法通常假设没有重复边,这在现实图流中难以成立,导致算法倾向于采样多次出现的边,从而产生不准确的结果。唯一设计用于处理重复边的算法是FABLE,但其存在显著限制,包括高方差、较大的时间复杂度和由于依赖优先队列导致的内存效率低下。为克服这些限制,我们引入DEABC(Duplicate-Edge-Aware Butterfly Counting),一种创新方法,利用桶优先采样来准确估计蝴蝶数量,考虑重复边。与现有方法相比,DEABC通过存储仅必要的采样边数据显著减少内存使用,同时保持高精度。我们提供了DEABC的无偏性和方差界限的严格证明,确保其高精度。我们在现实世界流式双图上将DEABC与最先进的算法进行比较。结果表明,我们的DEABC在内存效率和准确性上优于现有方法,同时实现显著更高的吞吐量。

英文摘要:

Bipartite graphs are commonly used to model relationships between two distinct entities in real-world applications, such as user-product interactions, user-movie ratings and collaborations between authors and publications. A butterfly (a 2x2 bi-clique) is a critical substructure in bipartite graphs, playing a significant role in tasks like community detection, fraud detection, and link prediction. As more real-world data is presented in a streaming format, efficiently counting butterflies in streaming bipartite graphs has become increasingly important. However, most existing algorithms typically assume that duplicate edges are absent, which is hard to hold in real-world graph streams, as a result, they tend to sample edges that appear multiple times, leading to inaccurate results. The only algorithm designed to handle duplicate edges is FABLE, but it suffers from significant limitations, including high variance, substantial time complexity, and memory inefficiency due to its reliance on a priority queue. To overcome these limitations, we introduce DEABC (Duplicate-Edge-Aware Butterfly Counting), an innovative method that uses bucket-based priority sampling to accurately estimate the number of butterflies, accounting for duplicate edges. Compared to existing methods, DEABC significantly reduces memory usage by storing only the essential sampled edge data while maintaining high accuracy. We provide rigorous proofs of the unbiasedness and variance bounds for DEABC, ensuring they achieve high accuracy. We compare DEABC with state-of-the-art algorithms on real-world streaming bipartite graphs. The results show that our DEABC outperforms existing methods in memory efficiency and accuracy, while also achieving significantly higher throughput.

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

↑