Skip to main content
QUICK REVIEW

[Paper Review] A Fast and Tight Heuristic for A* in Road Networks

Ben Strasser, Tim Zeitz|arXiv (Cornell University)|Oct 28, 2019
Data Management and AlgorithmsComputer Science39 references1 citations
TL;DR

This paper introduces CH-Potentials, a fast and tight heuristic for A* search in road networks that leverages Contraction Hierarchies (CH) to provide exact distance estimates using lower-bound weights from preprocessing. The method decouples complex routing extensions—like traffic predictions, turn restrictions, and live data—from the hierarchical speed-up structure, enabling efficient, flexible, and exact route planning with up to 3243x speedup over Dijkstra’s algorithm and only 1.6x overhead compared to an ideal heuristic.

ABSTRACT

We study exact, efficient and practical algorithms for route planning in large road networks. Routing applications often require integrating the current traffic situation, planning ahead with traffic predictions for the future, respecting forbidden turns, and many other features depending on the exact application. While Dijkstra's algorithm can be used to solve these problems, it is too slow for many applications. A* is a classical approach to accelerate Dijkstra's algorithm. A* can support many extended scenarios without much additional implementation complexity. However, A*'s performance depends on the availability of a good heuristic that estimates distances. Computing tight distance estimates is a challenge on its own. On road networks, shortest paths can also be quickly computed using hierarchical speedup techniques. They achieve speed and exactness but sacrifice A*'s flexibility. Extending them to certain practical applications can be hard. In this paper, we present an algorithm to efficiently extract distance estimates for A* from Contraction Hierarchies (CH), a hierarchical technique. We call our heuristic CH-Potentials. Our approach allows decoupling the supported extensions from the hierarchical speed-up technique. Additionally, we describe A* optimizations to accelerate the processing of low degree nodes, which often occur in road networks.

Motivation & Objective

  • To address the challenge of efficiently supporting complex, real-world routing extensions—such as live traffic, turn restrictions, and traffic predictions—within exact shortest path algorithms.
  • To decouple application-specific features from the hierarchical speed-up mechanism in Contraction Hierarchies, reducing implementation complexity.
  • To develop a heuristic for A* that provides tight, exact distance estimates using only preprocessing-phase lower-bound weights.
  • To optimize A* performance on low-degree nodes common in road networks, improving query efficiency.
  • To demonstrate that the heuristic maintains near-optimal performance despite additional routing complexity.

Proposed method

  • CH-Potentials uses Contraction Hierarchies (CH) as an internal distance oracle to compute tight, exact lower-bound estimates for A* heuristic function.
  • The heuristic evaluates distances using the CH structure, which is precomputed and independent of runtime features, enabling fast and consistent estimation.
  • The approach allows A* to guide search toward the goal using estimates that are provably exact with respect to the lower-bound weight function wℓ.
  • A novel optimization strategy is introduced to accelerate A* on low-degree nodes by reducing queue operations and heuristic evaluation overhead.
  • The method supports dynamic features (e.g., live traffic, turn costs) by modifying only the A* algorithm, not the CH structure, enabling modular extension.
  • The heuristic is evaluated against Oracle-A*, a hypothetical ideal heuristic, to measure performance overhead and efficiency.

Experimental results

Research questions

  • RQ1Can a heuristic for A* be designed that provides tight, exact distance estimates using only preprocessing-phase lower-bound weights?
  • RQ2How can complex routing features (e.g., live traffic, turn restrictions) be supported without modifying the hierarchical speed-up structure?
  • RQ3What is the performance overhead of the proposed heuristic compared to an ideal, instant-access heuristic?
  • RQ4How effective are optimizations for low-degree nodes in improving A* query performance on road networks?
  • RQ5Can CH-Potentials maintain high speedups across diverse, realistic routing scenarios while supporting feature combinations?

Key findings

  • CH-Potentials achieves a speedup of 3243× over Dijkstra’s algorithm on the OSM Germany dataset when wq = wℓ, demonstrating strong scalability.
  • The heuristic evaluation overhead is only 1.6× compared to an ideal heuristic, indicating near-optimal performance.
  • CH-Potentials outperforms ALT by a factor of 6–7 in query time and explores significantly fewer nodes.
  • In scenarios with live traffic (15% length increase), query times are 127.3 ms, and with traffic predictions (18% increase), they are 209.7 ms, showing robustness under dynamic conditions.
  • Combining live traffic, predictions, and turn restrictions results in a 12.2× speedup over Dijkstra, with only a modest performance degradation due to BCC optimization inefficacy.
  • PTV traffic predictions, with a smaller length increase (10.5%) than Mapbox (18%), yield faster query times (89.7 ms vs. 195.5 ms), confirming the impact of heuristic quality on performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.