[Paper Review] Learning to Resolve Conflicts for Multi-Agent Path Finding with Conflict-Based Search
This paper proposes a machine learning framework to improve conflict selection in Conflict-Based Search (CBS) for Multi-Agent Path Finding (MAPF), using an oracle to guide learning of a fast, generalizable linear ranking function. The method significantly reduces search tree size and runtime, outperforming state-of-the-art CBS solvers across multiple benchmark maps.
Conflict-Based Search (CBS) is a state-of-the-art algorithm for multi-agent path finding. At the high level, CBS repeatedly detects conflicts and resolves one of them by splitting the current problem into two subproblems. Previous work chooses the conflict to resolve by categorizing the conflict into three classes and always picking a conflict from the highest-priority class. In this work, we propose an oracle for conflict selection that results in smaller search tree sizes than the one used in previous work. However, the computation of the oracle is slow. Thus, we propose a machine-learning framework for conflict selection that observes the decisions made by the oracle and learns a conflict-selection strategy represented by a linear ranking function that imitates the oracle's decisions accurately and quickly. Experiments on benchmark maps indicate that our method significantly improves the success rates, the search tree sizes and runtimes over the current state-of-the-art CBS solver.
Motivation & Objective
- To address the inefficiency of existing conflict selection strategies in CBS, which rely on fixed priority rules and may lead to large search trees.
- To develop a faster, generalizable alternative to an optimal but computationally expensive conflict-selection oracle.
- To leverage machine learning to learn a ranking function that imitates the oracle’s decisions while being efficient for real-time use.
- To enable the method to generalize across different numbers of agents and unseen grid maps without retraining.
- To improve the success rate, search tree size, and runtime of CBS in solving MAPF problems.
Proposed method
- Design a conflict-selection oracle that selects conflicts to minimize the lower bound on optimal cost, using 1-step lookahead heuristics.
- Collect training data by observing the oracle’s conflict selections on a diverse set of MAPF instances, extracting features per conflict.
- Train a supervised machine learning model to learn a linear ranking function that mimics the oracle’s decisions using problem-specific features.
- Use the learned ranking function to guide conflict selection in CBS, replacing the oracle for faster execution.
- Integrate the learned strategy into CBS, enabling it to generalize to new maps and agent counts without retraining.
- Use features such as weighted dependency graph edges, conflict cardinality, and agent conflict frequency to inform the ranking function.
Experimental results
Research questions
- RQ1Can a machine learning model learn to imitate an optimal but slow conflict-selection oracle in CBS for MAPF?
- RQ2Does the learned conflict-selection strategy generalize across different numbers of agents and unseen grid maps?
- RQ3Can the learned strategy reduce search tree size and runtime compared to state-of-the-art CBS solvers?
- RQ4What features are most predictive of effective conflict selection in CBS?
- RQ5How does the performance of the ML-guided approach compare to fixed-priority conflict selection in terms of success rate and efficiency?
Key findings
- The ML-guided conflict selection strategy (ML-S and ML-O) solved 3,779 and 3,758 out of 6,000 benchmark instances, respectively, compared to 3,326 for CBSH2, showing a 10.3% to 64.4% improvement in runtime and 13.0% to 68.2% reduction in search tree size.
- ML-S generalized well to larger numbers of agents on the same map, even when trained on fixed agent counts, demonstrating strong generalization capability.
- ML-O, trained without seeing the test map, outperformed or matched ML-S on warehouse, city, maze, and game maps, indicating strong cross-map generalization.
- The top features in the learned ranking functions were related to conflict cardinality, weighted dependency graph edges, and agent conflict frequency—mirroring pseudocosts in MILP solving.
- Feature selection showed that combining the most important features (e.g., WDG edge weights, conflict frequency) slightly improved performance, confirming feature relevance.
- The method achieved significant performance gains on hard instances, especially with larger numbers of agents, where CBSH2 struggled while ML-S and ML-O maintained high success rates.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.