Contextual CNN Explanations for Interpretable Binary Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep neural networks (DNNs) are treated as black-box models, lacking human-understandable interpretation, which hinders their deployment in risk-sensitive domains like healthcare, finance, and security, and existing explanation techniques like Grad-CAM and Counterfactual Visual Explanations have limitations in applicability and context specificity.

Innovation Solution

A method to generate contextual discriminative patterns (CDPs) that identify relationships between features and data samples, allowing for human-perceptible representations of inference contexts and bases, enabling the explanation of DNN decisions by identifying similar and alternative samples within a given context.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If deep neural networks are used for predictive modelling and classification tasks, then accuracy and performance are improved, but interpretability and human-understandability deteriorate, making the models opaque black-box systems

Engineering Contradiction:
Improveclassification accuracyVSAvoidinterpretability
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent introduces explanation techniques as intermediary components that bridge the gap between the DNN's internal decision-making processes and human understanding. These intermediaries (explanation modules) translate opaque neural network operations into comprehensible formats without altering the original model's predictive capabilities, thus preserving accuracy while improving interpretability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent employs visualization techniques that use color-coded heatmaps and graphical representations to highlight important features and decision regions in the data. By applying color gradients and visual emphasis to different parts of the input data, the system makes the DNN's focus areas visible and interpretable to humans, transforming invisible internal states into perceivable visual information.

Inventive Principle:
Principle #32Color changes

2Loss of information

If existing explanation techniques like Grad-CAM are applied to provide visual explanations, then some interpretability is achieved, but the explanations are limited to highly similar images and lack robustness across diverse contexts

Engineering Contradiction:
ImproveinterpretabilityVSAvoidapplicability across contexts
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The patent develops explanation techniques that function universally across diverse image contexts and DNN architectures. The explanation module is designed to work with multiple types of input data and produce context-appropriate explanations regardless of the specific domain or similarity of images, making the interpretability system adaptable to various applications beyond its training context.

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

Solution Approach 2:

The patent introduces dynamic explanation generation that adapts to the specific context of each input image and decision. Rather than using static explanation methods, the system dynamically adjusts the explanation approach based on the image characteristics, DNN confidence levels, and contextual factors, enabling robust interpretability across varying conditions and contexts.

Inventive Principle:
Principle #15Dynamics

3Loss of information

If Grad-CAM generates heatmaps to explain DNN decisions, then visual interpretation is provided, but the technique only returns one explanation even when multiple factors contribute to the decision, reducing comprehensiveness

Engineering Contradiction:
ImproveinterpretabilityVSAvoidnumber of explanations
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent segments the explanation into multiple distinct components that correspond to different factors contributing to the DNN decision. Instead of providing a single monolithic explanation, the system breaks down the decision rationale into separate explanation elements (e.g., different feature contributions, multiple decision pathways), allowing users to understand various aspects of the decision-making process independently and comprehensively.

Inventive Principle:
Principle #1Segmentation

4Productivity

If DNNs are deployed in risk-sensitive domains like healthcare and finance, then predictive capability is utilized, but the lack of transparent decision logic hinders trust and safety assurance

Engineering Contradiction:
Improvepredictive capabilityVSAvoidtrust and safety
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements feedback mechanisms where explanations are provided back to users about the DNN's decision-making process in real-time. This feedback loop allows users to understand the rationale behind predictions, verify the logic against domain knowledge, and build trust in the system's reliability, thereby enabling safe deployment in critical domains where transparency is essential.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12608588B2Methods, systems, and media for contextual discriminative explanation of convolutional neural networks
Publication Date: 2026.04.21 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US12608588B2 patent drawing
  • US12608588B2 patent drawing
  • US12608588B2 patent drawing

AI summary

Methods, systems and media for explaining a basis for a binary inference task performed by a neural network. Binary relationships are identified between features detected by the trained neural network and data samples in which those features are detected. Sets of features providing an inference context are then identified in tandem with sets of features providing the inference basis within a given inference context. Each context, basis pair potentially provides an explanation for the inference behavior of the neural network. Human perceptible representations of such pairs are generated to explain the inference behavior of the neural network, including automatically identifying similar samples sharing both the context and basis, and automatically identifying likely alternative samples sharing the context but not the basis.