Mutex Propagation in Multi-Agent Path Finding for Large Agents

Han Zhang, Yutong Li, Jiaoyang Li, T. K. Satish Kumar, Sven Koenig

Abstract

Multi-Agent Path Finding (MAPF) for large agents (LA-MAPF) presents significant challenges due to the complex symmetries that arise from physical agent shapes. Traditional rule-based symmetry breaking techniques, designed for point agents, often fail to generalize to agents of varying sizes. This paper introduces a generalized mutex propagation technique that automatically detects and resolves these symmetries using logic-based reasoning on Multi-Decision Diagrams (MDDs). By identifying "cardinal conflicts" early in the search process, the proposed MC-CBS-MS algorithm achieves up to a 125x speedup over state-of-the-art baselines across various benchmark maps.

Introduction

In Multi-Agent Path Finding (MAPF), the goal is to navigate multiple robots from their respective start positions to goals without collisions. While standard MAPF often treats robots as dimensionless points, real-world applications involve "large agents" with specific physical volumes, a problem known as LA-MAPF.

The primary bottleneck in LA-MAPF is the exponential growth of the search space caused by symmetries. For instance, two agents in a narrow corridor can collide in numerous ways, each of which a standard search algorithm might attempt to resolve independently. While manual rules can mitigate this for point agents, they are difficult to design for heterogeneous agent shapes (e.g., $2 \times 2$ vs. $3 \times 3$ squares). This work proposes an automated, logic-driven approach to detect these doomed path combinations regardless of agent geometry.

Methodology: Generalized Mutex Propagation

The proposed method builds upon Conflict-Based Search (CBS), a two-level framework where the high level manages agent conflicts and the low level computes individual paths. The core innovation is the generalization of Mutex Propagation.

The process begins by constructing Multi-Decision Diagrams (MDDs) for each agent, representing all possible paths of a given cost. The algorithm then identifies "initial mutexes"—pairs of locations that two agents cannot occupy simultaneously due to physical overlap. These mutexes are then "propagated" through the MDD layers. If all paths for Agent A to reach a certain state are blocked by Agent B being in another state, those states are marked as a propagated mutex.

Visualization of Mutex Propagation in Multi-Decision Diagrams (MDDs). Initial mutexes (green) are identified based on physical overlap, while propagated mutexes (red) are derived logically to prune the search space.

By identifying "Cardinal Conflicts"—where the goal nodes of two agents' MDDs are mutexed—the algorithm can determine early that no conflict-free paths exist at the current costs. This allows the search to skip thousands of redundant iterations. Additionally, a new conflict selection heuristic prioritizes conflicts that are "harder" to resolve, based on the required path cost increase ($\delta$).

Experimental Evaluation

The algorithm was evaluated on standard MovingAI MAPF benchmarks, including open grids (empty-48-48), random obstacle maps (random-64-64-10), complex game maps (lak303d), and corridor-heavy mazes (maze-128-128-10). Testing involved agents with square sizes of $2 \times 2$ and $3 \times 3$.

Results and Discussion

The enhanced algorithm, MC-CBS-MS, demonstrates significant performance improvements over the baseline MC-CBS. In the empty-48-48 map with 20 agents, the success rate improved from 25% to over 75%.

The most striking result is the runtime efficiency. For difficult problem instances, MC-CBS-MS achieved speedups of over 125x compared to the baseline. This efficiency stems from the algorithm's ability to automate "human-like" reasoning, discovering complex blocking patterns like corridor symmetries through pure logic rather than hard-coded geometric rules.

Runtime comparison between MC-CBS and MC-CBS-MS across different benchmarks. The proposed method (MC-CBS-MS) achieves up to 125x speedup on complex instances.

While mutex reasoning introduces a minor computational overhead for simple scenarios, it is highly effective as agent density and map complexity increase.

Conclusion and Future Work

This paper presents a robust, shape-agnostic approach to LA-MAPF by generalizing mutex propagation. By shifting from geometric rules to logical propagation, the method effectively handles complex symmetries for agents of any size.

Future research will focus on extending mutex propagation across different timesteps to handle temporal symmetries and "k-robust" constraints, where safety buffers are required between agents entering the same location at different times.

Summary updated

BibTeX
@inproceedings{zhang2022mutex,
  author = {Han Zhang and Yutong Li and Jiaoyang Li and T. K. Satish Kumar and Sven Koenig},
  title = {{Mutex Propagation in Multi-Agent Path Finding for Large Agents}},
  booktitle = {SOCS},
  year = {2022},
  doi = {10.1609/socs.v15i1.21776},
}
Figure