ML Inference Error Monitoring for Time-Series Drift Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning models face challenges in maintaining accuracy due to data distribution drift, particularly in resource-constrained environments, where traditional retraining methods are not viable, leading to inefficiencies and operational failures.

Innovation Solution

A method for monitoring prediction errors using a masked autoencoder or variational autoencoder to predict expected time-series signals, calculate errors, determine stationarity, and detect drift using statistical methods like Augmented Dickey-Fuller and Drift Detection Methods, allowing for real-time model adjustments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If periodic retraining is used to address data drift, then model accuracy can be maintained, but system complexity and resource consumption increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by continuously monitoring prediction errors and detecting drift conditions before they significantly impact model accuracy. The system proactively identifies when retraining is needed by analyzing error stationarity and drift detection metrics, allowing for timely model updates without waiting for accuracy degradation to become problematic.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms through continuous monitoring of prediction errors and automated drift detection. The system feeds back information about model performance and data distribution changes to trigger retraining processes automatically, creating a closed-loop system that adapts to changing conditions without manual intervention.

Inventive Principle:
Principle #23Feedback

2Reliability

If frequent retraining is performed to maintain accuracy, then model performance is improved, but model forgetting occurs and computational resources are consumed

Engineering Contradiction:
Improvepredictive performanceVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system performs preliminary detection of drift conditions and error stationarity changes before initiating retraining. By analyzing the stationarity of prediction errors and detecting drift patterns in advance, the system can determine whether retraining is actually necessary, avoiding unnecessary computational resources and preventing model forgetting from frequent updates.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent monitors changes in error parameters including stationarity metrics and drift detection scores. By tracking these parameter changes over time, the system can determine optimal retraining triggers based on actual degradation patterns rather than using fixed frequent schedules, thereby reducing unnecessary computational overhead.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If traditional drift detection methods are used, then data drift can be detected, but historical data storage requirements increase

Engineering Contradiction:
Improvedrift detection capabilityVSAvoidhistorical data storage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential information needed for drift detection from historical data, rather than storing and processing the complete historical datasets. By focusing on key error metrics, stationarity statistics, and drift detection signals, the system maintains drift detection capability while significantly reducing storage requirements.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs partial drift detection by monitoring only the most critical error characteristics and using sampling techniques. Instead of analyzing all historical data comprehensively, the system focuses on detecting significant changes in error patterns, achieving sufficient drift detection accuracy with reduced data processing and storage.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If model retraining is performed in resource-constrained environments, then accuracy can be maintained, but system viability decreases

Engineering Contradiction:
Improvepredictive accuracyVSAvoidsystem viability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary assessment of drift conditions and error stationarity before initiating retraining in resource-constrained environments. By evaluating whether drift is actually present and whether it requires immediate attention, the system can avoid unnecessary retraining operations that would consume valuable computational resources and compromise system viability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent monitors changes in error parameters and drift metrics to determine optimal retraining timing in resource-constrained settings. By tracking stationarity metrics and drift detection scores, the system can perform retraining only when truly necessary, balancing accuracy maintenance with resource conservation to preserve system viability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250377988A1Method for monitoring a prediction error during the inference of a machine learning model
Publication Date: 2025.12.11 SCHNEIDER ELECTRIC IND SAS
  • US20250377988A1 patent drawing
  • US20250377988A1 patent drawing

AI summary

A method for monitoring a prediction error during the inference of an application machine learning model providing predictions based on at least one actual time-series signal from an actual sensor. The method includes: predicting an expected time-series signal from the actual time-series signal; calculating an error based on the expected signal and the actual signal; determining the a stationarity of the error; and determining the an evolution of the stationarity.