# US 2021/0342635 A1 · Density based confidence measures of neural networks for reliable predictions

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

- Number: US 2021/0342635 A1
- Document ID: US20210342635A1
- Status: Published application
- Kind: A1
- Application number: 17/307,834
- Filed: 2021-05-04
- Published: 2021-11-04
- Earliest claimed: 2019-02-25
- Assignees: Fair Isaac Corporation
- Applicants: Fair Isaac Corporation
- Inventors: Scott Zoldi; Shafi Rahman
- Web page: https://patentgrep.com/patent/US20210342635A1

## CPC

- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G06F 18/2415: based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F 18/285: {Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system}
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- 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

Computer-implemented systems and methods for selecting a first neural network model from a set of neural network models for a first dataset, the first neural network model having a set of predictor variables and a second dataset comprising a plurality of datapoints mapped into a multi-dimensional grid that defines one or more neighborhood data regions; applying the first neural network model on the first dataset to generate a model score for one or more datapoints in the second dataset, the model score representing an optimal fit of input predictor variables to a target variable for the set of variables of the first neural network model.

## Claims

### Claim 1

A computer-implemented method for controlling operations of a machine having one or more processors, the method comprising:
selecting a first neural network model from a set of neural network models for a first dataset, the first neural network model having a set of predictor variables and a second dataset comprising a plurality of datapoints mapped into a multi-dimensional grid that defines one or more neighborhood data regions;
applying the first neural network model on the first dataset to generate a model score for one or more datapoints in the second dataset, the model score representing an optimal fit of input predictor variables to a target variable for the set of variables of the first neural network model;
iteratively perturbing the second dataset by sampling the one or more neighborhood data regions to duplicate, eliminate or retain one or more datapoints in the second dataset according to a density-based perturbation logic to generate one or more perturbed training datasets, at least one perturbed neural network model being generated, based on the one or more perturbed training dataset, to train a plurality of perturbed neural network models;
applying the at least one perturbed neural network to the first dataset to generate a model score for one or more datapoints in the second dataset; and
computing a statistical variation of the scores of the one or more datapoints in the first dataset generated by the plurality of perturbed neural networks, a confidence model being trainable with the statistical variation as the target variable.

### Claim 2 (depends on 1)

The method in accordance with claim 1, wherein a no-confidence measure database is created to record the one or more neighborhood data regions with a data population density below a coverage threshold on the first training data within the one or more neighborhood data regions.

### Claim 3 (depends on 2)

The method in accordance with claim 2, wherein the confidence model is used to generate a confidence score for the one or more datapoints in a second dataset.

### Claim 4 (depends on 3)

The method in accordance with claim 3, wherein the confidence score defines a confidence of the first neural network model score for the one or more datapoints in the second dataset.

### Claim 5 (depends on 4)

The method in accordance with claim 4, wherein a datapoint is flagged in the second dataset as having no confidence, in response to determining that the corresponding grid cell is present in the no-confidence measure database.

### Claim 6 (depends on 5)

The method in accordance with claim 5, wherein at least one of the neighborhood data regions has a density of datapoints and the first neural network model is selected based on a hyper-parameter search executed by training a set of neural network models.

### Claim 7 (depends on 1)

The method in accordance with claim 1, wherein selecting the first neural network model is based on the first neural network model being a best fit for the first dataset.

### Claim 8 (depends on 1)

The method in accordance with claim 1, wherein the multi-dimensional grid is generated by discretizing the predictor variables of the first neural network.

### Claim 9 (depends on 8)

The method in accordance with claim 8, wherein the discretizing is performed using a grid generation methodology.

### Claim 10 (depends on 1)

The method in accordance with claim 1, wherein the sampling of neighborhood data regions further includes selecting neighborhood data regions having an associated density defined by the first dataset that exceeds a threshold.

### Claim 11 (depends on 1)

The method in accordance with claim 1, wherein the sampling of neighborhood data regions is based in part on an overall count of class of the datapoints in the first dataset in an associated neighborhood data region.

### Claim 12 (depends on 1)

The method in accordance with claim 1, wherein generating the confidence score further includes discretizing a first datapoint in the second dataset using the grid of plurality of neighborhood data regions defined on the first dataset and applying the confidence model to generate a confidence measurement for the first datapoint in the second dataset.

### Claim 13 (depends on 2)

The method in accordance with claim 2, wherein generating the confidence score further includes discretizing a second data point in the second dataset by a grid generation methodology of plurality of neighborhood data regions defined on the first dataset and looking up a grid reference in the no-confidence measure database based on the first dataset.

### Claim 14 (depends on 2)

The method in accordance with claim 2, further comprising replacing the confidence model and the no-confidence measure database with a confidence lookup database that records statistics of the confidence scores of a neighborhood data region of the grid of plurality of neighborhood data regions defined on the first dataset in the first dataset generated by the plurality of perturbed neural networks.

### Claim 15

A computer-implemented predictive model confidence score system comprising:
a programmable processor; and
a non-transitory, machine-readable medium storing instructions that, when executed by the processor, cause the at least one programmable processor to perform operations comprising:
selecting a first neural network model from a set of neural network models for a first dataset, the first neural network model having a set of predictor variables and a second dataset comprising a plurality of datapoints mapped into a multi-dimensional grid that defines one or more neighborhood data regions;
applying the first neural network model on the first dataset to generate a model score for one or more datapoints in the second dataset, the model score representing an optimal fit of input predictor variables to target variable for the set of variables of the first neural network model;
iteratively perturbing the second dataset by sampling the one or more neighborhood data regions to duplicate, eliminate or retain one or more datapoints in the second dataset according to a density-based perturbation logic to generate one or more perturbed training datasets;
generating at least one perturbed neural network model, based on the one or more generated perturbed training dataset, to train a plurality of perturbed neural network models;
applying the at least one perturbed neural network to the first dataset to generate a model score for one or more datapoints in the second dataset; and
computing a statistical variation of the scores of the one or more datapoints in the first dataset generated by the plurality of perturbed neural networks to train a confidence model with the statistical variation as the target variable.

### Claim 16 (depends on 15)

The system in accordance with claim 15, wherein a no-confidence measure database is created to record the one or more neighborhood data regions with a data population density below a coverage threshold on the first training data within the one or more neighborhood data regions.

### Claim 17 (depends on 16)

The system in accordance with claim 16, wherein the confidence model is used to generate a confidence score for the one or more datapoints in a second dataset.

### Claim 18 (depends on 17)

The system in accordance with claim 17, wherein the confidence score defines a confidence of the first neural network model score for the one or more datapoints in the second dataset.

### Claim 19 (depends on 18)

The system in accordance with claim 18, wherein a datapoint is flagged in the second dataset as having no confidence, in response to determining that the corresponding grid cell is present in the no-confidence measure database and at least one of the neighborhood data regions has a density of datapoints and the first neural network model is selected based on a hyper-parameter search executed by training a set of neural network models and generating the confidence score further includes discretizing each datapoint in the second dataset using the grid of plurality of neighborhood data regions defined on the first dataset and applying the confidence model to generate a confidence measurement for each datapoint in the second dataset.

### Claim 20

A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
selecting a first neural network model from a set of neural network models for a first dataset, the first neural network model having a set of predictor variables and a second dataset comprising a plurality of datapoints mapped into a multi-dimensional grid that defines one or more neighborhood data regions;
applying the first neural network model on the first dataset to generate a model score for one or more datapoints in the second dataset, the model score representing an optimal fit of input predictor variables to target variable for the set of variables of the first neural network model;
iteratively perturbing the second dataset by sampling the one or more neighborhood data regions to duplicate, eliminate or retain one or more datapoints in the second dataset according to a density-based perturbation logic to generate one or more perturbed training datasets;
generating at least one perturbed neural network model, based on the one or more generated perturbed training dataset, to train a plurality of perturbed neural network models; applying the at least one perturbed neural network to the first dataset to generate a model score for one or more datapoints in the second dataset; and
computing a statistical variation of the scores of the one or more datapoints in the first dataset generated by the plurality of perturbed neural networks to train a confidence model with the statistical variation as the target variable.
