[Paper Review] TRIÈST: Counting Local and Global Triangles in Fully-dynamic Streams with Fixed Memory Size
TRIÈST is a suite of one-pass streaming algorithms that provide unbiased, low-variance approximations of global and local triangle counts in fully-dynamic graphs using a fixed memory budget. It leverages reservoir sampling and random pairing to maintain a representative edge sample, ensuring optimal memory utilization and superior accuracy over state-of-the-art methods with minimal update time.
We present TRIÈST, a suite of one-pass streaming algorithms to compute unbiased, low-variance, high-quality approximations of the global and local (i.e., incident to each vertex) number of triangles in a fully-dynamic graph represented as an adversarial stream of edge insertions and deletions. Our algorithms use reservoir sampling and its variants to exploit the user-specified memory space at all times. This is in contrast with previous approaches which use hard-to-choose parameters (e.g., a fixed sampling probability) and offer no guarantees on the amount of memory they will use. We show a full analysis of the variance of the estimations and novel concentration bounds for these quantities. Our experimental results on very large graphs show that TRIÈST outperforms state-of-the-art approaches in accuracy and exhibits a small update time.
Motivation & Objective
- To address the limitations of fixed-probability edge sampling in dynamic graph streams, which require prior knowledge of stream size and risk memory overflow or suboptimal sampling.
- To design a streaming algorithm that maintains a fixed-size sample of edges using reservoir sampling and random pairing, ensuring full utilization of available memory at all times.
- To provide unbiased, low-variance estimations of both global and local triangle counts in fully-dynamic graph streams with adversarial edge insertion and deletion order.
- To offer theoretical guarantees on estimation variance and concentration, ensuring high-quality approximations under practical memory constraints.
Proposed method
- TRIÈST uses reservoir sampling to maintain a fixed-size sample of edges from the dynamic stream, ensuring uniform random sampling without prior knowledge of stream size.
- It applies random pairing to further enhance sampling efficiency and reduce variance in triangle estimation, particularly for local triangle counts per vertex.
- The algorithm estimates global triangle count by counting triangles formed by sampled edges and scaling up using the inverse of the sampling probability, which is dynamically adjusted based on the current sample size.
- For local triangle counting, it computes the number of triangles incident to each vertex within the sampled edges and applies a bias-corrected scaling factor to estimate the true local count.
- Theoretical analysis derives concentration bounds using Chernoff-type inequalities and properties of hypergeometric distributions, ensuring high-probability accuracy.
- The method dynamically adapts to changes in graph structure and stream size, maintaining consistent performance even under adversarial edge order.
Experimental results
Research questions
- RQ1Can a streaming algorithm maintain accurate, unbiased estimates of global and local triangle counts in fully-dynamic graphs with a fixed memory budget, regardless of stream size or order?
- RQ2How can reservoir sampling and random pairing be combined to achieve optimal memory utilization and low-variance estimation in dynamic triangle counting?
- RQ3What theoretical guarantees can be provided on the variance and concentration of triangle estimators under adversarial edge streams?
- RQ4How does the performance of TRIÈST compare to fixed-probability sampling methods in terms of accuracy, memory usage, and update time on large-scale dynamic graphs?
Key findings
- TRIÈST achieves significantly lower variance in triangle estimation compared to state-of-the-art methods, particularly under high dynamicity and large graph sizes.
- The algorithm maintains a fixed memory footprint throughout the stream, avoiding memory overflow and ensuring consistent performance.
- Experimental results show that TRIÈST outperforms existing approaches in both global and local triangle counting accuracy, even when the stream size is unknown in advance.
- Theoretical analysis confirms that the variance of the estimator is bounded by O((κ^(t))⁻²), where κ^(t) is the expected number of sampled triangles, ensuring high-probability concentration.
- TRIÈST exhibits a small and constant update time per edge, making it suitable for real-time processing of high-velocity graph streams.
- The method provides strong theoretical guarantees on estimation quality, including concentration bounds that hold under adversarial edge order and unknown stream size.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.