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

Yutong Wang, Tanishq Duhan, Jiaoyang Li, Guillaume Sartoretti · DOI

Introduction

Multi-Agent Path Finding (MAPF)—the task of moving a fleet of robots to their goals without collisions—is an NP-hard problem essential for warehouse automation. Existing solutions generally fall into two categories: search-based heuristic methods like Large Neighborhood Search (LNS2), which are scalable but struggle with complex cooperative maneuvers in dense environments, and learning-based methods (MARL), which excel at local cooperation but often suffer from low global success rates in large-scale tasks. This paper presents LNS2+RL, a hybrid approach that integrates a Multi-Agent Reinforcement Learning (MARL) planner into the LNS2 framework to solve these complex navigation problems.

Methodology

The core innovation of LNS2+RL is its iterative replanning structure, which swaps out traditional low-level solvers for a trained MARL model during the most challenging stages of planning.

Architecture of the MARL model used in LNS2+RL, featuring ConvLSTM and ResNet blocks for spatial-temporal processing.

The algorithm starts with a set of paths that may contain collisions and iteratively selects a "neighborhood" of 8 agents to replan. The MARL model uses a ConvLSTM architecture to process spatial maps (obstacles, other agents) and temporal data. To balance the high quality of MARL with the speed of traditional methods, the algorithm employs an Adaptive Switching mechanism. When the "cooperative gains" from MARL diminish, it switches to a faster PP+SIPPS (Safe Interval Path Planning with Soft Constraints) solver to resolve the remaining simple collisions. This hybrid approach ensures the algorithm remains a complete solver while benefiting from the complex maneuvers discovered by the RL agent.

Experimental Evaluation

The authors evaluated LNS2+RL on standard MAPF benchmarks, including random maps of various sizes and structured layouts like Mazes, Rooms, and Warehouses, with agent densities reaching up to 80%.

Performance comparison of LNS2+RL against baselines across different map types and agent densities.

The experimental results demonstrate the clear advantages of the hybrid approach:

  • Superior Success Rates: In complex, obstacle-rich environments like the Maze and Warehouse, LNS2+RL achieved significantly higher success rates than baselines like LaCAM, EECBS, and SCRIMP, which often failed completely (0% success) in high-density scenarios.
  • Collision Reduction: On small random maps with 65 agents, LNS2+RL reduced the number of remaining collisions by 26.3% compared to the vanilla LNS2 algorithm.
  • Scalability: The algorithm successfully scaled to 1,625 agents on large random maps, maintaining a performance edge over non-learning baselines.
  • Real-World Validation: The framework was further validated in a hybrid simulation involving 10 real "Sparklife Omnibots" in a mockup warehouse environment.

Discussion and Future Work

LNS2+RL effectively manages the trade-off between cooperation and speed. While MARL iterations are slower, the algorithm often requires fewer total iterations because the paths generated are of higher quality. The use of a fixed neighborhood size ensures that the model remains effective regardless of the total fleet size.

Despite these strengths, the computational overhead of MARL inference remains a bottleneck for real-time applications. Future research directions include optimizing this inference step, exploring heterogeneous agent types with varying physical properties, and extending the framework to dynamic environments with unpredictable moving obstacles.

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