Accelerating Exact Constrained Shortest Paths on GPUs
Shengliang Lu, Bingsheng He, Yuchen Li, Hao Fu
Abstract
The recently emerging applications such as software-defined networks and autonomous vehicles require efficient and exact solutions for constrained shortest paths (CSP), which finds the shortest path in a graph while satisfying some user-defined constraints. Compared with the common shortest path problems without constraints, CSP queries have a significantly larger number of subproblems. The most widely used labeling algorithm becomes prohibitively slow and impractical. Other existing approaches tend to find approximate solutions and build costly indices on graphs for fast query processing, which are not suitable for emerging applications with the requirement of exact solutions. A natural question is whether and how we can efficiently find the exact solution for CSP.
In this paper, we propose Vine , a framework that parallelizes the labeling algorithm to efficiently find the exact CSP solution using GPUs. The major challenge addressed in Vine is how to deal with a large number of subproblems that are mostly unpromising but require a significant amount of memory and computational resources. Our solution is twofold. First, we develop a two-level pruning approach to eliminate the subproblems by making good use of the GPU's hierarchical memory. Second, we propose an adaptive parallelism control model based on the observations that the degree of parallelism (DOP) is the key to performance optimization with the given amount of computational resources. Extensive experiments show that Vine achieves 18× speedup on average over the widely adopted CPU-based solution running on 40 CPU threads. Vine also has over 5× speedup compared with a GPU approach that statically controls the DOP. Compared to the state-of-the-art approximate solution with preprocessed indices, Vine provides exact results with competitive or even better performance.
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 70da44cb-eafc-4fb1-9ca4-523b355ce5a3Cited by top-tier papers4
- GPU-Accelerated Graph Label Propagation for Real-Time Fraud DetectionChang Ye, Yuchen Li, Bingsheng He, Zhao Li et al.SIGMOD 2021 · 21 citations
- FHL-Cube: Multi-Constraint Shortest Path Querying with Flexible Combination of ConstraintsZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.VLDB 2022 · 20 citations
- Accelerating Biclique Counting on GPULinshan Qiu, Zhonggen Li, Xiangyu Ke, Lu Chen et al.ICDE 2024 · 4 citations
- A CPU-GPU Hybrid Labelling Algorithm for Massive Shortest Distance Queries on Road NetworksJiajia Li, Yongzhi Chen, Mengxuan Zhang, Lei LiVLDB 2025 · 3 citations
Builds on1
Related papers
- Efficient Constrained Shortest Path Query Answering with Forest Hop LabelingZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2021 · 37 citations
- Approximate Skyline Index for Constrained Shortest Pathfinding with Theoretical GuaranteeZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2024 · 8 citations
- PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongVLDB 2024 · 7 citations
- Efficient Label-Constrained Shortest Path Queries on Road Networks: A Tree Decomposition ApproachJunhua Zhang, Long Yuan, Wentao Li, Lu Qin et al.VLDB 2022 · 29 citations
- QHL: A Fast Algorithm for Exact Constrained Shortest Path Search on Road NetworksLibin Wang, Raymond Chi-Wing WongSIGMOD 2023 · 10 citations
