Scalable Motif Counting for Large-scale Temporal Graphs
Zhongqiang Gao, Chuanqi Cheng, Yanwei Yu, Lei Cao, Chao Huang, Junyu Dong
Abstract
One fundamental problem in temporal graph anal-ysis is to count the occurrences of small connected subgraph patterns (i.e., motifs), which benefits a broad range of real-world applications, such as anomaly detection, structure prediction, and network representation learning. However, existing works focused on exacting temporal motif are not scalable to large-scale temporal graph data, due to their heavy computational costs or inherent inadequacy of parallelism. In this work, we propose a scalable parallel framework for exactly counting temporal motifs in large-scale temporal graphs. We first categorize the temporal motifs based on their distinct properties, and then design customized algorithms that offer efficient strategies to exactly count the motif instances of each category. Moreover, our compact data structures, namely triple and quadruple counters, enable our algorithms to directly identify the temporal motif instances of each category, according to edge information and relationship between edges, therefore significantly improving the counting efficiency. Based on the proposed counting algorithms, we design a hierarchical parallel framework that featuring both inter- and intra-node parallel strategies, and fully leverages the multi-threading capacity of modern CPU to concurrently count all temporal motifs. Extensive experiments on sixteen real-world temporal graph datasets demonstrate the superiority and capability of our proposed framework for temporal motif counting, achieving up tospeedup compared to the state-of-the-art methods. The source code of our method is available at: https://github.com/steven-ccq/FAST-temporal-motif.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a37ae0c0-ad84-496e-9a67-c98cb92612c5Cited by top-tier papers9
- Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite GraphsXin-Wei Cai, Xiangyu Ke, Kai Wang, Lu Chen et al.VLDB 2024 · 27 citations
- Everest: GPU-Accelerated System For Mining Temporal MotifsYichao Yuan, Haojie Ye, Sanketh Vedula, Wynn Kaza et al.VLDB 2024 · 14 citations
- Evolution Forest Index: Towards Optimal Temporal -Core Component Search via Time-Topology Isomorphic ComputationJunyong Yang, Ming Zhong, Yuanyuan Zhu, Tieyun Qian et al.VLDB 2024 · 7 citations
- Scalable Temporal Motif Densest Subnetwork DiscoveryIlie Sarpe, Fabio Vandin, Aristides GionisKDD 2024 · 5 citations
- Efficient Computation of Hyper-triangles on HypergraphsHaozhe Yin, Kai Wang, Wenjie Zhang, Ying Zhang et al.VLDB 2025 · 5 citations
Builds on3
- Motif-Preserving Dynamic Attributed Network EmbeddingZhijun Liu, Chao Huang, Yanwei Yu, Junyu DongWWW 2021 · 67 citations
- GraLSP: Graph Neural Networks with Local Structural PatternsYilun Jin, Guojie Song, Chuan ShiAAAI 2020 · 54 citations
- How to Count Triangles, without Seeing the Whole GraphSuman K. Bera, C. SeshadhriKDD 2020 · 23 citations
Related papers
- TIMEST: Temporal Information Motif Estimator Using Sampling TreesYunjie Pan, Omkar Bhalerao, C. Seshadhri, Nishil TalatiVLDB 2026
- MOSER: Scalable Network Motif Discovery using Serial TestMohammad Matin Najafi, Chenhao Ma, Xiaodong Li, Reynold Cheng et al.VLDB 2024 · 4 citations
- Fringe-SGC: Counting Subgraphs with Fringe VerticesCameron Bradley, Ghadeer Ahmed H. Alabandi, Martin BurtscherSC 2025 · 2 citations
- Mint: An Accelerator For Mining Temporal MotifsNishil Talati, Haojie Ye, Sanketh Vedula, Kuan-Yu Chen et al.MICRO 2022 · 6 citations
- Mayura: Exploiting Similarities in Motifs for Temporal Co-MiningSanjay Sri Vallabh Singapuram, Ronald G. Dreslinski, Nishil TalatiVLDB 2025
