Efficient k-Clique Count Estimation with Accuracy Guarantee
Lijun Chang, Rashmika Gamage, Jeffrey Xu Yu
Abstract
Counting and enumerating all occurrences of k -cliques, i.e., complete subgraphs with k vertices, in a large graph G is a fundamental problem with many applications. However, exact solutions are often infeasible due to the exponential growth in the number of k -cliques when k increases. Thus, a more practical approach is approximately counting and uniformly sampling k -cliques. Turán-Shadow and DPColorPath are two state-of-the-art algorithms for approximately counting k -cliques. The general idea is first constructing a sample space that is a superset of all k -cliques in G , and then sampling t elements uniformly-at-random (u.a.r.) from the sample space for a pre-determined t ; the k -clique count is estimated as the sample space size multiplied by the ratio of k -cliques among the t samples. Although techniques have been proposed in Turán-Shadow for setting t to ensure the estimation accuracy, the theoretically chosen t is often too large to be practical. As a result, both of the existing algorithms used a fixed t in their implementations and thus do not offer accuracy guarantee. In this paper, we propose the first randomized algorithm that achieves the theoretical estimation accuracy and the practical efficiency at the same time. Different from the existing algorithms, we pre-determine the number s of k-clique samples that are required to achieve the estimation accuracy. Consequently, we can estimate the running time of the sampling stage (i.e., time taken to sample sk -cliques), for a given sample space. Then, we propose to balance the time of constructing/refining the sample space and the time of the sampling stage, by stopping the refinement of the sample space once the elapsed time is comparable to the estimated time of the sampling stage. Extensive empirical studies on large real graphs show that our algorithm SR-kCCE provides an accurate k -clique count estimation and also runs efficiently. As a by-product, our algorithm can also be used for efficiently sampling a certain number of k -cliques u.a.r. from G.
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 a063c1ff-af8c-4820-ae7b-9a3582427520Builds on4
- 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
- Lightning Fast and Space Efficient k-clique CountingXiaowei Ye, Rong-Hua Li, Qiangqiang Dai, Hongzhi Chen et al.WWW 2022 · 22 citations
- Scaling Up k-Clique Densest Subgraph DetectionYizhang He, Kai Wang, Wenjie Zhang, Xuemin Lin et al.SIGMOD 2023 · 22 citations
- Efficient k-Clique Listing: An Edge-Oriented Branching StrategyKaixin Wang, Kaiqiang Yu, Cheng LongSIGMOD 2024 · 20 citations
Related papers
- Provably and Efficiently Approximating Near-cliques using the Turán Shadow: PEANUTSShweta Jain, C. SeshadhriWWW 2020 · 25 citations
- 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
- Estimating Biclique Counts with Accuracy GuaranteesRashmika Gamage, Lijun ChangSIGMOD 2026 · 1 citation
- A Counting-based Approach for Efficient k-Clique Densest Subgraph DiscoveryYingli Zhou, Qingshuo Guo, Yixiang Fang, Chenhao MaSIGMOD 2024 · 10 citations
- Efficient 푘-Clique Densest Subgraph Discovery: Towards Bridging Practice and TheoryYingli Zhou, Qingshuo Guo, Yixiang FangVLDB 2025 · 2 citations
