Counting Butterflies in Fully Dynamic Bipartite Graph Streams
Serafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiané-Ruiz, Volker Markl
Abstract
A bipartite graph extensively models relationships between real-world entities of two different types, such as user-product data in e-commerce. Such graph data are inherently becoming more and more streaming, entailing continuous insertions and deletions of edges. A butterfly (i.e., 2 x 2 bi-clique) is the smallest non-trivial cohesive structure that plays a crucial role. Counting such butterfly patterns in streaming bipartite graphs is a core problem in applications such as dense subgraph discovery and anomaly detection. Yet, existing approximate solutions consider insert-only streams and, thus, achieve very low accuracy in fully dynamic bipartite graph streams that involve both insertions and deletions of edges. Adapting them to consider deletions is not trivial either, because different sampling schemes and new accuracy analyses are required. We propose Abacus, a novel approximate algorithm that counts butterflies in the presence of both insertions and deletions by utilizing sampling. We prove that Abacus always delivers unbiased estimates of low variance. Furthermore, we extend Abacus and devise a parallel mini-batch variant, namely, ParAbacus, which counts butterflies in parallel. ParAbacus counts butterflies in a load-balanced manner using versioned samples, which results in significant speedup and is thus ideal for critical applications in the streaming environment. We evaluate ABACUS/PARABACUS using a diverse set of real bipartite graphs and assess its performance in terms of accuracy, throughput, and speedup. The results indicate that our proposal is the first capable of efficiently providing accurate butterfly counts in the most generic setting, i.e., a fully dynamic graph streaming environment that entails both insertions and deletions. It does so without sacrificing throughput, and even improves it with the parallel version.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Near-Optimal Four-Cycle Counting in Graph Streams cites Four-Cycle Counting in Low-Degeneracy Graph Streams
- Four-Cycle Counting in Low-Degeneracy Graph Streams cites Near-Optimal Four-Cycle Counting in Graph Streams
- Efficient and Effective Community Search on Large-scale Bipartite Graphs cites Efficient Bitruss Decomposition for Large-scale Bipartite Graphs
Cited by top-tier papers3
- Triangle Counting in Hypergraph Streams: A Complete and Practical ApproachLingkai Meng, Long Yuan, Xuemin Lin, Wenjie Zhang et al.SIGMOD 2026 · 4 citations
- Near-Optimal Four-Cycle Counting in Graph StreamsSebastian Lüderssen, Stefan Neumann, Pan PengSODA 2026 · 1 citation
- Four-Cycle Counting in Low-Degeneracy Graph StreamsSebastian Lüderssen, Stefan Neumann, Pan PengKDD 2026
Builds on5
- Efficient Bitruss Decomposition for Large-scale Bipartite GraphsKai Wang, Xuemin Lin, Lu Qin, Wenjie Zhang et al.ICDE 2020 · 107 citations
- Efficient and Effective Community Search on Large-scale Bipartite GraphsKai Wang, Wenjie Zhang, Xuemin Lin, Ying Zhang et al.ICDE 2021 · 74 citations
- Sketch-Based Anomaly Detection in Streaming GraphsSiddharth Bhatia, Mohit Wadhwa, Kenji Kawaguchi, Neil Shah et al.KDD 2023 · 23 citations
- Efficient Load-Balanced Butterfly Counting on GPUQingyu Xu, Feng Zhang, Zhiming Yao, Lv Lu et al.VLDB 2022 · 21 citations
- Space-Efficient Random Walks on Streaming GraphsSerafeim Papadias, Zoi Kaoudi, Jorge-Arnulfo Quiané-Ruiz, Volker MarklVLDB 2023 · 8 citations
Related papers
- Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite GraphsXin-Wei Cai, Xiangyu Ke, Kai Wang, Lu Chen et al.VLDB 2024 · 27 citations
- Scalable Approximate Butterfly and Bi-triangle Counting for Large Bipartite NetworksFangyuan Zhang, Dechuang Chen, Sibo Wang, Yin Yang et al.SIGMOD 2024 · 8 citations
- Efficient Historical Butterfly Counting in Large Temporal Bipartite Networks via Graph Structure-aware IndexQiuyang Mang, Jingbang Chen, Hangrui Zhou, Yu Gao et al.VLDB 2025 · 1 citation
- Approximate Butterfly Counting in Sublinear TimeChi Luo, Jiaxin Song, Yuhao Zhang, Kai Wang et al.ICDE 2026
- TopK-BC: Efficient Maintenance of Top k (p,q)-bicliques over Streaming Bipartite GraphsXin Deng, Zheng Qin, Peng Peng, Hui ZhouICDE 2025 · 1 citation
