Identify, Estimate and Bound the Uncertainty of Reinforcement Learning for Autonomous Driving

Weitao Zhou, Zhong Cao, Nanshan Deng, Kun Jiang, Diange Yang

Abstract

Deep Reinforcement Learning (DRL) offers significant potential for navigating complex, interactive autonomous driving scenarios. However, the inherent "black-box" nature of DRL models poses substantial safety risks, particularly when encountering out-of-distribution "corner cases." This paper introduces Uncertainty-Bound Reinforcement Learning (UBRL), a framework designed to quantify epistemic uncertainty and provide a safety-critical fallback mechanism. By combining bootstrapped data sampling, ensemble networks, and a rule-based baseline policy, UBRL ensures that autonomous agents only take control when their decisions are statistically reliable, maintaining a performance floor throughout the learning process.

1. Introduction

While traditional rule-based autonomous vehicle (AV) systems are predictable and safe, they often struggle with the nuance of human-centric environments, such as unprotected left turns or dense urban traffic. DRL provides a solution by learning optimal behaviors through interaction. However, DRL models are prone to unpredictable actions when faced with epistemic uncertainty—uncertainty arising from a lack of training data or errors in the model's approximation of the environment. To bridge the gap between the flexibility of DRL and the reliability of rule-based systems, we propose the UBRL framework.

2. Quantifying Epistemic Uncertainty

The UBRL framework addresses two primary sources of model uncertainty:

2.1 Data Uncertainty (Bootstrap Method)

To identify regions of the state space where the model lacks sufficient experience, UBRL utilizes a bootstrap sampling method. The training data is re-sampled into multiple overlapping sub-datasets. By evaluating the variance in policy outputs across these subsets, the system can determine if its current strategy is grounded in a broad dataset or merely influenced by a small number of outlier experiences.

2.2 Fitting Uncertainty (Ensemble Networks)

Even with sufficient data, a neural network may fail to converge on a perfect solution due to architectural limitations or training noise. UBRL employs an ensemble of 10 parallel Q-networks, each initialized with different random weights. If these "experts" disagree significantly on the expected value of a specific action, the system flags high fitting uncertainty, indicating that the model's internal representation of the task is unstable.

3. The UBRL Framework: Safety Bounding

The core innovation of UBRL is the integration of a "Performance Lower Bound." The framework incorporates a standard rule-based algorithm—specifically a Lattice Planner—as a safety baseline.

3.1 The Voting Mechanism

Rather than simply averaging the outputs of the ensemble, UBRL implements a majority-voting mechanism. A DRL-proposed action is only executed if the majority of the ensemble networks agree that the action will outperform the rule-based baseline with high confidence.

3.2 Training Count Estimation

To prevent overconfidence in sparsely populated state-action pairs, the authors include a training count estimator ($N_t$). If the system detects that it has visited a specific scenario only a few times, it automatically triggers a fallback to the Lattice Planner, regardless of the ensemble's internal confidence levels.

4. Experimental Evaluation

4.1 Setup

The framework was evaluated using the CARLA simulator in an "unprotected left turn" scenario at a T-junction. This scenario is a benchmark for AV safety, as it requires the agent to accurately judge gaps in oncoming traffic and predict the intentions of other vehicles. The models were trained over 300,000 frames (approximately 30,000 episodes).

4.2 Results

The quantitative analysis demonstrates that UBRL effectively eliminates the "danger zone" typically associated with early-stage DRL training:

  • Performance Floor: While a standard DRL model begins with a 0% success rate, UBRL starts at 67.2% (the success rate of the baseline Lattice Planner).
  • Learning Efficiency: As training progresses, UBRL reaches a peak success rate of 96.6%, significantly outperforming the baseline while never dipping below it.
  • Uncertainty Detection: In edge cases where no training data was present, the ensemble networks showed a high variance (0.017), successfully triggering the safety fallback and avoiding potential collisions.

5. Discussion and Limitations

UBRL provides a robust mechanism for deploying DRL in safety-critical applications. However, several challenges remain. The system's safety is inherently bounded by the quality of the baseline planner; if the Lattice Planner fails in a specific edge case, the UBRL framework may inherit that failure. Additionally, maintaining 10 parallel networks increases computational requirements, which may impact real-time performance on edge hardware. Future research will focus on incorporating aleatoric uncertainty (environmental noise) to create a more comprehensive "Total Uncertainty" metric.

6. Conclusion

By identifying, estimating, and bounding uncertainty, UBRL transforms DRL from a risky black-box into a controlled, high-performance driving policy. This approach ensures that the pursuit of "smarter" AI does not come at the expense of fundamental safety, providing a clear path forward for the integration of machine learning in autonomous transportation.

Summary updated

BibTeX
@article{zhou2023identify,
  author = {Weitao Zhou and Zhong Cao and Nanshan Deng and Kun Jiang and Diange Yang},
  title = {{Identify, Estimate and Bound the Uncertainty of Reinforcement Learning for Autonomous Driving}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2023},
  url = {https://openreview.net/forum?id=LbGICQ80lY},
}
Figure