Ensembling Prioritized Hybrid Policies for Multi-agent Pathfinding

Huijie Tang, Federico Berto, Jinkyoo Park

Abstract

Multi-Agent Pathfinding (MAPF) is a critical challenge in robotics and logistics, requiring agents to navigate to goals without collisions. While classical search-based solvers provide optimal solutions, they often fail to scale in complex, high-density environments. Conversely, Multi-Agent Reinforcement Learning (MARL) offers scalability but struggles with deadlocks in structured maps. This paper introduces Ensembling Prioritized Hybrid Policies (EPH), a framework that integrates a Double Dueling Deep Q-Network (D3QN) with classical A* guidance and Q-value-based prioritization. EPH achieves a 100% success rate on challenging benchmarks, demonstrating that the hybridization of neural policies and classical algorithms is essential for robust pathfinding in "stay at target" scenarios.

Introduction

Multi-Agent Pathfinding (MAPF) involves coordinating a fleet of agents to reach their respective destinations in a shared environment. This problem is NP-hard and becomes increasingly difficult in "stay at target" scenarios, where agents remain at their goal locations as permanent obstacles. Traditional solvers like Conflict-Based Search (CBS) provide high-quality solutions but suffer from exponential computational growth as agent counts increase.

Recent shifts toward Multi-Agent Reinforcement Learning (MARL) have improved scalability, yet these models often fail in "structured" environments—such as warehouses or narrow corridors—where agents frequently encounter deadlocks. EPH addresses these limitations by combining the flexible coordination of neural networks with the reliability of classical search algorithms through an ensemble of prioritized hybrid policies.

Methodology

1. Enhanced Selective Communication

EPH utilizes a D3QN architecture enhanced by a communication block inspired by the GTrXL Transformer variant. By incorporating Layer Normalization and Gated Recurrent Units (GRUs), the model allows agents to selectively process information from neighbors within their Field of View (FOV). This mechanism enables agents to extract richer spatial and temporal features, which is vital for coordination in crowded spaces.

2. Hybrid Expert Guidance and Priority

The core of EPH lies in its hybrid inference strategy:

  • A* Expert Guidance: When an agent detects it is in a "conflict-free zone" (no other moving agents nearby), it bypasses the neural network and follows a path generated by the A* algorithm. This ensures optimal movement in sparse areas.
  • Q-Value Based Priority: In high-traffic zones, EPH uses the neural network’s Q-values—representing expected future rewards—as a proxy for agent confidence. When potential collisions occur, the agent with the highest Q-value is granted priority to move, while others re-plan. This effectively integrates MARL with the principles of Priority-Based Search (PBS).
  • Escape Policy: To resolve persistent deadlocks or oscillatory behavior, the system monitors for loops and triggers an escape policy that uses A* or Q-value masking to force a "breakout" move.

3. Ensemble Execution

During the execution phase, EPH runs multiple solver configurations in parallel. These configurations vary parameters such as A* heuristics and visibility ranges. The system then selects the solution that yields the shortest completion time (makespan), ensuring that the most efficient path is utilized for the specific map geometry.

Experimental Evaluation

Datasets and Training

The model was trained using curriculum learning, beginning with a single agent on a 10x10 grid and progressively scaling to 16 agents on 40x40 maps. Evaluation was conducted on several industry-standard benchmarks:

  • Random Maps: 40x40 and 80x80 grids with 0.3 obstacle density.
  • Structured Benchmarks: The den312d map (from Dragon Age: Origins) and standard warehouse maps, characterized by narrow corridors and high obstacle density.

Key Results

EPH demonstrated significant performance gains over state-of-the-art neural solvers like DHC and DCC:

  • Success Rate: EPH achieved a 100% success rate on the den312d and warehouse maps with up to 64 agents.
  • Ablation Insights: Ablation studies revealed that the base neural model alone achieved only a 15% success rate on the warehouse map. The addition of Hybrid Guidance and Ensembling was the primary driver in reaching the 100% threshold.
  • Efficiency and Scalability: On 80x80 random maps, EPH maintained higher success rates and shorter episode lengths than most baselines. While it trailed slightly behind models using global communication (like SCRIMP) in extremely crowded scenarios, EPH’s reliance on local communication makes it more practical for real-world robotics with limited bandwidth.

Discussion and Conclusion

The success of EPH highlights a critical insight for the MAPF community: pure reinforcement learning is often insufficient for complex, structured environments. By using Q-values as a proxy for "confidence" to assign priority and delegating simple navigation tasks to A*, EPH bridges the gap between neural flexibility and algorithmic reliability.

Future work will explore the integration of on-policy algorithms like PPO to utilize "critic" networks for more precise priority assessments. Additionally, the authors aim to further integrate neural solvers as heuristic generators for classical search-based algorithms, potentially unlocking even higher levels of efficiency in massive-scale multi-agent systems.

Summary updated

BibTeX
@inproceedings{tang2024ensembling,
  author = {Huijie Tang and Federico Berto and Jinkyoo Park},
  title = {{Ensembling Prioritized Hybrid Policies for Multi-agent Pathfinding}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10801914},
}
Figure