Accurate and Fast Approximate Graph Pattern Mining at Scale
Anna Arpaci-Dusseau, Zixiang Zhou, Xuhao Chen
Abstract
Approximate graph pattern mining (A-GPM) is an important data analysis tool for numerous graph-based applications. There exist sampling-based A-GPM systems to provide automation and generalization over a wide variety of use cases. Despite improved usability, there are two major obstacles that prevent existing A-GPM systems being adopted in practice. First, the termination mechanism that decides when to terminate sampling lacks theoretical backup on confidence, and performs significantly unstable and thus slow in practice. Second, they particularly suffer poor performance when dealing with the "needle-in-the-hay" cases, because a huge number of samples are required to converge, given the extremely low hit rate of their lazy-pruning strategy and fixed sampling schemes.
We build ScaleGPM, an accurate and fast A-GPM system that removes the two obstacles. First, we propose a novel on-the-fly convergence detection mechanism to achieve stable termination and provide theoretical guarantee on the confidence, with negligible online overhead. Second, we propose two techniques to deal with the "needle-in-the-hay" problem, eager-verify and hybrid sampling. Our eager-verify method drastically improves sampling hit rate by pruning unpromising candidates as early as possible. Hybrid sampling further improves performance by automatically choosing the better scheme between fine-grained and coarse-grained sampling schemes. Experiments show that our online convergence detection mechanism can precisely detect convergence, and results in stable and rapid termination with theoretically guaranteed confidence. We also show the effectiveness of eager-verify in improving the hit rate, and the scheme-selection mechanism in correctly choosing the better scheme for various cases. Overall, ScaleGPM achieves an geomean average of 565× (up to 610169×) speedup over the state-of-the-art A-GPM system, Arya. In particular, ScaleGPM handles billion-scale graphs in seconds, where existing systems either run out of memory or fail to complete in hours.
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 29f729c2-df67-4a96-be76-ed54239da4acCited by top-tier papers5
- LLMLog: Advanced Log Template Generation via LLM-driven Multi-Round AnnotationFei Teng, Haoyang Li, Lei ChenVLDB 2025 · 2 citations
- Characterizing Parallel Subgraph Matching Performance: A Systematic Study of Interactions, Scalability, and EnumerationTao Yu, Zhijie Zhang, Weiguo Zheng, Jeffrey Xu Yu et al.VLDB 2026 · 1 citation
- AGIS: Fast Approximate Graph Pattern Mining with Structure-Informed SamplingSeoyong Lee, Jinho LeeVLDB 2026 · 1 citation
- Subgraph Enumeration: Beyond Tree DecompositionQiyan Li, Jeffrey Xu Yu, Zongyan HeVLDB 2026
- ProgNet: Program-Grounded Evidence Composition for Interpretable Graph ClassificationMinseok Jeon, Seunghyun Park, Jun-Gi JangKDD 2026
Builds on11
- Peregrine: a pattern-aware graph mining systemKasra Jamshidi, Rakesh Mahadasa, Keval VoraEuroSys 2020 · 107 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
- Efficient and Scalable Graph Pattern Mining on GPUsXuhao Chen, ArvindOSDI 2022 · 53 citations
- Triangle and Four Cycle Counting with Predictions in Graph StreamsJustin Y. Chen, Talya Eden, Piotr Indyk, Honghao Lin et al.ICLR 2022 · 29 citations
Related papers
- Arya: Arbitrary Graph Pattern Mining with Decomposition-based SamplingZeying Zhu, Kan Wu, Zaoxing LiuNSDI 2023 · 6 citations
- Khuzdul: Efficient and Scalable Distributed Graph Pattern Mining EngineJingji Chen, Xuehai QianASPLOS 2023 · 16 citations
- Combining Sampling and Synopses with Worst-Case Optimal Runtime and Quality Guarantees for Graph Pattern Cardinality EstimationKyoungmin Kim, Hyeonji Kim, George Fletcher, Wook-Shin HanSIGMOD 2021 · 14 citations
- PSMiner: A Pattern-Aware Accelerator for High-Performance Streaming Graph Pattern MiningHao Qi, Yu Zhang, Ligang He, Kang Luo et al.DAC 2023 · 8 citations
- Approximate Pattern Matching in Massive Graphs with Precision and Recall GuaranteesTahsin Reza, Matei Ripeanu, Geoffrey Sanders, Roger PearceSIGMOD 2020 · 7 citations
