# US 2022/0284280 A1 · Data labeling for synthetic data generation

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

- Number: US 2022/0284280 A1
- Document ID: US20220284280A1
- Status: Published application
- Kind: A1
- Application number: 17/191,254
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Austin Walters; Jeremy Goodsitt; Anh Truong
- Web page: https://patentgrep.com/patent/US20220284280A1

## CPC

- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects described herein may relate to methods, systems, and apparatuses for labeling data in connection with synthetic data generation. The data labeling may begin with a manual process where a user provides labels for data. Based on the labels provided by the user, modified data may be generated and may include one or more encodings associated with the labels provided by the user. A machine-learning model may be trained to predict labels based on the modified data samples. Accuracy of the model may be determined based on comparing the predicted labels to further labels provided by the user and/or by allowing the user to indicate whether predicted labels are correct or incorrect. Once the model is determined to be accurate, the predicted labels may be used as a basis for generating synthetic data.

## Claims

### Claim 1

A method comprising:
receiving, for a first set of data samples and based on first user input, an indication of a first set of labels, wherein the first set of data samples is of a plurality of data samples associated with a type of data;
based on the first set of data samples and the first set of labels, training a model that is configured to predict labels based on input data associated with the type of data;
generating, using the model, a predicted second set of labels for a second set of data samples, wherein the second set of data samples is of the plurality of data samples;
determining, based on second user input and the second set of labels, that the model satisfies an accuracy threshold;
determining, using the model, a predicted third set of labels for a third set of data samples, wherein the third set of data samples is of the plurality of data samples; and
based on the predicted third set of data samples and using a synthetic data generator that is configured to generate synthetic data based on indications of labels, generating one or more synthetic data samples associated with the type of data.

### Claim 2 (depends on 1)

The method of claim 1, wherein training the model is performed in parallel with display of an interface that enables a user to provide, via the second user input, an indication of a second set of labels for the second set of data samples.

### Claim 3 (depends on 2)

The method of claim 2, wherein training the model is performed as part of an iterative training process for the model, and wherein the method further comprises:
determining to stop the iterative training process based on comparing one or more labels provided by a user to one or more predicted labels generated by the model.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, based on the second user input, an indication of whether each of the predicted second set of labels is determined by a user to be correct or incorrect; and
wherein determining that the model satisfies the accuracy threshold is performed based on the indication of whether each of the second set of labels is determined by the user to be correct or incorrect.

### Claim 5 (depends on 1)

The method of claim 1, wherein the predicted second set of labels includes, for a particular data sample of the second set of data samples, one or more potential labels associated with a specific portion of the particular data sample; and
wherein the method further comprises receiving, via the second user input, an indication as to whether the one or more potential labels is correct or incorrect for the specific portion; and
wherein determining that the model satisfies the accuracy threshold is performed based on the indication as to whether the one or more potential labels is correct or incorrect for the specific portion.

### Claim 6 (depends on 5)

The method of claim 5, wherein the particular data sample comprises a plurality of words;
wherein the specific portion is one or more words of the plurality of words; and
wherein the one or more potential labels is for the one or more words.

### Claim 7 (depends on 5)

The method of claim 5, wherein the particular data sample comprises image data;
wherein the specific portion is a portion of the image data; and
wherein the one or more potential labels is for the portion of the image data.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining, based on the first set of data samples and the first set of labels, a modified first set of data samples, where each modified data sample of the modified first set includes one or more encodings;
wherein training the model is performed using the modified first set of data samples.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining the one or more synthetic data samples is performed based on providing a modified data sample of the modified first set, as input, to the synthetic data generator; and
wherein the method further comprises receiving third user input that indicates whether the one or more synthetic data samples are correct.

### Claim 10 (depends on 1)

The method of claim 1, wherein the plurality of data samples comprise confidential information, and the one or more synthetic data samples do not comprise the confidential information.

### Claim 11 (depends on 1)

The method of claim 1, wherein the model comprises one or more of a transformer, a convolutional neural network, and a long short term memory (LSTM) network.

### Claim 12

An apparatus comprising:
one or more processors; and
memory storing executable instructions that, when executed by the one or more processors, cause the apparatus to:
receive, for a first set of data samples and based on first user input, an indication of one or more portions of the first set of data samples that are to be labeled, wherein the first set of data samples is of a plurality of data samples associated with a type of data;
receive, for the first set of data samples and based on the first user input, an indication of a first set of labels for the first set of data samples;
remove the one or more portions from the first set of data samples, resulting in a modified first set of data samples;
based on the modified first set of data samples, train a model that is configured to predict labels based on input data associated with the type of data;
generate, using the model, a predicted second set of labels for a second set of data samples, wherein the second set of data samples is of the plurality of data samples;
determine, based on second user input that indicates whether each of the predicted second set of labels is correct or incorrect, that the model satisfies an accuracy threshold;
determine, using the model, a predicted third set of labels for a third set of data samples, wherein the third set of data samples is of the plurality of data samples; and
based on the predicted third set of labels and using a synthetic data generator that is configured to generate synthetic data based on indications of labels, generate one or more synthetic data samples associated with the type of data.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the predicted second set of labels includes, for a particular data sample of the second set of data samples, one or more potential labels associated with a specific portion of the particular data sample; and
wherein the second user input includes an indication as to whether the one or more potential labels is correct or incorrect for the specific portion; and
wherein the executable instructions that, when executed by the one or more processors, cause the apparatus to determine that the model satisfies the accuracy threshold based on the indication as to whether the one or more potential labels is correct or incorrect for the specific portion.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the particular data sample comprises a plurality of words,
wherein the specific portion is one or more words of the plurality of words, and
wherein the one or more potential labels is for the one or more words.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the particular data sample comprises image data;
wherein the specific portion is a portion of the image data; and
wherein the one or more potential labels is for the portion of the image data.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein the executable instructions, when executed by the one or more processors, cause the apparatus to:
insert, into each modified data sample of the modified first set, one or more encodings at one or more locations where the one or more portions were removed from the first set of data samples.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein the executable instructions, when executed by the one or more processors, cause the apparatus to:
determine the one or more synthetic data samples based on providing a modified data sample of the modified first set, as input, to the synthetic data generator; and
receive third user input that indicates whether the one or more synthetic data samples are correct.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the plurality of data samples comprise confidential information, and wherein the one or more synthetic data samples do not comprise the confidential information.

### Claim 19 (depends on 12)

The apparatus of claim 12, wherein the model comprises one or more of a transformer, a convolutional neural network, and a long short term memory (LSTM) network.

### Claim 20

One or more non-transitory computer-readable media storing executable instructions that, when executed, cause one or more computing devices to:
cause display of a first user interface that is configured to allow a user to indicate a first set of labels for a first set of data samples, wherein the first set of data samples is of a plurality of data samples associated with a type of data;
receive, based on one or more first user interactions with the first user interface, the first set of labels;
cause display of a second user interface that is configured to allow the user to indicate a second set of labels for a second set of data samples, wherein the second set of data samples is of the plurality of data samples;
based on the first set of the data samples and the first set of labels and during a time when the second user interface is being displayed, train a model as part of a first iteration of an iterative training process, wherein the model is configured to predict labels based on input data associated with the type of data;
receive, based on one or more second user interactions with the second user interface, the second set of labels;
based on the second set of data samples and the second set of labels, further train the model as a second iteration of the iterative training process;
generate, using the model, a predicted third set of labels for a third set of data samples;
cause display of a third user interface that is configured to allow the user to indicate whether each of the predicted third set of labels is correct or incorrect;
determine, based on one or more third user interactions with the third user interface, that the model satisfies an accuracy threshold;
determine, using the model, a predicted fourth set of labels for a fourth set of data samples, wherein the fourth set of data samples is of the plurality of data samples;
based on the predicted fourth set of the data samples and using a synthetic data generator that is configured to generate synthetic data based on indications of labels, generate one or more synthetic data samples associated with the type of data;
cause display of a fourth user interface that is configured to allow the user to indicate whether the one or more synthetic data samples are correct; and
receive, based on one or more fourth user interactions with the fourth user interface, the indication as to whether the one or more synthetic data samples are correct.
