Effectively Incorporating Weighted Cost-to-go Heuristic in Suboptimal CBS

Rishi Veerapaneni, Tushar Kusnur, Maxim Likhachev · DOI

Abstract

Multi-Agent Path Finding (MAPF) is a critical challenge in robotics and logistics. While weighted heuristics are a staple in single-agent search for accelerating pathfinding, their application in Conflict-Based Search (CBS) has historically been viewed as counterproductive due to the potential for increased inter-agent conflicts. This paper introduces a novel "Weighted Focal" variant of Explicit Estimation CBS (WF-EECBS) that explicitly balances low-level search speed with high-level conflict avoidance. By tuning a relative conflict weight parameter, $r$, the proposed method achieves significant speedups—ranging from 1.2x to 10x—over state-of-the-art suboptimal CBS solvers across diverse benchmark maps.

Introduction

Multi-Agent Path Finding (MAPF) involves navigating a fleet of agents from their respective start locations to goals without collisions. Conflict-Based Search (CBS) is a leading framework for this task, operating on two levels: a low-level search that finds individual paths and a high-level search that resolves collisions by imposing constraints.

In single-agent contexts, weighting heuristics (e.g., $f = g + w \cdot h$) allows for faster search at the cost of bounded suboptimality. However, the MAPF community has generally avoided this in CBS, fearing that "greedier" low-level searches would produce paths with excessive conflicts, thereby overwhelming the high-level search. This research challenges that intuition, demonstrating that weighted heuristics can be highly effective when integrated through a balanced focal search strategy.

Methodology: The Weighted Focal Variant

The authors propose WF-EECBS, which incorporates weights into the "Focal" list—a secondary queue in EECBS used to minimize conflicts while staying within a suboptimality bound. The core innovation is a new priority function for the low-level search:

$$f_{focal} = g + w_h \cdot (h + r \cdot c)$$

Here, $g$ represents the path cost so far, $h$ is the cost-to-go heuristic, $c$ is the number of conflicts with other agents' paths, and $r$ is the relative conflict weight.

Conceptual trade-off between high-level and low-level work in CBS variants.

As illustrated in the trade-off diagram above, standard CBS focuses on fast low-level search but often results in more high-level work (more Constraint Tree nodes). Conversely, standard suboptimal CBS variants may reduce high-level work but suffer from slow low-level searches. WF-EECBS allows for an explicit trade-off, finding a "sweet spot" where both levels of the search operate efficiently.

Experimental Setup

The researchers evaluated WF-EECBS on eight diverse maps from the standard MAPF benchmark, including large city maps (Paris_1_256, den520d), warehouse grids (ht_chantry), and various empty or random obstacle grids. Agent counts ranged from 50 to 1000. The primary metric was the speedup relative to the baseline EECBS solver.

Key Results and Discussion

The experiments revealed that performance is highly sensitive to the balance between the heuristic weight $w_h$ and the conflict weight $r$.

Speedup performance across different maps showing the sensitivity to the relative conflict weight r and heuristic weight wh.

The "Goldilocks Zone" of $r$

As shown in the performance plots, there is a clear "Goldilocks zone" (typically $r \in [2, 16]$) where the low-level planner is fast enough to accelerate the search without producing so many conflicts that the high-level search becomes unmanageable. When $r$ is too low, the search ignores conflicts; when $r$ is too high, the low-level search becomes too slow as it tries too hard to avoid every possible collision.

Performance Gains

Initial results showed massive speedups of up to 100x. Following a March 2024 update that corrected a baseline optimization discrepancy (related to "target" conflicts), the authors reported more realistic but still substantial speedups of 1.2x to 10x. Furthermore, WF-EECBS expanded 5–150x fewer low-level nodes per search call, significantly improving efficiency on complex maps with high agent density.

Conclusion

This work demonstrates that weighted heuristics are not only viable but highly beneficial for CBS-based MAPF solvers. By framing the search as a trade-off between low-level and high-level effort, WF-EECBS bridges the gap between fast, greedy prioritized planners and robust, optimal search algorithms. Future research will focus on adaptive hyper-parameters that can adjust $r$ and $w_h$ dynamically based on real-time search performance and map characteristics.

Summary updated

BibTeX
@inproceedings{veerapaneni2023effectively,
  author = {Rishi Veerapaneni and Tushar Kusnur and Maxim Likhachev},
  title = {{Effectively Incorporating Weighted Cost-to-go Heuristic in Suboptimal CBS}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i10.26381},
}
Figure