Safe Multi-Agent Reinforcement Learning for Behavior-Based Cooperative Navigation

Murad Dawood, Sicong Pan, Nils Dengler, Siqi Zhou, Angela P. Schoellig, Maren Bennewitz

TL;DR

This paper introduces a novel approach to safe multi-agent reinforcement learning (MARL) for cooperative robot navigation. By using a single target for the entire robot formation and integrating a model predictive control (MPC) safety filter, the method achieves collision-free navigation during both training and deployment, even on real robots, and improves learning efficiency.

What Problem Does This Paper Address?

Cooperative navigation, where multiple robots work together to achieve a common goal, is crucial for applications like search and rescue or surveillance. While reinforcement learning (RL) has shown promise in this area, a major hurdle is ensuring safety, especially during the learning process. Existing methods often struggle with the "sim-to-real" gap, where policies trained in simulation fail to perform reliably in the real world due to sensor noise and unmodeled dynamics. Furthermore, many approaches require individual target locations for each robot, which complicates coordination and scalability. This paper tackles the challenge of achieving safe, behavior-based cooperative navigation in MARL without individual robot targets, ensuring zero collisions during training and deployment, and demonstrating its effectiveness on real robots.

Methods

The core of the proposed solution is a safe multi-agent reinforcement learning (MARL) framework built upon the soft-actor-critic (SAC) algorithm. Key methodological contributions include:

  • Behavior-Based Navigation with Centroid Target: Instead of assigning individual targets to each robot, the system uses a single target for the centroid of the robot formation. This simplifies the problem and enhances scalability.
  • Attention Mechanism for Interaction: To effectively capture inter-robot dependencies and relative information, an attention module is incorporated into the critics. This allows agents to weigh the importance of information from other agents.
  • Model Predictive Control (MPC) Safety Filter: A crucial component is a distributed MPC-based safety filter. This filter acts as a "shield" that predicts potential collisions and overrides unsafe actions proposed by the RL agent. The MPC controller uses a model of the robot's dynamics to ensure that predicted states and actions remain within safe bounds.
  • Centralized Training Decentralized Execution (CTDE): The MARL framework follows the CTDE paradigm, where critics are trained with access to all agents' observations, but actors operate with only their local observations during execution.
  • Penalty for MPC Deviation: To encourage the RL agent to learn safe behaviors independently and not solely rely on the MPC filter, a penalty is introduced for deviating from the MPC's recommended actions.

Datasets

The paper does not explicitly mention specific named datasets. Instead, it utilizes:

  • Simulated Environments: Two simulated environments are used for training and evaluation:
  • An empty environment for learning to move the centroid to a goal.
  • An environment with static and dynamic obstacles for collision avoidance.
  • Real-World Experiments: The approach is validated on physical robots, specifically two Turtlebot 2 (TB2) robots and one Turtlebot 4 (TB4) robot.

Key Insights and Ideas

  • Safety as a Prerequisite for Learning: The integration of an MPC safety filter not only ensures collision-free operation but also significantly improves the learning process. By preventing catastrophic failures (collisions), the RL agent can explore more effectively and converge faster.
  • Centroid Target Sufficiency: The research demonstrates that a single target for the formation's centroid is sufficient for effective behavior-based cooperative navigation, eliminating the need for complex individual target assignments.
  • Scalability through Limited Information: By only requiring information about two neighbors and the centroid's goal, the approach is inherently scalable to larger robot teams without requiring retraining.
  • MPC as a Training Accelerator: The MPC safety filter acts as a "training wheels" mechanism, allowing safe exploration and faster convergence, especially in early stages of training. The penalty mechanism ensures the agent eventually learns to perform safely without constant MPC intervention.
  • Zero-Shot Transfer to Real Robots: The trained policies, even those trained with the MPC filter, can be directly deployed on real robots, demonstrating robustness and the effectiveness of the safety measures.

Key Results

  • Zero Collisions: The proposed method consistently achieves zero collisions in all tested scenarios, both in simulation and on real robots, across various configurations and obstacle densities.
  • Faster Convergence: The MPC-filtered agent (ATT_MPC) converges significantly faster than the pure learning agent (ATT), reaching desired performance levels in approximately 1,000 episodes compared to 4,000 episodes.
  • Improved Goal Reaching: The MPC-assisted training leads to a higher number of goals reached per episode.
  • Outperforms Baselines: In simulation, the approach outperforms state-of-the-art baselines like MASAC and MADDPG in terms of success rate, collision avoidance, and completion time.
  • Real-World Success: On real robots, the approach successfully navigated various configurations, including unseen ones, with zero collisions, and often faster than the MASAC baseline.
  • Generalization to More Robots: The trained policy demonstrated the ability to generalize to teams of up to eight robots, maintaining zero collisions, though timeouts increased with team size.

Limitations and Future Work

  • Timeout Increase with Team Size: While zero collisions are maintained, the number of timeouts increases with larger robot teams. This is attributed to the conservative nature of the MPC filter and the fact that other robots can act as dynamic obstacles, leading to congestion.
  • Training Time: While safe, the training process still requires significant simulation time (25 hours for 4,000 episodes), which translates to a substantial amount of real-world training time.
  • Future Work Suggestions:
    • Dynamic Obstacle Scenarios: Incorporating dynamic obstacle scenarios into the training to improve robustness.
  • Oracle Model for Prediction: Integrating an oracle model to predict the future locations of nearby moving agents.
  • Reducing MPC Intervention: Further research into reducing the MPC filter's intervention while maintaining safety.

Summary updated

BibTeX
@article{dawood2025safe,
  author = {Murad Dawood and Sicong Pan and Nils Dengler and Siqi Zhou and Angela P. Schoellig and Maren Bennewitz},
  title = {{Safe Multi-Agent Reinforcement Learning for Behavior-Based Cooperative Navigation}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3560830},
}
Figure