Policy Search in Code Space for Multi-Agent Pathfinding
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Developing coordination policies for complex multi-agent systems relies on either labor-intensive algorithm design or opaque task-specific reinforcement learning. With recent advances in autonomous coding agents, we show that policy search directly in code space offers a compelling third path that combines automated optimization with explicit interpretability. We investigate a human-directed workflow in which coding agents iteratively propose, implement, evaluate, diagnose, and eventually refine algorithms guided by simulation feedback and explicit correctness verification. We conducted two case studies and found that this workflow robustly outperformed any manually engineered solutions. On a challenging map in the 2024 League of Robot Runners competition, a two-day search discovered a policy that exceeds the stronger locally reproduced competition entry by 35.0% on the densest instance and generalizes to unseen map instances. In simulated real-world warehouses with irregular lanes, continuous robot geometry, and asynchronous motion, a week-long search discovered an entirely new class of multi-agent pathfinding algorithm that outperforms a calibrated proprietary solution in throughput by 58.9%. Under stated assumptions, we further prove that the new algorithm is collision-free and completes, in finite time, every accepted goal that is not withdrawn or replaced. Together, the studies show that policy search in code space powered by state-of-the-art coding agents offers a highly competitive path to building real engineering solutions that are both effective and analytically tractable.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 35 references that are in the map. Submitted 19 Oct 2026.
Builds on
22 of 35 references.
References · 22
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 315
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 299
- 2019Multi-Agent Pathfinding: Definitions, Variants, and Benchmarkscited by 208
- 2018Programmatically Interpretable Reinforcement Learningcited by 201
- 2018PRIMAL: Pathfinding via Reinforcement and Imitation Multi-Agent Learningcited by 93
- 2020Lifelong Multi-Agent Path Finding in Large-Scale Warehousescited by 84
- 2017Lifelong Multi-Agent Path Finding for Online Pickup and Delivery Taskscited by 68
- 2020PRIMAL2: Pathfinding via Reinforcement and Imitation Multi-Agent Learning -- Lifelongcited by 65
- 2019Priority Inheritance with Backtracking for Iterative Multi-agent Path Findingcited by 62
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 62
10 more
- 2025ALE-Bench: A Benchmark for Long-Horizon Objective-Driven Algorithm Engineeringcited by 55
- 2023Learn to Follow: Decentralized Lifelong Multi-agent Pathfinding via Planning and Learningcited by 30
- 2025Autonomous Code Evolution Meets NP-Completenesscited by 20
- 2024MAPF-GPT: Imitation Learning for Multi-Agent Pathfinding at Scalecited by 19
- 2024Guidance Graph Optimization for Lifelong Multi-Agent Path Findingcited by 14
- 2024Scaling Lifelong Multi-Agent Path Finding to More Realistic Settings: Research Challenges and Opportunitiescited by 11
- 2024Deploying Ten Thousand Robots: Scalable Imitation Learning for Lifelong Multi-Agent Path Findingcited by 11
- 2020Time-Independent Planning for Multiple Moving Agentscited by 6
- 2024Speeding up Policy Simulation in Supply Chain RLcited by 2
- 2026LLM-Guided Heuristic Design from Simulation Traces: A Case Study in Dynamic Production and AGV Schedulingcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Where Paths Collide: A Comprehensive Survey of Classic and Learning-Based Multi-Agent Pathfinding
- 2024POGEMA: A Benchmark Platform for Cooperative Multi-Agent Pathfinding
- 2025Cooperative Hybrid Multi-Agent Pathfinding Based on Shared Exploration Maps
- 2026Search-Aided Joint Agent-Environment Reinforcement Learning for Robust Lifelong Multi-Agent Path Finding with Rotations
- 2025Towards Information-Optimized Multi-Agent Path Finding: A Hybrid Framework with Reduced Inter-Agent Information Sharing
- 2025Conflict-Based Search as a Protocol: A Multi-Agent Motion Planning Protocol for Heterogeneous Agents, Solvers, and Independent Tasks
- 2026MARS2: Scaling Multi-Agent Tree Search via Reinforcement Learning for Code Generation
- 2025Multi-Agent Path Finding via Offline RL and LLM Collaboration