How to Count Triangles, without Seeing the Whole Graph
Suman K. Bera, C. Seshadhri
摘要
Triangle counting is a fundamental problem in the analysis of large graphs. There is a rich body of work on this problem, in varying streaming and distributed models, yet all these algorithms require reading the whole input graph. In many scenarios, we do not have access to the whole graph, and can only sample a small portion of the graph (typically through crawling). In such a setting, how can we accurately estimate the triangle count of the graph?
We formally study triangle counting in the random walk access model introduced by Dasgupta et al (WWW '14) and Chierichetti et al (WWW '16). We have access to an arbitrary seed vertex of the graph, and can only perform random walks. This model is restrictive in access and captures the challenges of collecting realworld graphs. Even sampling a uniform random vertex is a hard task in this model.
Despite these challenges, we design a provable and practical algorithm, TETRIS, for triangle counting in this model. TETRIS is the first provably sublinear algorithm (for most natural parameter settings) that approximates the triangle count in the random walk model, for graphs with low mixing time. Our result builds on recent advances in the theory of sublinear algorithms. The final sample built by TETRIS is a careful mix of random walks and degree-biased sampling of neighborhoods. Empirically, TETRIS accurately counts triangles on a variety of large graphs, getting estimates within 5% relative error by looking at 3% of the number of edges.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper12
- Long-range Brain Graph TransformerShuo Yu, Shan Jin, Ming Li, Tabinda Sarwar 等NeurIPS 2024 · 32 次引用
- Scalable Motif Counting for Large-scale Temporal GraphsZhongqiang Gao, Chuanqi Cheng, Yanwei Yu, Lei Cao 等ICDE 2022 · 23 次引用
- MaNIACS: Approximate Mining of Frequent Subgraph Patterns through SamplingGiulia Preti, Gianmarco De Francisci Morales, Matteo RiondatoKDD 2021 · 16 次引用
- Micro and Macro Level Graph Modeling for Graph Variational Auto-EncodersKiarash Zahirnia, Oliver Schulte, Parmis Naddaf, Ke LiNeurIPS 2022 · 15 次引用
- Edge sampling and graph parameter estimation via vertex neighborhood accessesJakub Tetek, Mikkel ThorupSTOC 2022 · 12 次引用
相关 Paper
- LOTUS: locality optimizing triangle countingMohsen Koohi Esfahani, Peter Kilpatrick, Hans VandierendonckPPoPP 2022 · 6 次引用
- Estimating the Number of Induced Subgraphs from Incomplete Data and Neighborhood QueriesDimitris Fotakis, Thanasis Pittas, Stratis SkoulakisAAAI 2021
- Sliding Window-based Approximate Triangle Counting over Streaming Graphs with Duplicate EdgesXiangyang Gou, Lei ZouSIGMOD 2021 · 26 次引用
- GREAT: Generalized Reservoir Sampling based Triangle Counting Estimation over Streaming GraphsSiyue Wu, Dingming Wu, Sinhong Cheuk, Tsz Nam Chan 等VLDB 2025
- Triangle Counting in Hypergraph Streams: A Complete and Practical ApproachLingkai Meng, Long Yuan, Xuemin Lin, Wenjie Zhang 等SIGMOD 2026 · 4 次引用
