Abstract
Deep Reinforcement Learning (DRL) models often struggle with safety in complex traffic junctions, frequently resulting in high collision rates. This paper introduces a "self-awareness" module based on a multi-head attention mechanism that allows an autonomous vehicle to prioritize relevant surrounding traffic. By implementing this Attention-DQN approach, the researchers successfully reduced collision rates in intersections from over 50% to approximately 15% and significantly mitigated the "frozen robot" problem in roundabouts.
Introduction
While DRL has shown massive potential in autonomous driving, most research focuses on maximizing "cumulative rewards" (like speed and distance) rather than explicit safety metrics. In complex environments like intersections and roundabouts, standard DRL agents often fail because they treat all surrounding data with equal importance or struggle with partial observations. This leads to two major issues: high collision rates where agents take excessive risks, and the "frozen robot" problem where agents become over-cautious and stop moving entirely, creating a secondary traffic hazard.
Methods: The Self-Awareness Module
The core innovation of this work is the Self-Awareness Module, integrated into an Attention-DQN architecture. Inspired by the Transformer architecture, this module uses a Query-Key-Value (QKV) structure to filter information. The "ego" vehicle (the controlled agent) sends out a "query" to evaluate the state of surrounding vehicles ("keys").
Instead of processing every vehicle in the simulation equally, the attention mechanism assigns weights to surrounding cars. For instance, a car on a potential collision course receives high attention, while a car moving away receives low attention. The architecture splits observations into ego-vehicle features and neighbor-vehicle features, passes them through Multi-Layer Perceptrons (MLPs) and normalization layers, and then uses multi-head attention to fuse the data before the Q-network decides on an action (accelerate, slow down, or idle).
Experimental Setup
The study utilizes the highway-env simulation environment, a standard benchmark for autonomous driving. Two specific, challenging scenarios were evaluated:
- Intersection: A four-way crossing where the ego vehicle must turn left while yielding to traffic with the right-of-way.
- Roundabout: A two-lane circular junction where the vehicle must enter, navigate, and take the second exit.
The authors compared the proposed Attention-DQN against three baseline DRL models: standard DQN, Advantage Actor-Critic (A2C), and Proximal Policy Optimization (PPO).
Key Results and Insights
The proposed Attention-DQN significantly outperformed the baselines across four metrics: collision rate, success rate, freezing rate, and total reward.
In the Intersection Scenario, baseline models were surprisingly unsafe, with collision rates exceeding 50%. The Attention-DQN dropped the collision rate from 56.88% (Baseline DQN) to 14.57%, while increasing the success rate from 29.23% to 52.58%.
In the Roundabout Scenario, the "frozen robot" problem was a major hurdle for baselines. The standard DQN froze in 51.31% of episodes. The Attention-DQN reduced this to just 3.28%, allowing the success rate to jump from 33.99% to 83.92%.
The researchers found that "Attention = Confidence." By "knowing" which vehicles were irrelevant, the ego vehicle gained the confidence to move forward when a gap was actually safe, rather than staying paralyzed by the mere presence of other cars. Visualizing the attention heads confirmed that the car "looks" at incoming traffic from the right before making a left turn, mimicking human defensive driving.
Conclusion and Future Work
Despite the improvements, a 14.57% collision rate remains too high for real-world deployment. Limitations include "external crashes" where other simulated vehicles block the road, causing the ego vehicle to freeze, and the inherent simplicity of the kinematic simulation model compared to reality. Future work will focus on combining these attention modules with more advanced optimization measurements and richer sensing data to drive collision rates toward zero.
Summary updated