PathEnum: Towards Real-Time Hop-Constrained s-t Path Enumeration
Shixuan Sun, Yuhang Chen, Bingsheng He, Bryan Hooi
Abstract
We study the hop-constrained s-t path enumeration (HcPE ) problem, which takes a graph G, two distinct vertices s,t and a hop constraint k as input, and outputs all paths from s to t whose length is at most k. The state-of-the-art algorithms suffer from severe performance issues caused by the costly pruning operations during enumeration for the workloads with the large search space. Consequently, these algorithms hardly meet the real-time constraints of many online applications. In this paper, we propose PathEnum, an efficient index-based algorithm towards real-time HcPE. For an input query, PathEnum first builds a light-weight index aiming to reduce the number of edges involved in the enumeration, and develops efficient index-based approaches for enumeration, one based on depth-first search and the other based on joins. We further develop a query optimizer based on a join-based cost model to optimize the search order. We conduct experiments with 15 real-world graphs. Our experiment results show that PathEnum outperforms the state-of-the-art approaches by orders of magnitude in terms of the query time, throughput and response time.
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 37f8c2ce-a140-4744-b872-804e86751f14Cited by top-tier papers11
- RapidFlow: An Efficient Approach to Continuous Subgraph MatchingShixuan Sun, Xibo Sun, Bingsheng He, Qiong LuoVLDB 2022 · 32 citations
- Batch Hop-Constrained s-t Simple Path Query Processing in Large GraphsLong Yuan, Kongzhang Hao, Xuemin Lin, Wenjie ZhangICDE 2024 · 9 citations
- Towards Generating Hop-constrained s-t Simple Path GraphsYuzheng Cai, Siyuan Liu, Weiguo Zheng, Xuemin LinSIGMOD 2023 · 9 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 Distributed Hop-Constrained Path Enumeration on Large-Scale GraphsYuanyuan Zeng, Yixiang Fang, Chenhao Ma, Xu Zhou et al.SIGMOD 2024 · 7 citations
Builds on5
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- FlowScope: Spotting Money Laundering Based on GraphsXiangfeng Li, Shenghua Liu, Zifeng Li, Xiaotian Han et al.AAAI 2020 · 138 citations
- Relational Message Passing for Knowledge Graph CompletionHongwei Wang, Hongyu Ren, Jure LeskovecKDD 2021 · 109 citations
- G-CARE: A Framework for Performance Benchmarking of Cardinality Estimation Techniques for Subgraph MatchingYeonsu Park, Seongyun Ko, Sourav S. Bhowmick, Kyoungmin Kim et al.SIGMOD 2020 · 59 citations
- An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse GraphsSayan Bhattacharya, Janardhan KulkarniSODA 2020 · 15 citations
Related papers
- 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
- PEFP: Efficient k-hop Constrained s-t Simple Path Enumeration on FPGAZhengmin Lai, You Peng, Shiyu Yang, Xuemin Lin et al.ICDE 2021 · 21 citations
- Accelerating Skyline Path Enumeration with a Core Attribute Index on Multi-attribute GraphsYuanyuan Zeng, Yixiang Fang, Wensheng Luo, Chenhao MaSIGMOD 2025 · 3 citations
- Distributed Hop-Constrained s-t Simple Path Enumeration at Billion ScaleKongzhang Hao, Long Yuan, Wenjie ZhangVLDB 2022 · 25 citations
- Weight-Constrained Simple Path Enumeration in Weighted GraphDian Ouyang, Dong Wen, Jianye Yang, Wentao Li et al.KDD 2025
