# US 2021/0287084 A1 · Determining optimal augmentations for a training data set

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

- Number: US 2021/0287084 A1
- Document ID: US20210287084A1
- Status: Published application
- Kind: A1
- Application number: 16/818,891
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gandhi Sivakumar; Vijay Ekambaram; Hemant Kumar Sivaswamy
- Web page: https://patentgrep.com/patent/US20210287084A1

## CPC

- G06N 3/08: Learning methods
- G06N 20/20: Ensemble learning
- G06N 3/02: Neural networks
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 20/00: Machine learning
- G06N 3/045: Combinations of networks
- G06Q 10/0631: Resource planning, allocation, distributing or scheduling for enterprises or organisations
- 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

A computer-implemented method according to one embodiment includes receiving a training data set to be applied to a model; selecting a subset of the training data set as a sample set; for each of a plurality of predetermined augmentations, applying the predetermined augmentation to the sample set to create an augmented sample set, training the model with the augmented sample set, determining a performance of the trained model, and assigning a weight to the predetermined augmentation for the training data set, based on the determined performance; and selecting one or more of the plurality of predetermined augmentations to be applied to the training data set before the training data set is applied to the model, based on the weight assigned to each of the plurality of predetermined augmentations.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving a training data set to be applied to a model;
selecting a subset of the training data set as a sample set;
for each of a plurality of predetermined augmentations:
applying the predetermined augmentation to the sample set to create an augmented sample set,
training the model with the augmented sample set,
determining a performance of the trained model, and
assigning a weight to the predetermined augmentation for the training data set, based on the determined performance; and
selecting one or more of the plurality of predetermined augmentations to be applied to the training data set before the training data set is applied to the model, based on the weight assigned to each of the plurality of predetermined augmentations.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a current training data set to be applied to the model;
identifying characteristics of the current training data set;
comparing the characteristics of the current training data set to characteristics of each of a plurality of preexisting training data sets;
determining one of the plurality of preexisting training data sets having a highest similarity to the current training data set, based on the comparing;
identifying weights assigned to each of a plurality of predetermined augmentations for the determined preexisting training data set having the highest similarity to the training data set; and
selecting one or more of the plurality of predetermined augmentations for the determined preexisting training data set to be applied to the current training data set before the current training data set is applied to the model, based on the weights.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the model includes a neural network.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein selecting the subset of the training data set includes identifying a predetermined percentage of the training data set as the sample set.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein each of the plurality of predetermined augmentations includes a process that changes one or more aspects of each data instance within the training data set to create an augmented data set.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein for each of the predetermined augmentations, the augmented sample set is input to the model as training data.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein for each of the predetermined augmentations, the weight assigned to the predetermined augmentation is determined based on a comparison of a first output of the model trained with the augmented sample set to a second output of another instance of the model trained with a non-augmented sample set.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein, for each of a plurality of predetermined augmentations, the weight for the predetermined augmentation is assigned to a grouping of the predetermined augmentation, the training data set, and the model.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of predetermined augmentations are ranked based on their associated weights, and a predetermined number of augmentations having the highest weights are selected to be applied to the training data set to create an augmented training data set.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the augmented training data set may be input into the model to train the model to perform one or more operations.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising implementing a deep reinforcement method that leverages validation loss to assign positive and negative rewards to the plurality of predetermined augmentations to learn optimal augmentation configurations for the model.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of predetermined augmentations is applied to the sample set by automatically forking a large varied set of virtual training instances in a cloud environment to validate which of the plurality of predetermined augmentations has a highest performance for the sample set.

### Claim 13

A computer program product for determining optimal augmentations for a training data set, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
receiving, by the processor, a training data set to be applied to a model;
selecting, by the processor, a subset of the training data set as a sample set;
for each of a plurality of predetermined augmentations:
applying, by the processor, the predetermined augmentation to the sample set to create an augmented sample set,
training, by the processor, the model with the augmented sample set,
determining, by the processor, a performance of the trained model, and
assigning, by the processor, a weight to the predetermined augmentation for the training data set, based on the determined performance; and
selecting, by the processor, one or more of the plurality of predetermined augmentations to be applied to the training data set before the training data set is applied to the model, based on the weight assigned to each of the plurality of predetermined augmentations.

### Claim 14 (depends on 13)

The computer program product of claim 13, further comprising:
receiving, by the processor, a current training data set to be applied to the model;
identifying, by the processor, characteristics of the current training data set;
comparing, by the processor, the characteristics of the current training data set to characteristics of each of a plurality of preexisting training data sets;
determining, by the processor, one of the plurality of preexisting training data sets having a highest similarity to the current training data set, based on the comparing;
identifying, by the processor, weights assigned to each of a plurality of predetermined augmentations for the determined preexisting training data set having the highest similarity to the training data set; and
selecting, by the processor, one or more of the plurality of predetermined augmentations for the determined preexisting training data set to be applied to the current training data set before the current training data set is applied to the model, based on the weights.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the model includes a neural network.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein selecting the subset of the training data set includes identifying a predetermined percentage of the training data set as the sample set.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein each of the plurality of predetermined augmentations includes a process that changes one or more aspects of each data instance within the training data set to create an augmented data set.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein for each of the predetermined augmentations, the augmented sample set is input to the model as training data.

### Claim 19 (depends on 13)

The computer program product of claim 13, wherein for each of the predetermined augmentations, the weight assigned to the predetermined augmentation is determined based on a comparison of a first output of the model trained with the augmented sample set to a second output of another instance of the model trained with a non-augmented sample set.

### Claim 20

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
receive a training data set to be applied to a model;
select a subset of the training data set as a sample set;
for each of a plurality of predetermined augmentations:
apply the predetermined augmentation to the sample set to create an augmented sample set,
train the model with the augmented sample set,
determine a performance of the trained model, and
assign a weight to the predetermined augmentation for the training data set, based on the determined performance; and
select one or more of the plurality of predetermined augmentations to be applied to the training data set before the training data set is applied to the model, based on the weight assigned to each of the plurality of predetermined augmentations.
