Tree-Based Ruleset Generation for Black-Box ML Explainability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex deep learning models are challenging to interpret due to their complexity, leading to a need for improved techniques in machine learning explainability (MLX) that can generate understandable and efficient explanations for model predictions.

Innovation Solution

Techniques for generating an improved initial set of explanatory rules from a decision tree are developed, which are then optimized to provide a more accurate and interpretable ruleset for MLX, using tree-based representations and information gain to select influential features and split values, resulting in improved fidelity and reduced rule count.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If complex deep learning models are used to solve complex problems, then model capacity and performance are improved, but model interpretability and explainability deteriorate

Engineering Contradiction:
Improvemodel capacityVSAvoidmodel complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the complex deep learning model into multiple decision stumps, each handling a specific feature condition. This segmentation transforms the monolithic complex model into a collection of simple, interpretable decision rules that collectively approximate the model's behavior, resolving the contradiction between model capacity and interpretability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary process that extracts feature importances from the complex model and uses these to generate decision stumps. This intermediary layer bridges the gap between the black-box complex model and the interpretable ruleset, allowing the system to maintain high performance while providing explainability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If more rules are generated to improve explanation accuracy, then coverage and fidelity are improved, but computation time and rule count increase

Engineering Contradiction:
Improveexplanation accuracyVSAvoidoptimization time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-computing feature importances and generating decision stumps before the actual explanation task. This preprocessing step creates a ready-to-use ruleset that can quickly explain model predictions without requiring extensive computation during the explanation phase, thus improving accuracy while reducing time loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent generates a large number of candidate decision stumps initially (excessive action) and then selects the most important ones through optimization. This approach ensures high coverage and fidelity by considering all possible rules, while the subsequent selection process reduces the final rule count to manageable levels, balancing accuracy and computation time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11531915B2Method for generating rulesets using tree-based models for black-box machine learning explainability
Publication Date: 2022.12.20 ORACLE INT CORP
  • US11531915B2 patent drawing
  • US11531915B2 patent drawing
  • US11531915B2 patent drawing

AI summary

Herein are techniques to generate candidate rulesets for machine learning (ML) explainability (MLX) for black-box ML models. In an embodiment, an ML model generates classifications that each associates a distinct example with a label. A decision tree that, based on the classifications, contains tree nodes is received or generated. Each node contains label(s), a condition that identifies a feature of examples, and a split value for the feature. When a node has child nodes, the feature and the split value that are identified by the condition of the node are set to maximize information gain of the child nodes. Candidate rules are generated by traversing the tree. Each rule is built from a combination of nodes in a tree traversal path. Each rule contains a condition of at least one node and is assigned to a rule level. Candidate rules are subsequently optimized into an optimal ruleset for actual use.