LayeredMAPF: a decomposition of MAPF instance to reduce solving costs
Zhuo Yao, Wei Wang
TL;DR
This work addresses the exponential growth of multi-agent pathfinding (MAPF) solving costs by introducing Layered MAPF, a decomposition framework that progressively partitions a MAPF instance into smaller clusters and levels, solves subproblems independently, and merges results to obtain a conflict-free solution. The approach is designed to be agnostic to the underlying MAPF method, and is evaluated across classic benchmarks by applying decomposition to seven state-of-the-art MAPF algorithms, revealing substantial reductions in time and memory, with solvability loss estimated at $<1\%$. The authors define legality checks to minimize loss of solvability, and they provide a rigorous complexity analysis along with extensive experiments covering decomposition performance and cross-method applicability. The results show strong benefits for serial MAPF methods (e.g., EECBS, PBS, LNS2) in terms of runtime and memory, while parallel methods benefit less consistently due to solution-merging overheads. The work offers practical guidance for deploying MAPF in resource-constrained settings and lays groundwork for future improvements in merging strategies for parallel methods and randomized cluster restarts to further optimize decomposition outcomes.
Abstract
Multi-agent pathfinding (MAPF) holds significant utility within autonomous systems, however, the calculation and memory space required for multi-agent path finding (MAPF) grows exponentially as the number of agents increases. This often results in some MAPF instances being unsolvable under limited computational resources and memory space, thereby limiting the application of MAPF in complex scenarios. Hence, we propose a decomposition approach for MAPF instances, which breaks down instances involving a large number of agents into multiple isolated subproblems involving fewer agents. Moreover, we present a framework to enable general MAPF algorithms to solve each subproblem independently and merge their solutions into one conflict-free final solution, and avoid loss of solvability as much as possible. Unlike existing works that propose isolated methods aimed at reducing the time cost of MAPF, our method is applicable to all MAPF methods. In our results, we apply decomposition to multiple state-of-the-art MAPF methods using a classic MAPF benchmark\footnote{https://movingai.com/benchmarks/mapf.html}. The decomposition of MAPF instances is completed on average within 1s, and its application to seven MAPF methods reduces the memory usage or time cost significantly, particularly for serial methods. Based on massive experiments, we speculate the possibilty about loss of solvability caused by our method is $<$ 1\%. To facilitate further research within the community, we have made the source code of the proposed algorithm publicly available\footnote{https://github.com/JoeYao-bit/LayeredMAPF/tree/minimize\_dependence}.
