I/O-Efficient Butterfly Counting at Scale
Zhibin Wang, Longbin Lai, Yixue Liu, Bing Shui, Chen Tian, Sheng Zhong
Abstract
Butterfly (a cyclic graph motif) counting is a fundamental task with many applications in graph analysis, which aims at computing the number of butterflies in a large graph. With the rapid growth of graph data, it is more and more challenging to do butterfly counting due to the super-linear time complexity and large memory consumption. In this paper, we study I/O-efficient algorithms for doing butterfly counting on hierarchical memory. Existing algorithms of the kind cannot guarantee I/O optimality. Observing that in order to count butterflies, it suffices to "witness" a subgraph instead of the whole structure, a new class of algorithms called semi-witnessing algorithm is proposed. We prove that a semi-witnessing algorithm is not restricted by the lower bound Ømega(|E|2/MB) of a witnessing algorithm, and give a new bound of Ømega(min(|E|2/MB, |E|/|V| √M B)). We further develop the IOBufs algorithm that manages to approach the I/O lower bound, and thus claim its optimality. Finally, we make efforts to parallelize IOBufs to further improve the performance and scalability. We show in the experiment that IOBufs significantly outperforms the state-of-the-art algorithms EMRC and BFC-EM. In addition, IOBufs can scale to conducting butterfly counting on the Clueweb graph with 37 billion edges and quintillions (10^18 ) of butterflies.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on6
- Building An Elastic Query Engine on Disaggregated StorageMidhul Vuppalapati, Justin Miron, Rachit Agarwal, Dan Truong et al.NSDI 2020 · 142 citations
- Maximum Biclique Search at Billion ScaleBingqing Lyu, Lu Qin, Xuemin Lin, Ying Zhang et al.VLDB 2020 · 103 citations
- HUGE: An Efficient and Scalable Subgraph Enumeration SystemZhengyi Yang, Longbin Lai, Xuemin Lin, Kongzhang Hao et al.SIGMOD 2021 · 57 citations
- GAIA: A System for Interactive Analysis on Distributed Graphs Using a High-Level LanguageZhengping Qian, Chenqiang Min, Longbin Lai, Yong Fang et al.NSDI 2021 · 21 citations
- Efficient Computation of Cohesive Subgraphs in Uncertain Bipartite GraphsGengda Zhao, Kai Wang, Wenjie Zhang, Xuemin Lin et al.ICDE 2022 · 14 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 Load-Balanced Butterfly Counting on GPUQingyu Xu, Feng Zhang, Zhiming Yao, Lv Lu et al.VLDB 2022 · 21 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
- Counting Butterflies in Fully Dynamic Bipartite Graph StreamsSerafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiané-Ruiz et al.ICDE 2024 · 4 citations
