Lune

SIGMOD2026Top-tier venue

An Efficient Streaming Algorithm for Approximating Graphlet Distributions

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

2026Year

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 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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 57f2cb3e-39c7-4af1-abd6-6ed79c06f169

Builds on4

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines