Reinforcement Learning based Control of Imitative Policies for Near-Accident Driving

Zhangjie Cao, Erdem Biyik, Woodrow Z. Wang, Allan Raventos, Adrien Gaidon, Guy Rosman, Dorsa Sadigh · OpenReview

Introduction

Autonomous vehicles (AVs) have achieved high proficiency in standard cruising; however, "near-accident" scenarios—such as unprotected left turns with occlusions or sudden lane cut-ins—remain a significant challenge. These situations are characterized by phase transitions, where a minor change in the environment (e.g., an oncoming car's slight speed increase) requires a total shift in strategy, such as moving from proceeding with caution to emergency braking.

Standard learning methods often fail in these high-stakes transitions. Imitation Learning (IL) requires massive datasets to cover every edge case and tends to "blur" actions together, failing to capture sharp strategic shifts. Reinforcement Learning (RL), while strategic, struggles with continuous, high-dimensional state-action spaces, often resulting in jittery or unsafe low-level control.

The H-REIL Framework

The authors propose H-REIL (Hierarchical Reinforcement and Imitation Learning), a two-layered hierarchy designed to play to the strengths of both paradigms.

The H-REIL architecture utilizes a high-level RL agent to select between specialized low-level IL driving modes.
  1. Low-Level (Imitation Learning): Multiple driving "modes" (e.g., Timid and Aggressive) are trained using Conditional Imitation Learning (CoIL). Because each mode is specialized to one consistent style, it can be trained effectively with fewer expert demonstrations.
  2. High-Level (Reinforcement Learning): A high-level agent uses Proximal Policy Optimization (PPO) to decide which low-level mode to activate every $t_s$ time steps.

By converting a complex continuous control problem into a discrete "mode-switching" task, the RL agent explores the environment more efficiently. The reward function is straightforward: prioritize safety (avoid collisions) and efficiency (reach the destination quickly).

Experimental Results

H-REIL was evaluated across five challenging scenarios: Cross Traffic, Halting Car, Wrong Direction, Unprotected Turn, and Merge. Testing was conducted in both the CARLO 2D simulator and the high-fidelity CARLA 3D simulator.

Performance metrics across five scenarios show H-REIL achieving the highest rewards by balancing safety (low collision rate) and efficiency (fast completion time).

Key Findings

  • Safety and Efficiency: H-REIL consistently achieved the highest average rewards. It proved to be almost as safe as the "Timid" mode but significantly faster, and much safer than the "Aggressive" mode.
  • Outperforming Baselines: H-REIL significantly outperformed standard IL trained on a mixture of all data, demonstrating that discrete mode-switching is superior to averaging expert behaviors in near-accident scenarios.
  • Human Preference: A user study with 49 participants showed a significant preference ($p < 0.005$) for H-REIL trajectories, which were perceived as more natural and competent than those of other methods.

Conclusion

H-REIL demonstrates that complex, non-smooth driving behavior can be effectively modeled as a sequence of smooth, style-specific policies. By using IL for stability and RL for strategy, the framework provides a robust solution for navigating high-risk driving environments. Future work will focus on expanding the library of available driving modes and improving generalization to real-world hardware and unpredictable human agents.

Summary updated

BibTeX
@inproceedings{cao2020reinforcement,
  author = {Zhangjie Cao and Erdem Biyik and Woodrow Z. Wang and Allan Raventos and Adrien Gaidon and Guy Rosman and Dorsa Sadigh},
  title = {{Reinforcement Learning based Control of Imitative Policies for Near-Accident Driving}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  doi = {10.15607/rss.2020.xvi.039},
}
Figure