Conflict-Based Search For Optimal Multi-Agent Path Finding

Guni Sharon, Roni Stern, Ariel Felner, Nathan R. Sturtevant

Abstract

Multi-Agent Path Finding (MAPF) is a critical challenge in robotics and digital simulations, where multiple agents must reach their goals without collisions while minimizing total travel time. Conflict-Based Search (CBS) is a novel two-level algorithm that addresses this problem by decoupling the search for individual paths from the resolution of conflicts. This paper presents the CBS framework, demonstrating its ability to achieve significant speedups over previous state-of-the-art methods, particularly in constrained environments, while maintaining a guarantee of optimality.

Introduction

The MAPF problem involves finding collision-free paths for a set of agents from their respective start locations to their goal locations. The objective is typically to minimize the sum of costs (total time steps). Traditionally, this problem is solved by searching a joint state space that grows exponentially with the number of agents, making standard A* search impractical for large groups. CBS offers a paradigm shift by searching the space of conflicts rather than the space of all possible agent positions.

The Conflict-Based Search (CBS) Algorithm

CBS operates on two levels to find an optimal solution efficiently:

The low-level search focuses on individual agents. For each agent, it finds the shortest path from start to goal that satisfies a set of constraints. A constraint is defined as a tuple $(a, v, t)$, meaning agent $a$ cannot occupy vertex $v$ at time $t$.

The high-level search manages a Constraint Tree (CT). Each node in the CT contains a set of constraints and a solution consisting of individual paths for all agents. The root node starts with an empty set of constraints.

When a node is expanded, the algorithm checks for collisions between the current paths. If a conflict is found—for instance, agents $A$ and $B$ both planned to be at location $X$ at time $T$—the high-level search "splits" that node into two children. One child adds a constraint for Agent $A$ to avoid $(X, T)$, and the other adds a similar constraint for Agent $B$.

Example of a Constraint Tree (CT) in the CBS high-level search, showing how conflicts are resolved by adding constraints and re-planning paths.

The high-level search uses a best-first strategy, always exploring the node with the lowest total cost. This ensures that the first collision-free solution found is guaranteed to be optimal.

Experimental Evaluation

The performance of CBS was evaluated using open grids and standard benchmarks from Sturtevant’s repository, which include complex layouts representative of real-world environments. CBS was compared against leading algorithms: A*+ID+OD (an optimized joint-state A) and ICTS* (Increasing Cost Tree Search).

Results and Discussion

Experimental results confirm that CBS is highly effective, particularly in environments characterized by narrow corridors and bottlenecks. In such "corridor-heavy" maps, agents frequently conflict at specific points, which CBS resolves with minimal constraints.

Success rate comparison of CBS, ICTS+3E, and A*+OD as the number of agents increases. CBS maintains a higher success rate for larger agent groups.

Key findings include:

  • Efficiency: CBS often achieves a 10x speedup over previous methods by avoiding the exploration of the massive joint state space.
  • Topology Sensitivity: While CBS excels in corridors, its performance can degrade in large open spaces where the number of possible conflict resolutions is vast, leading to a bloated Constraint Tree.
  • Optimality: CBS consistently finds the minimum total cost solution, a feat many faster, non-optimal algorithms cannot guarantee.

Conclusion

Conflict-Based Search represents a significant advancement in optimal MAPF. By focusing on conflict resolution rather than joint-state exploration, it provides a scalable solution for complex environments. Future work includes Meta-Agent CBS (MA-CBS), which groups frequently conflicting agents to mitigate the challenges posed by open spaces, suggesting a path toward even more robust multi-agent coordination.

Summary updated

BibTeX
@inproceedings{sharon2012conflict,
  author = {Guni Sharon and Roni Stern and Ariel Felner and Nathan R. Sturtevant},
  title = {{Conflict-Based Search For Optimal Multi-Agent Path Finding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2012},
  doi = {10.1609/aaai.v26i1.8140},
}
Figure