Efficient Simple Temporal Cycle Enumeration on Large Graphs with Lightweight Preprocessing
Qi Liang, Dian Ouyang, Kang Chen, Fan Zhang, Xuemin Lin
Abstract
Temporal cycles are fundamental patterns in graphs, with important applications in finance, security, and neuroscience. In this work, we study the Simple Temporal Cycle Enumeration (STCE) problem, which aims to enumerate all simple cycles with strictly increasing timestamps within a given time window. However, existing methods, such as 2SCENT, suffer from redundant checks and expensive detection phase, making them inefficient for large-scale or dynamically evolving graphs. To overcome these challenges, we introduce a novel edge-centric framework that treats temporal edges as the core units of exploration. By computing edge offsets in linear time, we eliminate redundant temporal checks, and our constraint-based DFS avoids the expensive detection phase required by prior work. This design ensures polynomial delay and leads to substantial performance gains over existing approaches. Furthermore, we extend our framework to dynamic settings by introducing an efficient incremental update algorithm that selectively identifies affected paths only. Experiments show over an order-of-magnitude speedup on static graphs and up to six orders-of-magnitude improvement for dynamic updates, with most updates completing within 1 ms.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Towards Real-Time Counting Shortest Cycles on Dynamic Graphs: A Hub Labeling ApproachQingshuai Feng, You Peng, Wenjie Zhang, Ying Zhang et al.ICDE 2022 · 6 citations
- Hop-Constrained s-t Simple Path Enumeration on Large Dynamic GraphsJiujing Zhang, Shiyu Yang, Dian Ouyang, Fan Zhang et al.ICDE 2023 · 7 citations
- Efficient Temporal Simple Path Graph GenerationZhiyang Tang, Yanping Wu, Xiangjun Zai, Chen Chen et al.ICDE 2025 · 1 citation
- TeMatch: A Fast Temporal Subgraph Matching Framework with Temporal-Aware Subgraph Matching AlgorithmsChengying Huan, Heng Zhang, Yongchao Liu, Likang Chen et al.ICDE 2025 · 2 citations
- Hop-constrained s-t Simple Path Enumeration: Towards Bridging Theory and PracticeYou Peng, Ying Zhang, Xuemin Lin, Wenjie Zhang et al.VLDB 2020 · 11 citations
