Reinforcement Learning for Large-Scale Lifelong Multi-Agent Path Finding with Shared Spatial Fields
Organizations: Independent Researcher
Abstract
Large-scale applications of lifelong multi-agent path finding (LMAPF) call for computationally inexpensive movement decisions under changing traffic conditions and across varied layouts. We propose a navigation policy in which a convolutional network computes a shared spatial field over the map once per timestep and a compact goal-conditioned operator derives agents' movement preferences. The complete policy is trained end-to-end using average-reward reinforcement learning with throughput as the reward, without planner demonstrations or a separate online path planner. For structured and unstructured layouts, we train one policy per class on mixtures of small maps and deploy each without retraining on larger, unseen layouts and agent populations. Across six layouts with 10000 agents, our policies achieve throughput comparable to or higher than the strongest evaluated baselines. The proposed method has an average execution time below 10 ms per step, more than an order of magnitude faster than several established planners.
Figures & tables
| Training and reuse | Planner involvement | ||||
|---|---|---|---|---|---|
| Method | Learning | Trained on | Reused on | Training | Execution |
| Ours | RL | Mixed small tiles | All layouts within a class | None | None |
| SILLM | IL | Target map m (downscaled) | Larger target; new populations | Planner demonstrations | PIBT; guide paths for DG |
| OnlineGGO | ES | Small source map m | Larger layouts; new populations | Planner rollouts | PIBT; distance updates |
| Follower | RL | 40 generated mazes | All layouts | Planned routes and rewards | A* routes |
| Structured | Unstructured | |||||
| Method | Warehouse | Sortation | Berlin | Paris | Random 10% | Random 20% |
| Ours | 42.31 9.0 | 44.20 8.3 | 32.99 8.9 | 33.17 8.9 | 54.19 6.0 | 47.52 7.5 |
| SILLM-SG | 42.25 13.4 | 43.98 13.2 | 21.62 13.3 | 22.53 13.2 | 52.49 13.1 | 32.53 13.2 |
| SILLM-DG | 35.40 292.7 | 39.39 407.1 | 30.02 617.3 | 30.89 602.9 | 50.50 455.0 | 44.15 387.8 |
| SILLM-BD | 27.27 13.5 | 42.91 13.2 | 19.16 13.3 | 18.68 13.3 | 53.73 15.3 | 44.09 13.2 |
| OnlineGGO | 21.22 3,427.4 | 38.13 3,928.2 | 26.15 3,762.6 | 27.93 3,586.9 | 50.15 4,084.5 | 41.72 3,617.6 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Setting |
|---|---|
| learning setup | average reward, , per-map rate; entropy temperature |
| advantage estimation | GAE: reward , entropy |
| actor update | PPO clip ; 2 passes; 8 minibatches |
| KL penalty | adaptive coefficient, initial value ; target |
| critic update | 4 passes, decoupled; loss ; per-map target normalisation; no weight decay |
| optimiser | Adam, constant learning rate ; actor weight decay , learned temperatures exempt |
| Class | Layout | Size | Free cells | Occupancy | Steps |
|---|---|---|---|---|---|
| Structured | Warehouse | 25.9% | 3200 | ||
| Structured | Sortation | 18.4% | 3200 | ||
| Unstructured | Berlin | 21.3% | 2500 | ||
| Unstructured | Paris | 21.2% | 2500 | ||
| Unstructured | Random, 10% | 17.0% | 2500 | ||
| Unstructured | Random, 20% | 19.2% | 2500 |
| Method | Timed interval |
|---|---|
| Ours, SILLM-SG/BD | Complete rollout. |
| SILLM-DG | Complete rollout on Berlin, Paris and Random 20%; steps 20–300 elsewhere. |
| PIBT | Complete simulation loop, excluding initialisation. |
| TrafficFlow | Complete simulation loop on warehouse and Random 20%; recorded intervals on the other layouts. |
| WPPL | Complete rollout on Random 20%; steps 20–300 elsewhere. |
| LLLG | Steps 20–300, excluding setup. |
| LNS iterations | Throughput (tasks/step) | Execution cost (ms/step) |
|---|---|---|
| 252.0 | ||
| 474.9 | ||
| Map | Construction (s) | Shared tables (GiB) |
|---|---|---|
| Warehouse | 16.5 | 5.53 |
| Sortation | 65.8 | 10.86 |
| Berlin | 24.7 | 8.13 |
| Paris | 24.5 | 8.21 |
| Random, | 91.1 | 12.70 |
| Random, | 63.1 | 10.00 |
| Random 20% | Warehouse | |||||||
|---|---|---|---|---|---|---|---|---|
| Host | GPU | Host | GPU | |||||
| Method | Prep. | Rollout | Prep. | Rollout | Prep. | Rollout | Prep. | Rollout |
| Ours | 12.1 | 7.5 | 10.3 | 10.3 | 7.4 | 5.1 | 5.8 | 5.8 |
| SILLM-SG | 20.0 | 1.7 | 10.1 | 10.7 | 11.6 | 1.8 | 5.6 | 6.2 |
| SILLM-DG | 1.0 | 23.3 | 0.6 | 0.9 | 22.2 | 0.6 | ||
| SILLM-BD | 20.2 | 1.8 | 10.1 | 10.7 | 9.8 | 1.8 | 5.6 | 6.2 |
| Layout | Seed 0 | Seed 1 | Seed 2 |
|---|---|---|---|
| Warehouse | 42.272 | 42.387 | 42.279 |
| Sortation | 44.191 | 44.228 | 44.180 |
| Berlin | 33.518 | 32.033 | 33.412 |
| Paris | 33.618 | 31.097 | 34.809 |
| Random 10% | 54.161 | 54.217 | 54.180 |
| Random 20% | 47.483 | 47.564 | 47.514 |
| Agents | Seed 0 | Seed 1 | Seed 2 | RHCR |
|---|---|---|---|---|
| 8 | 0.607 | 0.610 | 0.607 | 0.625 |
| 16 | 1.208 | 1.211 | 1.207 | 1.251 |
| 24 | 1.725 | 1.728 | 1.722 | 1.798 |
| 32 | 2.175 | 2.174 | 2.164 | 2.286 |
| 48 | 3.041 | 3.042 | 3.036 | 3.203 |
| 64 | 3.795 | 3.795 | 3.785 | 3.819 |
| Method | Throughput |
|---|---|
| Ours (three seeds) | 9.778 |
| WPPL | 10.108 |
| LLLG | 10.007 |
| SILLM-DG | 8.766 |
| PIBT | 7.821 |
| RHCR (PBS/SIPP) | 0.892 |
| Plain | Accelerated, 144 iterations | ||||
|---|---|---|---|---|---|
| Layout | Iterations | Throughput | ms/step | Throughput | ms/step |
| Warehouse | 144 | 42.31 | 9.02 | 42.30 | 9.24 |
| Sortation | 144 | 44.20 | 8.31 | 44.19 | 8.52 |
| Berlin | 288 | 32.99 | 8.89 | 33.47 | 5.77 |
| Paris | 288 | 33.17 | 8.91 | 33.79 | 5.87 |
| Random 10% | 144 | 54.19 | 5.97 | 54.19 | 6.19 |
| Accelerated | + iterative selection | OnlineGGO | ||||||
|---|---|---|---|---|---|---|---|---|
| Map | Agents | Iterations | Tasks/step | ms/step | Tasks/step | ms/step | Tasks/step | ms/step |
| Random | 700 | 288 | 7.67 | 7.02 | 8.50 | 7.35 | 7.39 | 6.49 |
| 576 | 7.86 | 12.90 | 8.79 | 13.25 | ||||
| Random | 800 | 288 | 3.97 | 7.54 | 4.75 | 8.14 | 6.39 | 7.14 |
| 2,304 | 4.65 | 42.74 | 5.58 | 43.31 | ||||
| Random | 2,500 | 288 | 11.46 | 9.24 | 14.00 | 9.80 | 9.82 | — |
| Setting | Group size | Diameter | |
| Unstructured training | 4.34 | 2.25 | — |
| Structured training | 4.03 | 2.51 | — |
| Warehouse, 600 | 13.84 | 6.36 | 144 |
| Warehouse, 700 | 49.68 | 17.56 | 288 |
| Warehouse, 800 | 314.68 | 53.52 | |
| Warehouse, 900 | 456.36 | 60.68 |
| Layout | Agents | Ours | SILLM-BD | SILLM-DG | LLLG | TrafficFlow | PIBT | WPPL | hm+GPIBT |
|---|---|---|---|---|---|---|---|---|---|
| Random 30% (LCC) | 12.83 | 18.62 | 16.68 | 17.50 | 13.91 | 14.26 | — | ||
| Random 40% (clustered) | 9.64 | 14.49 | 12.05 | 13.50 | 11.88 | 14.33 | — | ||
| ost003d | — | — | — | — | 3.78 | — | 3.90 |
| Structured | Unstructured | |||||
|---|---|---|---|---|---|---|
| Actor | Warehouse | Sortation | Berlin | Paris | Random 10% | Random 20% |
| Full ( ) | ||||||
| Without allocation | ||||||
| , no allocation | ||||||
| Map | Agents | Occ. (%) | s0 | s1 | s2 | s0 | s1 | s2 | s0 | s1 | s2 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Warehouse | 200 | 18.3 | 5.092 | 5.100 | 5.086 | 5.141 | 5.158 | 5.129 | 5.223 | 5.246 | 5.225 |
| 300 | 27.5 | 6.943 | 6.991 | 6.973 | 7.070 | 7.145 | 7.055 | 7.382 | 7.440 | 7.340 | |
| 400 | 36.7 | 8.163 | 8.364 | 8.329 | 8.440 | 8.654 | 8.426 | 9.052 | 9.103 | 8.984 | |
| 500 | 45.8 | 8.667 | 9.192 | 7.203 | 6.533 | 9.676 | 9.165 | 9.925 | 9.470 | 10.069 | |
| 600 | 55.0 | 3.509 | 3.574 | 2.089 | 3.086 | 6.167 | 5.055 | 5.030 | 3.266 | 9.561 | |
| Full | Without allocation | ||||||
|---|---|---|---|---|---|---|---|
| Layout | Agents | Seed 0 | Seed 1 | Seed 2 | Seed 0 | Seed 1 | Seed 2 |
| Random 20% | 6,000 | 30.63 | 30.67 | 30.62 | 30.20 | 30.28 | 30.25 |
| Random 20% | 10,000 | 47.50 | 47.58 | 47.51 | 44.42 | 45.06 | 44.95 |
| Random 20% | 12,000 | 54.40 | 54.52 | 54.49 | 22.55 | 32.28 | 28.72 |
| Random 10% | 6,000 | 33.25 | 33.26 | 33.26 | 33.14 | 33.17 | 33.16 |
| Random 10% | 10,000 | 54.15 | 54.23 | 54.19 | 53.35 | 53.44 | 53.40 |
Multi-Agent Path Finding
Multi-agent path finding (MAPF) plans collision-free routes for multiple agents sharing an environment.
See all 92 papers