ML Model Versioning via Feature Importance Shift Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models become obsolete over time due to evolving data patterns and relationships, necessitating updates to maintain accuracy, but retraining models is costly and requires determining whether new features add value, posing challenges in deciding when to retrain.

Innovation Solution

A versioning service that detects changes in feature importance between current and new datasets, using explainable AI to rank features, compare changes, and recommend retraining based on feature overlap and correlation, storing non-essential features for later use.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If machine learning models are retrained frequently to maintain accuracy, then model accuracy is improved, but retraining costs increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidretraining costs
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system implements a feedback mechanism by continuously monitoring feature importance changes between training datasets and comparing them against thresholds. When changes exceed the threshold, the system triggers retraining; otherwise, it maintains the existing model, creating a closed-loop control system that balances accuracy with resource consumption

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system changes the parameter of feature importance values to determine when retraining is necessary. By analyzing shifts in feature importance between datasets and comparing them against configurable thresholds, the system dynamically adjusts the decision to retrain based on quantifiable parameter changes rather than fixed schedules

Inventive Principle:
Principle #35Parameter changes

2Reliability

If all feature changes trigger model retraining, then model accuracy is maintained, but unnecessary retraining increases costs

Engineering Contradiction:
Improvemodel accuracyVSAvoidretraining efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system applies local quality by differentiating between important and unimportant features. It calculates feature importance scores for each feature and only triggers retraining when changes occur in features above a specified importance threshold, allowing different treatment for different features based on their local importance to model performance

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system uses partial action by monitoring all features but only responding to changes in a subset of critical features. By setting configurable thresholds on feature importance, the system performs partial retraining triggers based on whether changes exceed the threshold, avoiding excessive retraining on insignificant feature variations

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If feature importance analysis is performed on all features, then feature selection accuracy is improved, but computational complexity increases

Engineering Contradiction:
Improvefeature selection accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments features into groups based on their importance scores and only performs detailed analysis on features above a certain threshold. By dividing the feature space into important and unimportant segments, the system reduces computational complexity while maintaining precision for critical features

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20230144585A1Machine learning model change detection and versioning
Publication Date: 2023.05.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20230144585A1 patent drawing
  • US20230144585A1 patent drawing
  • US20230144585A1 patent drawing

AI summary

Systems, methods, and computer programming products for versioning machine learning models. Changes between new and existing datasets are detected, quantified and compared using statistical and semantic feature comparisons. Recommendations for versioning existing models are in response to detecting changes between the feature importance of datasets used in the application of the machine learning model and new datasets that introduce new features or features that evolve over time in such a manner that feature importance has shifted away from one or more features of the first dataset to the new dataset. Based on the changes in feature importance, statistical changes and semantic feature comparisons, the recommendations provided describe whether models should be updated with a re-trained model, or that the existing features of the model do not indicate a need for re-training.