Advancing Learnable Multi-Agent Pathfinding Solvers with Active Fine-Tuning

Anton Andreychuk, Konstantin S. Yakovlev, Aleksandr Panov, Alexey Skrynnik · DOI

Abstract

Multi-Agent Pathfinding (MAPF) is a critical challenge in robotics, often suffering from distributional shift in learnable solvers. This paper introduces MAPF-GPT-DDG, which utilizes a novel Delta Data Generation (DDG) technique for active fine-tuning. By focusing on high-cost "delta" states and employing expert corrections, the method allows a compact 2-million parameter model to outperform models 40 times its size and scale to coordinate over one million agents in a single environment.

Introduction

Multi-Agent Pathfinding (MAPF) involves moving a fleet of agents from their starting positions to their goals without collisions. While essential for logistics and warehouse automation, solving MAPF optimally is NP-hard, becoming exponentially difficult as the number of agents increases.

Recent "learnable" solvers, such as MAPF-GPT, utilize imitation learning to mimic expert algorithms. However, these models frequently suffer from distributional shift: small errors during execution lead the model into unfamiliar states, causing compounding failures where agents become stuck or collide. Standard correction methods like DAgger (Dataset Aggregation) often fail in MAPF because they do not prioritize the specific bottleneck moments where coordination typically breaks down.

Methodology: Delta Data Generation (DDG)

The authors propose Delta Data Generation (DDG), an active fine-tuning approach designed to hunt for and resolve failure cases specifically. The workflow consists of three primary stages:

  1. Identify the "Delta": The system executes the current policy and uses a fast, approximate solver to monitor the cost-to-goal at each step. A sudden jump in cost (a high "delta") indicates the model has entered a problematic state.
  2. Expert Correction: For these high-delta states, the system queries a high-quality expert solver (LaCAM*) to generate the optimal sequence of recovery actions.
  3. Active Fine-Tuning: The model is retrained on a balanced mix of original expert data and these newly collected hard cases, preventing catastrophic forgetting while teaching the model to recover from its own mistakes.
The MAPF-GPT-DDG workflow: (1) Data generation via delta identification and (2) Policy improvement through active fine-tuning.

Experimental Setup

The models were evaluated using the POGEMA benchmark, featuring four map types:

  • Random & Mazes: Used for both training and testing core performance.
  • Warehouse & Cities Tiles: "Out-of-distribution" maps used to evaluate generalization to novel environments.
  • Pre-training: The base model was pre-trained on a massive dataset of 1 billion observation-action pairs.

Results and Discussion

MAPF-GPT-DDG demonstrates significant improvements in both efficiency and scalability. A key finding is that the 2-million (2M) parameter model fine-tuned with DDG consistently outperformed the original 85-million (85M) parameter version, suggesting that the quality of training data in critical states is more important than raw model capacity.

Success rates across different map types and agent densities, comparing MAPF-GPT-DDG against state-of-the-art baselines.

Key Insights

  • Superior Scalability: Because the model is decentralized, computation time scales linearly. The solver achieved a new milestone by managing 1,048,576 agents in a 2048x2048 environment with a 99.9% independent success rate.
  • Failure of DAgger: In this domain, standard DAgger performed worse than basic training. The authors hypothesize that MAPF requires coordinated sequences of moves to resolve deadlocks, which single-step DAgger corrections fail to provide.
  • Generalization: The model maintained high success rates even on "Out-of-distribution" maps like Warehouse and Cities Tiles, outperforming other learnable solvers like SCRIMP and DCC.

Conclusion

MAPF-GPT-DDG addresses the core issue of distributional shift in learnable pathfinding through targeted active fine-tuning. While the million-agent milestone is impressive, future work is needed to address more complex "lifelong" MAPF tasks where goals are constantly reassigned and environments contain more intricate obstacles. The success of the 2M model highlights a path toward highly efficient, deployable decentralized solvers for massive-scale robotic fleets.

Summary updated

BibTeX
@inproceedings{andreychuk2025advancing,
  author = {Anton Andreychuk and Konstantin S. Yakovlev and Aleksandr Panov and Alexey Skrynnik},
  title = {{Advancing Learnable Multi-Agent Pathfinding Solvers with Active Fine-Tuning}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11247645},
}
Figure