LNS2+RL: Combining Multi-agent Reinforcement Learning with Large Neighborhood Search in Multi-agent Path Finding

Yutong Wang, Tanishq Duhan, Jiaoyang Li, Guillaume Sartoretti

Introduction

Multi-Agent Path Finding (MAPF) is the challenge of coordinating a fleet of agents to reach their respective goals without collisions. As agent density increases, the problem becomes exponentially harder. Traditional search-based methods like Large Neighborhood Search (LNS2) are fast but often struggle in highly congested scenarios, relying on simple prioritized planning that can inadvertently create new collisions. Conversely, Reinforcement Learning (RL) can learn sophisticated cooperative behaviors but scales poorly and lacks completeness guarantees.

This paper introduces LNS2+RL, a hybrid framework that leverages the strengths of both paradigms. By using an RL agent to resolve complex "tangles" in early iterations and switching to fast heuristics for final refinement, the system achieves unprecedented success rates in dense environments.

Methodology: The Hybrid Repair Loop

LNS2+RL operates within an iterative repair framework. Starting with a set of potentially colliding paths, the algorithm repeatedly selects a "neighborhood" of agents to replan.

The RL-Powered Planner

For the initial phase of the search, the framework employs a Multi-Agent Reinforcement Learning (MARL) planner. To ensure scalability, the RL model is trained on a fixed neighborhood size of 8 agents. This allows the model to be applied to maps containing thousands of agents by iteratively optimizing small groups.

The RL architecture utilizes a ConvLSTM to process spatial-temporal FoV data alongside vector inputs for policy and value estimation.

The architecture (Figure 1) uses a ConvLSTM to integrate spatial and temporal information from the agents' field of view (FoV). To enhance performance, the authors utilized curriculum learning and pre-training via imitation learning from a centralized expert solver. The agent is further enhanced with "congestion awareness" by incorporating cell utilization maps into its observations, allowing it to anticipate and avoid high-traffic bottlenecks.

Adaptive Switching

A key innovation is the adaptive switching mechanism. The RL planner is highly effective at "smashing" complex collisions early on but is computationally more expensive than traditional heuristics. The algorithm monitors performance; when the RL planner's gains plateau, it switches to PP+SIPPS (Prioritized Planning with Safe Interval Path Planning). This ensures the algorithm can efficiently reach a zero-collision state, providing a completeness guarantee that pure RL lacks.

Experimental Evaluation

The authors evaluated LNS2+RL against state-of-the-art solvers (LaCAM, EECBS, SCRIMP) across standard benchmarks, including random grids, mazes, and warehouse layouts.

Performance comparison showing success rates and remaining colliding pairs across different map types and agent densities.

Key Results

  • Robustness in High Density: As shown in Figure 2, LNS2+RL maintains high success rates even as agent density approaches 80%. In complex "Maze" and "Room" maps, it achieved over 50% success where other solvers dropped to 0%.
  • Collision Efficiency: In early iterations, the RL planner reduces collisions by approximately 73% more effectively than standard heuristics, proving its superior ability to untangle agent clusters.
  • Solution Quality: The Sum of Costs (SoC) remains competitive, typically within 1% of vanilla LNS2, while offering significantly higher reliability in finding any valid solution.

Conclusion

LNS2+RL demonstrates that combining the "smarts" of MARL with the scalability of LNS creates a powerful tool for dense MAPF. By treating RL as a specialized collision resolver within a broader search framework, the authors bypass traditional scaling issues and provide a robust solution for real-world multi-robot coordination. Future work will focus on reducing the computational overhead of the neural network to further improve wall-clock performance.

Summary updated

BibTeX
@inproceedings{wang2025lns,
  author = {Yutong Wang and Tanishq Duhan and Jiaoyang Li and Guillaume Sartoretti},
  title = {{LNS2+RL: Combining Multi-agent Reinforcement Learning with Large Neighborhood Search in Multi-agent Path Finding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i22.34501},
}
Figure