# US 2024/0193471 A1 · Machine learning evaluation for detecting feature bias

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

- Number: US 2024/0193471 A1
- Document ID: US20240193471A1
- Status: Published application
- Kind: A1
- Application number: 18/077,840
- Filed: 2022-12-08
- Published: 2024-06-13
- Earliest claimed: 2022-12-08
- Assignees: Optum, Inc.
- Applicants: Optum, Inc.
- Inventors: Arun Tiwari; Amardeep Sharma; Rahul Pathak; Sudhanshu Sharma; Urvi Sharma; Radhika Agarwal
- Web page: https://patentgrep.com/patent/US20240193471A1

## CPC

- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Various embodiments of the present disclosure disclose machine-learning based evaluation techniques for detecting feature bias. An evaluation framework is provided that utilizes new evaluation data structures for comprehensibly evaluating feature bias in machine learning models. The evaluation framework includes receiving evaluation dataset for a machine learning model that includes one or more different feature classes of an evaluation feature. The evaluation framework includes generating, using an evaluation function, at least two performance metrics for the machine learning model and generating a unitless dissimilarity metric for the evaluation feature based at least in part on the first performance metric, the second performance metric, and an average between the first and second performance metrics. In this way, the unitless dissimilarity metric is based on a variability associated with the evaluation feature.

## Claims

### Claim 1

A computer-implemented method for evaluating potential bias in machine learning models, the computer-implemented method comprising:
receiving, by one or more processors, an evaluation dataset for a machine learning model, wherein the evaluation dataset comprises a plurality of evaluation data objects associated with one or more different feature classes of an evaluation feature;
generating, by the one or more processors and using an evaluation function, at least two performance metrics for the machine learning model based at least in part on the plurality of evaluation data objects, wherein the at least two performance metrics comprise:
a first performance metric based at least in part on a first plurality of the plurality of evaluation data objects that are associated with a first feature class of the evaluation feature, and
a second performance metric based at least in part on a second plurality of the plurality of evaluation data objects that are associated with a second feature class of the evaluation feature;
generating, by the one or more processors, a unitless dissimilarity metric for the evaluation feature based at least in part on the first performance metric, the second performance metric, and an average performance measure of the at least two performance metrics; and
providing, by the one or more processors, a machine learning verification output for the machine learning model based at least in part on the unitless dissimilarity metric.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the machine learning model comprises a machine learning classification model,
the plurality of evaluation data objects is associated with a plurality of target classifications, and
the evaluation function comprises a classification evaluation function configured to evaluate a performance of the machine learning classification model based at least in part on a comparison between (i) a plurality of classification outputs generated, using the machine learning classification model, for the plurality of evaluation data objects and (ii) the plurality of target classifications associated with the plurality of evaluation data objects.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein generating the unitless dissimilarity metric comprises:
generating, by the one or more processors, the average performance measure based at least in part on the first performance metric and the second performance metric;
generating, by the one or more processors, a first feature deviation measure for the first feature class based at least in part on the first performance metric, wherein the first feature deviation measure comprises a first squared deviation between the first performance metric and the average performance measure;
generating, by the one or more processors, a second feature deviation measure for the second feature class based at least in part on the second performance metric and the average performance measure, wherein the second feature deviation measure comprises a second squared deviation between the second performance metric and the average performance measure; and
generating, by the one or more processors, the unitless dissimilarity metric for the evaluation feature based at least in part on the first feature deviation measure and the second feature deviation measure.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein generating the unitless dissimilarity metric further comprises:
generating, by the one or more processors, a standard feature deviation measure for the evaluation feature based at least in part on the first feature deviation measure and the second feature deviation measure, wherein the standard feature deviation measure comprises a square root of an aggregated feature deviation measure, the aggregated feature deviation measure comprising a sum of at least the first feature deviation measure and the second feature deviation measure; and
generating, by the one or more processors, the unitless dissimilarity metric for the evaluation feature based at least in part on the standard feature deviation measure and the average performance measure.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, further comprising:
generating, by the one or more processors, a first feature class deviation measure for the first feature class based at least in part on the first performance metric and the average performance measure, wherein the first feature class deviation measure comprises an absolute deviation of the first performance metric from the average performance measure;
generating, by the one or more processors, a class contribution metric for the first feature class based at least in part on the first feature class deviation measure and the average performance measure; and
providing, by the one or more processors, a class level verification output for the machine learning model that comprises an indication of the class contribution metric for the first feature class of the evaluation feature.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
in response to determining that the unitless dissimilarity metric for the evaluation feature exceeds a performance threshold, providing, by the one or more processors, the class level verification output for the machine learning model.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein the machine learning verification output comprises one or more interactive widgets, and wherein the method further comprises:
receiving, using the one or more interactive widgets, user input associated with the machine learning verification output; and
in response to the user input, providing, the class level verification output for the machine learning model.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein the class contribution metric for the first feature class comprises a percentage value indicative of a relative bias of the machine learning model with respect to the first feature class relative to the one or more different feature classes of the evaluation feature.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the unitless dissimilarity metric comprises a percentage value indicative of a level of bias of the machine learning model with respect to the evaluation feature.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning verification output for the machine learning model comprises a plurality of unitless dissimilarity metrics for each of a plurality of different evaluation functions, and wherein the unitless dissimilarity metric is representative of a level of bias of the machine learning model with respect to the evaluation function relative to each of the plurality of different evaluation functions.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the plurality of different evaluation functions for the machine learning model comprises a plurality of classification evaluation functions.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning verification output for the machine learning model comprises a plurality of unitless dissimilarity metrics for each of a plurality of different evaluation features, and wherein the unitless dissimilarity metric is representative of a level of bias of the machine learning model with respect to the evaluation feature relative to each of the plurality of different evaluation features.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein each of the plurality of unitless dissimilarity metrics for each of the plurality of different evaluation features is directly comparable.

### Claim 14

A computing apparatus for evaluating potential bias in machine learning models comprising:
a processor; and
a memory storing instructions that, when executed by the processor, configure the computing apparatus to:
receive an evaluation dataset for a machine learning model, wherein the evaluation dataset comprises a plurality of evaluation data objects associated with one or more different feature classes of an evaluation feature;
generate, using an evaluation function, at least two performance metrics for the machine learning model based at least in part on the plurality of evaluation data objects, wherein the at least two performance metrics comprise:
a first performance metric based at least in part on a first plurality of the plurality of evaluation data objects that are associated with a first feature class of the evaluation feature, and
a second performance metric based at least in part on a second plurality of the plurality of evaluation data objects that are associated with a second feature class of the evaluation feature;
generate a unitless dissimilarity metric for the evaluation feature based at least in part on the first performance metric, the second performance metric, and an average performance measure of the at least two performance metrics; and
provide a machine learning verification output for the machine learning model based at least in part on the unitless dissimilarity metric.

### Claim 15 (depends on 14)

The computing apparatus of claim 14, wherein:
the machine learning model comprises a machine learning classification model, the plurality of evaluation data objects is associated with a plurality of target classifications, and
the evaluation function comprises a classification evaluation function configured to evaluate a performance of the machine learning classification model based at least in part on a comparison between (i) a plurality of classification outputs generated, using the machine learning classification model, for the plurality of evaluation data objects and (ii) the plurality of target classifications associated with the plurality of evaluation data objects.

### Claim 16 (depends on 15)

The computing apparatus of claim 15, wherein generating the unitless dissimilarity metric comprises:
generating the average performance measure based at least in part on the first performance metric and the second performance metric;
generating a first feature deviation measure for the first feature class based at least in part on the first performance metric, wherein the first feature deviation measure comprises a first squared deviation between the first performance metric and the average performance measure;
generating a second feature deviation measure for the second feature class based at least in part on the second performance metric and the average performance measure, wherein the second feature deviation measure comprises a second squared deviation between the second performance metric and the average performance measure; and
generating the unitless dissimilarity metric for the evaluation feature based at least in part on the first feature deviation measure and the second feature deviation measure.

### Claim 17 (depends on 16)

The computing apparatus of claim 16, wherein generating the unitless dissimilarity metric further comprises:
generating a standard feature deviation measure for the evaluation feature based at least in part on the first feature deviation measure and the second feature deviation measure, wherein the standard feature deviation measure comprises a square root of an aggregated feature deviation measure, the aggregated feature deviation measure comprising a sum of at least the first feature deviation measure and the second feature deviation measure; and
generating the unitless dissimilarity metric for the evaluation feature based at least in part on the standard feature deviation measure and the average performance measure.

### Claim 18 (depends on 16)

The computing apparatus of claim 16, wherein the computing apparatus is further configured to:
generate a first feature class deviation measure for the first feature class based at least in part on the first performance metric and the average performance measure, wherein the first feature class deviation measure comprises an absolute deviation of the first performance metric from the average performance measure;
generate a class contribution metric for the first feature class based at least in part on the first feature class deviation measure and the average performance measure; and
provide a class level verification output for the machine learning model that comprises an indication of the class contribution metric for the first feature class of the evaluation feature.

### Claim 19

A non-transitory computer-readable storage medium for evaluating potential bias in machine learning models, the non-transitory computer-readable storage medium including instructions that when executed by a computer, cause the computer to:
receive an evaluation dataset for a machine learning model, wherein the evaluation dataset comprises a plurality of evaluation data objects associated with one or more different feature classes of an evaluation feature;
generate, using an evaluation function, at least two performance metrics for the machine learning model based at least in part on the plurality of evaluation data objects, wherein the at least two performance metrics comprise:
a first performance metric based at least in part on a first plurality of the plurality of evaluation data objects that are associated with a first feature class of the evaluation feature, and
a second performance metric based at least in part on a second plurality of the plurality of evaluation data objects that are associated with a second feature class of the evaluation feature;
generate a unitless dissimilarity metric for the evaluation feature based at least in part on the first performance metric, the second performance metric, and an average performance measure of the at least two performance metrics; and
provide a machine learning verification output for the machine learning model based at least in part on the unitless dissimilarity metric.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the machine learning verification output for the machine learning model comprises a plurality of unitless dissimilarity metrics for each of a plurality of different evaluation features, and wherein the unitless dissimilarity metric is representative of a level of bias of the machine learning model with respect to the evaluation feature relative to each of the plurality of different evaluation features.
