[Paper Review] Automatic Algorithm Selection In Multi-agent Pathfinding
This paper proposes an automatic algorithm selection framework for multi-agent pathfinding (MAPF) using a pre-trained convolutional neural network (AlexNet) to predict the best-performing algorithm from a portfolio of MAPF solvers—FAR, WHCA*, and BMAA*—based on input map features. The method achieves a 76.6% completion rate on test maps, outperforming the best single algorithm (FAR at 66.1%) and significantly reducing total distance traveled and goal achievement time.
In a multi-agent pathfinding (MAPF) problem, agents need to navigate from their start to their goal locations without colliding into each other. There are various MAPF algorithms, including Windowed Hierarchical Cooperative A*, Flow Annotated Replanning, and Bounded Multi-Agent A*. It is often the case that there is no a single algorithm that dominates all MAPF instances. Therefore, in this paper, we investigate the use of deep learning to automatically select the best MAPF algorithm from a portfolio of algorithms for a given MAPF problem instance. Empirical results show that our automatic algorithm selection approach, which uses an off-the-shelf convolutional neural network, is able to outperform any individual MAPF algorithm in our portfolio.
Motivation & Objective
- To address the lack of a universally dominant MAPF algorithm across diverse problem instances.
- To improve completion rate—defined as the percentage of agents reaching their goals within a time limit—by selecting the optimal algorithm per instance.
- To reduce reliance on manual feature engineering by leveraging a pre-trained CNN to directly process map representations.
- To evaluate the effectiveness of automatic algorithm selection in real-world video game maps using a diverse portfolio of MAPF algorithms.
Proposed method
- The framework uses an off-the-shelf convolutional neural network (AlexNet) to classify input map representations into the best-performing MAPF algorithm from a portfolio.
- Input maps are processed as image-like representations (grids of traversable nodes), which are fed into the pre-trained CNN to extract spatial features.
- The model is trained to predict the algorithm (FAR, WHCA*, or BMAA*) that maximizes completion rate on each test instance.
- Performance is evaluated using a primary metric of completion rate, with tie-breaking via total distance traveled and goal achievement time.
- The training and test split uses 10 random data splits over 20 video game maps from the MovingAI benchmark, with 300 agents per instance.
- The approach avoids custom feature engineering by relying on the CNN’s learned representations from ImageNet pretraining.
Experimental results
Research questions
- RQ1Can a deep learning model effectively select the best MAPF algorithm for a given problem instance without manual feature engineering?
- RQ2Does automatic algorithm selection using a pre-trained CNN outperform individual MAPF algorithms in terms of completion rate across diverse map types?
- RQ3How does the selected algorithm portfolio compare in terms of solution quality, measured by completion rate, distance traveled, and goal achievement time?
- RQ4To what extent does the model generalize across different map configurations and agent distributions?
- RQ5Can the model identify that WHCA* is optimal in high-completion scenarios despite lower overall completion rates?
Key findings
- The proposed automatic algorithm selection method achieved a 76.6% completion rate on test data, surpassing the best individual algorithm (FAR at 66.1%).
- The method reduced total distance traveled by 44% compared to BMAA* (from 465.7 to 260.9) and by 36% compared to FAR (from 405.7 to 260.9), despite being a tie-breaker metric.
- The model correctly selected the best algorithm for 72.9% of test instances, with WHCA* being the top choice in 321.6 out of 1000 problems on average.
- BMAA* achieved the best goal achievement time (14.4s), outperforming the selector (16.2s), though the selector still improved on distance and completion rate.
- WHCA* was frequently selected despite its lower completion rate, indicating the model learned to prioritize it in high-completion scenarios.
- The approach significantly outperformed the worst-case algorithm selection (44.3% completion rate), demonstrating robustness and generalization.
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.