Minimizing Safety Interference for Safe and Comfortable Automated Driving with Distributional Reinforcement Learning

Danial Kamran, Tizian Engelgeh, Marvin Busch, Johannes Fischer, Christoph Stiller

Introduction

Training Reinforcement Learning (RL) agents for autonomous driving involves a critical trade-off between efficiency and safety. Heavily penalizing risky behavior often leads to overly conservative agents, such as those that wait indefinitely at intersections. To ensure safety, a deterministic "safety layer" is typically implemented to override RL actions with emergency maneuvers. However, if the RL agent is too aggressive or fails to account for uncertainty, this safety layer triggers frequently, resulting in a jerky and uncomfortable passenger experience known as "safety interference." This paper addresses the challenge of creating an agent that is efficient, safe, and comfortable by minimizing reliance on emergency overrides in uncertain environments.

Methods

The proposed framework integrates deterministic safety checks with advanced distributional RL:

  1. Proactive Safety Verification: A hard-coded layer evaluates the RL agent's actions against worst-case scenarios, such as a hidden vehicle suddenly appearing or a lead car braking abruptly. If an action is deemed unsafe, a fail-safe maneuver is executed.
  2. Distributional RL (IQN): Unlike standard Deep Q-Networks (DQN) that predict average expected rewards, the system utilizes Implicit Quantile Networks (IQN) to model the entire distribution of possible returns. By employing Conditional Value-at-Risk (CVaR), the agent can tune its risk sensitivity ($\alpha$) at runtime, allowing it to account for "tail risks" that might trigger the safety layer.
  3. Deep Sets Architecture: To manage a variable number of surrounding vehicles and lanes, a Deep Sets neural network architecture is used. This approach is scalable and permutation-invariant, effectively processing dynamic environmental inputs.
Overview of the proposed framework combining Deep Sets, Distributional RL, and Safety Verification.

Datasets and Evaluation

Models were trained and evaluated in a high-level simulator focused on automated merging and crossing at occluded intersections. The environment randomized vehicle counts, speeds, cooperativeness, and perception noise. Training involved over 1,000 intersection scenarios and 300,000 steps.

Key Insights and Ideas

  • Risk-Aware Decision Making: By moving beyond expected values to full distributions, the agent identifies actions that are consistently safer and smoother, avoiding the "tail risks" that lead to harsh braking.
  • One Model, Many Driving Styles: A single IQN model can generate a family of policies by varying the CVaR parameter ($\alpha$). This allows for on-the-fly adjustments to driving style without requiring retraining.
  • Implicit Intention Prediction: Utilizing a history of observations, the agent learns to anticipate the behavior of other drivers, adjusting its speed to prevent safety layer interventions.

Key Results

The framework achieved a 100% safety record across all tests due to the proactive safety layer. Key performance metrics include:

  • Efficiency: The IQN agent completed crossings an average of 8 seconds faster than the conservative DQN baseline.
  • Comfort: Compared to a fast rule-based policy, the IQN agent required 83% less safety interference (emergency braking), significantly improving ride smoothness.
  • Robustness: The agent maintained superior performance even when perception noise was doubled, demonstrating resilience to high uncertainty.
Performance metrics comparing Deepsets-IQN against DQN and Rule-based baselines across different risk sensitivity levels.

Limitations and Future Work

The primary limitation noted is the manual tuning of the risk-sensitivity parameter ($\alpha$). Future research will focus on developing methods to automatically and dynamically tune this risk sensitivity at runtime based on real-time environmental uncertainty or specific passenger preferences.

Summary updated

BibTeX
@inproceedings{kamran2021minimizing,
  author = {Danial Kamran and Tizian Engelgeh and Marvin Busch and Johannes Fischer and Christoph Stiller},
  title = {{Minimizing Safety Interference for Safe and Comfortable Automated Driving with Distributional Reinforcement Learning}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  doi = {10.1109/iros51168.2021.9636847},
}
Figure