Skip to main content
QUICK REVIEW

[Paper Review] Safe Multi-Agent Reinforcement Learning through Decentralized Multiple Control Barrier Functions

Zhiyuan Cai, Huanhui Cao|arXiv (Cornell University)|Mar 23, 2021
Reinforcement Learning in RoboticsComputer Science24 references13 citations
TL;DR

This paper proposes a decentralized safe multi-agent reinforcement learning framework by integrating multiple Control Barrier Functions (CBFs) to ensure collision avoidance in multi-agent systems. It extends MADDPG with decentralized CBFs (MADDPG-CBF), proving theoretical safety guarantees and demonstrating in experiments that the method achieves collision-free learning with stable high rewards, unlike baseline MADDPG which suffers frequent collisions.

ABSTRACT

Multi-Agent Reinforcement Learning (MARL) algorithms show amazing performance in simulation in recent years, but placing MARL in real-world applications may suffer safety problems. MARL with centralized shields was proposed and verified in safety games recently. However, centralized shielding approaches can be infeasible in several real-world multi-agent applications that involve non-cooperative agents or communication delay. Thus, we propose to combine MARL with decentralized Control Barrier Function (CBF) shields based on available local information. We establish a safe MARL framework with decentralized multiple CBFs and develop Multi-Agent Deep Deterministic Policy Gradient (MADDPG) to Multi-Agent Deep Deterministic Policy Gradient with decentralized multiple Control Barrier Functions (MADDPG-CBF). Based on a collision-avoidance problem that includes not only cooperative agents but obstacles, we demonstrate the construction of multiple CBFs with safety guarantees in theory. Experiments are conducted and experiment results verify that the proposed safe MARL framework can guarantee the safety of agents included in MARL.

Motivation & Objective

  • To address safety concerns in real-world multi-agent reinforcement learning (MARL) applications where centralized shielding is impractical due to communication delays or non-cooperative agents.
  • To develop a decentralized, scalable safety mechanism for MARL using multiple Control Barrier Functions (CBFs) that operate on local information.
  • To integrate CBFs with deep deterministic policy gradient methods to create a safe, sample-efficient MARL algorithm.
  • To theoretically and empirically validate that the proposed framework ensures safety in multi-agent environments with both cooperative agents and obstacles.

Proposed method

  • Proposes a safe MARL framework using decentralized multiple CBFs, where each agent employs both cooperative and non-cooperative CBFs based on local observations.
  • Derives control laws via quadratic programs (QPs) that modify actions to satisfy CBF constraints, ensuring forward invariance of safe sets.
  • Designs cooperative CBFs for interactions with other agents and non-cooperative CBFs for obstacles, based on relative position and velocity.
  • Integrates the CBF shielding mechanism into the MADDPG algorithm to form MADDPG-CBF, preserving policy optimization while enforcing safety.
  • Uses a hybrid reward function that penalizes proximity to obstacles and other agents, with additional incentives for reaching target check-in points.
  • Employs a two-stage action modification: first, the original policy generates actions; second, CBFs project these actions into the safe set via QP optimization.

Experimental results

Research questions

  • RQ1Can decentralized multiple CBFs ensure safety in MARL without relying on centralized shields or global communication?
  • RQ2How can cooperative and non-cooperative CBFs be jointly designed to handle both agent-to-agent and agent-to-obstacle collisions?
  • RQ3Does the integration of CBFs with MADDPG preserve learning performance while guaranteeing safety during training?
  • RQ4What is the theoretical safety guarantee of the proposed framework in multi-agent collision-avoidance scenarios?
  • RQ5How does the performance of MADDPG-CBF compare to standard MADDPG in terms of collision frequency and cumulative reward?

Key findings

  • MADDPG-CBF achieved a stable average total reward of approximately 40,000 from the beginning of training, while standard MADDPG required 3,200 episodes to converge.
  • The collision ratio for MADDPG-CBF was 0% across all 25,000 training episodes, with zero collisions recorded in five independent runs.
  • In contrast, standard MADDPG incurred 12,634 collisions across the same training runs, resulting in a 50.536% collision ratio.
  • Trajectory visualizations confirmed that agents in MADDPG-CBF successfully avoided collisions with each other and obstacles through coordinated steering.
  • The method enabled Patrolman II to reach all five check-in points while maintaining safety, demonstrating task completion under strict safety constraints.
  • The integration of CBFs significantly improved sample efficiency and safety, with no safety violations observed during learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.