Counting Butterflies Over Streaming Bipartite Graphs With Duplicate Edges

Read full text
Authors: Lingkai Meng, Long Yuan, Xuemin Lin, Chengjie Li, Kai Wang, Wenjie Zhang
Cited by: 1
References: 50

Abstract

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 2×2 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 DEABCpro (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, DEABCpro 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 DEABCpro, ensuring they achieve high accuracy. We compare DEABCpro with state-of-the-art algorithms on real-world streaming bipartite graphs. The results show that our DEABCpro outperforms existing methods in memory efficiency and accuracy, while also achieving significantly higher throughput.

Fields of Study & Subjects

Data Management and Algorithms Graph Labeling and Dimension Problems Data Mining Algorithms and Applications

Publication details

Journal / source
IEEE Transactions on Knowledge and Data Engineering
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Volume
38
Issue
7
Pages
4200–4212
Publication date
13 April 2026
Language
EN