Lune

ICDE2022Top-tier venue

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 to538×538\timesspeedup 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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Scalable Temporal Motif Densest Subnetwork Discovery cites Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite Graphs
  • Efficient Computation of Hyper-triangles on Hypergraphs cites Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite Graphs
  • Evolution Forest Index: Towards Optimal Temporal k-Core Component Search via Time-Topology Isomorphic Computation cites Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite Graphs
  • Motif-Preserving Dynamic Attributed Network Embedding cites GraLSP: Graph Neural Networks with Local Structural Patterns
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Efficient Temporal Butterfly Counting and Enumeration on Temporal Bipartite GraphsXin-Wei Cai, Xiangyu Ke, Kai Wang, Lu Chen et al.VLDB 2024 · 27 citations
  2. Everest: GPU-Accelerated System For Mining Temporal MotifsYichao Yuan, Haojie Ye, Sanketh Vedula, Wynn Kaza et al.VLDB 2024 · 14 citations
  3. Evolution Forest Index: Towards Optimal Temporal kk-Core Component Search via Time-Topology Isomorphic ComputationJunyong Yang, Ming Zhong, Yuanyuan Zhu, Tieyun Qian et al.VLDB 2024 · 7 citations
  4. Scalable Temporal Motif Densest Subnetwork DiscoveryIlie Sarpe, Fabio Vandin, Aristides GionisKDD 2024 · 5 citations
  5. Efficient Computation of Hyper-triangles on HypergraphsHaozhe Yin, Kai Wang, Wenjie Zhang, Ying Zhang et al.VLDB 2025 · 5 citations

Builds on3

  1. Motif-Preserving Dynamic Attributed Network EmbeddingZhijun Liu, Chao Huang, Yanwei Yu, Junyu DongWWW 2021 · 67 citations
  2. GraLSP: Graph Neural Networks with Local Structural PatternsYilun Jin, Guojie Song, Chuan ShiAAAI 2020 · 54 citations
  3. How to Count Triangles, without Seeing the Whole GraphSuman K. Bera, C. SeshadhriKDD 2020 · 23 citations

Related papers

  1. TIMEST: Temporal Information Motif Estimator Using Sampling TreesYunjie Pan, Omkar Bhalerao, C. Seshadhri, Nishil TalatiVLDB 2026
  2. MOSER: Scalable Network Motif Discovery using Serial TestMohammad Matin Najafi, Chenhao Ma, Xiaodong Li, Reynold Cheng et al.VLDB 2024 · 4 citations
  3. Fringe-SGC: Counting Subgraphs with Fringe VerticesCameron Bradley, Ghadeer Ahmed H. Alabandi, Martin BurtscherSC 2025 · 2 citations
  4. Mint: An Accelerator For Mining Temporal MotifsNishil Talati, Haojie Ye, Sanketh Vedula, Kuan-Yu Chen et al.MICRO 2022 · 6 citations
  5. Mayura: Exploiting Similarities in Motifs for Temporal Co-MiningSanjay Sri Vallabh Singapuram, Ronald G. Dreslinski, Nishil TalatiVLDB 2025
Dusk over the sea between two cliffs drawn in fine vertical lines