Efficient Approximate Temporal Triangle Counting in Streaming with Predictions

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Venturin, Giorgio, Sarpe, Ilie, Vandin, Fabio
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911007304056832
author Venturin, Giorgio
Sarpe, Ilie
Vandin, Fabio
author_facet Venturin, Giorgio
Sarpe, Ilie
Vandin, Fabio
contents Triangle counting is a fundamental and widely studied problem on static graphs, and recently on temporal graphs, where edges carry information on the timings of the associated events. Streaming processing and resource efficiency are crucial requirements for counting triangles in modern massive temporal graphs, with millions of nodes and up to billions of temporal edges. However, current exact and approximate algorithms are unable to handle large-scale temporal graphs. To fill such a gap, we introduce STEP, a scalable and efficient algorithm to approximate temporal triangle counts from a stream of temporal edges. STEP combines predictions to the number of triangles a temporal edge is involved in, with a simple sampling strategy, leading to scalability, efficiency, and accurate approximation of all eight temporal triangle types simultaneously. We analytically prove that, by using a sublinear amount of memory, STEP obtains unbiased and very accurate estimates. In fact, even noisy predictions can significantly reduce the variance of STEP's estimates. Our extensive experiments on massive temporal graphs with up to billions of edges demonstrate that STEP outputs high-quality estimates and is more efficient than state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2506_13173
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Approximate Temporal Triangle Counting in Streaming with Predictions
Venturin, Giorgio
Sarpe, Ilie
Vandin, Fabio
Data Structures and Algorithms
Machine Learning
Social and Information Networks
Triangle counting is a fundamental and widely studied problem on static graphs, and recently on temporal graphs, where edges carry information on the timings of the associated events. Streaming processing and resource efficiency are crucial requirements for counting triangles in modern massive temporal graphs, with millions of nodes and up to billions of temporal edges. However, current exact and approximate algorithms are unable to handle large-scale temporal graphs. To fill such a gap, we introduce STEP, a scalable and efficient algorithm to approximate temporal triangle counts from a stream of temporal edges. STEP combines predictions to the number of triangles a temporal edge is involved in, with a simple sampling strategy, leading to scalability, efficiency, and accurate approximation of all eight temporal triangle types simultaneously. We analytically prove that, by using a sublinear amount of memory, STEP obtains unbiased and very accurate estimates. In fact, even noisy predictions can significantly reduce the variance of STEP's estimates. Our extensive experiments on massive temporal graphs with up to billions of edges demonstrate that STEP outputs high-quality estimates and is more efficient than state-of-the-art methods.
title Efficient Approximate Temporal Triangle Counting in Streaming with Predictions
topic Data Structures and Algorithms
Machine Learning
Social and Information Networks
url https://arxiv.org/abs/2506.13173