Accurate and Fast Estimation of Temporal Motifs Using Path Sampling
Authors:
- 9 December 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 809-814
Abstract
Counting the number of small subgraphs, called motifs, is a fundamental problem in social network analysis and graph mining. Many real-world networks are directed and temporal, where edges have timestamps. Motif counting in directed, temporal graphs is especially challenging because there are a plethora of different kinds of patterns. Temporal motif counts reveal much richer information and there is a need for scalable algorithms for motif counting. A major challenge in counting is that there can be trillions of temporal motif matches even with a graph with only millions of vertices. Both the motifs and the input graphs can have multiple edges between two vertices, leading to a combinatorial explosion problem. It is not feasible for state-of-the-art algorithms to exactly count temporal motifs involving just four vertices with trillions of matches. We design an algorithm, TEACUPS, that addresses this problem using a novel technique of temporal path sampling. We combine a path sampling method with carefully designed temporal data structures, to propose an efficient approximate algorithm for temporal motif counting. TEACUPS is an unbiased estimator with provable concentration behavior, which can be used to bound the estimation error. For a Bitcoin graph with hundreds of millions of edges, TEACUPS runs in less than 1 minute, while the exact counting algorithm takes more than a day. We empirically demonstrate the accuracy of TEACUPS on large datasets, showing an average of 30 x speedup (up to 2000 x speedup) compared to existing GPU-based exact counting methods while preserving high count estimation accuracy.Keywords
All Related Versions
This publication has 34 references indexed in Scilit:
- Temporal Network Analytics for Fraud Detection in the Banking Sector2020
- TM-Miner: TFS-Based Algorithm for Mining Temporal Motifs in Large Temporal NetworkIEEE Access, 2019
- Exploring the structure and function of temporal networks with dynamic graphletsBioinformatics, 2015
- Inferring the interplay between network structure and market effects in BitcoinNew Journal of Physics, 2014
- Wedge sampling for computing clustering coefficients and triangle counts on large graphs†Statistical Analysis and Data Mining: An ASA Data Science Journal, 2014
- Temporal motifs reveal homophily, gender-specific patterns, and group talk in call sequencesProceedings of the National Academy of Sciences, 2013
- Temporal motifs in time-dependent networksJournal of Statistical Mechanics: Theory and Experiment, 2011
- Path lengths, correlations, and centrality in temporal networksPhysical Review E, 2011
- Network motifs: theory and experimental approachesNature Reviews Genetics, 2007
- Network motifs in the transcriptional regulation network of Escherichia coliNature Genetics, 2002