Logical Consistency Monitoring for Deep Neural Networks
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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
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.
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
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.
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
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.
Data Source
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.
