# US 2021/0174196 A1 · Ground truth quality for machine learning models

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

- Number: US 2021/0174196 A1
- Document ID: US20210174196A1
- Status: Published application
- Kind: A1
- Application number: 16/708,792
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael Desmond; Matthew Arnold; Jeffrey Scott Boston
- Web page: https://patentgrep.com/patent/US20210174196A1

## CPC

- G06N 3/08: Learning methods
- G06F 18/2178: {based on feedback of a supervisor}
- G06F 18/23: Clustering techniques
- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06V 10/762: using clustering, e.g. of similar faces in social networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods, systems and computer program products for improving ground truth quality for modeling are provided. Aspects include receiving a plurality of data inputs, wherein each of the plurality of data inputs has an associated label. Aspects also include training a model based on the plurality of data inputs. Aspects also include generating a plurality of vector representations corresponding to the plurality of data inputs based on the model. Aspects also include clustering the plurality of vector representations into one or more clusters. Aspects also include identifying at least one anomalous data input based on the one or more clusters. The at least one anomalous data input can be a data input of the plurality of data inputs that is mislabeled, contributes to an ambiguous class structure or is an outlier. Aspects also include outputting a notification that provides an indication of the at least one anomalous data input.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, using a processor, a plurality of data inputs, wherein each of the plurality of data inputs has an associated label;
training, using the processor, a model based on the plurality of data inputs;
generating, using the processor, a plurality of vector representations based on the model, wherein each of the plurality of vector representations corresponds to a unique one of the plurality of data inputs;
clustering, using the processor, the plurality of vector representations into one or more clusters;
identifying, using the processor based on the one or more clusters, at least one anomalous data input, wherein the at least one anomalous data input comprises a data input of the plurality of data inputs that is mislabeled, contributes to an ambiguous class structure or is an outlier; and
outputting, using the processor, a notification that provides an indication of the at least one anomalous data input.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein each of the plurality of data inputs comprises an image.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the model is trained using a neural network and each of the plurality of vector representations corresponds to a final activation layer of the neural network.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the model is trained using a classification method and each of the plurality of vector representations corresponds to a confidence vector.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein clustering the plurality of vector representations into one or more clusters comprises performing a density clustering of the plurality of vector representations.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein clustering the plurality of vector representations into one or more clusters comprises performing a partitioning of the plurality of vector representations.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
forming a new plurality of data inputs by removing the at least one anomalous data input from the plurality of data inputs; and
automatically retraining the model based on the new plurality of data inputs.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7 further comprising utilizing the retrained model to classify one or more test data inputs.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein identifying the at least one anomalous data input comprises, for each cluster of the one or more clusters:
identifying at least a first group of vector representations corresponding to a first classification type and a second group of vector representations corresponding to a second classification type;
determining that a total number of vector representations of the second group of vector representations is less than a predetermined percentage of a total number of vector representations in the cluster; and
determining that each of the second group of vector representations is mislabeled.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein identifying the at least one anomalous data input comprises:
for each cluster of the one or more clusters, identifying a first number of vector representations with the cluster that correspond to a first classification type and a second number of vector representations within the cluster that correspond to a second classification type;
determining a distribution of vector representations of the first classification type and of the second classification type among the one or more clusters; and
responsive to determining that the distribution does not meet a predetermined level of homogeneity, determining that the plurality of data inputs has an ambiguous class structure in relation to the first classification type and the second classification type;
wherein the notification provides an indication of the ambiguous class structure.

### Claim 11

A system comprising:
a memory having computer readable instructions; and
one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
receiving a plurality of data inputs, wherein each of the plurality of data inputs has an associated label;
training a model based on the plurality of data inputs;
generating a plurality of vector representations based on the model, wherein each of the plurality of vector representations corresponds to a unique one of the plurality of data inputs;
clustering the plurality of vector representations into one or more clusters;
identifying, based on the one or more clusters, at least one anomalous data input, wherein the at least one anomalous data input comprises a data input of the plurality of data inputs that is mislabeled, contributes to an ambiguous class structure or is an outlier; and
outputting a notification that provides an indication of the at least one anomalous data input.

### Claim 12 (depends on 11)

The system of claim 11, wherein each of the plurality of data inputs comprises an image.

### Claim 13 (depends on 11)

The system of claim 11, wherein the model is trained using a neural network and each of the plurality of vector representations corresponds to a final activation layer of the neural network.

### Claim 14 (depends on 11)

The system of claim 11, wherein the model is trained using a classification method and each of the plurality of vector representations corresponds to a confidence vector.

### Claim 15 (depends on 11)

The system of claim 11, wherein clustering the plurality of vector representations into one or more clusters comprises performing a density clustering of the plurality of vector representations.

### Claim 16 (depends on 11)

The system of claim 11, wherein clustering the plurality of vector representations into one or more clusters comprises performing a partitioning of the plurality of vector representations.

### Claim 17

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer processor to cause the computer processor to perform a method comprising:
receiving a plurality of data inputs, wherein each of the plurality of data inputs has an associated label;
training a model based on the plurality of data inputs;
generating a plurality of vector representations based on the model, wherein each of the plurality of vector representations corresponds to a unique one of the plurality of data inputs;
clustering the plurality of vector representations into one or more clusters;
identifying, based on the one or more clusters, at least one anomalous data input, wherein the at least one anomalous data input comprises a data input of the plurality of data inputs that is mislabeled, contributes to an ambiguous class structure or is an outlier; and
outputting a notification that provides an indication of the at least one anomalous data input.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein each of the plurality of data inputs comprises an image.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the model is trained using a neural network and each of the plurality of vector representations corresponds to a final activation layer of the neural network.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein the model is trained using a classification method and each of the plurality of vector representations corresponds to a confidence vector.
