Abstract
Reinforcement Learning (RL) in autonomous driving often struggles with exploration in complex traffic scenarios, frequently converging to safe but inefficient local optima. This paper presents a novel framework that bootstraps a Soft Actor-Critic (SAC) agent using a rule-based, sub-optimal controller. By employing soft KL-divergence constraints and reward augmentation, the agent is guided through difficult exploration phases—such as escaping multi-lane highway 'traps'—before eventually optimizing beyond the teacher's performance. Experimental results in the highway-env simulator demonstrate that this approach achieves a 100% success rate and higher average speeds compared to standard RL and imitation learning baselines.
Introduction
Reinforcement Learning (RL) holds significant potential for autonomous driving by enabling agents to learn optimal behaviors through trial and error. However, a major hurdle is the "exploration bottleneck": in dense traffic, the optimal long-term maneuver often requires short-term actions that appear counter-intuitive or risky to a naive agent. For instance, overtaking a cluster of slow vehicles might require slowing down initially to merge into a trailing gap in an adjacent lane. Standard RL agents, prioritizing immediate rewards like speed maintenance, often fail to discover these complex maneuvers, settling instead for conservative strategies like following a slow lead vehicle indefinitely.
While Imitation Learning (IL) can mitigate this by mimicking expert behavior, it relies on vast quantities of expensive, high-quality human data. This research explores an alternative: bootstrapping RL with a simple, "good enough" rule-based script to guide the agent's early learning phases.
Methodology
The proposed framework integrates a rule-based suboptimal controller into a Soft Actor-Critic (SAC) architecture. The approach is built on four key pillars:
- Sub-optimal Heuristic: A simple rule-based controller identifies lane gaps and initiates basic overtaking maneuvers. While not expert-level, it provides a foundational behavioral path.
- Soft Constraints via KL Divergence: To prevent the agent from diverging too quickly into random exploration, a Kullback-Leibler (KL) penalty nudges the RL policy to remain close to the rule-based heuristic during early training. This constraint is gradually annealed, allowing the agent to eventually surpass the teacher.
- Hybrid Replay Buffer: The agent's experience is supplemented with 200 episodes of data generated by the rule-based controller, ensuring a baseline of successful maneuvers is always available for learning.
- Reward Augmentation: Instead of traditional margin-based losses, the authors utilize a reward "bonus" for actions that align with the demonstration data, which proved more effective for integrating sub-optimal guidance.
Experimental Setup
The framework was evaluated using the highway-env simulation platform. The primary challenge is the "Trap" scenario, where the ego vehicle is boxed in by two slower "trap" vehicles. Success requires the agent to recognize the bottleneck and execute a multi-step lane change maneuver that involves finding a backward gap.
Key Results and Discussion
The bootstrapped RL agent significantly outperformed state-of-the-art baselines, which all failed to solve the "trap" scenario (0% success rate).
| Method | Success Rate | Accumulated Reward | Avg. Speed | Collision Rate |
|---|---|---|---|---|
| SAC (Vanilla) | 0% | 21.32 | 10.50 m/s | 0% |
| CQL (Offline RL) | 0% | 23.06 | 10.00 m/s | 0% |
| GAIL (Imitation) | 0% | 22.40 | 9.99 m/s | 5% |
| Suboptimal Rule | 100% | 24.70 | 11.51 m/s | 0% |
| Ours (Bootstrapped) | 100% | 44.92 | 12.55 m/s | 0% |
A key finding is that the RL agent eventually outperformed its rule-based teacher, achieving a higher average speed (12.55 m/s vs. 11.51 m/s). This demonstrates that the sub-optimal policy serves as an effective "scaffold" for exploration rather than a rigid template to be copied. Furthermore, the proposed method reduces policy entropy much faster than vanilla SAC, meaning the agent spends less time in random exploration and more time refining promising strategies.
Conclusion
This work demonstrates that sub-optimal, rule-based controllers can effectively bootstrap RL agents for complex driving tasks. By using these heuristics to overcome exploration barriers, agents can learn sophisticated maneuvers that standard RL algorithms miss. Future work will focus on the generalizability of these heuristics to more diverse urban environments and the potential for automated heuristic generation.
Summary updated