WRS: Waiting Room Sampling for Accurate Triangle Counting in Real Graph Streams
Not on the map. Why?
Abstract (arXiv)
If we cannot store all edges in a graph stream, which edges should we store to estimate the triangle count accurately? Counting triangles (i.e., cycles of length three) is a fundamental graph problem with many applications in social network analysis, web mining, anomaly detection, etc. Recently, much effort has been made to accurately estimate global and local triangle counts in streaming settings with limited space. Although existing methods use sampling techniques without considering temporal dependencies in edges, we observe temporal locality in real dynamic graphs. That is, future edges are more likely to form triangles with recent edges than with older edges. In this work, we propose a single-pass streaming algorithm called Waiting-Room Sampling (WRS) for global and local triangle counting. WRS exploits the temporal locality by always storing the most recent edges, which future edges are more likely to form triangles with, in the waiting room, while it uses reservoir sampling for the remaining edges. Our theoretical and empirical analyses show that WRS is: (a) Fast and 'any time': runs in linear time, always maintaining and updating estimates while new edges arrive, (b) Effective: yields up to 47% smaller estimation error than its best competitors, and (c) Theoretically sound: gives unbiased estimates with small variances under the temporal locality.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). First posted on arXiv 10 Sep 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 0; 2024: 1.
5 papers.
- 2022Triangle and Four Cycle Counting with Predictions in Graph Streamscited by 20
- 2022Time-aware Random Walk Diffusion to Improve Dynamic Graph Learningcited by 7
- 2021Computing Graph Descriptors on Edge Streamscited by 4
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streamscited by 3
- 2024Fast and Accurate Triangle Counting in Graph Streams Using Predictionscited by 2
- 2024Fast and Accurate Triangle Counting in Graph Streams Using Predictions23 Sep 2024
- 2022Reinforcement Learning Enhanced Weighted Sampling for Accurate Subgraph Counting on Fully Dynamic Graph Streams13 Nov 2022
- 2022Time-aware Random Walk Diffusion to Improve Dynamic Graph Learning2 Nov 2022
- 2022Triangle and Four Cycle Counting with Predictions in Graph Streams17 Mar 2022
- 2021Computing Graph Descriptors on Edge Streams2 Sep 2021