# US 2022/0292391 A1 · Interpretable model changes

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

- Number: US 2022/0292391 A1
- Document ID: US20220292391A1
- Status: Published application
- Kind: A1
- Application number: 17/197,535
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Elizabeth Daly; Rahul Nair; Oznur Alkan; Massimiliano Mattetti; Dennis Wei; Yunfeng Zhang
- Web page: https://patentgrep.com/patent/US20220292391A1

## CPC

- G06N 20/00: Machine learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/027: {Frames}
- G06N 5/04: Inference or reasoning models
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In a method for interpreting output of a machine learning model, a processor receives a first interpretable rule set. A processor may also receive a second interpretable rule set generated from a dataset and model-predicted labels classifying the dataset. A processor may also generate a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

## Claims

### Claim 1

A computer-implemented method for generating a difference metric for a machine learning model, comprising:
receiving, by one or more processors, a first interpretable rule set;
generating model-predicted labels from a dataset using the machine learning model;
generating a second interpretable rule set comparing the dataset with the model-predicted labels; and
generating a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

### Claim 2 (depends on 1)

The method of claim 1, wherein the difference metric comprises a selection from the group consisting of a comparison view highlighting the differences between the first interpretable rule set and the second interpretable rule set, an edit distance between the first interpretable rule set and the second interpretable rule set, and a set of descriptions about the changes between the first interpretable rule set and the second interpretable rule set.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first interpretable rule set comprises user-designated rules.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first interpretable rule set comprises rules based on ground truth labels.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first interpretable rule set comprises rules generated from the dataset and first model-predicted labels classifying the dataset.

### Claim 6 (depends on 1)

The method of claim 1, wherein the labels comprise binarized features, wherein the binarized features are binarized by a selection from the group consisting of: thresholding and one-hot encoding.

### Claim 7 (depends on 1)

The method of claim 1, wherein the second interpretable rule set comprises rules grounded by the first interpretable rule set.

### Claim 8

A computer program product comprising:
one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to receive a first interpretable rule set;
program instructions to generate model-predicted labels from a dataset using the machine learning model;
program instructions to generate a second interpretable rule set comparing the dataset with the model-predicted labels; and
program instructions to generate a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the difference metric comprises a selection from the group consisting of a comparison view highlighting the differences between the first interpretable rule set and the second interpretable rule set, an edit distance between the first interpretable rule set and the second interpretable rule set, and a set of descriptions about the changes between the first interpretable rule set and the second interpretable rule set.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the first interpretable rule set comprises user-designated rules.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the first interpretable rule set comprises rules based on ground truth labels.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the first interpretable rule set comprises rules generated from the dataset and first model-predicted labels classifying the dataset.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the labels comprise binarized features, wherein the features are binarized by a selection from the group consisting of: thresholding and one-hot encoding.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the second interpretable rule set comprises rules grounded by the first interpretable rule set.

### Claim 15

A computer system comprising:
one or more computer processors, one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:
program instructions to receive a first interpretable rule set;
program instructions to generate model-predicted labels from a dataset using the machine learning model;
program instructions to generate a second interpretable rule set comparing the dataset with the model-predicted labels; and
program instructions to generate a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the difference metric comprises a selection from the group consisting of a comparison view highlighting the differences between the first interpretable rule set and the second interpretable rule set, an edit distance between the first interpretable rule set and the second interpretable rule set, and a set of descriptions about the changes between the first interpretable rule set and the second interpretable rule set.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the first interpretable rule set comprises user-designated rules.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the first interpretable rule set comprises rules based on ground truth labels.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein the first interpretable rule set comprises rules generated from the dataset and first model-predicted labels classifying the dataset.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein the labels comprise binarized features, wherein the features are binarized by a selection from the group consisting of: thresholding and one-hot encoding.

### Claim 21 (depends on 15)

The computer system of claim 15, wherein the second interpretable rule set comprises rules grounded by the first interpretable rule set.

### Claim 22

A computer-implemented method for generating a difference metric between a first machine learning model and a second machine learning model, comprising:
receiving, by one or more processors, a first interpretable rule set generated from a dataset and first model-predicted labels from the first machine learning model classifying the dataset;
receiving a second interpretable rule set generated from the dataset and second model-predicted labels from the second machine learning model classifying the dataset;
generating a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

### Claim 23 (depends on 22)

The method of claim 22, wherein the second interpretable rule set comprises rules grounded by the first interpretable rule set.

### Claim 24

A computer-implemented method for generating a difference metric between a first machine learning model and a second machine learning model, comprising:
generating first model-predicted labels from a dataset using the first machine learning model;
generating a first interpretable rule set comparing the dataset with the first model-predicted labels;
generating second model-predicted labels from the dataset using the second machine learning model;
generating a second interpretable rule set comparing the dataset with the second model-predicted labels; and
generating a difference metric and mapping between the first interpretable rule set and the second interpretable rule set.

### Claim 25 (depends on 24)

The method of claim 24, wherein the second interpretable rule set comprises rules grounded by the first interpretable rule set.
