Abstract
POGEMA (Partially Observable Grid Environment for Multiple Agents) is a high-performance benchmark designed to bridge the gap between AI planning and reinforcement learning in multi-agent pathfinding (MAPF). By providing a fast, flexible, and partially observable grid environment, POGEMA enables the development of decentralized policies capable of navigating complex environments with limited information. This paper describes the environment's architecture, observation model, and baseline performance across various difficulty tiers, demonstrating its utility for large-scale reinforcement learning training.
Introduction
Multi-Agent Pathfinding (MAPF) is the challenge of moving a group of agents to their respective goals without collisions. Classical MAPF often assumes a centralized controller with global visibility. However, real-world applications like warehouse automation or disaster relief often lack such infrastructure due to communication constraints. This necessitates Partially Observable MAPF (PO-MAPF), where decentralized agents operate based on local, ego-centric observations.
Existing benchmarks for PO-MAPF are frequently too slow for deep reinforcement learning (RL), overly specialized, or excessively complex. POGEMA is designed as a "Goldilocks" benchmark: a pure pathfinding challenge that is fast and flexible enough for massive-scale RL training.
Methodology
POGEMA operates as a 4-connected grid environment. Agents must navigate to specific goals while avoiding static obstacles and other moving agents.
Observation Space
Instead of a global map, agents receive a local square observation with radius $R$. This observation is decomposed into three distinct matrices to facilitate learning:
- Obstacles: A binary matrix representing static environmental barriers.
- Agents: A matrix indicating the positions of nearby agents.
- Target/Projection: A matrix showing the relative direction or projection of the agent's own goal.
High-Performance Engine
The environment is optimized for throughput, achieving up to 83,000 frames per second (FPS) with 80 agents. It features native integration with OpenAI Gym and PettingZoo, allowing for seamless use with modern RL frameworks like Ray RLLib.
Experimental Setup
POGEMA utilizes procedurally generated maps with a 30% obstacle density. The benchmark includes several difficulty tiers—Easy, Normal, Hard, and Extra-Hard—defined by agent density. Maps scale from $8 \times 8$ to $64 \times 64$ grids, and users can define custom layouts via YAML or string representations.
Results and Discussion
Experiments conducted on POGEMA reveal a significant "cooperation gap." Centralized training with decentralized execution (CTDE) algorithms, such as QMIX and VDN, consistently outperform independent learners (IQL), particularly in high-density "extra-hard" scenarios. This suggests that simple collision avoidance is insufficient; agents must learn complex cooperative behaviors to navigate congested spaces.
Key findings include:
- Scalability: The environment supports training up to 128 agents simultaneously on $32 \times 32$ maps using algorithms like APPO.
- Search vs. Learning: While classical A* search excels in full-observability, it requires heuristic "hacks" (e.g., probabilistic waiting to break loops) to function in decentralized, partially observable settings.
- Density Challenges: Success rates drop sharply as agent density increases, indicating that current RL and planning methods still struggle with highly congested environments.
Conclusion
POGEMA provides a robust sandbox for developing decentralized pathfinding policies. While the current model focuses on a challenging zero-communication setup, future iterations will explore less restrictive observation models and hybrid methods that combine the formal guarantees of AI planning with the adaptive nature of reinforcement learning.
Summary updated