Dynamic Text Classifier Drift Detection Retraining

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning models, such as text classifiers, face challenges in maintaining accuracy over time due to shifts in word distributions in new data, leading to degraded performance and the need for frequent retraining.

Innovation Solution

A system that dynamically updates machine learning models by monitoring word distribution changes using a drift detection engine, triggering retraining when deviations exceed a threshold, and incorporating active learning to select and label relevant documents efficiently, thereby maintaining model performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the machine learning model is frequently retrained to maintain accuracy, then model performance is improved, but development time and computational resources are increased

Engineering Contradiction:
Improvemodel accuracyVSAvoiddevelopment time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements a drift detection engine that continuously monitors word distribution in incoming data and provides feedback to the model management system. When drift exceeds a threshold, the system automatically triggers retraining, creating a closed-loop feedback mechanism that maintains accuracy without requiring continuous manual intervention or frequent scheduled retraining

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system transitions from static periodic retraining to dynamic adaptive retraining. The retraining frequency is not fixed but adjusts automatically based on real-time detection of data distribution changes. This allows the model to be retrained only when necessary, optimizing the balance between accuracy maintenance and resource efficiency

Inventive Principle:
Principle #15Dynamics

2Reliability

If the machine learning model is retrained with all new data, then model accuracy is maintained, but computational resources and processing time are increased

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

Solution Approach 1:

The system extracts only the relevant portion of new data for retraining based on drift detection. Instead of retraining with all incoming data, the system identifies and uses only the subset of data that contributes to distribution changes exceeding the threshold, reducing computational overhead while maintaining accuracy

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system applies partial retraining by using only the necessary portion of new data rather than the complete dataset. This partial action is sufficient to maintain model accuracy in response to detected drift, avoiding the excessive computational cost of full retraining with all available data

Inventive Principle:
Principle #16Partial or excessive action

3Loss of time

If the machine learning model is not retrained, then development time is reduced, but model performance degrades due to word distribution shifts

Engineering Contradiction:
Improvedevelopment timeVSAvoidmodel performance
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The drift detection engine continuously monitors data distribution and provides feedback about changes. This automatic detection mechanism ensures model performance is maintained by triggering retraining only when drift exceeds the threshold, preventing performance degradation without requiring continuous manual monitoring or frequent retraining

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system implements self-service through automated drift detection and trigger-based retraining. The model management system automatically detects when retraining is needed and initiates the process without human intervention, maintaining model performance while minimizing unnecessary retraining operations

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11977847B2Dynamically updated text classifier
Publication Date: 2024.05.07 KENSHO TECHNOLOGIES LLC
  • US11977847B2 patent drawing
  • US11977847B2 patent drawing
  • US11977847B2 patent drawing

AI summary

A method for dynamically updating a machine learning model is provided. The method comprises receiving first data comprising a first number of documents, training a first machine learning model with the first data, and releasing the first machine learning model for use. After receipt of the first data, second data is received comprising a second number of documents. A concept labeling engine, according to the first machine learning model, labels a concept for at least one document in the second data. Responsive to determining that a distribution of words in the second data deviates from a distribution of words in the first data beyond a specified threshold, the first machine learning model is retrained with at least part of the second data, the retraining producing a second machine learning model; and releasing the second machine learning model for use.