# US 2024/0403715 A1 · System, Method, and Computer Program Product for Identifying Weak Points in a Predictive Model

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

- Number: US 2024/0403715 A1
- Document ID: US20240403715A1
- Status: Published application
- Kind: A1
- Application number: 18/694,152
- Filed: 2021-09-22
- Published: 2024-12-05
- Earliest claimed: 2021-09-22
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Liang Wang; Junpeng Wang; Yan Zheng; Shubham Jain; Michael Yeh; Zhongfang Zhuang; Wei Zhang; Hao Yang
- Web page: https://patentgrep.com/patent/US20240403715A1

## CPC

- G06N 20/00: Machine learning
- G06Q 30/06: Buying, selling or leasing transactions
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q 10/06375: {Prediction of business process outcome or impact based on a proposed change}
- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06Q 30/0225: {Avoiding frauds}
- G06Q 30/0248: {Avoiding fraud}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems, methods, and computer program products that obtain a plurality of features associated with a plurality of samples and a plurality of labels for the plurality of samples; generate a plurality of first predictions for the plurality of samples with a first machine learning model; generate a plurality of second predictions for the plurality of samples with a second machine learning model; generate, based on the plurality of first predictions, the plurality of second predictions, the plurality of labels, and a plurality of groups of samples of the plurality of samples; determine, based on the plurality of groups of samples, a first success rate associated with the first machine learning model and a second success rate associated with the second machine learning model; and identify, based on the first success rate and the second success rate, a weak point in the machine learning first model or the second model.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining, with at least one processor, a plurality of features associated with a plurality of samples and a plurality of labels for the plurality of samples;
generating, with the at least one processor, a plurality of first predictions for the plurality of samples by providing, as input to a first machine learning model, a first subset of features of the plurality of features, and receiving, as output from the first machine learning model, the plurality of first predictions for the plurality of samples;
generating, with the at least one processor, a plurality of second predictions for the plurality of samples by providing, as input to a second machine learning model, a second subset of features of the plurality of features, and receiving, as output from the second machine learning model, the plurality of second predictions for the plurality of samples;
generating, with the at least one processor, based on the plurality of first predictions, the plurality of second predictions, the plurality of labels, and a plurality of groups of samples of the plurality of samples;
determining, with the at least one processor, based on the plurality of groups of samples, a first success rate associated with the first machine learning model and a second success rate associated with the second machine learning model; and
identifying, with the at least one processor, based on the first success rate and the second success rate, a weak point in the second machine learning model associated with a first portion of samples of the plurality of samples including a same first value for a same first feature of the plurality of features and for which the first success rate associated with the first machine learning model is different than the second success rate associated with the second machine learning model.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein at least one of: (i) the first subset of features is different than the second subset of features; (ii) a first set of hyperparameters for a machine learning algorithm used to generate the first machine learning model is different than a second set of hyperparameters for a same machine learning algorithm used to generate the second machine learning model; (iii) a first machine learning algorithm used to generate the first machine learning model is different than a second machine learning algorithm used to generate the second machine learning model; and (iv) a first training data set used to train the first machine learning model is different than a second training data set used to train the second machine learning model.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the first subset of features is different than the second subset of features, and wherein identifying the weak point in the second machine learning model further includes:
determining a difference in features between the first subset of features and the second subset of features;
selecting, based on the same first feature included in the first portion of samples and the difference in features, one or more features of the plurality of features;
adjusting the second subset of features based on the selected one or more features; and
generating, using the adjusted second subset of features, an updated second machine learning model.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein a first set of hyperparameters for a machine learning algorithm used to generate the first machine learning model is different than a second set of hyperparameters for a same machine learning algorithm used to generate the second machine learning model, and wherein identifying the weak point in the second machine learning model further includes:
determining a difference in hyperparameters between the first set of hyperparameters and the second set of hyperparameters;
determining, based on the same first feature included in the first portion of samples and the difference in the hyperparameters, one or more hyperparameters;
adjusting the second set of hyperparameters based on the selected one or more hyperparameters; and
generating, using the adjusted second set of hyperparameters, an updated second machine learning model.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of first predictions include a plurality of first prediction scores, wherein the plurality of second predictions include a plurality of second prediction scores, and wherein generating the plurality of groups of samples of the plurality of samples further includes:
aligning the plurality of second prediction scores to a same scale as the plurality of first prediction scores;
applying an operating point to the plurality of first prediction scores to determine a plurality of first positive predictions and a plurality of first negative predictions;
applying the operating point to the plurality of aligned second prediction scores to determine a plurality of second positive predictions and a plurality of second negative predictions; and
generating, based on the plurality of first positive predictions, the plurality of first negative predictions, the plurality of second positive predictions, the plurality of second negative predictions, the plurality of labels, and the plurality of groups of samples of the plurality of samples.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein aligning the plurality of second prediction scores to the same scale as the plurality of first prediction scores includes:
assigning each first prediction score of the plurality of prediction scores to a first bucket of a plurality of first buckets according to a value of that first prediction score;
determining, for each first bucket, a rate of positive first predictions up to the value of the first prediction score assigned to that first bucket;
assigning each second prediction score of the plurality of prediction scores to a second bucket of a plurality of second buckets according to a value of that second prediction score;
determining, for each second bucket, a rate of positive second predictions up to the value of the second prediction score assigned to that second bucket; and
determining, for each second prediction score, an aligned score aligned to the same scale as the plurality of first predictions scores, the value of the first prediction score assigned to the first bucket of the plurality of first buckets for which the rate of positive first predictions is a same rate as the rate of positive second predictions of the second bucket to which that prediction score is assigned.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein generating the plurality of groups of samples of the plurality of samples includes:
determining, with the at least one processor, a first group of samples of the plurality of samples for which a first prediction of the plurality of first predictions matches a label of the plurality of labels and a second prediction of the plurality of second predictions matches the label of the plurality of labels;
determining, with the at least one processor, a second group of samples of the plurality of samples for which the second prediction of the plurality of second predictions matches the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a third group of samples of the plurality of samples for which the first prediction of the plurality of first predictions matches the label of the plurality of labels and the second prediction of the plurality of second predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fourth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fifth group of samples of the plurality of samples for which the first prediction of the plurality of first predictions does not match the label of the plurality of labels and the second prediction of the plurality of second predictions matches the label of the plurality of labels; and
determining, with the at least one processor, a sixth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions matches the label of the plurality of labels.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the first success rate associated with the first machine learning model and the second success rate associated with the second machine learning model are determined according to the following Equations (1) and (2):
First
⁢
Success
⁢
Rate
=
X
⁢
1
+
Z
⁢
1
+
λ
⁡
(
Z
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
1
)
Second
⁢
Success
⁢
Rate
=
X
⁢
1
+
Y
⁢
1
+
λ
⁡
(
Y
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
2
)
where X1 is a number of samples in the first group of samples, Y1 is a number of samples in the second group of samples, Z1 is a number of samples in the third group of samples, X2 is a number of samples in the fourth group of samples, Y2 is a number of samples in the fifth group of samples, Z2 is a number of samples in the sixth group of samples, and λ is a discount factor.

### Claim 9

A system, comprising:
at least one processor programmed and/or configured to:
obtain a plurality of features associated with a plurality of samples and a plurality of labels for the plurality of samples;
generate a plurality of first predictions for the plurality of samples by providing, as input to a first machine learning model, a first subset of features of the plurality of features, and receiving, as output from the first machine learning model, the plurality of first predictions for the plurality of samples;
generate a plurality of second predictions for the plurality of samples by providing, as input to a second machine learning model, a second subset of features of the plurality of features, and receiving, as output from the second machine learning model, the plurality of second predictions for the plurality of samples;
generate, based on the plurality of first predictions, the plurality of second predictions, the plurality of labels, and a plurality of groups of samples of the plurality of samples;
determine, based on the plurality of groups of samples, a first success rate associated with the first machine learning model and a second success rate associated with the second machine learning model; and
identify, based on the first success rate and the second success rate, a weak point in the second machine learning model associated with a first portion of samples of the plurality of samples including a same first value for a same first feature of the plurality of features and for which the first success rate associated with the first machine learning model is different than the second success rate associated with the second machine learning model.

### Claim 10 (depends on 9)

The system of claim 9, wherein at least one of: (i) the first subset of features is different than the second subset of features; (ii) a first set of hyperparameters for a machine learning algorithm used to generate the first machine learning model is different than a second set of hyperparameters for a same machine learning algorithm used to generate the second machine learning model; (iii) a first machine learning algorithm used to generate the first machine learning model is different than a second machine learning algorithm used to generate the second machine learning model; and (iv) a first training data set used to train the first machine learning model is different than a second training data set used to train the second machine learning model.

### Claim 11 (depends on 9)

The system of claim 9, wherein the first subset of features is different than the second subset of features, and wherein the at least one processor is programmed and/or configured to identify the weak point in the second machine learning model by:
determining a difference in features between the first subset of features and the second subset of features;
selecting, based on the same first feature included in the first portion of samples and the difference in features, one or more features of the plurality of features;
adjusting the second subset of features based on the selected one or more features; and
generating, using the adjusted second subset of features, an updated second machine learning model.

### Claim 12 (depends on 9)

The system of claim 9, wherein a first set of hyperparameters for a machine learning algorithm used to generate the first machine learning model is different than a second set of hyperparameters for a same machine learning algorithm used to generate the second machine learning model, and wherein the at least one processor is programmed and/or configured to identify the weak point in the second machine learning model further by:
determining a difference in hyperparameters between the first set of hyperparameters and the second set of hyperparameters;
determining, based on the same first feature included in the first portion of samples and the difference in the hyperparameters, one or more hyperparameters;
adjusting the second set of hyperparameters based on the selected one or more hyperparameters; and
generating, using the adjusted second set of hyperparameters, an updated second machine learning model.

### Claim 13 (depends on 9)

The system of claim 9, wherein the plurality of first predictions include a plurality of first prediction scores, wherein the plurality of second predictions include a plurality of second prediction scores, and wherein the at least one processor is programmed and/or configured to generate the plurality of groups of samples of the plurality of samples further by:
aligning the plurality of second prediction scores to a same scale as the plurality of first prediction scores;
applying an operating point to the plurality of first prediction scores to determine a plurality of first positive predictions and a plurality of first negative predictions;
applying the operating point to the plurality of aligned second prediction scores to determine a plurality of second positive predictions and a plurality of second negative predictions; and
generating, based on the plurality of first positive predictions, the plurality of first negative predictions, the plurality of second positive predictions, the plurality of second negative predictions, the plurality of labels, and the plurality of groups of samples of the plurality of samples.

### Claim 14 (depends on 13)

The system of claim 13, wherein the at least one processor is programmed and/or configured to align the plurality of second prediction scores to the same scale as the plurality of first prediction scores by:
assigning each first prediction score of the plurality of prediction scores to a first bucket of a plurality of first buckets according to a value of that first prediction score;
determining, for each first bucket, a rate of positive first predictions up to the value of the first prediction score assigned to that first bucket;
assigning each second prediction score of the plurality of prediction scores to a second bucket of a plurality of second buckets according to a value of that second prediction score;
determining, for each second bucket, a rate of positive second predictions up to the value of the second prediction score assigned to that second bucket; and
determining, for each second prediction score, an aligned score aligned to the same scale as the plurality of first predictions scores, the value of the first prediction score assigned to the first bucket of the plurality of first buckets for which the rate of positive first predictions is a same rate as the rate of positive second predictions of the second bucket to which that prediction score is assigned.

### Claim 15 (depends on 9)

The system of claim 9, wherein the at least one processor is programmed and/or configured to generate the plurality of groups of samples of the plurality of samples by:
determining, with the at least one processor, a first group of samples of the plurality of samples for which a first prediction of the plurality of first predictions matches a label of the plurality of labels and a second prediction of the plurality of second predictions matches the label of the plurality of labels;
determining, with the at least one processor, a second group of samples of the plurality of samples for which the second prediction of the plurality of second predictions matches the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a third group of samples of the plurality of samples for which the first prediction of the plurality of first predictions matches the label of the plurality of labels and the second prediction of the plurality of second predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fourth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fifth group of samples of the plurality of samples for which the first prediction of the plurality of first predictions does not match the label of the plurality of labels and the second prediction of the plurality of second predictions matches the label of the plurality of labels; and
determining, with the at least one processor, a sixth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions matches the label of the plurality of labels.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first success rate associated with the first machine learning model and the second success rate associated with the second machine learning model are determined according to the following Equations (1) and (2):
First
⁢
Success
⁢
Rate
=
X
⁢
1
+
Z
⁢
1
+
λ
⁡
(
Z
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
1
)
Second
⁢
Success
⁢
Rate
=
X
⁢
1
+
Y
⁢
1
+
λ
⁡
(
Y
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
2
)
where X1 is a number of samples in the first group of samples, Y1 is a number of samples in the second group of samples, Z1 is a number of samples in the third group of samples, X2 is a number of samples in the fourth group of samples, Y2 is a number of samples in the fifth group of samples, Z2 is a number of samples in the sixth group of samples, and λ is a discount factor.

### Claim 17

A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to:
obtain a plurality of features associated with a plurality of samples and a plurality of labels for the plurality of samples;
generate a plurality of first predictions for the plurality of samples by providing, as input to a first machine learning model, a first subset of features of the plurality of features, and receiving, as output from the first machine learning model, the plurality of first predictions for the plurality of samples;
generate a plurality of second predictions for the plurality of samples by providing, as input to a second machine learning model, a second subset of features of the plurality of features, and receiving, as output from the second machine learning model, the plurality of second predictions for the plurality of samples;
generate, based on the plurality of first predictions, the plurality of second predictions, the plurality of labels, and a plurality of groups of samples of the plurality of samples;
determine, based on the plurality of groups of samples, a first success rate associated with the first machine learning model and a second success rate associated with the second machine learning model; and
identify, based on the first success rate and the second success rate, a weak point in the second machine learning model associated with a first portion of samples of the plurality of samples including a same first value for a same first feature of the plurality of features and for which the first success rate associated with the first machine learning model is different than the second success rate associated with the second machine learning model.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein at least one of: (i) the first subset of features is different than the second subset of features; (ii) a first set of hyperparameters for a machine learning algorithm used to generate the first machine learning model is different than a second set of hyperparameters for a same machine learning algorithm used to generate the second machine learning model; (iii) a first machine learning algorithm used to generate the first machine learning model is different than a second machine learning algorithm used to generate the second machine learning model; and (iv) a first training data set used to train the first machine learning model is different than a second training data set used to train the second machine learning model.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the instructions cause the at least one processor to generate the plurality of groups of samples of the plurality of samples by:
determining, with the at least one processor, a first group of samples of the plurality of samples for which a first prediction of the plurality of first predictions matches a label of the plurality of labels and a second prediction of the plurality of second predictions matches the label of the plurality of labels;
determining, with the at least one processor, a second group of samples of the plurality of samples for which the second prediction of the plurality of second predictions matches the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a third group of samples of the plurality of samples for which the first prediction of the plurality of first predictions matches the label of the plurality of labels and the second prediction of the plurality of second predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fourth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions does not match the label of the plurality of labels;
determining, with the at least one processor, a fifth group of samples of the plurality of samples for which the first prediction of the plurality of first predictions does not match the label of the plurality of labels and the second prediction of the plurality of second predictions matches the label of the plurality of labels; and
determining, with the at least one processor, a sixth group of samples of the plurality of samples for which the second prediction of the plurality of second predictions does not match the label of the plurality of labels and the first prediction of the plurality of first predictions matches the label of the plurality of labels.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the first success rate associated with the first machine learning model and the second success rate associated with the second machine learning model are determined according to the following Equations (1) and (2):
First
⁢
Success
⁢
Rate
=
X
⁢
1
+
Z
⁢
1
+
λ
⁡
(
Z
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
1
)
Second
⁢
Success
⁢
Rate
=
X
⁢
1
+
Y
⁢
1
+
λ
⁡
(
Y
⁢
2
)
X
⁢
1
+
Y
⁢
1
+
Z
⁢
1
+
λ
⁡
(
X
⁢
2
+
Y
⁢
2
+
Z
⁢
2
)
(
2
)
where X1 is a number of samples in the first group of samples, Y1 is a number of samples in the second group of samples, Z1 is a number of samples in the third group of samples, X2 is a number of samples in the fourth group of samples, Y2 is a number of samples in the fifth group of samples, Z2 is a number of samples in the sixth group of samples, and λ is a discount factor.
