Autonomous Vehicle RL Uncertainty Estimation With Ensemble Quantiles

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing reinforcement learning (RL) agents for autonomous vehicles fail to provide comprehensive uncertainty estimates, particularly lacking in both aleatoric and epistemic uncertainty, leading to potential unsafe decisions when faced with situations outside their training distribution.

Innovation Solution

A unified computational framework using Ensemble Quantile Networks (EQN) to derive both aleatoric and epistemic uncertainties from state-action quantile functions, allowing for safer decision-making by incorporating a backup policy when uncertainties exceed predefined thresholds.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If reinforcement learning agents are trained to output decisions in various situations, then the agent can provide decisions across different scenarios, but the agent cannot indicate uncertainty about decisions or whether it has experienced similar situations during training

Engineering Contradiction:
Improvedecision-making capabilityVSAvoiduncertainty information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

The uncertainty estimation is segmented into two distinct components: aleatoric uncertainty (inherent randomness in outcomes) and epistemic uncertainty (lack of knowledge due to insufficient training data). This segmentation allows the system to separately quantify and manage different types of uncertainty, providing more nuanced decision-making information without compromising the agent's adaptability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An ensemble of neural networks with additive random prior functions serves as an intermediary mechanism between the RL agent and the uncertainty estimation. This ensemble structure enables the system to derive both aleatoric and epistemic uncertainty estimates while maintaining the agent's decision-making capabilities, effectively mediating between adaptation and information preservation.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If an agent is deployed in scenarios different from training distribution, then the agent can handle new situations, but the decisions produced are of lower quality without warning

Engineering Contradiction:
Improvescenario handling capabilityVSAvoiddecision quality
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system implements feedback through uncertainty estimation that continuously monitors the agent's confidence in its decisions. When the agent encounters situations outside its training distribution, the epistemic uncertainty component increases, providing feedback that signals lower decision quality. This feedback mechanism allows the system to adjust its behavior or seek additional information when facing unfamiliar scenarios.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The ensemble of neural networks with random prior functions is prepared in advance to detect out-of-distribution situations. By having multiple networks with different priors, the system preliminarily establishes a mechanism to identify when decisions are made in unfamiliar contexts, allowing for preventive measures to be taken before low-quality decisions are executed.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If conventional testing is practiced to refine the decision-making agent, then the agent produces acceptably low levels of errors, but the process is onerous, time-consuming and drains resources

Engineering Contradiction:
Improveerror rateVSAvoidtesting duration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces the mechanical process of extensive conventional testing with a computational uncertainty estimation mechanism. Instead of iteratively testing and refining the agent through time-consuming real-world or simulated trials, the system uses the ensemble of neural networks to computationally estimate uncertainty and identify areas needing improvement, significantly reducing the time and resources required for agent refinement.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The uncertainty estimation system enables the RL agent to self-evaluate its own confidence and identify situations where it may produce low-quality decisions. This self-service capability allows the agent to autonomously detect its limitations and prioritize learning efforts without requiring extensive external testing and manual refinement, thereby reducing the overall testing burden.

Inventive Principle:
Principle #25Self-service

4Reliability

If aleatoric uncertainty is estimated using variance of quantiles, then risk-aware decisions can be made, but complete uncertainty estimation including epistemic uncertainty is not achieved

Engineering Contradiction:
Improverisk-aware decision-makingVSAvoidcomplete uncertainty information
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent merges the estimation of aleatoric uncertainty (through variance of quantiles) with epistemic uncertainty (through ensemble variability) into a unified framework. By combining these two previously separate estimation approaches, the system achieves complete uncertainty information while maintaining the ability to make risk-aware decisions based on the aleatoric component.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The ensemble of neural networks with additive random prior functions serves multiple functions simultaneously: it estimates aleatoric uncertainty through quantile variance, estimates epistemic uncertainty through ensemble variability, and provides a foundation for both types of uncertainty estimation. This multi-functional approach eliminates the need for separate mechanisms for each type of uncertainty.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentEP4086813B1Managing aleatoric and epistemic uncertainty in reinforcement learning, with applications to autonomous vehicle control
Publication Date: 2025.07.02 VOLVO AUTONOMOUS SOLUTIONS AB
  • EP4086813B1 patent drawingFigure 1~2
  • EP4086813B1 patent drawingFigure 3
  • EP4086813B1 patent drawingFigure 4

AI summary

Methods relating to the control of autonomous vehicles using a reinforcement learning agent include a plurality of training sessions (110-1, ..., 110-K), in which the agent interacts with an environment, each having a different initial value and yielding a state-action quantile function Zk,τsa=FZksa−1τ dependent on state (s) and action (a). The methods further include a first uncertainty estimation (114) on the basis of a variability measure VarτEkZk,τsa, relating to a variability with respect to quantile τ, of an average EkZk,τsa of the plurality of state-action quantile functions evaluated for a state-action pair; and a second uncertainty estimation (116) on the basis of a variability measure VarkEτZk,τsa, relating to an ensemble variability, for the plurality of state-action quantile functions evaluated for a state-action pair. The state-action pair may either correspond to a tentative decision, which is verified before execution, or to possible decisions by the agent to guide additional training.