Model Correction Tool for Machine Learning Drift Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine learning models experience drift over time due to changes in input data distribution or target variable properties, leading to inaccurate predictions that can jeopardize user safety, particularly in critical applications like natural disasters.

Innovation Solution

A model correction tool that continuously monitors input data, outputs, and resource usage to detect drift by calculating a drift score and retraining the model when the score exceeds a threshold, ensuring accurate predictions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the model continuously monitors and detects drift in real-time, then the prediction accuracy is maintained, but the computational resources and time consumption increase

Engineering Contradiction:
Improveprediction accuracyVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system pre-calculates and stores baseline statistics (mean, variance, entropy) of training data during the model training phase. When deployed, it only needs to compare incoming data against these pre-computed baselines using simple drift detection metrics, rather than performing complex retraining or analysis. This preliminary preparation enables efficient real-time drift detection with minimal computational overhead during production.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a two-stage drift detection approach: first using lightweight statistical tests (KS-test, PSI) to quickly identify potential drift, and only triggering full model retraining when drift thresholds are exceeded. This skipping mechanism avoids unnecessary computational resources by rushing through the detection phase with minimal overhead and only engaging resource-intensive retraining when absolutely necessary.

Inventive Principle:
Principle #21Skipping (Rushing through)

2Reliability

If the model is retrained frequently to maintain accuracy, then the prediction quality improves, but the loss of time and productivity increase

Engineering Contradiction:
Improveprediction qualityVSAvoidmodel retraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system continuously monitors drift metrics (KS statistic, PSI values, entropy changes) and provides feedback to the drift detection module. When drift exceeds predefined thresholds, it triggers model retraining. This feedback loop enables the system to retrain only when necessary, balancing prediction quality with time loss by using real-time performance feedback to guide retraining decisions rather than following a fixed schedule.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts drift detection thresholds and monitoring frequencies based on the specific application requirements and data characteristics. By changing parameters such as the significance level for statistical tests, the window size for drift detection, and the retraining trigger thresholds, the system optimizes the balance between prediction quality maintenance and minimizing retraining time loss for different use cases.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If comprehensive drift detection is implemented monitoring all data aspects, then the detection precision improves, but the device complexity increases

Engineering Contradiction:
Improvedrift detection precisionVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The drift detection system is segmented into multiple independent modules: statistical drift detection (comparing data distributions), concept drift detection (comparing prediction accuracy), and feature drift detection (analyzing individual feature changes). Each module independently monitors specific aspects of drift using appropriate metrics, allowing comprehensive detection without requiring a single complex monolithic system. This modular segmentation improves detection precision while managing system complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements a unified drift detection framework that handles multiple types of drift (data drift, concept drift, feature drift) using a common architecture. The same basic infrastructure monitors various data aspects through different detection algorithms, making the system universally applicable to different drift scenarios without requiring separate complex systems for each detection type. This multi-functionality approach improves comprehensive detection precision while avoiding redundant complexity.

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

Data Source

PatentUS11580456B2System to correct model drift in machine learning application
Publication Date: 2023.02.14 BANK OF AMERICA CORP
  • US11580456B2 patent drawing
  • US11580456B2 patent drawing
  • US11580456B2 patent drawing

AI summary

A model correction tool automatically detects and corrects model drift in a model for a machine learning application. To detect drift, the tool continuously monitors input data, outputs, and/or technical resources (e.g., processor, memory, network, and input/output resources) used to generate outputs. The tool analyzes changes to input data, outputs, and/or resource usage to determine when drift has occurred. When drift is determined to be occurring, the tool retrains a model for a machine learning application.