并行收缩层级可以高效且可扩展
Parallel Contraction Hierarchies Can Be Efficient and Scalable
AI总结:
本文提出SPoCH,一种高效可扩展的并行收缩层级构建算法,通过重新设计算法和利用并行数据结构,在多种图上实现11-68倍串行加速和3.8-41倍并行加速,同时保持查询性能。
摘要:
收缩层级(CH)(Geisberger等人,2008)是道路网络上最短路径查询中使用最广泛的算法之一。与Dijkstra算法相比,CH通过预处理阶段实现了数量级的查询性能提升,该阶段迭代地将顶点分类到层级中并添加捷径。然而,构建CH是一项昂贵的任务。现有的解决方案,包括并行方案,可能面临较长的构建时间。特别是在我们的实验中,我们观察到现有的并行解决方案表现出不尽人意的可扩展性,其性能接近串行算法。我们提出了SPoCH(收缩层级的可扩展并行化),一种高效且可扩展的并行CH构建算法。为解决先前工作中的挑战,我们的改进侧重于重新设计算法和利用并行数据结构。我们将SPoCH与最先进的串行和并行实现在16种不同类型的图上进行比较。我们的实验表明,SPoCH在CH构建中相对于最佳串行基线实现了11到68倍的加速,相对于最佳并行基线实现了3.8到41倍的加速,同时保持了有竞争力的查询性能和CH图大小。我们已发布本文使用的所有代码和数据集。
英文摘要:
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 performance close to sequential algorithms. 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. We compare SPoCH with the state-of-the-art sequential and parallel implementations on 16 graphs of various types. Our experiments show that SPoCH achieves speedups of 11 to 68 times over the best sequential baseline and 3.8 to 41 times over the best parallel baseline in CH construction, while maintaining competitive query performance and CH graph size. We have released our code and all datasets used in this paper.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。