Continual Driving Policy Optimization with Closed-Loop Individualized Curricula

Haoyi Niu, Yizhou Xu, Xingjian Jiang, Jianming Hu

TL;DR

The Closed-Loop Individualized Curricula (CLIC) framework dynamically repurposes large-scale, safety-critical testing scenario libraries to train and optimize autonomous vehicle (AV) driving policies. By framing evaluation as a collision prediction task, CLIC automatically tailors a dynamic training curriculum that targets an AV’s evolving weaknesses while preventing the forgetting of simpler driving skills.

What Problem Does This Paper Address?

Training autonomous vehicles (AVs) using naturalistic driving data (NDD) is highly inefficient because real-world driving is overwhelmingly safe and uneventful—it suffers from a "long-tail" distribution problem. To combat this, researchers have developed advanced methods to generate massive libraries of rare, safety-critical "corner cases" (e.g., aggressive cut-ins or sudden braking by background vehicles).

However, these extensive scenario libraries are primarily used for testing rather than training. Reusing them to train AV policies introduces two major hurdles:

  1. Scenario Transferability: Scenarios collected from one specific AV model or human driver might not translate well to another due to severe distribution inconsistencies.
  2. Scenario Adaptability: As an AV policy iteratively improves, its training curriculum must dynamically adapt. Fixed or predefined curricula (e.g., simply sorting scenarios by the number of surrounding vehicles) lack the flexibility to match the AV's current capabilities, leading to inefficient training or catastrophic forgetting of basic skills.

Methods

CLIC introduces a modular, closed-loop framework that continuously evaluates the AV and updates its training data distribution. The architecture is factorized into three standardized sub-modules:

Overview of CLIC Algorithmic Architecture
  1. AV Evaluation: At each iteration, the current AV policy is exposed to a randomly sampled subset of scenarios from the static library. The framework records whether each scenario results in a success or an accident (collision/road departure).
  2. Scenario Selection: CLIC trains a neural network—termed a difficulty predictor—using Binary Cross-Entropy loss on the evaluation results. This predictor scores the failure probability of all scenarios in the library for the current AV policy. CLIC then applies weighted sampling based on these scores to select the next training batch ($d_{\text{train}}$), prioritizing harder scenarios while retaining a small fraction of easier ones.
  3. AV Training: The AV policy is optimized on the selected individualized curriculum using online Deep Reinforcement Learning, specifically the Soft Actor-Critic (SAC) algorithm.

Interestingly, while driving scenarios are inherently sequential, the authors found that a simple Multi-Layer Perceptron (MLP) functioned better and faster as a difficulty predictor than sequential models like RNNs or LSTMs, which were prone to overfitting on the training subset.

Datasets

The framework was evaluated using a large-scale static scenario library generated by (Re)$^2$H2O (a prior adversarial scenario generation framework).

  • Size: 65,494 extreme scenarios.
  • Environment: A 3-lane straight highway spanning roughly 200 meters, featuring 1 to 4 background vehicles (BVs) actively attempting to challenge or "attack" the AV.
  • Characteristics: The raw dataset has an initial accident rate of 81.0% against the unoptimized baseline AV model.

Key Insights and Ideas

  • True Individualization: CLIC doesn't just rank scenarios by an objective difficulty metric; it ranks them relative to the specific AV model being trained. To prove this, the authors intentionally "disabled" a trained AV model to make it less aware of vehicles on its left-front side. CLIC automatically adapted, sampling a significantly higher proportion of scenarios (27.87% vs 17.19% for the normal model) where background vehicles cut in aggressively from the left-front.
  • The Failure of Predefined Curricula: Standard Predefined Curriculum Learning (PCL) completely ignores the AV's feedback loop. Sorting training data purely by the number of background vehicles fails because a scenario with four passive vehicles might be significantly easier than a scenario with one highly aggressive vehicle.
  • Mitigating Catastrophic Forgetting: By utilizing continuous weighted sampling rather than hard filtering (i.e., completely discarding "easy" scenarios), CLIC maintains a balanced distribution that preserves proficiency in simpler driving tasks while pushing the boundaries on risky ones.

Key Results

CLIC was benchmarked against five common curriculum-based baselines, including random sampling (SAC w/ rand), failure-only sampling (SAC w/ fail), and Prioritized Experience Replay (PER).

Comparison of various metrics for CLIC and baselines.
  • Safety Performance: CLIC achieved the highest overall Success Rate (SR ~79.76%) after training, outperforming all baselines.
  • Collision Reduction: It achieved the lowest Average Collision Frequency Per Second (CPS) and Per Meter (CPM)—cutting collision frequencies by more than half compared to the untrained model.
  • Balanced Learning: While SAC w/ fail performed decently on previously failed scenarios, it suffered from catastrophic forgetting on simpler tasks. CLIC maintained the highest True Negative Rate (TNR), proving it did not sacrifice basic safety skills to master edge cases.

Limitations and Future Work

While highly effective, the current implementation of CLIC is constrained by its environment:

  • Simple Topologies: The evaluation was restricted to straight highway driving. Real-world deployment requires testing on complex road topologies like intersections, roundabouts, and merging lanes.
  • Homogeneous Traffic: The background vehicles followed strict vehicle dynamics. Future iterations must incorporate diverse traffic participants, such as aggressive human drivers, pedestrians, and cyclists.
  • Theoretical Guarantees: The authors note that establishing formal convergence and optimization guarantees for such individualized, closed-loop curriculum learning remains an open research question.

Summary updated

BibTeX
@inproceedings{niu2024continual,
  author = {Haoyi Niu and Yizhou Xu and Xingjian Jiang and Jianming Hu},
  title = {{Continual Driving Policy Optimization with Closed-Loop Individualized Curricula}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10611578},
}
Figure