Logical Consistency Monitoring for Deep Neural Networks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods lack real-time monitoring capabilities for the logical consistency of machine learning models, particularly deep neural networks (DNNs) deployed in autonomous traffic applications, which is crucial for ensuring safety and reliability in complex environments.

Innovation Solution

A computer-implemented method that uses trained concept models and fuzzy logic to monitor the logical consistency of DNN outputs by reading activation data, transferring it to concept models for partial feature masking, and evaluating consistency truth values using a fuzzy logic unit, allowing for real-time detection of inconsistencies and triggering appropriate measures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If attribution methods like Layer-wise Relevance Propagation are used to check plausibility, then measurement precision of output consistency is improved, but device complexity increases due to requiring additional evaluations

Engineering Contradiction:
Improveplausibility checking accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces concept models as intermediary components that bridge the DNN output and the plausibility checking mechanism. These concept models translate complex neural network outputs into interpretable concept-level representations, enabling simplified logical consistency checks without requiring complex attribution methods. The concept models act as mediators that convert high-dimensional DNN activations into meaningful concepts that can be evaluated against domain knowledge rules.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If Concept Bottleneck Models are used with predefined interpretable concepts, then ease of operation for manual validation is improved, but adaptability decreases because already trained networks cannot be monitored

Engineering Contradiction:
Improvevalidation simplicityVSAvoidmodel compatibility
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent segments the monitoring system into independent components: the existing DNN model, concept models that can be trained separately, and plausibility checking rules. This segmentation allows the concept models to be trained independently on concept labels while the original DNN remains unchanged. The modular architecture enables the system to monitor any pre-trained DNN by adding the concept model layer, thus maintaining adaptability while providing ease of operation through interpretable concept outputs.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If Logic Tensor Networks with trainable predicates are used, then measurement precision of truth values is improved, but device complexity increases and real-time monitoring during runtime is not achieved

Engineering Contradiction:
Improvetruth value accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent performs concept model training and concept-label association in advance during an offline training phase. The concept models are pre-trained to correctly associate concepts with vectors in the intermediate output of the DNN. This preliminary action allows the runtime system to simply evaluate pre-trained concept models against pre-defined logical rules, achieving real-time monitoring without the complexity of trainable predicates during execution.

Inventive Principle:
Principle #10Preliminary action

4Reliability

If verification methods are applied prior to commissioning, then reliability of model output is improved, but productivity decreases because online monitoring during runtime is not provided

Engineering Contradiction:
Improveoutput consistencyVSAvoidruntime monitoring capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent enables continuous plausibility checking throughout the entire operational lifecycle of the DNN. The concept models and logical rules are designed to work continuously during runtime, providing ongoing monitoring of output consistency. The system maintains continuous evaluation of whether DNN outputs conform to domain knowledge, ensuring reliability is maintained throughout operation rather than only during initial verification.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20230111973A1Method for monitoring logical consistency in a machine learning model and associated monitoring device
Publication Date: 2023.04.13 CONTINENTAL AUTOMOTIVE TECHNOLOGIES GMBH
  • US20230111973A1 patent drawing

AI summary

A computer-implemented method is disclosed for monitoring the logical consistency of an artificial neural network. Activation data of the artificial neural network, which are produced from input data, are initially read in. The activation data are transferred to at least one trained concept model which is trained to recognize and, if applicable, localize a partial feature of the features contained in the input data and to output a calibrated partial feature mask. The final output data are linked to the partial feature truth values by means of a fuzzy logic unit in such a way that a continual logical consistency truth value is produced therefrom. The logical consistency truth value is evaluated by means of an evaluation unit, wherein a logical inconsistency of the final output data is ascertained in an inconsistency region if the consistency truth value falls short of a predefined threshold.