Abstract
This paper presents a hybrid framework for autonomous lane-changing that integrates Deep Reinforcement Learning (DRL) with rule-based safety constraints. By employing a Deep Q-Network (DQN) for high-level decision-making and a rule-based "veto" layer for safety verification, the system achieves a balance between driving efficiency and operational safety. Experimental results in the Udacity simulator demonstrate that the proposed Rule-based DQN significantly outperforms pure learning-based and pure rule-based approaches, achieving higher average speeds and a 4x improvement in safety rates over pure DQN.
Introduction
Decision-making in autonomous driving is a complex challenge due to the uncertainty and high dimensionality of traffic environments. Traditional approaches generally fall into two categories: rule-based systems and learning-based systems. Rule-based systems are safe and predictable but often result in overly conservative, "robotic" behavior that fails to generalize. Conversely, learning-based systems like DRL can optimize for complex behaviors but act as "black boxes," potentially taking dangerous actions during training or in edge-case scenarios. This research proposes a hybrid model that combines the optimization capabilities of DRL with the strict safety bounds of rule-based logic.
Proposed Methodology
System Architecture
The framework decomposes the driving task into two distinct layers: a High-Level Decision Maker and a Low-Level Controller with a safety constraint layer.
- High-Level Decision Maker (DQN): A Deep Q-Network is utilized to make lateral decisions (stay in lane, change left, or change right). It processes a structured representation of the environment to select the most efficient action.
- Low-Level Controller & Safety Layer: This module manages longitudinal speed and acts as a supervisor. Before any lane change suggested by the DQN is executed, this layer predicts the trajectories of the ego vehicle and surrounding traffic. If a collision risk is detected, the action is vetoed, and the vehicle remains in its current lane.
State Representation and Training
To improve convergence speed and focus on traffic physics, the authors moved away from raw pixel inputs. Instead, they utilize a $45 \times 3$ grid matrix representing a zone 60m ahead and 30m behind the vehicle. Each cell in this grid contains the normalized speed of the vehicle occupying that space.
To ensure the agent learns effective lane-changing behavior, the authors implemented Balanced Experience Replay. By sampling 50% of training data from "keep lane" actions and 50% from "lane change" actions, they prevent the agent from developing a bias toward the more frequent but less complex task of staying in the lane.
Experimental Results
The model was evaluated in the Udacity self-driving car simulator on a three-lane highway loop. The proposed Rule-based DQN was compared against a standard rule-based policy and a pure DQN policy.
| Method | Avg Speed (MPH) | Avg Lane Changes | Safety Rate |
|---|---|---|---|
| Rule-based Policy | 45.22 | 8.40 | 0.6 |
| Pure DQN Policy | 46.16 | 37.40 | 0.2 |
| Rule-based DQN | 46.99 | 8.80 | 0.8 |
The results indicate that the hybrid approach effectively "calms" the hyper-active behavior of pure DQN (which attempted 37.4 lane changes per episode) while maintaining the highest average speed. Most importantly, the safety rate improved from 0.2 (pure DQN) to 0.8.
Conclusion and Future Work
The study demonstrates that DRL does not need total control to be effective. By allowing a rule-based system to veto dangerous decisions, autonomous agents can achieve high efficiency without catastrophic failures. Future work will focus on improving safety beyond the 0.8 rate by incorporating temporal data (historical trajectories) to better predict the intentions of other drivers and exploring more advanced DRL algorithms like PPO or SAC.
Summary updated