An Efficient Streaming Algorithm for Approximating Graphlet Distributions

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.

Authors

Institutions

Publication Details

Journal
Proceedings of the ACM on Management of Data
Published
2026-05-18
DOI
https://doi.org/10.1145/3802010
Primary Topic
Complexity and Algorithms in Graphs
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Efficient Streaming Algorithm for Approximating Graphlet Distributions

Mauro Sozio, T-H. Hubert Chan, Qipeng Kuang, Marco Bressan
Proceedings of the ACM on Management of Data
Complexity and Algorithms in Graphs
article

An Efficient Streaming Algorithm for Approximating Graphlet Distributions

Mauro Sozio, T-H. Hubert Chan, Qipeng Kuang, Marco Bressan
article en

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.

Proceedings of the ACM on Management of DataVol. 4(3)
University of Milan (IT), Libera Università Internazionale degli Studi Sociali Guido Carli (IT), University of Hong Kong (HK)
Openalex Percentile: Top 4%
Complexity and Algorithms in Graphs
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.