Lightning Fast and Space Efficient k-clique Counting
Xiaowei Ye, Rong-Hua Li, Qiangqiang Dai, Hongzhi Chen, Guoren Wang
Abstract
K-clique counting is a fundamental problem in network analysis which has attracted much attention in recent years. Computing the count of k-cliques in a graph for a large k (e.g., k = 8) is often intractable as the number of k-cliques increases exponentially w.r.t. (with respect to) k. Existing exact k-clique counting algorithms are often hard to handle large dense graphs, while sampling-based solutions either require a huge number of samples or consume very high storage space to achieve a satisfactory accuracy. To overcome these limitations, we propose a new framework to estimate the number of k-cliques which integrates both the exact k-clique counting technique and two novel color-based sampling techniques. The key insight of our framework is that we only apply the exact algorithm to compute the k-clique counts in the sparse regions of a graph, and use the proposed sampling-based techniques to estimate the number of k-cliques in the dense regions of the graph. Specifically, we develop two novel dynamic programming based k-color set sampling techniques to efficiently estimate the k-clique counts, where a k-color set contains k nodes with k different colors. Since a k-color set is often a good approximation of a k-clique in the dense regions of a graph, our sampling-based solutions are extremely efficient and accurate. Moreover, the proposed sampling techniques are space efficient which use near-linear space w.r.t. graph size. We conduct extensive experiments to evaluate our algorithms using 8 real-life graphs. The results show that our best algorithm is at least one order of magnitude faster than the state-of-the-art sampling-based solutions (with the same relative error 0.1%) and can be up to three orders of magnitude faster than the state-of-the-art exact algorithm on large graphs. CCS CONCEPTS • Networks → Data path algorithms; • Theory of computation → Randomness, geometry and discrete structures.
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 30437cb6-8599-4fc4-8660-6e8b30b1a414Cited by top-tier papers9
- Cardinality Estimation of Subgraph Matching: A Filtering-Sampling ApproachWonseok Shin, Siwoo Song, Kunsoo Park, Wook-Shin HanVLDB 2024 · 12 citations
- Cyclosa: Redundancy-Free Graph Pattern Mining via Set DataflowChuangyi Gui, Xiaofei Liao, Long Zheng, Hai JinUSENIX ATC 2023 · 11 citations
- Triangular Stability Maximization by Influence Spread over Social NetworksZheng Hu, Weiguo Zheng, Xiang LianVLDB 2023 · 10 citations
- Accurate and Fast Approximate Graph Pattern Mining at ScaleAnna Arpaci-Dusseau, Zixiang Zhou, Xuhao ChenVLDB 2025 · 6 citations
- Efficient k-Clique Count Estimation with Accuracy GuaranteeLijun Chang, Rashmika Gamage, Jeffrey Xu YuVLDB 2024 · 6 citations
Builds on6
- Ordering Heuristics for k-clique ListingRonghua Li, Sen Gao, Lu Qin, Guoren Wang et al.VLDB 2020 · 55 citations
- KClist++: A Simple Algorithm for Finding k-Clique Densest Subgraphs in Large GraphsBintao Sun, Maximilien Danisch, T.-H. Hubert Chan, Mauro SozioVLDB 2020 · 54 citations
- Accelerating Triangle Counting on GPULin Hu, Lei Zou, Yu LiuSIGMOD 2021 · 38 citations
- Provably and Efficiently Approximating Near-cliques using the Turán Shadow: PEANUTSShweta Jain, C. SeshadhriWWW 2020 · 25 citations
- Faster sublinear approximation of the number of k-cliques in low-arboricity graphsTalya Eden, Dana Ron, C. SeshadhriSODA 2020 · 17 citations
Related papers
- CREST: Approximate k-Clique Counting in Real-World Networks via Refinement of Star-Based Sample SpaceYehyun Nam, Jihoon Jang, Kunsoo Park, Joong Chae Na et al.VLDB 2026
- A Counting-based Approach for Efficient k-Clique Densest Subgraph DiscoveryYingli Zhou, Qingshuo Guo, Yixiang Fang, Chenhao MaSIGMOD 2024 · 10 citations
- Estimating Biclique Counts with Accuracy GuaranteesRashmika Gamage, Lijun ChangSIGMOD 2026 · 1 citation
- The Power of Core Clique Removal for Exact Clique EnumerationXiaowei Ye, Rong-Hua Li, Guoren WangSIGMOD 2026 · 1 citation
- Efficient and near-optimal algorithms for sampling connected subgraphsMarco BressanSTOC 2021
