NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Completeness of Conflict-Based Search: Temporally-Relative Duplicate Pruning

Thayne T. Walker, Nathan R. SturtevantarXiv 2024 · DOI

Abstract

Conflict-Based Search (CBS) is a state-of-the-art algorithm for Multi-Agent Pathfinding (MAPF), yet it has historically lacked native completeness. On unsolvable instances, standard CBS may search indefinitely without termination. This paper presents Temporally-Relative Duplicate Pruning (TRDP), a method that enables CBS to detect multi-agent loops by evaluating states based on relative rather than absolute time. By incorporating these loops as "TRD conflicts" and utilizing $k$-way branching, the algorithm achieves completeness for discrete and rational-time MAPF. Evaluations on standard benchmarks show that TRDP ensures termination on unsolvable problems with virtually no performance penalty on solvable ones.

Introduction

Multi-Agent Pathfinding (MAPF) involves navigating multiple agents from start to goal locations without collisions. Conflict-Based Search (CBS) is a popular hierarchical algorithm for this task, finding optimal solutions by resolving collisions through constraints. However, a significant theoretical and practical limitation of CBS is its incompleteness: in scenarios where no solution exists—such as two agents attempting to swap positions in a narrow corridor—the algorithm fails to terminate. Traditionally, this "zombie" problem required running a secondary reachability algorithm in parallel, a solution that is often cumbersome or inapplicable in complex environments.

Methods: Temporally-Relative Duplicate Pruning

The authors propose TRDP to address incompleteness by identifying multi-agent "loops" as a specific type of conflict.

Relative Time and State Detection

In continuous-time MAPF, the state space is technically infinite because agents can occupy the same location at an infinite number of timestamps. TRDP overcomes this by focusing on relative time. A "temporally-relative duplicate" occurs when a group of agents occupies the same set of locations they previously visited, with identical time offsets between them. By normalizing time relative to the earliest agent in a joint state, the infinite search space is mapped into a finite set of relative configurations.

TRD Conflicts and Search Tree Management

When a loop is detected, it is classified as a TRD conflict. Unlike standard binary conflicts, TRDP utilizes a $k$-way split, adding constraints to all $k$ agents involved in the loop to prevent the recurrence of that specific joint state. To maintain efficiency, a bypass procedure is employed: if an agent can avoid a loop without increasing its path cost or creating new conflicts, the search tree adopts that path immediately, avoiding unnecessary branching.

High-level search tree with TRD conflicts.

Evaluation and Results

The algorithm was evaluated using the standard MAPF benchmark suite, including city maps (Berlin), game maps (Dragon Age: Origins), and various grid configurations (mazes, rooms, and random grids).

Performance and Completeness

The primary achievement of TRDP is guaranteed termination. The paper provides formal proof that CBS+TRDP is optimal and complete for classic MAPF and MAPF with rational-valued time ($MAPF_Q$).

Crucially, the logic for TRDP is "lazy." In over 32,000 experiments on standard benchmarks, TRDP was triggered in less than 0.01% of cases for solvable problems, resulting in near-zero computational overhead. In some dense, solvable instances, TRDP actually improved performance by pruning redundant search branches that the standard algorithm would have explored.

Performance comparison with and without TRDP.

Conclusion

Temporally-Relative Duplicate Pruning provides a robust theoretical foundation for CBS, making it natively complete. By recognizing relative temporal patterns, the algorithm can now prove unsolvability without external assistance. While future work remains to address completeness in true continuous time with irrational values ($MAPF_R$) and to optimize branching in extremely dense scenarios, TRDP represents a major step forward in the reliability of multi-agent pathfinding systems.

Summary updated

BibTeX
@misc{walker2024completeness,
  author = {Thayne T. Walker and Nathan R. Sturtevant},
  title = {{On the Completeness of Conflict-Based Search: Temporally-Relative Duplicate Pruning}},
  year = {2024},
  eprint = {2408.09028},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.09028},
}
Figure