Anytime Multi-Agent Path Finding with an Adaptive Delay-Based Heuristic

Thomy Phan, Benran Zhang, Shao-Hung Chan, Sven Koenig

TL;DR

The paper introduces ADDRESS, a streamlined variant of Large Neighborhood Search (LNS) for Multi-Agent Path Finding (MAPF). By replacing complex multi-heuristic selection mechanisms with a single adaptive heuristic driven by restricted Thompson Sampling, ADDRESS eliminates exploration overhead and cuts path-finding delays by over 50% in large-scale scenarios with up to 1,000 agents.

What Problem Does This Paper Address?

Multi-Agent Path Finding (MAPF) is the computational backbone of automated warehouses, autonomous vehicle routing, and robotics coordination. The goal is simple: find collision-free paths for multiple agents moving from distinct starts to goals while minimizing total travel delay. However, finding an optimal solution is NP-hard.

To tackle this at scale, state-of-the-art solvers use an "anytime" approach called MAPF-LNS (Large Neighborhood Search). LNS starts with a quick, suboptimal solution and iteratively refines it using a "destroy-and-repair" loop: it selects a neighborhood of agents, erases ("destroys") their paths, and replans ("repairs") them to reduce total cost.

Standard MAPF-LNS uses a Multi-Armed Bandit (MAB) algorithm to dynamically choose between different fixed destroy heuristics (e.g., random selection vs. agent-delay-based selection). The authors identify a critical bottleneck here: these underlying heuristics are stationary and do not adapt. The algorithm wastes valuable time exploring weak heuristics, and greedily picking the single most delayed agent creates severe computational overhead in massive agent networks.

Methods

Instead of trying to select the best heuristic from a fixed portfolio, the authors propose ADDRESS (Adaptive Delay-based Destroy-and-Repair Enhanced with Success-based Self-learning), which uses a single, self-learning adaptive heuristic.

Figure 1: Scheme of our contribution. Instead of using an adaptive selection mechanism π to choose among multiple stationary destroy heuristics Hx (Li et al. 2021), ADDRESS (our approach) only uses a single adaptive heuristic.

The core mechanics of ADDRESS are as follows:

  1. The Top-$K$ Filter: To avoid an enormous search space, ADDRESS sorts all agents by their current path delay and isolates the top-$K$ most delayed agents.
  2. Restricted Thompson Sampling: Each agent is modeled as an independent "arm" in a bandit framework. ADDRESS maintains success ($\alpha$) and failure ($\beta$) counters for each agent based on whether choosing them in the past led to a successful path optimization. It samples from a Beta distribution $\text{Beta}(\alpha, \beta)$ to select a "seed agent" from the top-$K$ pool.
  3. Neighborhood Generation & Feedback: A random walk originates from the chosen seed agent to gather a neighborhood of interacting agents. The paths are repaired, and the success/failure counters of the seed agent are updated based on the outcome.
Figure 2: Detailed overview of ADDRESS. For each agent ai ∈A, we maintain two parameters αi, βi > 0. At each LNS iteration, all agents are sorted w.r.t. to their delays. A restricted Thompson Sampling approach is applied to the top-K set of the most delayed agents, according to their samples qi ∼Beta(αi, βi), to choose a seed agent index j. The path of the seed agent aj is used to generate an LNS neighborhood AN ⊂A via random walks. After running the LNS destroy-and-repair operations on AN, the parameters αj or βj of the seed agent aj are updated, depending on the cost improvement of the new solution.

Datasets

The authors evaluated ADDRESS using the standard, publicly available MAPF benchmark set (Stern et al. 2019). They selected five maps representing diverse structural layouts:

  • Random map: Random-32-32-20
  • Game maps: Ost003d and Den520d
  • Warehouse map: Warehouse-20-40-10-2-2
  • City map: Paris_1_256

Experiments were conducted across 25 randomized scenarios per map, scaling up to 1,000 agents.

Key Insights and Ideas

  • Simplification Beats Meta-Optimization: Portfolio-based LNS spends too much time exploring bad heuristics. Focusing on adapting a single, robust delay-based heuristic yields faster convergence.
  • The Power of the Top-$K$ Constraint: Pure Thompson Sampling over hundreds of agents fails because the exploration space is too vast. Restricting the bandit's choices to the top-$K$ most delayed agents elegantly balances heuristic intuition (fix the worst paths first) with online learning.
  • Bypassing the Tabu Bottleneck: Traditional delay-based LNS relies on a tabu list to prevent repeating agent selections, which forces expensive iterations over the entire agent set. ADDRESS replaces this rigid memory structure with fluid, probabilistic tracking.

Key Results

  • >50% Cost Reduction: In large-scale maps (such as the Warehouse and City environments) with 600 to 1,000 agents, ADDRESS reduced the sum of agent delays by at least 50% compared to original MAPF-LNS and the state-of-the-art solver LaCAM*.
  • Robustness to Hyperparameters: Thompson Sampling proved highly resilient to the choice of pool size $K$, consistently outperforming $\epsilon$-Greedy alternatives. Across all tested maps, $K=32$ emerged as the optimal configuration.

Limitations and Future Work

Despite its strength at scale, ADDRESS introduces computational overhead due to constant agent sorting and Beta distribution sampling. In small-scale or highly uniform environments (like the Random map benchmark), this overhead outweighs the benefits, and simpler, map-based heuristics remain more efficient.

Moving forward, the authors suggest expanding this adaptive delay-based framework to other combinatorial optimization domains that rely heavily on LNS, such as the Traveling Salesperson Problem (TSP) and Vehicle Routing Problems (VRP).

Summary updated

BibTeX
@inproceedings{phan2025anytime,
  author = {Thomy Phan and Benran Zhang and Shao-Hung Chan and Sven Koenig},
  title = {{Anytime Multi-Agent Path Finding with an Adaptive Delay-Based Heuristic}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i22.34495},
}
Figure