NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reevaluation of Large Neighborhood Search for MAPF: Findings and Opportunities

Jiaqi Tan, Yudong Luo, Jiaoyang Li, Hang Ma · DOI

Abstract

Multi-Agent Path Finding (MAPF) aims to arrange collision-free goal-reaching paths for a group of agents. Anytime MAPF solvers based on large neighborhood search (LNS) have gained prominence recently due to their flexibility and scalability, leading to a surge of methods, especially those leveraging machine learning, to enhance neighborhood selection. However, several pitfalls exist and hinder a comprehensive evaluation of these new methods, which mainly include: 1) Lower than actual or incorrect baseline performance; 2) Lack of a unified evaluation setting and criterion; 3) Lack of a codebase or executable model for supervised learning methods. To address these challenges, we introduce a unified evaluation framework, implement prior methods, and conduct an extensive comparison of prominent methods. Our evaluation reveals that rule-based heuristics serve as strong baselines, while current learning-based methods show no clear advantage on time efficiency or improvement capacity. Our extensive analysis also opens up new research opportunities for improving MAPF-LNS, such as targeting high-delayed agents, applying contextual algorithms, optimizing replan order and neighborhood size, where machine learning can potentially be integrated. Code and data are available at https://github.com/ChristinaTan0704/mapf-lns-unified.

Introduction

Multi-Agent Path Finding (MAPF)—the challenge of moving a swarm of agents to their goals without collisions—is a fundamental problem in robotics with applications ranging from warehouse automation to traffic management. Given its NP-hard nature, Large Neighborhood Search (LNS) has emerged as a leading "anytime" algorithm. LNS iteratively improves a solution by "destroying" a neighborhood of agent paths and "repairing" them to reduce total delay.

While recent research has focused on using Machine Learning (ML) to optimize neighborhood selection, this paper identifies critical issues in the current literature: inconsistent baselines, a lack of standardized evaluation criteria, and a reproducibility crisis. This work provides a rigorous reevaluation, establishing a unified framework to compare traditional rule-based heuristics against modern ML-based approaches.

Methodology

To ensure a fair comparison, we developed a unified evaluation framework using standardized components:

  • Solvers: LNS2 and LaCAM2 were used for initial solutions, with Prioritized Planning (PP) serving as the repair mechanism.
  • Implementations: We re-implemented prominent ML methods, including SVM-LNS, Neural-LNS, and Bandit-LNS, to eliminate biases from varying original codebases.
  • Heuristics: We introduced RandomWalkProb, a simple rule-based heuristic that prioritizes high-delay agents more aggressively than standard RandomWalk.
  • Metrics: Performance was evaluated against wall-clock time (runtime) rather than just iterations, accounting for the computational overhead of ML models.

The study utilized the standard MAPF benchmark suite across diverse environments, including small grids (Empty, Random), structured warehouses, and large-scale city maps (e.g., Paris, den520d), with agent counts up to 900.

Key Findings

The Computational Cost of "Intelligence"

A primary insight is that the "smart" selection performed by ML models comes at a high computational cost. Models like Neural-LNS spend significant time predicting the best neighborhood. Because the repair step is extremely efficient, the time spent "thinking" often outweighs the gains from a better selection.

Performance comparison of rule-based and learning-based methods over runtime across various maps.

As shown in Figure 2, rule-based heuristics consistently achieve lower delays within fixed time limits. In fact, simple heuristics outperformed ML-based methods in 83.3% of the tested scenarios. For methods like SVM-LNS and Neural-LNS, the prediction step can consume 30-50% of the total runtime, a significant disadvantage in anytime settings.

Neighborhood Size: An Overlooked Lever

Our analysis reveals that neighborhood size is a critical but often ignored parameter. Most studies fix this size arbitrarily (e.g., 8 or 16 agents). However, adjusting this size can improve performance by up to 50%.

Impact of neighborhood size (N4 to N32) and rule-based strategy on solution quality across different maps.

Figure 4 demonstrates that the optimal neighborhood size varies significantly across different maps and strategies. This suggests a massive optimization opportunity for future research to dynamically adjust sizing.

Conclusion and Future Directions

This reevaluation suggests that while ML has potential, it is currently being applied to the wrong aspects of MAPF-LNS. Future research should pivot toward:

  1. Contextual Algorithms: Using map state to decide which rule to apply.
  2. Optimizing Replan Order: Using ML to predict the best priority sequence during the repair phase.
  3. Dynamic Neighborhood Sizing: Developing models that adjust size based on local congestion.

By open-sourcing our unified codebase, we aim to foster more rigorous and reproducible research in the MAPF community.

Summary updated

BibTeX
@misc{tan2024reevaluation,
  author = {Jiaqi Tan and Yudong Luo and Jiaoyang Li and Hang Ma},
  title = {{Reevaluation of Large Neighborhood Search for MAPF: Findings and Opportunities}},
  year = {2024},
  eprint = {2407.09451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.09451},
}
Figure