Feature Extractor Confidence Measurement via Embedding Space

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing confidence measurement methods for deep neural network-based classification models face challenges in scalability and accuracy, particularly as the number of parameters and data increase, and struggle to effectively measure confidence for out-of-distribution data.

Innovation Solution

The method involves additional training of a feature extractor using a metric-learning-based loss function and cross-entropy-based loss function to ensure feature vectors for the same class are closer and different classes are farther apart in an embedding space, allowing for accurate confidence measurement of classification results by calculating distances in this space.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional confidence measurement methods (iterative inference, Bayesian Neural Network, Monte-Carlo Dropout) are used, then confidence ranges can be presented, but computation time and resource requirements increase significantly as model parameters and data size increase

Engineering Contradiction:
Improveconfidence measurement accuracyVSAvoidtime required to measure confidence
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts the confidence measurement function from the main classification model by using a separate, pre-trained feature extractor. This allows confidence measurement to be performed independently without requiring iterative inference or complex Bayesian computations on the full model, significantly reducing computation time while maintaining measurement accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a simplified copy of the classification model's feature extraction capability through a separate feature extractor that is pre-trained on the same dataset. This copy can be used for confidence measurement without requiring the full computational overhead of the original model, enabling fast and accurate confidence assessment.

Inventive Principle:
Principle #26Copying

2Reliability

If confidence measurement uses in-distribution training data only, then the model is trained on intended classification data, but confidence measurement performance for out-of-distribution data cannot be guaranteed

Engineering Contradiction:
Improveconfidence measurement performanceVSAvoidapplicability to out-of-distribution data
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent performs preliminary action by training the feature extractor on both in-distribution and out-of-distribution data before deployment. This pre-training on diverse data distributions enables the system to reliably measure confidence for both familiar and novel data types without requiring retraining when encountering out-of-distribution data.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11176424B2Method and apparatus for measuring confidence
Publication Date: 2021.11.16 SAMSUNG SDS CO LTD
  • US11176424B2 patent drawing
  • US11176424B2 patent drawing
  • US11176424B2 patent drawing

AI summary

A confidence measurement method according to an embodiment includes additionally training a feature extractor of a classification model trained using training data including a plurality of images, using the training data, such that feature vectors for images labeled with the same class among feature vectors for the plurality of images become closer to each other in an embedding space for the feature extractor, and measuring confidence of a classification result for an input image by the trained classification model using the additionally trained feature extractor.