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

Learning to Resolve Conflicts for Multi-Agent Path Finding with Conflict-Based Search

Taoan Huang, Sven Koenig, Bistra Dilkina

Multi-Agent Path Finding (MAPF) is a fundamental problem in robotics and logistics, requiring the coordination of multiple agents to reach their goals without collisions. Conflict-Based Search (CBS) is a leading algorithm for MAPF, but its performance is highly sensitive to the order in which conflicts are resolved. This paper presents a novel machine learning framework that learns to prioritize conflicts by imitating a computationally expensive oracle, leading to significant improvements in efficiency and success rates.

The Challenge of Conflict Selection in CBS

CBS operates on two levels: a low-level search for individual agent paths and a high-level search that builds a Constraint Tree (CT). When paths collide, the algorithm branches the CT by adding constraints. In complex scenarios, a single node may contain numerous conflicts. Selecting the "wrong" conflict to resolve can lead to an exponential increase in the size of the search tree, often making the problem intractable. While existing heuristics like "cardinal conflict" prioritization help, they often fail to capture the nuances of complex environments.

Methodology: Learning from an Oracle

The authors propose an imitation learning approach to automate conflict selection. The process involves three key components:

  1. A High-Quality Oracle: The researchers defined an oracle ($O_1$) that employs a 1-step lookahead. For each potential conflict, it calculates the exact increase in the lower bound of the total cost if that conflict were resolved. While highly effective at guiding the search, this oracle is too slow for real-time use.
  2. Feature Engineering: To capture the characteristics of conflicts without the oracle's overhead, 67 features were identified. These include conflict types (vertex vs. edge), agent-specific statistics (distance to goal, historical conflict count), and structural data from Multi-Valued Decision Diagrams (MDDs).
  3. Imitation Learning with SVM-rank: Using these features, the authors trained a linear ranking function using SVM-rank. The goal was to approximate the oracle's ranking of conflicts at a fraction of the computational cost.

Experimental Evaluation

The approach was tested on standard MAPF benchmarks, including warehouse layouts, city street maps, and complex game environments. Two versions of the model were evaluated: ML-S, trained specifically on the target map type, and ML-O, trained on a diverse set of maps to test generalization.

Key Results and Generalization

The ML-guided CBS consistently outperformed the state-of-the-art CBSH2 baseline across various environments.

Success rates on the Game map (lak503d) show that both ML-S and ML-O significantly outperform the CBSH2 baseline as the number of agents increases.

As shown in the figures, the success rates for the ML-guided models remain higher than the baseline even as the number of agents increases. On the "Game" map, the gap between the ML models and CBSH2 is particularly pronounced.

On the City map, the ML-guided approaches maintain a performance advantage, demonstrating the robustness of the learned ranking function in real-world-like geometries.

Beyond success rates, the researchers observed:

  • Reduced Search Tree Size: The number of nodes in the Constraint Tree was reduced by 13% to 68% across different maps.
  • Improved Runtime: Total solve times improved by 10% to 64%, despite the overhead of feature calculation.
  • Strong Generalization: The ML-O model performed nearly as well as the map-specific ML-S model, suggesting that the learned features capture universal properties of agent interactions.

Conclusion

By framing conflict selection as a ranking problem and using imitation learning, this work demonstrates that ML can significantly enhance classical search algorithms like CBS. The use of a fast, linear model ensures that the benefits of better search guidance are not negated by computational overhead. Future research may focus on reducing feature overhead and integrating these techniques with symmetry-breaking methods to further scale MAPF solvers.

Summary updated

BibTeX
@inproceedings{huang2021learning,
  author = {Taoan Huang and Sven Koenig and Bistra Dilkina},
  title = {{Learning to Resolve Conflicts for Multi-Agent Path Finding with Conflict-Based Search}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17341},
}
Figure