# US 2021/0174258 A1 · Machine learning monitoring systems and methods

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

- Number: US 2021/0174258 A1
- Document ID: US20210174258A1
- Status: Published application
- Kind: A1
- Application number: 17/116,615
- Filed: 2020-12-09
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Arthur AI, Inc.
- Applicants: Arthur AI, Inc.
- Inventors: Adam WENCHEL; John DICKERSON; Priscilla ALEXANDER; Elizabeth O'SULLIVAN; Keegan HINES
- Web page: https://patentgrep.com/patent/US20210174258A1

## CPC

- G06N 5/045: Explanation of inference; Explainable artificial intelligence [XAI]; Interpretable artificial intelligence
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for monitoring performance of a ML system includes receiving a data stream via a processor and generating a first plurality of metrics based on the data stream. The processor also generates input data based on the data stream, and sends the input data to a machine learning (ML) model for generation of intermediate output and model output based on the input data. The processor also generates a second plurality of metrics based on the intermediate output, and a third plurality of metrics based on the model output. An alert is generated based on at least one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics, and a signal representing the alert is sent for display to a user via an interface.

## Claims

### Claim 1

A method, comprising:
generating, via the processor, a first plurality of metrics based on the data stream;
generating, via the processor, input data based on the data stream;
causing a machine learning (ML) model to generate intermediate output and model output based on the input data;
generating, via the processor, a second plurality of metrics based on the intermediate output;
generating, via the processor, a third plurality of metrics based on the model output;
generating an alert based on at least one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics; and
sending a signal representing the alert for display to a user via an interface.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating the alert is in response to detecting that a metric from the at least one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics exceeds a predefined threshold.

### Claim 3 (depends on 2)

The method of claim 2, wherein the predefined threshold is a user-defined threshold.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first plurality of metrics includes a non-aggregated data metric having at least one of: a minimum data value, a maximum data value, a mean data value, an average data value, or a variance.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first plurality of metrics includes a joint metric having at least one of: a data drift, a covariance, a Kolmogorov-Smirnov (K-S) statistic, or an incremental K-S.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second plurality of metrics includes a non-aggregated data metric having at least one of: a minimum Local Interpretable Model-Agnostic Explanations (LIME) value, a maximum LIME value, a LIME value variance, or a gradient value.

### Claim 7 (depends on 1)

The method of claim 1, wherein the second plurality of metrics includes a joint data metric having at least one of: a rate of change of averages over LIME values, a rate of change of minimums over LIME values, a rate of change of averages over Shapley Additive Explanation (“SHAP”) values, a rate of change of minimums over SHAP values, or a representation of portions of the ML model that are least active.

### Claim 8 (depends on 1)

The method of claim 1, wherein the third plurality of metrics includes a non-aggregated data metric having at least one of: a minimum data value, a maximum data value, a mean data value, an average data value, a variance, or a rate of change.

### Claim 9 (depends on 1)

The method of claim 1, wherein the third plurality of metrics includes an aggregated data metric having at least one of: a rate of change of averages, or a difference in maximums.

### Claim 10 (depends on 1)

The method of claim 1, wherein the alert is configured to trigger a remediation action including at least one of: data resampling, modification of training data, retraining of the ML model, or disabling of the ML model.

### Claim 11

A system, comprising:
a processor configured to be in communication, via a telecommunications network, with a computer system; and
a memory storing processor-executable instructions to cause the processor to:
receive a data stream from the computer system via the telecommunications network;
generate a first plurality of metrics based on the data stream;
generate input data based on the data stream;
causing a machine learning (ML) model to generate, based on the input data, an intermediate output and a model output;
at least one of:
generate a second plurality of metrics based on the intermediate output, or
generate a third plurality of metrics based on the model output;
generate an alert based on at least one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics; and
send a signal representing the alert for display to a user via an interface.

### Claim 12 (depends on 11)

The system of claim 11, wherein the ML model is a first ML model, and the input data includes inferences generated by a second ML model different from the first ML model.

### Claim 13 (depends on 11)

The system of claim 11, wherein the generation of at least one of the intermediate output or the model output by the ML model is further based on reference data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the reference data includes data associated with a protected class of individuals.

### Claim 15 (depends on 11)

The system of claim 11, wherein the first plurality of metrics includes at least one of: a minimum data value, a maximum data value, a mean data value, an average data value, a variance, a data drift, a covariance, a Kolmogorov-Smirnov (K-S) statistic, or an incremental K-S.

### Claim 16 (depends on 11)

The system of claim 11, wherein the second plurality of metrics includes at least one of: a minimum Local Interpretable Model-Agnostic Explanations (LIME) value, a maximum LIME value, a LIME value variance, a gradient value, a rate of change of averages over LIME values, a rate of change of minimums over LIME values, a rate of change of averages over Shapley Additive Explanation (“SHAP”) values, a rate of change of minimums over SHAP values, or a representation of portions of the ML model that are least active.

### Claim 17 (depends on 11)

The system of claim 11, wherein the third plurality of metrics includes at least one of: a minimum data value, a maximum data value, a mean data value, an average data value, a variance, a rate of change, or a difference in maximums.

### Claim 18 (depends on 11)

The system of claim 11, wherein the alert is configured to trigger a remediation action including at least one of: data resampling, modification of training data, retraining of the ML model, or disabling of the ML model.

### Claim 19 (depends on 11)

The system of claim 11, wherein the alert is a first alert and the memory stores processor-executable instructions to cause the processor to generate a plurality of alerts including the first alert and a second alert, the second alert being triggered as a function of the first alert, and the second alert being generated based on a different one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics than the first alert.

### Claim 20 (depends on 11)

The system of claim 11, wherein the instructions to generate the alert include instructions to generate the alert in response to a combination of a first metric, from one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics, and a second metric from a different one of the first plurality of metrics, the second plurality of metrics, or the third plurality of metrics than the first metric.
