An Efficient Streaming Algorithm for Approximating Graphlet Distributions
Marco Bressan, T.-H. Hubert Chan, Qipeng Kuang, Mauro Sozio
Abstract
In recent years, the problem of computing the frequencies of the induced k -vertex subgraphs of a graph, or k-graphlets, has become central. One approach for this problem is to sample k -graphlets randomly. Classic algorithms for k -graphlet sampling require loading the entire graph into main memory, making them impractical for massive graphs. To bypass this limitation, Bourreau et al. (NeurIPS 2024) introduced a streaming algorithm that through nontrivial techniques makes only O (log n ) passes using O ( n log n ) memory. In this work we break their O (log n )-pass bound by giving an algorithm that, for any fixed c
0, makes O (1/ c ) passes using Õ( n
1+ c
) memory. As a consequence of their lower bound, our algorithm is optimal up to a factor of Õ (n c ) in the memory usage. We use this sampling algorithm to obtain an efficient method of approximating k -graphlet distributions. Experiments on real-world and synthetic graphs show that our algorithm is always at least as good as the one of Bourreau et al., and outperforms it by orders of magnitude on mildly dense graphs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Efficient Streaming Algorithms for Graphlet Sampling cites An Efficient Framework for Clustered Federated Learning
- Efficient Streaming Algorithms for Graphlet Sampling cites Efficient and near-optimal algorithms for sampling connected subgraphs
- Efficient and near-optimal algorithms for sampling connected subgraphs cites Motif-Matching Based Subgraph-Level Attentional Convolutional Network for Graph Classification
Builds on4
- An Efficient Framework for Clustered Federated LearningAvishek Ghosh, Jichan Chung, Dong Yin, Kannan RamchandranNeurIPS 2020 · 1,329 citations
- Motif-Matching Based Subgraph-Level Attentional Convolutional Network for Graph ClassificationHao Peng, Jianxin Li, Qiran Gong, Yuanxing Ning et al.AAAI 2020 · 75 citations
- Efficient Streaming Algorithms for Graphlet SamplingYann Bourreau, Marco Bressan, T.-H. Hubert Chan, Qipeng Kuang et al.NeurIPS 2024 · 1 citation
- Efficient and near-optimal algorithms for sampling connected subgraphsMarco BressanSTOC 2021
Related papers
- Faster Streaming and Scalable Algorithms for Finding Directed Dense Subgraphs in Large GraphsSlobodan Mitrovic, Theodore PanICML 2024 · 1 citation
- Four-Cycle Counting in Low-Degeneracy Graph StreamsSebastian Lüderssen, Stefan Neumann, Pan PengKDD 2026
- New Parallel and Streaming Algorithms for Directed Densest SubgraphSlobodan Mitrovic, Theodore Pan, Mahdi Qaempanah, Mohammad Amin RaeisiNeurIPS 2025 · 1 citation
- Hybrid Edge Partitioner: Partitioning Large Power-Law Graphs under Memory ConstraintsRuben Mayer, Hans-Arno JacobsenSIGMOD 2021 · 29 citations
- Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph StreamsKaixin Wang, Cheng Long, Da Yan, Jie Zhang et al.ICDE 2023 · 4 citations
