Improving LaCAM for Scalable Eventually Optimal Multi-Agent Pathfinding

Keisuke Okumura

Abstract

Multi-Agent Pathfinding (MAPF) is a critical challenge in robotics, requiring collision-free paths for multiple agents in shared environments. Traditional solvers face a stark trade-off between scalability and optimality. This paper presents LaCAM, an anytime search algorithm that bridges this gap. By integrating lazy successor generation with a tree-rewriting mechanism, LaCAM achieves state-of-the-art scalability, solving instances with up to 1,000 agents while guaranteeing eventual convergence to the optimal solution.

Introduction

Multi-Agent Pathfinding (MAPF) involves navigating a team of agents from start to goal locations without collisions. As an NP-hard problem, the state space expands exponentially with the number of agents. Historically, solvers have been divided into two categories: optimal solvers (e.g., A, CBS), which find the best paths but struggle with more than a few dozen agents, and sub-optimal solvers (e.g., PIBT, PP), which scale to thousands of agents but lack quality guarantees. LaCAM aims to provide the best of both worlds: high scalability and eventual optimality.

Methods: Lazy Search and Tree Rewriting

LaCAM* builds upon the Lazy Constraints Addition Search (LaCAM) framework. The core innovation lies in transforming a one-shot search into an anytime process.

Anytime LaCAM*

While the original LaCAM terminates upon finding the first valid solution, LaCAM continues to explore the search space. It employs a tree-rewriting mechanism similar to RRT. When a better path to an existing node is discovered, the algorithm updates the node's parent and its "cost-to-come" (g-value). This iterative refinement allows the solver to find initial solutions rapidly and improve them over time toward the optimum.

Enhanced Configuration Generation

To manage the branching factor, LaCAM* uses a Configuration Generator (specifically Priority Inheritance with Backtracking, or PIBT) to propose joint moves lazily. To address "livelocks" in narrow corridors, the authors introduced a "swap" rule. This local coordination mechanism allows agents to trade places using nearby "hubs," significantly reducing the search iterations required for complex spatial maneuvers.

The search process in LaCAM* progresses from initial greedy estimates to refined paths by managing constraints and exploring successors lazily.

Experimental Results

The algorithm was rigorously tested against the standard MAPF benchmark, encompassing 33 maps and 13,900 instances with up to 1,000 agents.

Scalability and Success Rate

LaCAM* demonstrated unprecedented performance, solving 99% of all benchmark instances within a 10-second limit. This performance drastically exceeds that of previous bounded sub-optimal solvers like EECBS and LNS2, particularly in high-density scenarios where agents occupy a large percentage of the available space.

Performance comparison of LaCAM* against various MAPF algorithms. LaCAM* (blue) achieves the highest success rate (99%) within the 30-second runtime limit.

Solution Quality

Despite its focus on scalability, LaCAM* produces high-quality initial solutions, often near-optimal, within milliseconds. The "eventually optimal" property ensures that given more time, the algorithm will converge to the absolute shortest path, a feature missing from most high-scalability solvers.

Conclusion

LaCAM* represents a significant advancement in MAPF, effectively breaking the scalability-optimality barrier. By combining lazy search with anytime refinement and local coordination rules, it provides a robust solution for large-scale robotic deployments. Future work will focus on accelerating the convergence speed in massive environments and generalizing the lazy search philosophy to broader planning domains.

Summary updated

BibTeX
@inproceedings{okumura2023improving,
  author = {Keisuke Okumura},
  title = {{Improving LaCAM for Scalable Eventually Optimal Multi-Agent Pathfinding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/28},
}
Figure