Parallel Contraction Hierarchies Can Be Efficient and Scalable

πŸ“… 2024-12-23
πŸ›οΈ arXiv.org
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Existing parallel Contraction Hierarchies (CH) construction algorithms suffer from poor scalability and low speedup, often failing to outperform serial baselines. To address this, we propose SPoCHβ€”a highly efficient and scalable parallel CH construction algorithm that restructures the contraction order decision logic and introduces a lightweight, dynamic parallel data structure. SPoCH operates on shared-memory architectures, integrating cooperative multi-threaded scheduling with an incremental vertex contraction mechanism, while preserving CH quality in terms of query performance and graph compression ratio. Experimental evaluation on 13 real-world road networks demonstrates that SPoCH achieves 17–131Γ— faster construction time over the best existing baseline, while maintaining competitive query latency and edge count growth.

Technology Category

Application Category

πŸ“ Abstract
Contraction Hierarchies (CH) (Geisberger et al., 2008) is one of the most widely used algorithms for shortest-path queries on road networks. Compared to Dijkstra's algorithm, CH enables orders of magnitude faster query performance through a preprocessing phase, which iteratively categorizes vertices into hierarchies and adds shortcuts. However, constructing a CH is an expensive task. Existing solutions, including parallel ones, may suffer from long construction time. Especially in our experiments, we observe that existing parallel solutions demonstrate unsatisfactory scalability and have close performance to sequential algorithms. In this paper, we present SPoCH (Scalable Parallelization of Contraction Hierarchies), an efficient and scalable CH construction algorithm in parallel. To address the challenges in previous work, our improvements focus on both redesigning the algorithm and leveraging parallel data structures. %to maintain the original and shortcut edges dynamically. We implement our algorithm and compare it with the state-of-the-art sequential and parallel implementations on 13 graphs, including road networks, synthetic graphs, and k-NN graphs. Our experiments show that SPoCH achieves 17-131x speedups in CH construction over the best baseline, while maintaining competitive query performance and CH graph size.
Problem

Research questions and friction points this paper is trying to address.

Improving scalability of parallel Contraction Hierarchies construction
Reducing long construction time in existing CH solutions
Maintaining query performance while speeding up CH preprocessing
Innovation

Methods, ideas, or system contributions that make the work stand out.

Redesigns algorithm for parallel CH construction
Uses parallel data structures for efficiency
Achieves significant speedups in construction time
πŸ”Ž Similar Papers
No similar papers found.