[Paper Review] Multi-Agent Reinforcement Learning Guided by Signal Temporal Logic Specifications
This paper proposes a novel multi-agent reinforcement learning (MARL) framework guided by Signal Temporal Logic (STL) specifications to address challenging reward design and safety requirements in multi-agent systems. By leveraging STL robustness values as dense, interpretable rewards and enforcing hard safety constraints via an STL safety shield, the method achieves significantly higher learning performance and safety rates compared to baseline MARL algorithms in complex scenarios like traffic jam navigation.
Reward design is a key component of deep reinforcement learning, yet some tasks and designer's objectives may be unnatural to define as a scalar cost function. Among the various techniques, formal methods integrated with DRL have garnered considerable attention due to their expressiveness and flexibility to define the reward and requirements for different states and actions of the agent. However, how to leverage Signal Temporal Logic (STL) to guide multi-agent reinforcement learning reward design remains unexplored. Complex interactions, heterogeneous goals and critical safety requirements in multi-agent systems make this problem even more challenging. In this paper, we propose a novel STL-guided multi-agent reinforcement learning framework. The STL requirements are designed to include both task specifications according to the objective of each agent and safety specifications, and the robustness values of the STL specifications are leveraged to generate rewards. We validate the advantages of our method through empirical studies. The experimental results demonstrate significant reward performance improvements compared to MARL without STL guidance, along with a remarkable increase in the overall safety rate of the multi-agent systems.
Motivation & Objective
- To address the challenge of designing effective, interpretable reward functions in multi-agent reinforcement learning (MARL) with heterogeneous goals and safety-critical constraints.
- To explore how Signal Temporal Logic (STL) can be used to express both task objectives and safety requirements in MARL.
- To develop a method that uses STL robustness as a dense, interpretable reward signal to guide policy learning.
- To ensure hard safety constraints are satisfied through an STL-based safety shield during training and inference.
- To validate the effectiveness of the proposed framework in complex, real-world-like environments such as CARLA and MPE.
Proposed method
- The framework uses Signal Temporal Logic (STL) to formally specify both task objectives and safety constraints for each agent in a multi-agent system.
- STL robustness values are computed over partial trajectories and used as dense, continuous reward signals during training to guide policy optimization.
- An STL safety shield is integrated to enforce hard safety constraints by modifying actions to ensure satisfaction of critical safety specifications.
- The method is implemented using popular MARL algorithms (e.g., MAPPO, MAA2C) with STL-guided reward shaping and safety enforcement.
- The approach is evaluated in two environments: the multi-agent particle world (MPE) and the CARLA simulator for autonomous driving scenarios.
- The framework supports mixed cooperative-competitive interactions by maintaining consistent performance across varying modes of agent interaction.
Experimental results
Research questions
- RQ1Can STL robustness values effectively guide MARL training to improve policy performance and safety?
- RQ2How does STL-guided reward shaping compare to hand-engineered scalar rewards in terms of learning efficiency and safety?
- RQ3To what extent can an STL safety shield ensure the satisfaction of hard safety constraints in multi-agent systems?
- RQ4Does the proposed framework generalize across different interaction modes (e.g., cooperative vs. competitive) in MARL?
- RQ5Can STL specifications capture complex temporal and spatial requirements in real-world scenarios like autonomous vehicle navigation?
Key findings
- In the Traffic-jam scenario, STL-guided MARL achieved a mean episode return of 1469.98 ± 43.87 for Agent 1, 3577.53 ± 580.04 for Agent 2, and 3699.26 ± 588.62 for Agent 3, significantly outperforming MAPPO (1244.12 ± 174.18, 1838.96 ± 392.22, 2245.07 ± 150.75) and MAA2C (1131.51 ± 389.62, 1645.80 ± 693.49, 2713.19 ± 465.45).
- The safety rate of STL-guided MARL reached 97% in the Traffic-jam scenario, substantially higher than MAPPO (74%), MAA2C (88%), and MAPPO without the STL safety shield (65%).
- In the Traffic-jam Expansion scenario, STL-guided MARL achieved a total mean episode return of 31,828.34 ± 2,772.05 and a safety rate of 90%, outperforming MAPPO (27,617.27 ± 9,504.04, 64%) and MAA2C (24,169.17 ± 4,133.64, 68%).
- The absence of the STL safety shield in MAPPO led to a drastic safety rate drop to 20% in the expanded scenario, highlighting the critical role of the safety shield in maintaining system safety.
- The proposed method consistently outperformed baselines across both cooperative and competitive interaction modes, demonstrating robustness in mixed environments.
- Visualization in CARLA confirmed that STL-guided agents successfully navigated through the open lane without collisions, while baseline agents failed and collided.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.