X*: Anytime Multi-Agent Path Finding for Sparse Domains using Window-Based Iterative Repairs

Kyle Vedder, Joydeep Biswas · DOI

Introduction

Multi-Agent Path Finding (MAPF) is a fundamental challenge in robotics, requiring the coordination of multiple agents to reach their respective goals without collisions. As the number of agents increases, the state space grows exponentially, making optimal solutions computationally expensive. In real-world applications such as warehouse automation or drone swarms, environments are often "sparse"—meaning agents have significant space to maneuver, and conflicts are localized.

This paper introduces X, an anytime algorithm designed to exploit this sparsity. X prioritizes finding an initial valid solution rapidly and then iteratively improves it toward optimality. By focusing on local "window-based" repairs and implementing a novel search-reuse mechanism, X* achieves significant performance gains over existing state-of-the-art solvers.

The Windowed Anytime Multiagent Planning Framework (WAMPF)

The core strategy of the proposed approach is the Windowed Anytime Multiagent Planning Framework (WAMPF). WAMPF operates on a simple but effective premise: start by planning individual paths for each agent as if they were alone in the environment. When collisions are detected, the framework does not restart the entire planning process. Instead, it identifies a "window"—a localized subset of the agents and the spatio-temporal state space where the conflict occurs.

WAMPF performs local repairs within these windows. If a window is too small to find a valid or optimal path, the framework iteratively expands the window's size or the set of included agents. This localized focus prevents the solver from being overwhelmed by the global complexity of the joint state space.

X*: Efficient Search Reuse

While WAMPF provides the high-level strategy, X (Expanding A) is the specific implementation that enables efficient iterative repairs. A major bottleneck in anytime algorithms is the overhead of restarting searches when parameters (like window size) change. X* addresses this through a sophisticated search-reuse mechanism.

When a repair window grows, X* performs "bookkeeping" to transform the existing search tree rather than discarding it. It accounts for three primary types of changes:

  1. Growing the window: Expanding the searchable area.
  2. Moving the start: Adjusting the entry point of the repair.
  3. Moving the goal: Adjusting the exit point of the repair.

By reusing previous search data, X* converges to optimal solutions much faster than "naive" windowing approaches that lack search reuse.

Maintaining Global Stability: The Role of Padding

A critical challenge in local repairs is the "butterfly effect," where a change in one agent's path to avoid a local collision creates new collisions elsewhere. X mitigates this by using path padding*. When a shorter, more efficient repair is found within a window, the algorithm "pads" the path with wait actions. This ensures that agents exit the repair window at the exact time they were originally scheduled to, maintaining the validity of the rest of the global plan.

Experimental Evaluation

The authors evaluated X* against several benchmarks, including random grids with varying obstacle densities (1%, 5%, and 10%) and standardized Moving AI benchmarks representing city layouts and game environments.

Speed and Scalability

X demonstrated a significant advantage in finding initial solutions. In many scenarios, it was at least an order of magnitude faster than optimal solvers like M or other anytime solvers like AFS. In scaling tests with constant agent density, X* was the only solver capable of consistently finding solutions for up to 160 agents within the time limit, whereas competing algorithms frequently timed out.

Solution Quality

One of the most impressive findings was the quality of the "anytime" solutions. X* often found a valid, collision-free path within 0.5% of the optimal cost in its very first iteration, typically in under 10 milliseconds. This makes it highly suitable for real-time applications where immediate movement is more valuable than perfect optimality.

Conclusion and Future Work

X* represents a significant step forward for MAPF in sparse domains. By combining localized window-based repairs with efficient search reuse, it provides a scalable, fast, and high-quality planning solution that outperforms traditional solvers in speed and scalability.

Future research directions include integrating more complex solvers (like Conflict-Based Search) within the repair windows, exploring non-rectangular window geometries, and developing formal metrics for "sparsity" to automatically determine when X* is the optimal choice for a given problem.

Summary updated

BibTeX
@inproceedings{vedder2019x,
  author = {Kyle Vedder and Joydeep Biswas},
  title = {{X*: Anytime Multi-Agent Path Finding for Sparse Domains using Window-Based Iterative Repairs}},
  booktitle = {AAMAS},
  year = {2019},
}
Figure