X*: Anytime Multiagent Planning With Bounded Search

Kyle Vedder, Joydeep Biswas

Introduction

Multi-Agent Path Finding (MAPF)—the challenge of coordinating a fleet of agents from their respective starts to goals without collisions—is a fundamental problem in robotics, particularly for automated warehouses and drone swarms. While MAPF is computationally difficult (NP-hard), real-world applications require solutions in milliseconds. Traditional approaches typically fall into two categories: optimal solvers that are often too slow for real-time use, and fast suboptimal solvers that produce inefficient paths which are difficult to refine.

This paper introduces X (Expanding A), an anytime planning algorithm designed to bridge this gap. X provides a valid, high-quality solution almost immediately and iteratively improves it toward optimality as time permits. By exploiting the "sparsity" of agent interactions in real-world environments, X achieves significant speedups over existing state-of-the-art solvers.

The WAMPF Framework and X*

The authors propose the Windowed Anytime Multiagent Planning Framework (WAMPF), which is built on the observation that in many practical scenarios, agent collisions are sparse and involve only a few agents in localized areas.

WAMPF begins by planning optimal paths for each agent independently. When collisions are detected, the framework creates a "window"—a localized search subspace—around the conflict to perform a repair. These repairs are conducted chronologically to ensure that resolving a current conflict does not invalidate previous fixes. As the algorithm continues to run, these windows are expanded, and the repairs are refined until the solution converges to a global optimum.

X serves as the high-performance implementation of this framework. Its primary innovation is search reuse. Unlike naive windowed searches that restart from scratch when a window grows, X utilizes specialized bookkeeping to track "out-of-window" neighbors and "closed values." This allows it to transform and resume the previous search tree, eliminating massive amounts of redundant computation and enabling rapid path refinement.

Experimental Evaluation

The performance of X* was evaluated across two primary types of environments:

  1. Random Grids: 100x100 four-connected grids with obstacle densities of 1%, 5%, and 10% to simulate varying levels of sparsity.
  2. Standard Benchmarks: Six maps from the MovingAI MAPF benchmark suite, including large-scale game maps like den520d and brc202d.

Key Results

  • Rapid Initialization: In sparse domains, X finds valid paths at least an order of magnitude faster than state-of-the-art anytime (AFS) or optimal (M) solvers. For 10 agents, solutions are often found in under 10 milliseconds.
  • High Path Quality: While fast suboptimal solvers often produce paths significantly longer than the optimum, X*’s initial valid path is typically within 0.5% of the optimal cost.
  • Scalability: X demonstrates superior scalability compared to Conflict-Based Search (CBS). In sparse environments, X successfully found optimal paths for up to 160 agents within the timeout, a feat other planners could not match.
  • Anytime Trade-offs: The framework does introduce some overhead; reaching a provably optimal solution can take approximately 1.5x longer than a standard A* search in small-scale tests due to the windowing management.

Discussion and Limitations

The core strength of X* lies in its ability to treat sparsity as an asset. By decomposing a global joint-space problem into local repairs and recycling search effort, it provides the responsiveness required for real-time systems without sacrificing path efficiency.

However, the algorithm's performance is inherently tied to the sparsity of the domain. In scenarios where agents are forced into tight bottlenecks, the local windows may merge into a single high-dimensional search space, leading to the same combinatorial explosion faced by traditional solvers.

Conclusion

X* represents a significant step forward for anytime MAPF. By combining localized windowed repairs with efficient search reuse, it offers a practical solution for high-pressure robotics environments. Future work may involve integrating more advanced internal solvers like CBS into the windowing framework or exploring dynamic, non-rectangular window shapes to better accommodate complex map geometries.

Summary updated

BibTeX
@inproceedings{vedder2019x,
  author = {Kyle Vedder and Joydeep Biswas},
  title = {{X*: Anytime Multiagent Planning With Bounded Search}},
  booktitle = {AAMAS},
  year = {2019},
}
Figure