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

Subdimensional Expansion Using Attention-Based Learning For Multi-Agent Path Finding

Lakshay Virmani, Zhongqiang Ren, Sivakumar Rathinam, Howie ChosetarXiv 2021

Abstract

Multi-Agent Path Finding (MAPF) finds conflict-free paths for multiple agents from their respective start to goal locations. MAPF is challenging as the joint configuration space grows exponentially with respect to the number of agents. Among MAPF planners, search-based methods, such as CBS and M, effectively bypass the curse of dimensionality by employing a dynamically-coupled strategy: agents are planned in a fully decoupled manner at first, where potential conflicts between agents are ignored; and then agents either follow their individual plans or are coupled together for planning to resolve the conflicts between them. In general, the number of conflicts to be resolved decides the run time of these planners and most of the existing work focuses on how to efficiently resolve these conflicts. In this work, we take a different view and aim to reduce the number of conflicts (and thus improve the overall search efficiency) by improving each agent's individual plan. By leveraging a Visual Transformer, we develop a learning-based single-agent planner, which plans for a single agent while paying attention to both the structure of the map and other agents with whom conflicts may happen. We then develop a novel multi-agent planner called LM by integrating this learning-based single-agent planner with M. Our results show that for both "seen" and "unseen" maps, in comparison with M, LM has fewer conflicts to be resolved and thus, runs faster and enjoys higher success rates. We empirically show that MAPF solutions computed by LM are near-optimal.

Introduction

Multi-Agent Path Finding (MAPF) is a fundamental problem in robotics, essential for applications ranging from automated warehouse logistics to aircraft towing. The goal is to find collision-free paths for a team of agents moving from their respective start positions to designated goals. However, MAPF is NP-hard because the joint configuration space—the set of all possible positions for all agents—grows exponentially as more agents are added.

A popular search-based algorithm, M, manages this complexity through "subdimensional expansion." It initially plans for each agent individually, ignoring others. When agents collide, it "couples" them, searching in a higher-dimensional space to resolve the conflict. A significant bottleneck in M is its reactive nature: it only considers other agents after a collision occurs, leading to a high number of computationally expensive conflicts to resolve.

Methodology: The LM* Framework

To overcome the limitations of reactive planning, we propose LM (Learning-Assisted M). This hybrid approach replaces the standard "blind" individual planning step in M* with a learning-based model that proactively avoids potential collisions.

Overview of the LM* framework, showing the integration of the attention-based model with the M* search process.

The core of LM* is an attention-based model designed to provide agents with spatial context. The architecture includes:

  • CNN: Extracts low-level spatial features from the environment.
  • Visual Transformer (VT): Employs a self-attention mechanism to model relationships between "visual tokens" (semantic concepts in the map). This allows an agent to prioritize relevant obstacles and the predicted future positions of other agents.
  • Fully Connected Layers: Map the Transformer's output to discrete actions (e.g., Move North, South, East, West, or Wait).

By embedding this learner within the M framework, LM generates initial paths that are already collision-aware. If the model-predicted paths still result in a conflict, the algorithm falls back to the standard M* joint-space search, ensuring the system maintains the robustness and completeness of traditional search methods.

Experimental Results

We evaluated LM against standard M using a dataset of 490,000 random maps and 23 million expert state-action pairs. Testing was conducted on both "seen" maps from the training distribution and "unseen" structured environments like room-like grids and mazes.

Performance comparison between M* and LM* across different agent counts and obstacle densities, showing success rates and time to solution.

Our results demonstrate significant improvements in search efficiency and scalability:

  • Conflict Reduction: LM reduced the maximum size of collision sets by up to 66% compared to standard M.
  • Search Efficiency: Due to fewer conflicts, the number of search nodes expanded dropped by up to 95%.
  • Success Rate & Speed: As shown in the performance metrics, LM* achieves higher success rates and faster runtimes, particularly as the number of agents increases (tested up to 60 agents).
  • Near-Optimality: Empirically, the paths found by LM* were near-optimal, typically costing less than 10% more than the mathematically optimal solution.

Conclusion

LM* demonstrates that integrating attention-based learning into search-based MAPF frameworks can significantly mitigate the curse of dimensionality. By enabling proactive collision avoidance, we reduce the computational burden of joint-space search while maintaining high reliability. Future work will focus on improving generalization to complex maze environments and exploring the integration of attention-based models with other MAPF frameworks like Conflict-Based Search (CBS).

Summary updated

BibTeX
@misc{virmani2021subdimensional,
  author = {Lakshay Virmani and Zhongqiang Ren and Sivakumar Rathinam and Howie Choset},
  title = {{Subdimensional Expansion Using Attention-Based Learning For Multi-Agent Path Finding}},
  year = {2021},
  eprint = {2109.14695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.14695},
}
Figure