Pairwise symmetry reasoning for multi-agent path finding search

Jiaoyang Li, Daniel Harabor, Peter J. Stuckey, Hang Ma, Graeme Gange, Sven Koenig

TL;DR

This paper identifies "pairwise symmetry" as a primary reason why Multi-Agent Path Finding (MAPF) is computationally expensive. The authors introduce a suite of reasoning techniques that detect these symmetries and resolve them in a single branching step, reducing search tree sizes by up to four orders of magnitude and increasing scalability by up to 30x.

What Problem Does This Paper Address?

Multi-Agent Path Finding (MAPF) involves planning collision-free paths for a team of agents (like robots in a warehouse) while minimizing travel time. A leading approach is Conflict-Based Search (CBS), which plans paths for agents independently and then resolves collisions by adding constraints and branching.

However, CBS often falls into a trap called pairwise symmetry. This happens when two agents have many different shortest paths to their goals, but every combination of those paths results in a collision. Standard CBS tries to resolve these collisions one by one, leading to an exponential explosion of the search tree. For example, in a simple open room, two agents trying to cross paths might generate thousands of nearly identical "failed" search nodes before the algorithm finds a way for one to wait for the other.

Methods

The authors propose a framework called RTC (Reasoning Technique Combination) that identifies and resolves three specific types of pairwise symmetries:

  1. Rectangle Symmetry: Occurs in open areas where agents moving in the same direction have many Manhattan-optimal paths that all collide. The authors use barrier constraints to block off entire "exit borders" of the rectangular conflict area in a single branch.
  2. Target Symmetry: Occurs when one agent reaches its target and stays there, blocking the path of another agent. The authors introduce length constraints (e.g., "Agent A must finish after time $T$") to force the search to consider different arrival times.
  3. Corridor Symmetry: Occurs in narrow passages where agents moving in opposite directions must wait for each other. The authors use range constraints to prevent an agent from entering a corridor during a specific time window.

Crucially, the authors provide a Generalized Rectangle Reasoning technique that works on non-rectangular areas and planar graphs, moving beyond simple grid-based assumptions. They also prove that these techniques are "mutually disjunctive," meaning they preserve the completeness and optimality of the original CBS algorithm.

Datasets

The researchers evaluated their techniques using the standard MAPF benchmark suite, which includes eight distinct map types:

  • Random: 32x32 grids with 20% obstacles.
  • Empty: 32x32 open grids.
  • Warehouse: Large-scale industrial layouts.
  • Game Maps: Complex environments from Dragon Age: Origins (e.g., den520d, brc202d) and StarCraft (Paris_1_256).
  • Room/Maze: Structured environments with narrow passages.

Key Insights and Ideas

  • The "Single Branch" Solution: The core "aha" moment is realizing that instead of telling an agent "don't be at cell X at time T," you can tell it "don't use this entire border of the conflict zone." This eliminates thousands of symmetric, failing paths instantly.
  • Symmetry is Ubiquitous: Symmetries aren't just theoretical edge cases; they account for roughly 70% of the conflicts used to expand search nodes in many standard benchmarks.
  • Heuristics vs. Constraints: While previous work (like CBSH2) tried to use symmetry to improve the heuristic (the "guess" of the remaining cost), this paper shows that using symmetry to create better constraints (the "rules" of the search) is significantly more effective.

Key Results

  • Node Reduction: The RTC framework reduced the number of expanded nodes in the search tree by up to four orders of magnitude (10,000x fewer nodes).
  • Scalability: In the "City" map, vanilla CBS could only handle 3 agents with a 100% success rate; with RTC, it handled 89 agents—a nearly 30x improvement.
  • Efficiency: RTC resolves the majority of two-agent collisions in a single branching step. Even in the worst-case map (Maze), it solved 81% of two-agent instances with just one node expansion.
  • Performance: RTC consistently outperformed other state-of-the-art techniques like "Mutex Propagation" because it handles semi-cardinal and non-cardinal conflicts, not just the most obvious "cardinal" ones.

Limitations and Future Work

  • Multi-Agent Interactions: The current techniques focus on pairwise (two-agent) symmetries. In very congested environments, "3-way" or "n-way" symmetries can occur, which this framework does not yet address.
  • Agent Dynamics: The paper assumes "classic" MAPF (discrete time, uniform speed, stay-at-target). The authors suggest extending this to $k$-robust MAPF (where agents need a safety buffer), agents with different sizes, or agents with varying speeds (which creates "chasing symmetries").
  • Search Overhead: While the reasoning techniques are fast, they do add some computational overhead per node. On very simple maps with few corridors or open spaces (like some Maze maps), the overhead might not always be worth the reduction in nodes.

Summary updated

BibTeX
@article{li2021pairwise,
  author = {Jiaoyang Li and Daniel Harabor and Peter J. Stuckey and Hang Ma and Graeme Gange and Sven Koenig},
  title = {{Pairwise symmetry reasoning for multi-agent path finding search}},
  journal = {Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=Ww8FjpuMBCB},
}
Figure