# US 2021/0342642 A1 · Machine learning training dataset optimization

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

- Number: US 2021/0342642 A1
- Document ID: US20210342642A1
- Status: Published application
- Kind: A1
- Application number: 17/306,006
- Filed: 2021-05-03
- Published: 2021-11-04
- Earliest claimed: 2020-05-03
- Assignees: Dataloop Ltd.
- Applicants: Dataloop Ltd.
- Inventors: Or Shabtay; Eran Shlomo
- Web page: https://patentgrep.com/patent/US20210342642A1

## CPC

- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2115: by evaluating different subsets according to an optimisation criterion, e.g. class separability, forward selection or backward elimination
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/088: Non-supervised learning, e.g. competitive 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

A method comprising: receiving a dataset comprising a plurality of data instances; extracting a feature vector representation of each of the data instances in the dataset; choosing a first data instance for adding to a subset of the dataset, wherein the first data instance is removed from the dataset; performing an iterative process comprising: (i) identifying one of the data instances in the dataset which represents a maximal information addition to the subset, based, at least in part, on measuring an information difference parameter between the feature vector representation of the identified data instance and the feature vector representations of all of the data instances in the subset, and (ii) adding the identified data instance to the subset and removing the identified data instance from the dataset, until the information difference parameter is lower than a predetermined threshold; and outputting the subset as a representative subset of the dataset.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to:
receive, as input, a dataset comprising a plurality of data instances,
extract a feature vector representation of each of said data instances in said dataset,
choose, from said dataset, a first data instance for adding to a subset of said dataset, wherein said first data instance is removed from said dataset,
perform an iterative process comprising:
(i) identifying one of said data instances in said dataset which represents a maximal information addition to said subset, based, at least in part, on measuring an information difference parameter between said feature vector representation of said identified data instance and said feature vector representations of all of said data instances in said subset, and
(ii) adding said identified data instance to said subset and removing said identified data instance from said dataset,
until said information difference parameter is lower than a predetermined threshold, and
output said subset as a representative subset of said dataset.

### Claim 2 (depends on 1)

The system of claim 1, wherein said program instructions are further executable to receive a budgetary constraint, wherein said budgetary constraint causes said iterative process to stop before said information difference parameter is lower than said predetermined threshold.

### Claim 3 (depends on 2)

The system of claim 2, wherein said budgetary constraint is expressed as at least one of: a maximal number of data instances in said subset, and a maximal computational time limit applicable to the performance of said repeating.

### Claim 4 (depends on 2)

The system of claim 2, wherein said program instructions are further executable to:
(i) assign a label to each of said data instances in said outputted subset;
(ii) train a machine learning model on a training set comprising (a) said data instances in said subset, and (b) said assigned labels;
(iii) perform said iterative process with respect to all remaining data instances in said dataset, wherein said iterative process results in a second subset of said dataset; and
(iv) apply said trained machine learning model to at least some of said data instances in said second subset, to assign each of said data instances to one of a set of classes.

### Claim 5 (depends on 4)

The system of claim 4, wherein said program instructions are further executable to associate a label with each of said data instances, and wherein said label is determined based, at least in part, on said assigned class.

### Claim 6 (depends on 1)

The system of claim 1, wherein said feature vector representation is obtained using at least one of: supervised or unsupervised dictionary learning, autoencoding, k-means clustering, principal component analysis, independent component analysis, linear embedding, neural network model features, frequency space mapping, image histogram, and scale-invariant feature transform (SIFT) feature detection algorithm.

### Claim 7 (depends on 1)

The system of claim 1, wherein said measuring of said information difference is based, at least in part, on one of: a Euclidean distance calculation, an information entropy calculation, and a feature probability distribution calculation.

### Claim 8

A computer-implemented method comprising:
receiving, as input, a dataset comprising a plurality of data instances;
extracting a feature vector representation of each of said data instances in said dataset;
choosing, from said dataset, a first data instance for adding to a subset of said dataset, wherein said first data instance is removed from said dataset;
performing an iterative process comprising:
(i) identifying one of said data instances in said dataset which represents a maximal information addition to said subset, based, at least in part, on measuring an information difference parameter between said feature vector representation of said identified data instance and said feature vector representations of all of said data instances in said subset, and
(ii) adding said identified data instance to said subset and removing said identified data instance from said dataset,
until said information difference parameter is lower than a predetermined threshold; and
outputting said subset as a representative subset of said dataset.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising receiving a budgetary constraint, wherein said budgetary constraint causes said iterative process to stop before said information difference parameter is lower than said predetermined threshold.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein said budgetary constraint is expressed as at least one of: a maximal number of data instances in said subset, and a maximal computational time limit applicable to the performance of said repeating.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, further comprising:
(i) assigning a label to each of said data instances in said outputted subset;
(ii) training a machine learning model on a training set comprising (a) said data instances in said subset, and (b) said assigned labels;
(iii) performing said iterative process with respect to all remaining data instances in said dataset, wherein said iterative process results in a second subset of said dataset; and
(iv) applying said trained machine learning model to at least some of said data instances in said second subset, to assign each of said data instances to one of a set of classes.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising associating a label with each of said data instances, wherein said label is determined based, at least in part, on said assigned class.

### Claim 13 (depends on 8)

The computer-implemented method of claim 8, wherein said feature vector representation is obtained using at least one of: supervised or unsupervised dictionary learning, autoencoding, k-means clustering, principal component analysis, independent component analysis, linear embedding, neural network model features, frequency space mapping, image histogram, and scale-invariant feature transform (SIFT) feature detection algorithm.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein said measuring of said information difference is based, at least in part, on one of: a Euclidean distance calculation, an information entropy calculation, and a feature probability distribution calculation.

### Claim 15

A computer program product comprising a non-transitory computer-readable storage medium having program instructions embodied therewith, the program instructions executable by at least one hardware processor to:
receive, as input, a dataset comprising a plurality of data instances;
extract a feature vector representation of each of said data instances in said dataset;
choose, from said dataset, a first data instance for adding to a subset of said dataset, wherein said first data instance is removed from said dataset;
perform an iterative process comprising:
(i) identifying one of said data instances in said dataset which represents a maximal information addition to said subset, based, at least in part, on measuring an information difference parameter between said feature vector representation of said identified data instance and said feature vector representations of all of said data instances in said subset, and
(ii) adding said identified data instance to said subset and removing said identified data instance from said dataset,
until said information difference parameter is lower than a predetermined threshold; and
output said subset as a representative subset of said dataset.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein said program instructions are further executable to receive a budgetary constraint, wherein said budgetary constraint causes said iterative process to stop before said information difference parameter is lower than said predetermined threshold.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein said budgetary constraint is expressed as at least one of: a maximal number of data instances in said subset, and a maximal computational time limit applicable to the performance of said repeating.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein said program instructions are further executable to:
(i) assign a label to each of said data instances in said outputted subset;
(ii) train a machine learning model on a training set comprising (a) said data instances in said subset, and (b) said assigned labels;
(iii) perform said iterative process with respect to all remaining data instances in said dataset, wherein said iterative process results in a second subset of said dataset; and
(iv) apply said trained machine learning model to at least some of said data instances in said second subset, to assign each of said data instances to one of a set of classes.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein said program instructions are further executable to associate a label with each of said data instances, and wherein said label is determined based, at least in part, on said assigned class.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein said feature vector representation is obtained using at least one of: supervised or unsupervised dictionary learning, autoencoding, k-means clustering, principal component analysis, independent component analysis, linear embedding, neural network model features, frequency space mapping, image histogram, and scale-invariant feature transform (SIFT) feature detection algorithm.
