Tree Model Feature Importance via Node Gain Aggregation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for computing feature importance in tree-based models fail to capture two-or-more-way interactions between features and introduce inherent bias, limiting their effectiveness for model pruning and feature selection.

Innovation Solution

A method that computes variable relevance by considering the entire tree structure, calculating gain contribution values and updating node and variable gain values to select relevant variables, thereby capturing n-way feature interactions and avoiding bias.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If split-based node contribution methods are used to compute feature importance, then the computation is simple and fast, but the method cannot capture two-or-more-way interactions between features and introduces inherent bias

Engineering Contradiction:
Improvecomputation speedVSAvoidfeature importance accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the tree structure into individual nodes and computes contribution at each node level, then aggregates these contributions to capture global feature importance while maintaining computational efficiency. This segmentation allows the method to consider the entire tree structure rather than just local splits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges the advantages of split-based methods (computational efficiency) with tree-based methods (capturing interactions) by combining local node contribution calculations with global tree structure consideration, achieving both speed and accuracy.

Inventive Principle:
Principle #5Merging (Combining)

2Measurement precision

If resampling feature importance methods are used to compute feature importance, then the method can capture feature interactions, but the method does not yield a node contribution value and only provides a single output score per feature

Engineering Contradiction:
Improvefeature interaction captureVSAvoidnode contribution information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent segments the feature importance computation into node-level contributions that can be aggregated, preserving detailed information about which parts of the tree contribute to feature importance while still capturing global interactions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses a feedback mechanism where node contributions are computed based on impurity reduction and population ratios, then aggregated to provide both local and global feature importance measures, ensuring no information is lost in the process.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If the same heuristic is used for training the tree and evaluating feature importance, then the process is consistent and simple, but inherent bias is introduced

Engineering Contradiction:
Improveprocess consistencyVSAvoidfeature importance unbiasedness
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent segments the evaluation process to compute contributions at each node independently, then aggregates these contributions. This segmentation allows the method to maintain consistency in the training process while reducing bias through the aggregation of multiple local decisions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter used for evaluation from the training heuristic to a contribution-based metric that considers population ratios and impurity reduction, thereby reducing bias while maintaining process consistency.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11093864B1Distributable feature analysis and tree model training system
Publication Date: 2021.08.17 SAS INSTITUTE INC
  • US11093864B1 patent drawing
  • US11093864B1 patent drawing
  • US11093864B1 patent drawing

AI summary

A computing system computes a variable relevance using a trained tree model. (A) A next child node is selected. (B) A number of observations associated with the next child node is computed. (C) A population ratio value is computed. (D) A next leaf node is selected. (E) First observations are identified. (F) A first impurity value is computed for the first observations. (G) Second observations are identified when the first observations are associated with the descending child nodes. (H) A second impurity value is computed for the second observations. (I) A gain contribution is computed. (J) A node gain value is updated. (K) (D) through (J) are repeated. (L) A variable gain value is updated for a variable associated with the split test. (M) (A) through (L) are repeated. (N) A set of relevant variables is selected based on the variable gain value.