Multi Agent Reinforcement Learning for Warehouses
The multi-agent RL and multi-agent path finding communities are solving the same problem, collision-free routes for a team of agents, from opposite directions, and they cannot easily compare results because they do not share an environment. MAPF has standard benchmark maps and scenario files; RL work tends to use whatever gridworld the authors wrote.

The environment
We built a gymnasium-minigrid environment that loads the standard MAPF benchmark map and scenario files directly, so an RL policy can be trained on exactly the layouts MAPF planners are evaluated against.

Each agent observes a 7 × H × W stack: an egocentric view ahead of it, its goal position, its orientation, and four edge-weight channels, with the view size configurable per run. For N agents the environment returns N × 7 × H × W.

Centralized policy
Most existing work trains a decentralized policy per agent, sometimes with a learned communication channel between them. We went the other way and trained one centralized policy over the whole team: stack every agent’s observation into a single state, extract features with a two-layer CNN into a 128-dimensional vector, and pass that to a policy network that emits an N × 4 action matrix for all agents at once. Training used PPO from stable-baselines3, with a two-layer MLP of width 64 for both the policy and the value function.


Results
The environment works, and it is the lasting output of the project: benchmark maps load, the observation space is rich enough to encode goals and orientation alongside local geometry, and training runs end to end.
The policy does not. It fails to route agents to their goals reliably, and no variation we tried across the experiment sweep fixed it.

The centralized formulation is the most likely culprit. A single policy emitting joint actions faces an action space that grows exponentially with the number of agents, and PPO gets a reward signal that says the team did badly without saying which agent was responsible. That credit assignment problem is exactly what decentralized approaches sidestep, which is presumably why most of the field uses them.
Takeaway. A centralized joint-action policy most likely ran into two walls at once: an action space exponential in the number of agents, and no per-agent credit assignment. The reusable contribution is the environment: a Gymnasium-MiniGrid setup that loads standard MAPF benchmarks, so learned policies and classical planners can finally be compared on the same maps.