# US 2023/0267332 A1 · Techniques to perform global attribution mappings to provide insights in neural networks

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

- Number: US 2023/0267332 A1
- Document ID: US20230267332A1
- Status: Published application
- Kind: A1
- Application number: 17/990,050
- Filed: 2022-11-18
- Published: 2023-08-24
- Earliest claimed: 2020-02-05
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Mark IBRAHIM; John PAISLEY; Ceena MODARRES; Melissa LOUIE
- Web page: https://patentgrep.com/patent/US20230267332A1

## CPC

- G06V 10/763: {Non-hierarchical techniques, e.g. based on statistics of modelling distributions}
- G06F 18/23213: with fixed number of clusters, e.g. K-means clustering
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0499: Feedforward networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/20: Ensemble learning
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments include techniques to determine a set of credit risk assessment data samples, generate local credit risk assessment attributions for the set of credit risk assessment samples, and normalize each local credit risk assessment attribution of the local credit risk assessment attributions. Further, embodiments techniques to compare each pair of normalized local credit risk assessment attributions and assign a rank distance thereto proportional to a degree of ranking differences between the pair of normalized local credit risk assessment attributions. The techniques also include applying a K-medoids clustering algorithm to generate clusters of the local risk assessment attributions, generating global attributions, and determining insights for the neural network based on the global attributions.

## Claims

### Claim 1

(canceled)

### Claim 2

A computer-implemented method, comprising:
determining, by the processing circuitry, local attributions for a set of samples, and each local attribution includes a rank and a weight of an association between a particular feature and a particular prediction predicted by a neural network;
normalizing, by the processing circuitry, each local attribution;
comparing, by the processing circuitry, pairs of local attributions, and assigning a rank distance thereto proportional to a degree of ranking differences between the pair of normalized local attributions;
applying, by the processing circuitry, a clustering algorithm to generate clusters of the local attributions, wherein the clustering algorithm utilizes the ranking distances for each pair of normalized local attributions to assign each local attribution to one of one or more clusters, and each cluster having a medoid;
generating, by the processing circuitry, global attributions, wherein each global attribution corresponds to one of the medoids of one of the clusters; and
determining, by the processing circuitry, a bias in the neural network, one or more features to include in the neural network, or a combination thereof based on the global attributions.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the local attributions are represented by vectors, and each vector corresponds with a particular local attribution, and each local attribution is normalized by normalizing each of the vectors.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein comparing each pair of normalized local attributes comprises comparing vectors associated with each pair of normalized local attributions.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Kendall's Tau rank distance algorithm.

### Claim 6 (depends on 3)

The computer-implemented method of claim 3, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Spearman's Rho squared rank distance algorithm.

### Claim 7 (depends on 2)

The computer-implemented method of claim 2, wherein the clustering algorithm identifies K local attributions to minimize pairwise dissimilarity within a particular cluster relative to a particular medoid.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the clustering algorithm is a K-medoid clustering algorithm to minimize pairwise dissimilarity by initializing K local c attributions selected as medoids randomly from a total number of the local attributions, and performing a number of iterations of assigning and reassigning a remaining portion of the total number of the local attributions to one of the medoids until convergence or a predetermined number of iterations is met.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the K-medoid clustering algorithm to assign and reassign the local attributions to a nearest one of the medoids based on rank distances, and update medoids of clusters by minimizing the pairwise dissimilarity.

### Claim 10

A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a computer, cause the computer to:
determine, by the processing circuitry, local attributions for a set of samples, and each local attribution includes a rank and a weight of an association between a particular feature and a particular prediction predicted by a neural network;
normalize, by the processing circuitry, each local attribution;
compare, by the processing circuitry, pairs of local attributions, and assigning a rank distance thereto proportional to a degree of ranking differences between the pair of normalized local attributions;
apply, by the processing circuitry, a clustering algorithm to generate clusters of the local attributions, wherein the clustering algorithm utilizes the ranking distances for each pair of normalized local attributions to assign each local attribution to one of one or more clusters, and each cluster having a medoid;
generate, by the processing circuitry, global attributions, wherein each global attribution corresponds to one of the medoids of one of the clusters; and
determine, by the processing circuitry, a bias in the neural network, one or more features to include in the neural network, or a combination thereof based on the global attributions.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, wherein the local attributions are represented by vectors, and each vector corresponds with a particular local attribution, and each local attribution is normalized by normalizing each of the vectors.

### Claim 12 (depends on 11)

The computer-readable storage medium of claim 11, wherein compare each pair of normalized local attributes comprises comparing vectors associated with each pair of normalized local attributions.

### Claim 13 (depends on 10)

The computer-readable storage medium of claim 10, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Kendall's Tau rank distance algorithm.

### Claim 14 (depends on 11)

The computer-readable storage medium of claim 11, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Spearman's Rho squared rank distance algorithm.

### Claim 15 (depends on 10)

The computer-readable storage medium of claim 10, wherein the clustering algorithm identifies K local attributions to minimize pairwise dissimilarity within a particular cluster relative to a particular medoid.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein the clustering algorithm is a K-medoid clustering algorithm to minimize pairwise dissimilarity by initializing K local c attributions selected as medoids randomly from a total number of the local attributions, and performing a number of iterations of assigning and reassigning a remaining portion of the total number of the local attributions to one of the medoids until convergence or a predetermined number of iterations is met.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein the K-medoid clustering algorithm to assign and reassign the local attributions to a nearest one of the medoids based on rank distances, and update medoids of clusters by minimizing the pairwise dissimilarity.

### Claim 18

A computing apparatus comprising:
a processor; and
a memory storing instructions that, when executed by the processor, configure the processor to:
determine local attributions for a set of samples, and each local attribution includes a rank and a weight of an association between a particular feature and a particular prediction predicted by a neural network;
normalize each local attribution;
compare pairs of local attributions, and assigning a rank distance thereto proportional to a degree of ranking differences between the pair of normalized local attributions;
apply a clustering algorithm to generate clusters of the local attributions, wherein the clustering algorithm utilizes the ranking distances for each pair of normalized local attributions to assign each local attribution to one of one or more clusters, and each cluster having a medoid;
generate global attributions, wherein each global attribution corresponds to one of the medoids of one of the clusters; and
determine a bias in the neural network, one or more features to include in the neural network, or a combination thereof based on the global attributions.

### Claim 19 (depends on 18)

The computing apparatus of claim 18, wherein the local attributions are represented by vectors, and each vector corresponds with a particular local attribution, and each local attribution is normalized by normalizing each of the vectors.

### Claim 20 (depends on 19)

The computing apparatus of claim 19, wherein compare each pair of normalized local attributes comprises comparing vectors associated with each pair of normalized local attributions.

### Claim 21 (depends on 18)

The computing apparatus of claim 18, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Kendall's Tau rank distance algorithm.

### Claim 22 (depends on 19)

The computing apparatus of claim 19, wherein the assigning the rank distance is done by calculating the rank distance using a weighted Spearman's Rho squared rank distance algorithm.

### Claim 23 (depends on 18)

The computing apparatus of claim 18, wherein the clustering algorithm identifies K local attributions to minimize pairwise dissimilarity within a particular cluster relative to a particular medoid.

### Claim 24 (depends on 23)

The computing apparatus of claim 23, wherein the clustering algorithm is a K-medoid clustering algorithm to minimize pairwise dissimilarity by initializing K local c attributions selected as medoids randomly from a total number of the local attributions, and performing a number of iterations of assigning and reassigning a remaining portion of the total number of the local attributions to one of the medoids until convergence or a predetermined number of iterations is met.

### Claim 25 (depends on 24)

The computing apparatus of claim 24, wherein the K-medoid clustering algorithm to assign and reassign the local attributions to a nearest one of the medoids based on rank distances, and update medoids of clusters by minimizing the pairwise dissimilarity.
