Confidence-Based Curricula for Multi-Agent Path Finding via Reinforcement Learning

Thomy Phan, Joseph A. Driscoll, Justin Romberg, Sven KoenigResearch Square 2024

TL;DR

The researchers introduce CACTUS, a lightweight reinforcement learning framework for Multi-Agent Path Finding (MAPF) that replaces complex, human-engineered reward functions with a simple statistical curriculum. By gradually increasing the distance between agents and their goals based on team performance, CACTUS achieves better generalization than state-of-the-art models while using 95% fewer parameters and requiring no expert demonstrations.

What Problem Does This Paper Address?

Multi-Agent Path Finding (MAPF)—the task of moving multiple robots to distinct goals without collisions—is a cornerstone of modern logistics, from Amazon warehouses to autonomous traffic management.

Traditional solvers are often centralized, meaning they require a "god's eye view" of the map. While precise, they struggle to scale to hundreds of agents and require expensive "replanning" every time a new obstacle appears. Multi-Agent Reinforcement Learning (MARL) offers a decentralized alternative where agents learn local policies, but it faces two massive hurdles:

  1. Sparse Rewards: In a large map, an agent moving randomly is unlikely to ever stumble upon its goal, leaving the "brain" with nothing to learn from.
  2. Complexity Overload: Current MARL solutions (like the well-known PRIMAL) try to fix this with "heavy engineering"—complex reward shaping, imitation learning from expert solvers, and massive neural networks.

The authors argue that these complex solutions are too expensive and lack generality. They advocate for a return to "The Bitter Lesson" (Richard Sutton’s famous essay): the idea that simple, general methods that leverage computation eventually outperform human-engineered "tricks."

Methods

The core contribution is CACTUS (Confidence-based Auto-Curriculum for Team Update Stability). Instead of giving agents complex hints, CACTUS uses a reverse curriculum:

  • Start Small: At the beginning of training, goals are placed within a tiny radius ($R_{alloc} = 1$) of the agent. The task is trivial.
  • Statistical Promotion: The difficulty only increases when the entire team demonstrates mastery. The authors use a confidence-based measure ($\mu - \eta\sigma \geq U$) to ensure that the average completion rate is high and stable before incrementing the goal radius.
  • Simple Rewards: Unlike previous models that penalize "blocking" or "waiting" with hand-tuned values, CACTUS uses a "black-box" reward: +1 for reaching the goal, -1 for every time step spent moving, and 0 for staying at the goal.

The authors also propose C3LARA, an extension for high-density environments. It uses weighted sampling to place goals in areas where agent paths are likely to overlap, forcing the agents to learn conflict resolution (like yielding in corridors) early in the curriculum.

Datasets

The researchers evaluated their methods using:

  • Training Maps: Randomly generated grid worlds of sizes $10\times10$, $40\times40$, and $80\times80$ with obstacle densities ranging from 0% to 30%.
  • Test Benchmarks: To ensure a fair comparison, they used the standard test instances provided by the PRIMAL research group, featuring fixed start and goal locations that the model had never seen during training.

Key Insights and Ideas

  • Less is More: CACTUS uses fewer than 600,000 trainable parameters—less than 5% of the size of PRIMAL’s neural network. This allows for training on a standard 8-core CPU in about one day, whereas PRIMAL requires roughly 20 days and significant GPU resources.
  • Stability over Speed: By using the standard deviation ($\sigma$) in their curriculum logic, the authors ensure the curriculum doesn't advance just because a few agents got lucky. This prevents "catastrophic forgetting," where a model learns a new trick but forgets how to do the basics.
  • Emergent Coordination: Even without explicit communication protocols, agents trained with C3LARA learned to navigate high-density "bottlenecks" simply because the curriculum forced them to encounter those conflicts repeatedly in a controlled way.

Key Results

  • Superior Generalization: CACTUS and C3LARA consistently outperformed PRIMAL and "No Curriculum" baselines. In $40\times40$ maps with 10% obstacle density, C3LARA maintained an 80% success rate even when scaled up to 64 agents—far beyond the 8 agents it was trained with.
  • Efficiency: The model achieved lower average episode lengths (faster paths) than PRIMAL across almost all tested scenarios.
  • Factorization Flexibility: The authors showed that CACTUS works with various MARL "critics" (VDN, QMIX, QPLEX), proving it is a general framework rather than a single-algorithm trick.

Limitations and Future Work

  • Structured Maps: CACTUS currently struggles in highly structured environments like mazes or "room-and-door" maps. The "absorbing" nature of the curriculum regions can sometimes prevent agents from learning the long, circuitous detours required in these maps.
  • Optimality: While the paths are efficient, the paper acknowledges that the method does not yet guarantee mathematical optimality in multi-agent settings (though it does for single-agent cases).
  • Scaling Agents: The current curriculum assumes a fixed number of agents during training. Future work could explore curricula that gradually increase the number of agents alongside the goal distance.

Summary updated

Abstract

<title>Abstract</title> A wide range of real-world applications can be formulated as Multi-Agent Path Finding (MAPF) problem, where the goal is to find collision-free paths for multiple agents with individual start and goal locations. State-of-the-art MAPF solvers are mainly centralized and depend on global information, which limits their scalability and flexibility regarding changes or new maps that would require expensive replanning. Multi-agent reinforcement learning (MARL) offers an alternative way of addressing MAPF problems by learning decentralized policies that can generalize over a variety of maps. While there exist some prior works that attempt to connect both areas, the proposed techniques are heavily engineered and very complex due to the integration of many mechanisms that limit generality and are expensive to use. We argue that much simpler and more general approaches are needed to bring the areas of MARL and MAPF closer together with significantly lower costs. In this paper, we propose Confidence-based Auto-Curriculum for Team Update Stability (CACTUS) as a lightweight MARL approach to MAPF. CACTUS defines a simple reverse curriculum scheme, where the goal of each agent is randomly placed within an allocation radius around the agent's start location. The allocation radius increases gradually as all agents improve, which is assessed by a confidence-based measure. In addition, we propose an extension called Confidence- and Conflict-Based Curriculum Learning with Allocation Radius Adaptation (C3LARA), using weighted sampling of goal locations to improve conflict resolution in scenarios of high agent density. We provide a theoretical analysis of the strengths and limitations of CACTUS regarding exploration efficiency and multi-agent coordination. We evaluate CACTUS and C3LARA in various maps of different sizes, obstacle densities, and numbers of agents. Our experiments demonstrate better performance and generalization capabilities than state-of-the-art MARL approaches with less than 600,000 trainable parameters, which is less than 5% of the neural network size of current MARL approaches to MAPF.
BibTeX
@inproceedings{phan2024confidence,
  author = {Thomy Phan and Joseph A. Driscoll and Justin Romberg and Sven Koenig},
  title = {{Confidence-Based Curricula for Multi-Agent Path Finding via Reinforcement Learning}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-5427877/v1},
}
Figure