IP Library › Granted Patent US 12,249,128
Granted Patent B2
US 12,249,128 · App. 17/698,766 · Granted Mar 11, 2025

Method, device, and computer program for an uncertainty assessment of an image classification

Inventors: Christoph Schorn (Benningen Am Neckar, DE); Lydia Gauerhof (Sindelfingen, DE)
Assignee: ROBERT BOSCH GMBH
G06V10/776G06N3/045G06V10/26G06V10/764G06V10/774G06V10/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,249,128
App. No.
17/698,766
Granted
Mar 11, 2025
Kind
B2
Abstract

A method for ascertaining an uncertainty of a prediction of a first machine learning system. The method includes: processing a detected input variable by way of the first machine learning system, intermediate results, which are ascertained during the processing of the input variable by way of the machine learning system, being stored. Processing at least one of the stored intermediate results by way of a second machine learning system, the second machine learning system outputting an output variable, which characterizes an uncertainty of the output classification. A method for training the second machine learning system and a computer system, computer program, and a machine-readable memory element, on which the computer program is stored, are also described.

Claims (38)

1. A method for ascertaining an uncertainty of a classification, which is output by a first machine learning system, the method comprising the following steps:

processing a detected input variable using the first machine learning system and outputting the classification;

processing, using a second machine learning system, at least one intermediate result of a plurality of intermediate results, which are ascertained during the processing of the input variable by the first machine learning system; and

outputting, by the second machine learning system, an output variable, which characterizes an uncertainty of the classification of the first machine learning system, as a function of the at least one intermediate result;

controlling, based on the output classification, an actuator of a technical system, wherein the controlling of the actuator takes into consideration the output variable from the second machine learning system;

wherein the second machine learning system has been trained in such a way that it outputs an uncertainty of the classification of the first machine learning system as a function of the at least one intermediate result.

2. The method as recited in claim 1 , wherein each of the first and second machine learning systems is a neural network, an architecture of the neural network of the second machine learning system being smaller than an architecture of the neural network of the first machine learning system.

3. The method as recited in claim 1 , wherein when the second machine learning system outputs an uncertainty greater than a predefined threshold value, a warning is output.

4. The method as recited in claim 1 , wherein the detected wherein the detected input variable is detected by a sensor of the technical system, the sensor including an imaging sensor.

5. The method as recited in claim 4 , wherein the actuator is a motor.

6. The method as recited in claim 5 , wherein the technical system is an at least semi-autonomous vehicle.

7. The method as recited in claim 5 , wherein the technical system is a robot or a tool.

8. The method as recited in 1 , further comprising:

ascertaining a control variable as a function of the output classification;

controlling the actuator of the technical system based on the ascertained control variable, and taking into consideration the output variable from the second machine learning system.

9. A method for training a second machine learning system, comprising the following steps:

providing a set of training data, the set of training data containing a plurality of training input data, which are ascertained intermediate results of a first machine learning system and labels associated with each of the training input data, which characterize an uncertainty, training the second machine learning system in such a way that it, as a function of the intermediate results, ascertains their associated labels;

after the training, providing the trained second machine learning system to a vehicle;

processing a detected input variable using the first machine learning system and outputting by the first machine learning system a classification;

processing, using the trained second machine learning system, at least one intermediate result of a plurality of intermediate results, which are ascertained during the processing of the input variable by the first machine learning system;

outputting, by the second machine learning system, an output variable, which characterizes an uncertainty of the classification of the first machine learning system, as a function of the at least one intermediate result; and

controlling, based on the output classification, an actuator of the vehicle, wherein the controlling of the actuator takes into consideration the output variable from the second machine learning system.

10. The method as recited in claim 9 , wherein the labels correspond to an expected accuracy of a classification of the first machine learning system.

11. The method as recited in claim 10 , wherein the expected accuracy is ascertained using a reference uncertainty estimation method.

12. The method as recited in claim 10 , wherein the expected accuracy is ascertained as a function of a plurality of augmented input variables of the first machine learning system and a calculation of a portion of incorrect classifications of the first machine learning system as a function of the augmented input variables.

13. The method as recited in claim 10 , wherein the classification of the first machine learning system is a semantic segmentation, the expected accuracy being a function of a mean classification error rate in various regions of the semantic segmentation.

14. A non-transitory machine-readable memory element on which is stored a computer program for ascertaining an uncertainty of a classification, which is output by a first machine learning system, the computer program, when executed by a computer, causing the computer to perform the following steps:

processing a detected input variable using the first machine learning system and outputting the classification;

processing, using a second machine learning system, at least one intermediate result of a plurality of intermediate results, which are ascertained during the processing of the input variable by the first machine learning system; and

outputting, by the second machine learning system, an output variable, which characterizes an uncertainty of the classification of the first machine learning system, as a function of the at least one intermediate result;

controlling, based on the output classification, an actuator of a technical system, wherein the controlling of the actuator takes into consideration the output variable from the second machine learning system;

wherein the second machine learning system has been trained in such a way that it outputs an uncertainty of the classification of the first machine learning system as a function of the at least one intermediate result.

15. A device configured to ascertain an uncertainty of a classification, which is output by a first machine learning system, the device configured to:

process a detected input variable using the first machine learning system and outputting the classification;

process, using a second machine learning system, at least one intermediate result of a plurality of intermediate results, which are ascertained during the processing of the input variable by the first machine learning system; and

output, by the second machine learning system, an output variable, which characterizes an uncertainty of the classification of the first machine learning system, as a function of the at least one intermediate result;

control, based on the output classification, an actuator of a technical system, wherein the controlling of the actuator takes into consideration the output variable from the second machine learning system;

wherein the second machine learning system has been trained in such a way that it outputs an uncertainty of the classification of the first machine learning system as a function of the at least one intermediate result.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 8, 2022
From: SCHORN, CHRISTOPH; GAUERHOF, LYDIA
To: ROBERT BOSCH GMBH
Reel/Frame 060745/0882 →
Priority Claims (1)
DE 10 2021 202 813.6 · Mar 23, 2021 · national
Continuity (1)
Related Publication 20220309771A1 · Sep 29, 2022
References Cited (19)
US 10766137B1 · Porter · 2020 [cited by examiner]
US 10997421B2 · Khosla · 2021 [cited by examiner]
US 20200410350A1 · Yoon · 2020 [cited by examiner]
US 20210142160A1 · Mohseni · 2021 [cited by examiner]
US 20210329029A1 · Vasseur · 2021 [cited by examiner]
US 20220138510A1 · Dai · 2022 [cited by examiner]
CN 112115009A · 2020 [cited by examiner]
CN 109298993B · 2022 [cited by examiner]
CN 115374898A · 2022 [cited by examiner]
DE 102017217733A1 · 2019 [cited by applicant]
DE 102018207220A1 · 2019 [cited by applicant]
JP 7429715B2 · 2024 [cited by examiner]
Gao, et al.: “HEp-2 Cell Image Classification With Deep Convolutional Neural Networks”, IEEE Journal of Biomedical and Health Informatics, 21(2), 2017, pp. 416-428. [cited by applicant]
Gauerhof, et al.: “Considering Reliability of Deep Learning Function to Boost Data Suitability and Anomaly Detection”, 2020 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW). IEEE, (202… [cited by applicant]
Schorn and Gauerhof: “Facer: a Universal Framework for Detecting Anomalous Operation of Deep Neural Networks”, 2020 IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC), IEEE, (2020). pp. 1-6. [cited by applicant]
International Standard ISO 26262-1. Road vehicles—Functional safety—Part 1: Vocabulary, IS 26262-1:2018(E), ISO (2018), pp. 1-42. [cited by applicant]
Laksminarayanan etal., “Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles,” 31st Conference on Neural Information Processing Systems (NIPS'17), Long Beach, CA, USA, 2017, pp. 1-12. <https://proc… [cited by applicant]
Mukhoti et al., “Evaluating Bayesian Deep Learning Methods for Semantic Segmentation,” Cornell University, 2019, pp. 1-13. <https://arxiv.org/pdf/1811.12709.pdf> Downloaded Mar. 18, 2021. [cited by applicant]
ISO/PAS 21448 Road Vehicles—Safety of the Intended Functionality, 2019, pp. 1-64. [cited by applicant]