Improved Heuristics for Multi-Agent Path Finding with Conflict-Based Search

Jiaoyang Li, Ariel Felner, Eli Boyarski, Hang Ma, Sven Koenig

Multi-Agent Path Finding (MAPF) is a critical challenge in robotics and logistics, requiring collision-free paths for multiple agents on a graph while minimizing total travel time. This problem is NP-hard to solve optimally. One of the most successful frameworks for MAPF is Conflict-Based Search (CBS), which utilizes a two-level search: a high-level search that resolves collisions by adding constraints to a "Constraint Tree" (CT), and a low-level search that finds individual paths. This paper, presented at IJCAI 2019, introduces a significant leap in CBS efficiency by moving beyond simple conflict counting to deeper reasoning about agent dependencies.

Beyond Cardinal Conflicts

The efficiency of CBS depends heavily on the heuristic used to guide its high-level search. Previous state-of-the-art heuristics, such as the Conflict Graph (CG), primarily considered "cardinal conflicts"—collisions where every possible shortest path for both involved agents results in a hit. However, CG is limited because it ignores "non-cardinal" conflicts that might still be unavoidable or expensive to resolve in future search steps.

Proposed Heuristics: DG and WDG

The authors propose moving from a simple conflict graph to a Pairwise Dependency Graph using two new admissible heuristics:

  1. Dependency Graph (DG) Heuristic: Instead of just looking at current paths, DG determines if any pair of cost-minimal paths for two agents is conflict-free. This is achieved by merging the Multi-Valued Decision Diagrams (MDDs) of two agents. If the joint MDD is empty, the agents are deemed "dependent," meaning at least one must take a detour. The h-value is derived from the Minimum Vertex Cover (MVC) of this dependency graph.
Merging Multi-Valued Decision Diagrams (MDDs) to identify agent dependencies.
  1. Weighted Dependency Graph (WDG) Heuristic: As the paper's primary contribution, WDG calculates the minimum additional cost ($\Delta_{ij}$) required to resolve all conflicts between agent $i$ and agent $j$. The h-value is the Edge-Weighted Minimum Vertex Cover (EWMVC) of this weighted graph. WDG captures the reality that some conflicts, such as those in narrow corridors, force significant detours or wait times.

To manage the computational overhead of these advanced heuristics, the authors implemented Lazy Computation (calculating heuristics only when a node is popped from the OPEN list) and Memoization to cache pairwise dependency results.

Experimental Results

The algorithms were evaluated across various benchmarks, including small 20x20 grids and large maps like the 192x192 lak503d grid. The results demonstrate a clear hierarchy of informedness: $WDG \geq DG \geq CG$. While WDG is more expensive to compute per node, it drastically reduces the number of nodes expanded, leading to massive overall speedups.

Success rates on a complex map, demonstrating the performance of WDG and its variants against baseline solvers.

In challenging scenarios, WDG reduced both the number of expanded nodes and total runtime by up to a factor of 50 compared to the previous best heuristic. When combined with other techniques like "Rectangle Reasoning" (WDG+R), the solver established a new state-of-the-art for optimal CBS-based pathfinding, maintaining high success rates even as agent density increased.

Conclusion

By reasoning about pairwise dependencies and the costs of resolving them, the DG and WDG heuristics provide much tighter lower bounds on path costs than previous methods. While currently limited to pairwise analysis and facing the NP-hardness of EWMVC, this work represents a major advancement in the scalability of optimal MAPF solvers.

Summary updated

BibTeX
@inproceedings{li2019improved,
  author = {Jiaoyang Li and Ariel Felner and Eli Boyarski and Hang Ma and Sven Koenig},
  title = {{Improved Heuristics for Multi-Agent Path Finding with Conflict-Based Search}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/63},
}
Figure