Multi-agent assignment via state augmented reinforcement learning

Leopoldo Agorio, Sean Van Alen, Miguel Calvo-Fullana, Santiago Paternain, Juan Andres BazerquearXiv 2024

This paper, presented at the 6th Annual Conference on Learning for Dynamics and Control (L4DC 2024), introduces a novel way to handle multi-agent assignment problems—like a team of robots patrolling different rooms—using a technique called state augmented reinforcement learning.

TL;DR

The authors propose a distributed reinforcement learning framework that solves multi-agent assignment problems with conflicting constraints. By augmenting the agent's state with oscillating Lagrange multipliers and using a gossip protocol for communication, they provide theoretical guarantees that the agents will satisfy all task requirements almost surely.

What Problem Does This Paper Address?

In multi-agent systems, we often need to assign tasks (like monitoring specific zones) to a team of agents. This becomes difficult when the requirements are "conflicting"—for example, if four zones each require 30% coverage, a single robot (100% capacity) cannot satisfy the demand. The agents must coordinate to alternate between zones.

Standard Reinforcement Learning (RL) typically handles constraints using regularization (adding a penalty term to the reward). However, the authors argue that for assignment problems, regularization often fails to converge to a feasible policy. The system gets "stuck" or fails to find the necessary switching behavior. Furthermore, doing this in a distributed way—where agents only talk to their neighbors rather than a central controller—adds a significant layer of complexity regarding how to share information about which tasks are currently being handled.

Methods

The researchers tackle this using a two-pronged approach:

  1. State Augmentation: Instead of treating Lagrange multipliers ($\lambda$) as static weights to be optimized, they treat them as dynamic states within an augmented Markov Decision Process (MDP). These multipliers don't necessarily converge to a single value; instead, they are allowed to oscillate. When a task isn't being met, its corresponding $\lambda$ grows, pushing agents toward that task. Once met, $\lambda$ decreases. This oscillation naturally induces the "alternating" behavior required to satisfy multiple conflicting constraints over time.
  2. Distributed Gossip Protocol: To keep the system decentralized, agents don't share their full internal states. Instead, they use a "gossip" mechanism to share their local views of task completion. They use a simple "max" rule: if any agent in a neighborhood knows a zone is occupied, that information "percolates" through the network. The authors prove that this consensus is reached quickly enough (within the "diameter" of the communication graph) to maintain the feasibility of the global mission.

The workflow involves an offline training stage, where a family of policies is learned for various $\lambda$ values, and an online execution stage, where agents update their local $\lambda$ values based on gossiped information and select the corresponding policy.

Datasets

The paper does not use standard static datasets but evaluates the approach through three increasingly complex simulations:

  • 2D Point Mass Simulation: A basic setup with 2 agents and 4 circular zones to test the core mathematical framework.
  • Gazebo/ROS2 Environment: A high-fidelity simulation using TurtleBot robots, accounting for realistic physics and collision avoidance.
  • Complex Floorplan: A navigation task in an environment with L-shaped corridors, offices, and labs, testing the algorithm's ability to handle obstacles and non-trivial pathfinding.

Key Insights and Ideas

  • Oscillation as a Feature: In traditional optimization, oscillation is usually a sign of failure to converge. Here, it is the mechanism for success. The "hunting" behavior of the dual variables is exactly what allows agents to sequence their tasks.
  • Decoupling Policy from Coordination: By parameterizing the policy with $\lambda$, the agents can learn how to perform tasks offline, while the online coordination is reduced to simply updating and sharing these $\lambda$ values.
  • Almost Sure Feasibility: The paper provides a formal proof (Theorem 4) that under certain conditions (like sufficient neural network capacity and small step sizes), the agents will satisfy the constraints with probability one.

Key Results

  • Handling Overload: In the 2-agent, 4-zone experiment, the agents successfully satisfied a total requirement of 120% coverage (30% per zone), which is mathematically impossible for a single agent and requires precise alternating coordination.
  • Robustness to Intermittency: The system maintained feasibility even when agents were only within communication range 30% of the time, demonstrating that the gossip protocol is robust to moving agents and changing network topologies.
  • Real-world Viability: The successful ROS2 implementation shows that the "high-level" assignment logic integrates well with "low-level" controllers like SLAM and obstacle avoidance.

Limitations and Future Work

  • "No Repelling Forces" Assumption: The proof relies on the assumption that an agent can stay in a zone indefinitely if needed. In environments with extreme dynamics or "wind" that pushes agents away, this might not hold.
  • Training Complexity: The offline phase requires training a policy that is sensitive to a continuous range of $\lambda$ values, which can be computationally intensive.
  • Future Directions: The authors aim to move from Gazebo simulations to physical autonomous vehicles in real-life environments to further validate the communication and navigation aspects of the protocol.

Summary updated

BibTeX
@misc{agorio2024multi,
  author = {Leopoldo Agorio and Sean Van Alen and Miguel Calvo-Fullana and Santiago Paternain and Juan Andres Bazerque},
  title = {{Multi-agent assignment via state augmented reinforcement learning}},
  year = {2024},
  eprint = {2406.01782},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01782},
}
Figure