[Paper Review] Self-Awareness Safety of Deep Reinforcement Learning in Road Traffic Junction Driving
This paper proposes an attention-based self-awareness module for deep reinforcement learning (DRL) agents in autonomous driving to enhance safety at complex road traffic junctions. By integrating a self-attention mechanism into DQN, the model improves situational awareness, significantly reducing collision and freezing rates in roundabout scenarios—achieving a 96.7% reduction in freezing rate (from 50% to 3.28%)—while maintaining high success and reward performance.
Autonomous driving has been at the forefront of public interest, and a pivotal debate to widespread concerns is safety in the transportation system. Deep reinforcement learning (DRL) has been applied to autonomous driving to provide solutions for obstacle avoidance. However, in a road traffic junction scenario, the vehicle typically receives partial observations from the transportation environment, while DRL needs to rely on long-term rewards to train a reliable model by maximising the cumulative rewards, which may take the risk when exploring new actions and returning either a positive reward or a penalty in the case of collisions. Although safety concerns are usually considered in the design of a reward function, they are not fully considered as the critical metric to directly evaluate the effectiveness of DRL algorithms in autonomous driving. In this study, we evaluated the safety performance of three baseline DRL models (DQN, A2C, and PPO) and proposed a self-awareness module from an attention mechanism for DRL to improve the safety evaluation for an anomalous vehicle in a complex road traffic junction environment, such as intersection and roundabout scenarios, based on four metrics: collision rate, success rate, freezing rate, and total reward. Our two experimental results in the training and testing phases revealed the baseline DRL with poor safety performance, while our proposed self-awareness attention-DQN can significantly improve the safety performance in intersection and roundabout scenarios.
Motivation & Objective
- To evaluate the safety performance of baseline DRL models (DQN, A2C, PPO) in complex road traffic junctions, such as intersections and roundabouts.
- To identify critical safety shortcomings in existing DRL models, particularly high freezing rates and collision risks during exploration.
- To design and implement a self-awareness module using attention mechanisms to improve real-time situational awareness and safety evaluation.
- To validate the effectiveness of the proposed attention-DQN model across training and testing phases in both intersection and roundabout environments.
Proposed method
- Integrated a self-attention mechanism into the DQN architecture to enable the agent to dynamically focus on relevant traffic participants based on attention weights.
- Trained the attention-DQN model using the same environment and reward function as baseline DRL models, with safety metrics as evaluation criteria.
- Used four evaluation metrics: collision rate, success rate, freezing rate, and total cumulative reward to assess safety and performance.
- Visualized attention maps during inference to analyze how the agent prioritizes surrounding vehicles and environmental states in real time.
- Applied the attention mechanism to enhance long-term decision-making by improving perception of dynamic and ambiguous traffic situations.
- Conducted comparative experiments between baseline DRL models and the proposed attention-DQN across two complex junction scenarios: intersection and roundabout.
Experimental results
Research questions
- RQ1How do baseline DRL models (DQN, A2C, PPO) perform in terms of safety metrics—collision rate, freezing rate, success rate, and total reward—in complex road traffic junctions?
- RQ2To what extent can an attention-based self-awareness module reduce collision and freezing rates in intersection and roundabout driving scenarios?
- RQ3Why does the attention mechanism improve safety performance in roundabout scenarios but not in intersection scenarios, despite reducing collisions?
- RQ4How does the attention mechanism influence the agent’s decision-making confidence and path planning under dynamic and uncertain traffic conditions?
Key findings
- The baseline DRL models (DQN, A2C, PPO) exhibited poor safety performance, with freezing rates exceeding 50% in roundabout scenarios during both training and testing.
- The proposed attention-DQN model reduced the freezing rate in roundabout scenarios to 3.28% in testing and 15% in training, representing a 96.7% improvement over baseline.
- In intersection scenarios, the attention-DQN reduced the collision rate but increased the freezing rate, indicating a trade-off between collision avoidance and path continuity.
- The attention mechanism enabled the ego vehicle to better track and anticipate the behavior of surrounding vehicles, especially in high-uncertainty zones like roundabout entries.
- Attention maps revealed that the agent prioritized vehicles from the left and right with ambiguous intentions, and shifted focus dynamically based on proximity and trajectory.
- The model demonstrated improved situational awareness by re-focusing on the ego vehicle only when the environment was deemed safe, enhancing decision confidence.
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.