MAPF-GPT: Imitation Learning for Multi-Agent Pathfinding at Scale

Authors

  • Anton Andreychuk AIRI, Moscow, Russia
  • Konstantin Yakovlev Federal Research Center “Computer Science and Control” of the Russian Academy of Sciences, Moscow, Russia AIRI, Moscow, Russia
  • Aleksandr Panov AIRI, Moscow, Russia Federal Research Center “Computer Science and Control” of the Russian Academy of Sciences, Moscow, Russia Moscow Institute of Physics and Technology, Dolgoprudny, Russia
  • Alexey Skrynnik AIRI, Moscow, Russia Federal Research Center “Computer Science and Control” of the Russian Academy of Sciences, Moscow, Russia Moscow Institute of Physics and Technology, Dolgoprudny, Russia

DOI:

https://doi.org/10.1609/aaai.v39i22.34477

Abstract

Multi-agent pathfinding (MAPF) is a problem that generally requires finding collision-free paths for multiple agents in a shared environment. Solving MAPF optimally, even under restrictive assumptions, is NP-hard, yet efficient solutions for this problem are critical for numerous applications, such as automated warehouses and transportation systems. Recently, learning-based approaches to MAPF have gained attention, particularly those leveraging deep reinforcement learning. Typically, such learning-based MAPF solvers are augmented with additional components like single-agent planning or communication. Orthogonally, in this work we rely solely on imitation learning that leverages a large dataset of expert MAPF solutions and transformer-based neural network to create a foundation model for MAPF called MAPF-GPT. The latter is capable of generating actions without additional heuristics or communication. MAPF-GPT demonstrates zero-shot learning abilities when solving the MAPF problems that are not present in the training dataset. We show that MAPF-GPT notably outperforms the current best-performing learnable MAPF solvers on a diverse range of problem instances and is computationally efficient during inference.

Published

2025-04-11

How to Cite

Andreychuk, A., Yakovlev, K., Panov, A., & Skrynnik, A. (2025). MAPF-GPT: Imitation Learning for Multi-Agent Pathfinding at Scale. Proceedings of the AAAI Conference on Artificial Intelligence, 39(22), 23126–23134. https://doi.org/10.1609/aaai.v39i22.34477

Issue

Section

AAAI Technical Track on Multiagent Systems