Abstract
Reinforcement learning (RL) is a powerful tool for autonomous driving, but balancing driving efficiency with strict safety constraints is notoriously difficult. This paper introduces DSAC-H, a novel RL algorithm that uses a "harmonic gradient" to mathematically resolve conflicts between reward and safety objectives. By preventing these goals from fighting each other during training, DSAC-H achieves highly efficient driving with zero collisions in complex, multi-lane simulations.
Introduction
Deep Reinforcement Learning (RL) allows autonomous vehicles to learn complex driving policies through trial and error. However, real-world driving requires strict adherence to safety constraints, such as avoiding collisions and maintaining safe following distances, alongside efficiency goals.
Standard "Safe RL" approaches typically combine reward (efficiency) and cost (safety violations) into a single objective using penalty factors or Lagrange multipliers. This often leads to a "tug-of-war" during training: if the gradient for improving the reward points in the opposite direction of the gradient for improving safety, the objectives conflict. This causes training instability, performance oscillations, and policies that are either too conservative or dangerously aggressive. DSAC-H addresses this fundamental gradient conflict problem.
Methodology
The authors build upon Distributional Soft Actor-Critic (DSAC), which learns the entire probability distribution of returns to prevent overestimating risky actions. To handle safety, they introduce Harmonic Policy Iteration (HPI).
As shown in the flowchart above, the process involves:
- Separate Evaluations: The agent maintains two separate value functions for expected cumulative reward (efficiency) and cost (safety).
- Gradient Calculation: The algorithm calculates two distinct policy gradients: $g_r$ (reward maximization) and $g_c$ (cost minimization).
- The Harmonic Gradient: If the gradients conflict (forming an obtuse angle), HPI solves a localized minimax optimization problem to find a "harmonic gradient" ($h$). This gradient is constrained within a trust region and optimized to improve both objectives simultaneously.
Experimental Results
The algorithm was evaluated in a dynamic simulation of a 6-lane bidirectional intersection with varying traffic flows (600 to 1200 vehicles per hour).
Key results include:
- Zero Collisions: In 50 unseen scenarios covering 600km of simulated driving, the ego vehicle experienced zero collisions.
- Superior Convergence: As seen in the performance plots, DSAC-H converged faster and more stably than the baseline DSAC, reaching a 100% arrival rate while maintaining a near-zero collision rate much earlier in the training process.
- High-Precision Control: The policy maintained lateral position errors within $\pm 0.125$ meters and heading angle errors within $\pm 1.5^\circ$, indicating smooth, human-like lane-keeping behavior.
Conclusion
DSAC-H demonstrates that framing policy updates through the lens of gradient geometry can effectively resolve the bottleneck in Safe RL. By ensuring that reward and safety gradients do not conflict, the algorithm achieves a balance of efficiency and strict safety. Future work will focus on validating these results in real-world environments with sensor noise and more aggressive human-driven traffic.
Summary updated