Evaluating Heuristic Search Algorithms in Pathfinding: A Comprehensive Study on Performance Metrics and Domain Parameters

Aya Kherrour, Marco Robol, Marco Roveri, Paolo Giorgini

TL;DR

This paper provides a comprehensive performance benchmark of seven popular heuristic search algorithms (including D Lite, ARA, and RTAA*) across varying environmental conditions like grid size and obstacle density. The authors move beyond single-parameter testing to propose a practical selection algorithm that helps developers choose the right pathfinding tool based on specific constraints like memory, path optimality, or reaction time.

What Problem Does This Paper Address?

In the world of autonomous robots and agents, pathfinding is a solved problem—or so it seems. While dozens of algorithms exist, from real-time heuristic searches (RTS) to incremental and anytime approaches, researchers often struggle to pick the "best" one for a specific deployment.

Most existing studies evaluate these algorithms in isolation or focus on a single variable, such as sensor range. However, a robot's performance is dictated by a complex interplay of domain parameters: How big is the map? How crowded is the room? How far is the goal? This paper addresses the lack of a multi-dimensional comparison, providing a roadmap for selecting algorithms based on the actual characteristics of the environment.

Methods

The researchers conducted a systematic evaluation of several state-of-the-art algorithms:

  • Real-Time: RTA, LRTA, and RTAA* (which interleave planning and execution).
  • Anytime: ARA* (which finds a quick suboptimal solution and improves it over time).
  • Incremental: D, LPA, and D* Lite (which reuse previous search data to handle environment changes).

They tested these in grid-based simulations where agents move in eight directions using Euclidean distance as a heuristic. The study measured three key metrics: Path Cost (quality of the route), Memory Consumption (scalability), and Solving Time (reactivity).

Datasets

The study utilized two types of synthetic grid-based environments:

  1. Randomly Generated Grids: Used to test the impact of varying grid sizes ($N \times N$), obstacle densities (0.10 to 0.40), and start-to-goal distances.
  2. Personalized Grid Environments: Specifically designed to simulate "hindering" scenarios, such as horizontal walls of varying lengths and orientations, to see how algorithms handle structured barriers compared to random noise.

Key Insights and Ideas

  • The "Distance Threshold": One of the most practical findings was the correlation between distance and solving time. For distances under ~140 units, ARA is the speed king. Beyond that threshold, RTAA typically takes the lead in terms of reactivity.
  • D* Lite is the Efficiency Champion: Across almost all tests, D* Lite consistently generated the shortest paths while maintaining the lowest memory footprint, making it the go-to for resource-constrained systems where path quality is paramount.
  • The Stability of ARA*: While many algorithms saw their solving times explode as grid sizes increased, ARA* remained remarkably stable, suggesting it is highly suitable for very large-scale environments.
  • Obstacle Density Sensitivity: RTAA excels in high-density environments because of its rapid heuristic update procedure, whereas D (the original Dynamic A*) struggled significantly with solving time as maps became more complex.

Key Results

  • Solving Time: RTAA was the fastest in dense obstacle environments. At a grid size of 50, RTAA solved paths in 21ms, while others were significantly slower.
  • Memory: D Lite and LPA were the most consistent, requiring the least memory across all grid sizes. In contrast, RTAA and D saw memory usage spike as the domain grew.
  • Path Quality: D* Lite consistently produced the most optimal (shortest) paths.
  • Selection Algorithm: The authors synthesized these results into a decision tree (Algorithm 1). If the priority is memory or path cost, use D Lite. If the priority is speed, use RTAA for long distances and ARA* for short distances.

Limitations and Future Work

The primary limitation acknowledged by the authors is that the study focused exclusively on static environments. While some of these algorithms (like D* Lite) are designed for dynamic changes, the benchmarks here do not account for moving obstacles or map updates during execution.

Additionally, the experiments varied one parameter at a time. Future work aims to explore the "combinatorial" effects—how high obstacle density combined with large grid sizes affects performance—and to extend the evaluation to fully dynamic, unpredictable environments.

Summary updated

BibTeX
@inproceedings{kherrour2023evaluating,
  author = {Aya Kherrour and Marco Robol and Marco Roveri and Paolo Giorgini},
  title = {{Evaluating Heuristic Search Algorithms in Pathfinding: A Comprehensive Study on Performance Metrics and Domain Parameters}},
  booktitle = {AREA@ECAI},
  year = {2023},
  url = {https://openreview.net/forum?id=uFYxZ7n4GG8},
}
Figure