Hierarchical Cut Labelling -- Scaling Up Distance Queries on Road Networks

Muhammad Farhan,Henning Koehler,Robert Ohms,Qing Wang
2023-11-18
Abstract:Answering the shortest-path distance between two arbitrary locations is a fundamental problem in road networks. Labelling-based solutions are the current state-of-the-arts to render fast response time, which can generally be categorised into hub-based labellings, highway-based labellings, and tree decomposition labellings. Hub-based and highway-based labellings exploit hierarchical structures of road networks with the aim to reduce labelling size for improving query efficiency. However, these solutions still result in large search spaces on distance labels at query time, particularly when road networks are large. Tree decomposition labellings leverage a hierarchy of vertices to reduce search spaces over distance labels at query time, but such a hierarchy is generated using tree decomposition techniques, which may yield very large labelling sizes and slow querying. In this paper, we propose a novel solution \emph{hierarchical cut 2-hop labelling (HC2L)} to address the drawbacks of the existing works. Our solution combines the benefits of hierarchical structures from both perspectives - reduce the size of a distance labelling at preprocessing time and further reduce the search space on a distance labelling at query time. At its core, we propose a new hierarchy, \emph{balanced tree hierarchy}, which enables a fast, efficient data structure to reduce the size of distance labelling and to select a very small subset of labels to compute the shortest-path distance at query time. To speed up the construction process of HC2L, we further propose a parallel variant of our method, namely HC2L$^p$. We have evaluated our solution on 10 large real-world road networks through extensive experiments.
Data Structures and Algorithms,Databases
What problem does this paper attempt to address?
The paper primarily proposes a new solution to the problem of shortest path distance queries in large-scale road networks. Specifically, the core issue of the research is to improve the efficiency of such queries, especially the need to quickly respond to a large number of queries in large road networks. The paper points out that traditional search-based methods (such as the Dijkstra algorithm) are inefficient when handling queries between distant nodes, and even with optimizations like bidirectional search, they cannot meet the low-latency requirements of modern applications. Therefore, the paper focuses on labelling-based methods, which accelerate the query process by precomputing and storing distance information between nodes. Existing labelling-based methods are mainly divided into three categories: hub-based labelling, highway-based labelling, and tree decomposition-based labelling. Although these methods improve query efficiency to some extent, they still have some shortcomings, such as large label sizes and the need to check a large number of labels during queries, which limits their application in large-scale road networks. To address these issues, the paper proposes a new method called "Hierarchical Cut 2-Hop Labelling" (HC2L). HC2L combines the advantages of utilizing the hierarchical structure of road networks, namely reducing the size of distance labels on one hand and further reducing the number of labels that need to be checked during queries on the other hand. To achieve this goal, the paper introduces a new hierarchical structure called the balanced tree hierarchy, which can significantly reduce the size of distance labels during the preprocessing stage and select a very small set of labels to compute the shortest path distance during the query stage. Additionally, the paper proposes a parallel version of the HC2L method (HC2L_p) to speed up the construction process. In summary, the paper aims to solve the problems existing in current labelling-based methods by proposing a new hierarchical structure and labelling method, thereby improving the speed and efficiency of distance queries in large-scale road networks.