Lune

NeurIPS2024Top-tier venue

Efficient Streaming Algorithms for Graphlet Sampling

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

Abstract

Given a graph G and a positive integer k , the Graphlet Sampling problem asks to sample a connected induced k -vertex subgraph of G uniformly at random. Graphlet sampling enhances machine learning applications by transforming graph structures into feature vectors for tasks such as graph classification and subgraph identification, boosting neural network performance, and supporting clustered federated learning by capturing local structures and relationships. A recent work has shown that the problem admits an algorithm that preprocesses G in time O ( nk 2 log k + m ) , and draws one sample in expected time k O ( k ) log n , where n = | V ( G ) | and m = | E ( G ) | . Such an algorithm relies on the assumption that the input graph fits into main memory and it does not seem to be straightforward to adapt it to very large graphs. We consider Graphlet Sampling in the semi-streaming setting, where we have a memory of M = Ω( n log n ) words, and G can be only read through sequential passes over the edge list. We develop a semi-streaming algorithm that preprocesses G in p = O (log n ) passes and samples Θ( Mk − O ( k ) ) independent uniform k -graphlets in O ( k ) passes. For constant k , both phases run in time O (( n + m ) log n ) . We also show that the tradeoff between memory and number of passes of our algorithms is near-optimal. Our extensive evaluation on very large graphs shows the effectiveness of our algorithms.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • An Efficient Streaming Algorithm for Approximating Graphlet Distributions cites An Efficient Framework for Clustered Federated Learning
  • An Efficient Streaming Algorithm for Approximating Graphlet Distributions cites Efficient and near-optimal algorithms for sampling connected subgraphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. An Efficient Streaming Algorithm for Approximating Graphlet DistributionsMarco Bressan, T.-H. Hubert Chan, Qipeng Kuang, Mauro SozioSIGMOD 2026

Builds on2

  1. An Efficient Framework for Clustered Federated LearningAvishek Ghosh, Jichan Chung, Dong Yin, Kannan RamchandranNeurIPS 2020 · 1,329 citations
  2. Efficient and near-optimal algorithms for sampling connected subgraphsMarco BressanSTOC 2021

Related papers

  1. Streaming Algorithms and Lower Bounds for Estimating Correlation Clustering CostSepehr Assadi, Vihan Shah, Chen WangNeurIPS 2023 · 6 citations
  2. Memory-Efficient Approximation Algorithms for Max-k-Cut and Correlation ClusteringNimita Shinde, Vishnu Narayanan, James SaundersonNeurIPS 2021 · 5 citations
  3. Faster Streaming and Scalable Algorithms for Finding Directed Dense Subgraphs in Large GraphsSlobodan Mitrovic, Theodore PanICML 2024 · 1 citation
  4. Reservoir Sampling over JoinsBinyang Dai, Xiao Hu, Ke YiSIGMOD 2024 · 6 citations
  5. Correlation Clustering and (De)Sparsification: Graph Sketches Can Match Classical AlgorithmsSepehr Assadi, Sanjeev Khanna, Aaron PuttermanSTOC 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines