mlsanityData to 7 Oct 2026

Fast and Accurate Triangle Counting in Graph Streams Using Predictions

arXiv 2409.15205 ↗First posted 23 Sep 2024cs.DS cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In this work, we present the first efficient and practical algorithm for estimating the number of triangles in a graph stream using predictions. Our algorithm combines waiting room sampling and reservoir sampling with a predictor for the heaviness of edges, that is, the number of triangles in which an edge is involved. As a result, our algorithm is fast, provides guarantees on the amount of memory used, and exploits the additional information provided by the predictor to produce highly accurate estimates. We also propose a simple and domain-independent predictor, based on the degree of nodes, that can be easily computed with one pass on a stream of edges when the stream is available beforehand. Our analytical results show that, when the predictor provides useful information on the heaviness of edges, it leads to estimates with reduced variance compared to the state-of-the-art, even when the predictions are far from perfect. Our experimental results show that, when analyzing a single graph stream, our algorithm is faster than the state-of-the-art for a given memory budget, while providing significantly more accurate estimates. Even more interestingly, when sequences of hundreds of graph streams are analyzed, our algorithm significantly outperforms the state-of-the-art using our simple degree-based predictor built by analyzing only the first graph of the sequence.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 7 of its 42 references that are in the map. First posted on arXiv 23 Sep 2024.

Builds on

7 of 42 references.

References · 7

  1. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 557
  2. 2020Algorithms with Predictionscited by 152
  3. 2019A Model for Learned Bloom Filters, and Optimizing by Sandwichingcited by 64
  4. 2022Triangle and Four Cycle Counting with Predictions in Graph Streamscited by 20
  5. 2016TRI`EST: Counting Local and Global Triangles in Fully-dynamic Streams with Fixed Memory Sizecited by 14
  6. 2017WRS: Waiting Room Sampling for Accurate Triangle Counting in Real Graph Streamscited by 5
  7. 2021An Optimal Algorithm for Triangle Counting in the Streamcited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.