Spatial-Temporal-Aware Safe Multi-Agent Reinforcement Learning of Connected Autonomous Vehicles in Challenging Scenarios

Zhili Zhang, Songyang Han, Jiangwei Wang, Fei Miao · DOI

TL;DR

This paper introduces a novel framework for connected autonomous vehicles (CAVs) that combines multi-agent reinforcement learning (MARL) with a "safety shield" to navigate complex, hazardous driving scenarios. By leveraging spatial-temporal awareness through a GCN-Transformer encoder and ensuring safety with Control Barrier Functions, their approach significantly improves collision-free rates and overall efficiency compared to existing methods.

What Problem Does This Paper Address?

Autonomous vehicles (AVs) are increasingly equipped with communication capabilities (V2X) that allow them to share information, potentially enhancing their decision-making. However, it's not clear how to best utilize this shared information, especially in challenging scenarios involving unpredictable "hazard vehicles" (HAZVs) that violate traffic rules. Existing methods struggle to coordinate multiple AVs effectively and guarantee safety when faced with sudden maneuvers or red-light running. This paper aims to bridge this gap by developing a MARL framework that explicitly addresses safety and coordination in these high-stakes situations.

Methods

The core of the proposed solution is a Constrained Multi-Agent Advantage Actor-Critic (C-MAA2C) algorithm. Key components include:

  • Spatial-Temporal Encoder (GCN-Transformer): This novel neural network architecture processes information from multiple agents and their environment (road, other vehicles) to build a rich understanding of the driving scene over space and time. This enhances the agents' situational awareness beyond their individual sensors.
  • Safety Shield (Control Barrier Functions - CBFs): To guarantee safety, a CBF-based module is integrated. This module identifies and prunes unsafe actions from the agent's policy, ensuring that the vehicle never enters a dangerous state. It uses quadratic programming (CBF-QP) to evaluate candidate actions against safety constraints.
  • Constrained MARL: The framework is built upon Constrained Markov Decision Processes (CMDPs), aiming to maximize rewards while adhering to safety constraints.
  • Cooperative Policy Learning: Agents learn to coordinate their actions through shared information and a decentralized execution with centralized training approach.

Datasets

The experiments were conducted in the CARLA simulator. The authors created challenging scenarios including:

  • Intersection: CAVs navigating an intersection while a HAZV runs a red light.
  • Highway: CAVs on a highway where a HAZV performs a sudden hard brake.
  • Highway-Hard: A more complex version of the highway scenario with more vehicles and tighter spacing.

The paper does not mention using any publicly available datasets for training or evaluation, relying solely on simulated environments.

Key Insights and Ideas

  • Safety is Paramount: The significant improvement in collision-free rates when the Safety Shield is active highlights the critical need for explicit safety mechanisms in MARL for AVs, especially in unpredictable environments.
  • Awareness is Key: The GCN-Transformer encoder's superiority over a standard fully-connected network demonstrates that effectively encoding spatial and temporal relationships among agents and their environment is crucial for better decision-making in complex scenarios.
  • Coordination Pays Off: The performance drop observed when V2X communication is disabled underscores the vital role of information sharing and coordination among CAVs for achieving high safety and efficiency in challenging situations.
  • Robustness in Normal Driving: Even in scenarios without explicit hazards, the proposed method maintains a high collision-free rate, indicating its general applicability and robustness.

Key Results

The proposed method, "GT-CA2C" (GCN-Transformer Constrained Advantage Actor-Critic), consistently outperformed baselines across all tested scenarios:

  • Intersection: Achieved a 96% collision-free rate and a mean episode return of 624.8, compared to baselines achieving 93% and 91% respectively.
  • Highway: Achieved a 95% collision-free rate and a mean episode return of 955.6, outperforming baselines.
  • Highway-Hard: Achieved a 78% collision-free rate and a mean episode return of 724.3, significantly better than baselines.
  • Effectiveness of Safety Shield: Removing the safety shield ("w/o SS") resulted in a drastic drop in collision-free rates (e.g., from 94% to 20% in Intersection) and mean episode returns, proving its essential contribution.
  • Effectiveness of GCN-Transformer: Compared to a fully-connected baseline ("FC-CA2C"), the GCN-Transformer encoder led to higher collision-free rates and returns, especially in the more challenging Highway-Hard scenario.
  • Benefits of Coordination: Disabling communication led to a substantial decrease in performance (e.g., collision-free rate dropping from 94% to 44% in Intersection), confirming the importance of V2X communication.

Limitations and Future Work

  • Noisy/Erroneous Information: The authors acknowledge that their current framework assumes perfect information sharing. Future work could focus on enhancing robustness to noisy or erroneous shared observations or models.
  • Simulator Dependence: While CARLA is a sophisticated simulator, real-world deployment might introduce complexities not fully captured.
  • Scalability: The paper doesn't extensively discuss the scalability of the approach to a very large number of agents.

The authors suggest extending the robustness of the MARL algorithm and the CBF safety shield to handle imperfect information, which is a crucial step towards real-world deployment.

Summary updated

BibTeX
@inproceedings{zhang2022spatial,
  author = {Zhili Zhang and Songyang Han and Jiangwei Wang and Fei Miao},
  title = {{Spatial-Temporal-Aware Safe Multi-Agent Reinforcement Learning of Connected Autonomous Vehicles in Challenging Scenarios}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2022},
  doi = {10.1109/icra48891.2023.10161216},
}
Figure