Bayesian Meta-Model for Post-Hoc Uncertainty Quantification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing uncertainty quantification methods for machine learning models are computationally expensive, require retraining the entire model, and lack flexibility in quantifying different uncertainties, making them impractical for many applications.

Innovation Solution

A Bayesian meta-model is configured to cooperate with a pretrained machine learning model, using multiple linear layers attached to intermediate features and a final linear layer generating a Dirichlet distribution to quantify different uncertainties in a post-hoc manner.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire machine learning model is retrained to impose uncertainty quantification capability, then the model can achieve desired performance in accuracy and uncertainty prediction simultaneously, but the computational cost becomes expensive and feasibility is reduced

Engineering Contradiction:
Improveuncertainty prediction performanceVSAvoidcomputational cost
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The uncertainty quantification problem is segmented into two independent parts: (1) the pretrained model for accurate prediction, and (2) a separate Bayesian meta-model for uncertainty quantification. This segmentation allows each component to be optimized independently, avoiding the need to retrain the entire model and reducing computational cost while maintaining both accuracy and uncertainty prediction performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A Bayesian meta-model is introduced as an intermediary component that bridges the pretrained model and uncertainty quantification. This meta-model takes intermediate features from the pretrained model and learns to predict uncertainty without requiring modification or retraining of the original model, thus achieving reliable uncertainty prediction with minimal computational overhead.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If conventional uncertainty quantification methods are used, then uncertainty can be measured, but the methods lack flexibility and cannot quantify different uncertainties (total, aleatoric, and epistemic)

Engineering Contradiction:
Improveflexibility in quantifying different uncertaintiesVSAvoidmodel architecture requirements
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The Bayesian meta-model is designed with universal functionality to quantify multiple types of uncertainty (total, aleatoric, and epistemic) through a single unified framework. By using a Dirichlet distribution to model prediction distributions, the system can simultaneously capture different uncertainty sources without requiring separate models or complex architectural modifications, thus achieving high adaptability with controlled complexity.

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

3Measurement precision

If existing uncertainty quantification solutions are applied, then uncertainty measures can be generated, but additional training data is required and computational complexity increases

Engineering Contradiction:
Improveuncertainty measurement accuracyVSAvoidtraining data requirement
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The Bayesian meta-model leverages the intermediate features already extracted by the pretrained model during normal operation. Instead of requiring additional training data or retraining, the meta-model serves itself by learning uncertainty patterns from the existing feature representations, thus achieving precise uncertainty measurement without increasing training data requirements.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250200422A1Post-hoc uncertainty quantification for machine learning systems
Publication Date: 2025.06.19 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20250200422A1 patent drawing
  • US20250200422A1 patent drawing
  • US20250200422A1 patent drawing

AI summary

A pretrained machine learning model is obtained. A Bayesian meta-model is configured to cooperate with the pretrained machine learning model, the Bayesian meta-model being configured to quantify different kinds of uncertainties associated with the pretrained machine learning model, wherein the Bayesian meta-model comprises a plurality of linear layers attached to different intermediate features of the pretrained machine learning model with a final linear layer generating a Dirichlet distribution. Multiple intermediate features extracted from the pretrained machine learning model are received as inputs. A Dirichlet distribution is generated over a probability simplex as output, wherein the Dirichlet distribution is parameterized by the Bayesian meta-model and allows quantification of uncertainty of model prediction, and the Bayesian meta-model and the pretrained machine learning model are used in a downstream task.