More Flexible Proximity Wildcards Path Planning with Compressed Path Databases

Xi Chen, Yue Zhang, Yonggang ZhangICAPS 2024

TL;DR

This paper tackles the challenge of efficient grid-based path planning by improving Compressed Path Databases (CPDs). The authors introduce two novel methods, Rectangular Proximity Wildcards (RPW) and Coordinates Proximity Wildcards (CPW), which expand the "proximity area" around a node. This allows for more flexible obstacle avoidance and significantly boosts search efficiency and reduces search costs, even outperforming existing state-of-the-art methods.

What Problem Does This Paper Address?

Path planning, particularly on grids, is a fundamental problem in AI with applications ranging from robotics to video games. Compressed Path Databases (CPDs) are a powerful technique that achieves near-instantaneous pathfinding by pre-computing optimal first moves from any start node to any target node. However, CPDs suffer from a high build cost and, while methods like "proximity wildcards" (PW) have been developed to reduce their size, these methods are often limited by complex terrain. Specifically, the square-shaped proximity areas of traditional PW can be severely restricted by obstacles, leading to less efficient search and higher costs. This paper aims to overcome these limitations by proposing more flexible ways to define and expand these proximity areas, thereby improving both search efficiency and reducing overall costs.

Methods

The paper introduces two main enhancements to the existing proximity wildcard concept:

  • Rectangular Proximity Wildcards (RPW): This method breaks the rigid square shape of traditional proximity areas. Instead, it allows the proximity area to expand into a rectangle. This means that if an obstacle blocks expansion in one direction (e.g., width), the area can still expand in the other direction (e.g., length), leading to a larger and more adaptable proximity region.
  • Coordinates Proximity Wildcards (CPW): This approach takes flexibility a step further. It divides the space around a node into four quadrants and, within each quadrant, expands the largest possible rectangular proximity area. This quadrant-based approach offers even greater adaptability to complex terrain and can significantly increase the overall proximity area compared to both traditional PW and RPW.

Both RPW and CPW are designed to leverage more heuristic information and reduce the need for costly CPD lookups during the online search phase.

Datasets

The experiments were conducted on five game benchmarks from the Grid-Based Path Planning Competition (GPPC):

  • BGII: A small map set with 120 maps.
  • DAO (Dragon Age: Origins): A medium-sized map set with 156 maps.
  • DA (Dragon Age II): A medium-sized map set with 67 maps.
  • Warcraft: A large map benchmark with 36 maps.
  • Starcraft: A large map benchmark with 75 maps.

These benchmarks contain maps with varying numbers of nodes, ranging from 100 to 760,000. The paper does not introduce new benchmarks but uses existing ones to evaluate the proposed methods against established baselines.

Key Insights and Ideas

  • Flexibility is Key: The core insight is that by moving away from rigid, square-shaped proximity areas, path planning algorithms can become significantly more robust and efficient, especially in complex environments.
  • Larger Proximity = Better Performance: Both RPW and CPW demonstrate that a larger, more flexible proximity area directly translates to improved search efficiency and reduced search costs. This is because more heuristic information can be utilized, and fewer expensive CPD lookups are needed.
  • Trade-offs Exist: While CPW offers the largest proximity areas and often the best performance, it comes with a higher auxiliary data cost, potentially increasing the overall CPD size. This highlights a common trade-off between compression and memory usage.
  • Impact on Compression: The improved proximity areas not only speed up search but also lead to more concise compressed path databases, reducing the number of RLE runs required.

Key Results

The paper reports significant improvements across various metrics:

  • Search Efficiency: RPW and CPW are substantially faster than CPDs_PW, with improvements of up to three orders of magnitude in search efficiency.
  • Search Cost: The number of binary searches required is drastically reduced by RPW and CPW, with CPDs_CPW often requiring the fewest.
  • Compression Cost: The methods show higher compression cost factors (CRLE-runs), meaning they produce more compressed RLE runs, which is beneficial for storage.
  • Compression Capability: CPDs_CPW exhibits the highest compression capability factor (Cfirst-move), indicating smaller first-move arrays.
  • Comparison to Topping: In a comparison against the Topping algorithm, CPDs_CPW is shown to be competitive in search costs while using significantly less memory (half the size).

Limitations and Future Work

  • Memory Overhead of CPW: The paper acknowledges that while CPW offers superior performance, its auxiliary data requirement is four times that of PW and RPW, leading to a larger CPD size and potentially higher memory costs, especially on small maps.
  • Future Work: The authors plan to explore ways to reduce search time while maintaining optimality, compression, and search capability. They also aim to investigate new encoding alternatives to RLE and explore combination algorithms compatible with CPDs that offer powerful search performance without incurring high internal interaction storage costs.

Summary updated

BibTeX
@inproceedings{chen2024more,
  author = {Xi Chen and Yue Zhang and Yonggang Zhang},
  title = {{More Flexible Proximity Wildcards Path Planning with Compressed Path Databases}},
  booktitle = {ICAPS},
  year = {2024},
  doi = {10.1609/icaps.v34i1.31463},
}
Figure