ECBS with Flex Distribution for Bounded-Suboptimal Multi-Agent Path Finding

Shao-Hung Chan, Jiaoyang Li, Graeme Gange, Daniel Harabor, Peter J. Stuckey, Sven Koenig

Introduction

Multi-Agent Path Finding (MAPF) is a critical challenge in robotics, involving the coordination of multiple agents to reach their goals without collisions. While optimal solutions are computationally expensive (NP-hard), bounded-suboptimal algorithms like Enhanced Conflict-Based Search (ECBS) provide a practical alternative. ECBS guarantees that the solution cost is within a factor $w$ of the optimal cost. However, a significant limitation of standard ECBS is its requirement that every agent's individual path must satisfy this suboptimality bound. This rigid constraint often forces the high-level search to work harder to resolve conflicts that could be easily avoided if a single agent were allowed a slightly larger detour.

This paper presents Flexible ECBS (FECBS), a novel approach that relaxes individual constraints in favor of a global suboptimality budget. By allowing agents to share "flex," FECBS improves search efficiency and success rates in complex environments.

Methodology

The core innovation of FECBS is the transition from local, per-agent constraints to a global suboptimality budget. The algorithm builds upon the standard Conflict-Based Search (CBS) framework, which uses a high-level Constraint Tree to resolve collisions and a low-level search to find individual paths.

The Flex Term

FECBS introduces a "flex" value, $\Delta_i$, for each agent $i$. This value represents the cumulative "leftover" budget from other agents whose paths are already determined. If some agents find paths significantly shorter than their individual $w$-bounds, the resulting surplus is added to a global pool. This allows subsequent agents to utilize this extra slack to take longer, collision-free paths that would otherwise be forbidden under standard ECBS.

Search Process

  1. Low-Level Search: When planning for an individual agent, FECBS uses a focal search with a threshold of $w \cdot LB_i + \Delta_i$, where $LB_i$ is the agent's lower bound. This expanded threshold allows the low-level planner to find paths that avoid existing conflicts more effectively.
  2. High-Level Search: Because the low-level search is more flexible, it generates paths with fewer collisions. Consequently, the high-level Constraint Tree remains smaller, leading to faster convergence.
  3. Tie-Breaking Heuristics: To ensure that agents do not take unnecessary detours simply because the budget allows it, the authors implement a tie-breaking rule. When multiple paths have the same number of conflicts, the algorithm prefers the one with the smallest $f$-value (shortest distance).

Experimental Evaluation

The researchers evaluated FECBS using standard benchmarks from the MAPF community, specifically focusing on two distinct environments:

  • Grid Map: A $32 \times 32$ grid with 20% obstacle density, testing performance in tight, constrained spaces.
  • Den520d: A large $257 \times 256$ map from a video game, representing more complex and realistic navigation scenarios.

The experiments compared FECBS against state-of-the-art variants, including ECBS combined with Rapid Randomized Restarts (RR).

Key Results

The results indicate that FECBS significantly outperforms standard ECBS in terms of success rates within a fixed 5-minute time limit.

Success rates of FECBS vs ECBS on Grid and Den520d maps.

As shown in the figures, FECBS (RR) maintains a high success rate on the Grid map even as the number of agents increases toward 100. In contrast, standard ECBS performance drops sharply after 40 agents. On the Den520d map, FECBS demonstrates superior scalability, handling up to 250 agents with a significantly higher success rate than its counterparts. The primary advantage of FECBS is its ability to reduce the number of high-level node expansions, which is typically the bottleneck in MAPF solvers.

Discussion

The fundamental insight of this work is that the mathematical guarantee of bounded suboptimality only requires the Sum of Costs (SoC) to be bounded. Restricting individual agents is an unnecessary constraint that hampers search efficiency. By prioritizing collision avoidance over individual path optimality, FECBS resolves conflicts earlier in the search process. The authors provide a formal proof that their "flex" calculation ensures the high-level search list (FOCALH) never becomes empty, thereby maintaining the algorithm's completeness and suboptimality guarantees.

Limitations and Future Work

While FECBS shows promising results, several areas for improvement remain:

  • Root Node Constraints: Currently, the flexible threshold is only applied at non-root nodes of the constraint tree. At the root node, the algorithm lacks information about available flex and defaults to standard behavior.
  • Flex Allocation: The current model distributes flex based on agent processing order. Future work could investigate more sophisticated allocation strategies to provide budget to the agents that need it most.
  • Heuristic Sensitivity: The algorithm's performance is sensitive to tie-breaking rules. Refining these heuristics could further improve the stability and efficiency of the search.

Summary updated

BibTeX
@inproceedings{chan2021ecbs,
  author = {Shao-Hung Chan and Jiaoyang Li and Graeme Gange and Daniel Harabor and Peter J. Stuckey and Sven Koenig},
  title = {{ECBS with Flex Distribution for Bounded-Suboptimal Multi-Agent Path Finding}},
  booktitle = {SOCS},
  year = {2021},
  doi = {10.1609/socs.v12i1.18569},
}
Figure