Scalable Approximate Butterfly and Bi-triangle Counting for Large Bipartite Networks
Fangyuan Zhang, Dechuang Chen, Sibo Wang, Yin Yang, Junhao Gan
Abstract
A bipartite graph is a graph that consists of two disjoint sets of vertices and only edges between vertices from different vertex sets. In this paper, we study the counting problems of two common types of em motifs in bipartite graphs: (i) butterflies (2x2 bicliques) and (ii) bi-triangles (length-6 cycles). Unlike most of the existing algorithms that aim to obtain exact counts, our goal is to obtain precise enough estimations of these counts in bipartite graphs, as such estimations are already sufficient and of great usefulness in various applications. While there exist approximate algorithms for butterfly counting, these algorithms are mainly based on the techniques designed for general graphs, and hence, they are less effective on bipartite graphs. Not to mention that there is still a lack of study on approximate bi-triangle counting. Motivated by this, we first propose a novel butterfly counting algorithm, called one-sided weighted sampling, which is tailored for bipartite graphs. The basic idea of this algorithm is to estimate the total butterfly count with the number of butterflies containing two randomly sampled vertices from the same side of the two vertex sets. We prove that our estimation is unbiased, and our technique can be further extended (non-trivially) for bi-triangle count estimation. Theoretical analyses under a power-law random bipartite graph model and extensive experiments on multiple large real datasets demonstrate that our proposed approximate counting algorithms can reach high accuracy, yet achieve up to three orders (resp. four orders) of magnitude speed-up over the state-of-the-art exact butterfly (resp. bi-triangle) counting algorithms. Additionally, we present an approximate clustering coefficient estimation framework for bipartite graphs, which shows a similar speed-up over the exact solutions with less than 1% relative error.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 12080c82-1272-4c98-a7af-fa68fc28f360Cited by top-tier papers3
- Efficient Computation of Hyper-triangles on HypergraphsHaozhe Yin, Kai Wang, Wenjie Zhang, Ying Zhang et al.VLDB 2025 · 5 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
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
- Efficient Bi-triangle Counting for Large Bipartite NetworksYixing Yang, Yixiang Fang, Maria E. Orlowska, Wenjie Zhang et al.VLDB 2021 · 39 citations
- Scalable Approximate Biclique Counting over Large Bipartite GraphsJingbang Chen, Weinuo Li, Yingli Zhou, Hangrui Zhou et al.VLDB 2026
- Counting Butterflies in Fully Dynamic Bipartite Graph StreamsSerafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiané-Ruiz et al.ICDE 2024 · 4 citations
- Butterfly Counting on Uncertain Bipartite NetworksAlexander Zhou, Yue Wang, Lei ChenVLDB 2022 · 25 citations
