Efficient Load-Balanced Butterfly Counting on GPU
Qingyu Xu, Feng Zhang, Zhiming Yao, Lv Lu, Xiaoyong Du, Dong Deng, Bingsheng He
Abstract
Butterfly counting is an important and costly operation for large bipartite graphs. GPUs are popular parallel heterogeneous devices and can bring significant performance improvement for data science applications. Unfortunately, no work enables efficient butterfly counting on GPU currently. To fill this gap, we propose a GPU-based butterfly counting, called G-BFC. G-BFC addresses three main technical challenges. First, butterfly counting involves massive serial operations, which leads to severe synchronization overheads and performance degradation. We unlock the serial region and utilize the shared memory on GPU to efficiently handle it. Second, butterfly counting on GPU faces the workload imbalance problem. We develop a novel adaptive strategy to balance the workload among threads for efficiency. Third, butterfly counting in parallel suffers from the traversal of the huge amount of two-hop paths, also called wedges, in bipartite graphs. We develop a novel preprocessing strategy, which can effectively reduce the number of wedges to be traversed. Experiments show that G-BFC brings significant performance benefits. On eleven real datasets, G-BFC achieves 19.8X performance speedup over the state-of-the-art solution.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a451c1a1-00b1-4589-8c73-dfd52beaa3d5Cited by top-tier papers4
- Common Neighborhood Estimation over Bipartite Graphs under Local Differential PrivacyYizhang He, Kai Wang, Wenjie Zhang, Xuemin Lin et al.SIGMOD 2025 · 7 citations
- Counting Butterflies in Fully Dynamic Bipartite Graph StreamsSerafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiané-Ruiz et al.ICDE 2024 · 4 citations
- Accelerating Biclique Counting on GPULinshan Qiu, Zhonggen Li, Xiangyu Ke, Lu Chen et al.ICDE 2024 · 4 citations
- Approximate Butterfly Counting in Sublinear TimeChi Luo, Jiaxin Song, Yuhao Zhang, Kai Wang et al.ICDE 2026
Builds on4
- Maximum Biclique Search at Billion ScaleBingqing Lyu, Lu Qin, Xuemin Lin, Ying Zhang et al.VLDB 2020 · 103 citations
- Pangolin: An Efficient and Flexible Graph Mining System on CPU and GPUXuhao Chen, Roshan Dathathri, Gurbinder Gill, Keshav PingaliVLDB 2020 · 81 citations
- GraphPi: high performance graph pattern matching through effective redundancy eliminationTianhui Shi, Mingshu Zhai, Yi Xu, Jidong ZhaiSC 2020 · 72 citations
- Accelerating Triangle Counting on GPULin Hu, Lei Zou, Yu LiuSIGMOD 2021 · 38 citations
Related papers
- 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
- Scalable Approximate Butterfly and Bi-triangle Counting for Large Bipartite NetworksFangyuan Zhang, Dechuang Chen, Sibo Wang, Yin Yang et al.SIGMOD 2024 · 8 citations
- I/O-Efficient Butterfly Counting at ScaleZhibin Wang, Longbin Lai, Yixue Liu, Bing Shui et al.SIGMOD 2023 · 11 citations
- Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite GraphsXin-Wei Cai, Xiangyu Ke, Kai Wang, Lu Chen et al.VLDB 2024 · 27 citations
- Efficient Maximal Biclique Enumeration on GPUsZhe Pan, Shuibing He, Xu Li, Xuechen Zhang et al.SC 2023 · 8 citations
