# US 2021/0279607 A1 · Explaining accuracy drift in production data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0279607 A1
- Document ID: US20210279607A1
- Status: Published application
- Kind: A1
- Application number: 16/813,512
- Filed: 2020-03-09
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Manish Anand Bhide; Pranay Kumar Lohia; Diptikalyan Saha; Madhavi Katari
- Web page: https://patentgrep.com/patent/US20210279607A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method according to one embodiment includes identifying an occurrence of accuracy drift by a trained model; identifying data associated with the accuracy drift, utilizing a drift detection model (DDM) constructed for the trained model; applying the data associated with the accuracy drift to a decision tree to determine a feature space and specific subset of the data causing the accuracy drift; analyzing a distribution of features within the feature space for the specific subset of the data causing the accuracy drift to determine specific features of the data causing the accuracy drift; and returning the specific features of the data causing the accuracy drift.

## Claims

### Claim 1

A computer-implemented method, comprising:
identifying an occurrence of accuracy drift by a trained model;
identifying data associated with the accuracy drift, utilizing a drift detection model (DDM) constructed for the trained model;
applying the data associated with the accuracy drift to a decision tree to determine a feature space and specific subset of the data causing the accuracy drift;
analyzing a distribution of features within the feature space for the specific subset of the data causing the accuracy drift to determine specific features of the data causing the accuracy drift; and
returning the specific features of the data causing the accuracy drift.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the trained model is initially trained utilizing input training data and is verified using test data.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein after the trained model is verified, the trained model is implemented by inputting production data into the trained model, wherein the production data includes incremental production data.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the trained model outputs one or more accuracy statistics, and the occurrence of accuracy drift is identified in response to the one or more accuracy statistics falling below a predetermined threshold.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the DDM includes a machine learning model that identifies changing prediction values created by the trained model for input production data.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the DDM monitors prediction values for input production data over time and identifies that the input production data is causing the accuracy drift, based on the monitoring.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the DDM determines that input production data is causing the accuracy drift in response to the DDM identifying a change in prediction values of the trained model above a predetermined threshold in response to input production data.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the DDM returns an indication that input production data is causing the accuracy drift, as well as an indication of a portion of the input production data that is associated with the accuracy drift.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the decision tree includes a machine learning model that analyzes the data associated with the accuracy drift and outputs the feature space and specific subset of input data causing the accuracy drift.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein:
a distribution of each feature of the specific subset of data causing the accuracy drift is compared to a distribution of each corresponding feature of training data used to initially train the trained model,
a change in the distribution between each feature of the training data and the corresponding feature of the specific subset of data causing the accuracy drift is determined, and
features having a change in distribution exceeding a predetermined threshold are identified as features causing the accuracy drift.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising performing one or more remedial measures in response to the determination of the specific features of the data causing the accuracy drift.

### Claim 12

A computer program product for explaining accuracy drift in production data, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
identifying, by the processor, an occurrence of accuracy drift by a trained model;
identifying, by the processor, data associated with the accuracy drift, utilizing a drift detection model (DDM) constructed for the trained model;
applying, by the processor, the data associated with the accuracy drift to a decision tree to determine a feature space and specific subset of the data causing the accuracy drift;
analyzing, by the processor, a distribution of features within the feature space for the specific subset of the data causing the accuracy drift to determine specific features of the data causing the accuracy drift; and
returning, by the processor, the specific features of the data causing the accuracy drift.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the trained model is initially trained utilizing input training data and is verified using test data.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein after the trained model is verified, the trained model is implemented by inputting production data into the trained model, wherein the production data includes incremental production data.

### Claim 15 (depends on 12)

The computer program product of claim 12, wherein the trained model outputs one or more accuracy statistics, and the occurrence of accuracy drift is identified in response to the one or more accuracy statistics falling below a predetermined threshold.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein the DDM includes a machine learning model that identifies changing prediction values created by the trained model for input production data.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein the DDM monitors prediction values for input production data over time and identifies that the input production data is causing the accuracy drift, based on the monitoring.

### Claim 18 (depends on 12)

The computer program product of claim 12, wherein the DDM determines that input production data is causing the accuracy drift in response to the DDM identifying a change in prediction values of the trained model above a predetermined threshold in response to input production data.

### Claim 19 (depends on 12)

The computer program product of claim 12, wherein the DDM returns an indication that input production data is causing the accuracy drift, as well as an indication of a portion of the input production data that is associated with the accuracy drift.

### Claim 20

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
identify an occurrence of accuracy drift by a trained model;
identify data associated with the accuracy drift, utilizing a drift detection model (DDM) constructed for the trained model;
apply the data associated with the accuracy drift to a decision tree to determine a feature space and specific subset of the data causing the accuracy drift;
analyze a distribution of features within the feature space for the specific subset of the data causing the accuracy drift to determine specific features of the data causing the accuracy drift; and
return the specific features of the data causing the accuracy drift.
