Skip to main content
QUICK REVIEW

[Paper Review] Safe Multi-Agent Reinforcement Learning via Shielding

Ingy Elsayed-Aly, Suda Bharadwaj|arXiv (Cornell University)|Jan 27, 2021
Formal Methods in VerificationComputer Science24 references30 citations
TL;DR

The paper presents centralized and factored shielding approaches to enforce LTL-specified safety in multi-agent reinforcement learning, showing safety guarantees and scalable performance across benchmarks while preserving learning quality.

ABSTRACT

Multi-agent reinforcement learning (MARL) has been increasingly used in a wide range of safety-critical applications, which require guaranteed safety (e.g., no unsafe states are ever visited) during the learning process.Unfortunately, current MARL methods do not have safety guarantees. Therefore, we present two shielding approaches for safe MARL. In centralized shielding, we synthesize a single shield to monitor all agents' joint actions and correct any unsafe action if necessary. In factored shielding, we synthesize multiple shields based on a factorization of the joint state space observed by all agents; the set of shields monitors agents concurrently and each shield is only responsible for a subset of agents at each step.Experimental results show that both approaches can guarantee the safety of agents during learning without compromising the quality of learned policies; moreover, factored shielding is more scalable in the number of agents than centralized shielding.

Motivation & Objective

  • Address safety concerns in MARL where unsafe states may be visited during exploration.
  • Introduce shielding frameworks to guarantee safety during learning without derailing policy quality.
  • Develop centralized shielding and scalable factored shielding to monitor and correct joint agent actions.

Proposed method

  • Synthesize a centralized shield as a Mealy machine by solving a two-player safety game that combines a coarse environment abstraction DFA with a safety specification DFA expressed in LTL.
  • Ensure minimal interference by correcting unsafe joint actions only when necessary and changing as few agents’ actions as possible.
  • Propose a scalable factored shielding approach that partitions the joint state space and jointly monitors subsets of agents, allowing agents to join or leave shields dynamically.
  • Coordinate multiple shields to resolve conflicts and ensure consistent safe outputs for all agents at each step.
  • Demonstrate shield synthesis via Slugs tool by solving two-player safety games, with shields triggering during MARL learning.

Experimental results

Research questions

  • RQ1Can shielding provide provable safety guarantees for MARL when agents learn through exploration?
  • RQ2How do centralized and factored shielding compare in terms of scalability and impact on learning performance?
  • RQ3Can shields be integrated with different MARL algorithms without modifying their learning dynamics?
  • RQ4How does shield coordination affect safety and policy quality in multi-agent environments?

Key findings

  • Both centralized and factored shielding can guarantee safety during MARL learning.
  • Factored shielding scales better with the number of agents than centralized shielding.
  • Shields are compatible with multiple MARL algorithms (CQ-learning and MADDPG) and do not rely on a specific learner.
  • Shield synthesis uses modest environment abstractions and completes within a practical time (e.g., shields synthesized within two minutes in experiments).
  • Empirical results show that shielding can preserve or even improve learning quality in some cases by removing unsafe actions that destabilize 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.