Explainable Neural Network Conversion for Model Interpretability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning models, particularly black-box neural networks, lack interpretability, making it difficult to understand their internal functioning and provide explanations for their outputs, which hinders error detection and model transparency.

Innovation Solution

The development of Explainable Neural Networks (XNNs) that are fully white-box, allowing for the conversion between different architectures such as sparse, dense, and micro XNNs, and enabling logical equivalence with XAI models, thereby providing interpretability and explainability through a combination of local and global models with embedded transformations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If black-box neural networks are used, then model performance and accuracy are improved, but model interpretability and explainability deteriorate

Engineering Contradiction:
Improvemodel performanceVSAvoidmodel interpretability
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The neural network is segmented into individual neurons and connections, where each neuron is represented as a decision tree node. This segmentation allows the internal structure to be visualized and interpreted while maintaining the computational functionality of the original network.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An intermediary representation layer is introduced between the input and output of the neural network, where continuous neural activations are transformed into discrete decision tree structures. This intermediary enables interpretability without sacrificing the underlying model's predictive performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If white-box models are used, then model interpretability is improved, but computational power and flexibility deteriorate

Engineering Contradiction:
Improvemodel interpretabilityVSAvoidcomputational flexibility
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The decision tree representation serves multiple functions: it provides interpretability, maintains computational equivalence to the neural network, enables feature importance analysis, and supports model optimization. This multi-functionality resolves the trade-off between interpretability and computational flexibility.

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

Solution Approach 2:

A decision tree model is created as a copy of the neural network's computational logic, where the tree structure replicates the network's decision-making process. This copy provides full interpretability while preserving the original model's predictive capabilities through exact functional equivalence.

Inventive Principle:
Principle #26Copying

3Reliability

If deep learning models are used, then predictive accuracy is improved, but error detection and debugging difficulty worsen

Engineering Contradiction:
Improvepredictive accuracyVSAvoiderror detection
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The decision tree visualization uses color coding to indicate different aspects of the model: node types, feature importance, and prediction directions are represented through color variations. This visual encoding makes error detection and model behavior analysis more intuitive and easier to perform.

Inventive Principle:
Principle #32Color changes

Solution Approach 2:

The system provides feedback by displaying the decision tree structure that corresponds to a neural network's predictions. Users can trace through the tree to understand why specific predictions were made, enabling easier error detection and model debugging while maintaining high predictive accuracy.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11295199B2XAI and XNN conversion
Publication Date: 2022.04.05 UMNAI LTD
  • US11295199B2 patent drawing
  • US11295199B2 patent drawing
  • US11295199B2 patent drawing

AI summary

In an exemplary embodiment, a method for extracting a model from an existing machine learning model may be shown and described. In black-box models, transfer learning consists of transferring knowledge with the objective of learning new patterns. However, in an exemplary embodiment, transfer learning presents the concept of converting an explainable neural network into logically equivalent variants, which may not be possible with black-box neural networks, which typically consist of multiple fully-connected layers. The white-box nature of an exemplary XNN or XAI enables new ways of transferring knowledge with intelligent conversions of neural networks in ways that are impossible to do with a black-box model.