# US 2022/0067181 A1 · Methods and systems for secure data analysis and machine learning

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

- Number: US 2022/0067181 A1
- Document ID: US20220067181A1
- Status: Published application
- Kind: A1
- Application number: 17/009,094
- Filed: 2020-09-01
- Published: 2022-03-03
- Earliest claimed: 2020-09-01
- Assignees: Argo AI, LLC
- Applicants: Argo AI, LLC
- Inventors: David Neale Carley
- Web page: https://patentgrep.com/patent/US20220067181A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- 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}
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 20/00: Machine learning
- G06V 10/7747: {Organisation of the process, e.g. bagging or boosting}
- H04L 9/008: {involving homomorphic encryption}
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and systems for secure machine learning are disclosed. The methods include, by a processor: receiving a labeled dataset for use in training the machine learning model, and transmitting a first cluster of training data selected from the labeled dataset to a training device. The first cluster includes less than a threshold amount of data that is determined to prevent the training device from deriving information about the labeled dataset from the first cluster. The methods further include receiving a trained machine learning model from the training device, evaluating the trained machine learning to determine whether the trained machine learning model satisfies an evaluation criterion, and encrypting the trained machine learning model if the trained machine learning model satisfies the evaluation criterion. The encrypted machine learning model can then be deployed to make predictions using live data.

## Claims

### Claim 1

A method for secure machine learning, the method comprising, by a processor:
receiving a labeled dataset for use in training the machine learning model;
transmitting, to a training device, a first cluster of training data selected from the labeled dataset, wherein the first cluster has less than a threshold amount of data that is determined to prevent the training device from deriving information about the labeled dataset from the first cluster;
receiving, from the training device, a trained machine learning model;
evaluating the trained machine learning to determine whether the trained machine learning model satisfies an evaluation criterion;
in response to determining that the trained machine learning model satisfies the evaluation criterion, encrypting the trained machine learning model; and
deploying the encrypted machine learning model to make predictions using live data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to determining that the trained machine learning model does not satisfy the evaluation criterion, transmitting to the training device, a second cluster of training data selected from the labeled dataset for use in updating the trained machine learning model, wherein the second cluster has less than the threshold amount of data; and
receiving an updated trained machine learning model.

### Claim 3 (depends on 2)

The method of claim 2, further comprising storing the encrypted machine learning model as a checkpoint for the updated trained machine learning model.

### Claim 4 (depends on 2)

The method of claim 2, wherein evaluating the trained machine learning model comprises:
determining a plurality of evaluation metrics for the trained machine learning model;
encrypting the plurality of evaluation metrics; and
storing the encrypted plurality of evaluation metrics.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
identifying a subset of the plurality of the evaluation metrics; and
transmitting the subset of the plurality of the evaluation metrics to the training device for use in updating the trained machine learning,
wherein the subset is identified to prevent the training device from deriving information about the trained machine learning model.

### Claim 6 (depends on 1)

The method of claim 1, further comprising creating the labeled dataset by:
receiving a corpus of unlabeled data;
identifying a plurality of discrete data units from the corpus of unlabeled data;
determining an access level associated with a labeling device;
transmitting, based on the access level, one or more of the discrete data units for labeling to a labeling device;
receiving, from the labeling device, the labeled data units; and
encrypting the labeled data units.

### Claim 7 (depends on 6)

The method of claim 6, wherein the identifying the plurality discrete data units comprises identifying data units based on at least one of the following:
a type of unlabeled data;
a desired level of privacy;
an encryption mechanisms to be used for encrypting the labeled data units;
a labeling work queue;
an access level associated with a user of a labeling device; or
one or more characteristics of the unlabeled data.

### Claim 8 (depends on 1)

The method of claim 1, further comprising selecting the first cluster of training data from the labeled dataset based on at least one of the following:
random sampling;
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device;
an access levels associated with the training device;
history of data already transmitted to the training device; or
types of data in the labeled dataset.

### Claim 9 (depends on 1)

The method of claim 1, further comprising storing the encrypted machine learning model.

### Claim 10 (depends on 1)

The method of claim 1, further comprising receiving a request for training a machine learning model, the request comprising information relating to at least one of the following:
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device; or
an access levels associated with the training device.

### Claim 11

A method for secure distributed machine learning, the method comprising, by a processor:
receiving a request for training a machine learning model at a plurality of training devices;
receiving a labeled dataset for use in training the machine learning model;
transmitting, to the plurality of training device configured for training the machine learning model, a plurality of clusters of training data selected from the labeled dataset, wherein each of the plurality of clusters has less than a threshold amount of data that is determined to prevent a training device from deriving information about the labeled dataset from that cluster;
receiving, from each of the plurality of training devices, a partially trained machine learning model;
for each of the plurality of the partially trained machine learning models:
evaluating that partially trained machine learning model to determine whether that partially trained machine learning model satisfies an evaluation criterion,
in response to determining that the partially trained machine learning model does not satisfy the evaluation criterion, transmitting to a training device from which that partially trained machine learning model was received, a second cluster of training data selected from the labeled dataset for use in updating the partially trained machine learning model, wherein the second cluster has less than the threshold amount of data, and
receiving an updated partially trained machine learning model.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
in response to determining that each of the plurality of partially trained machine learning models satisfies the evaluation criterion, encrypting each of the partially trained machine learning models; and
storing the encrypted partially trained machine learning models as checkpoints for the trained machine learning model.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
in response to determining that each of the plurality of partially trained machine learning models satisfies the evaluation criterion, integrating the plurality of partially trained machine learning model to create a trained machine learning model;
encrypting the trained machine learning model; and
deploying the encrypted machine learning model to make predictions using live data.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
determining a plurality of evaluation metrics for the trained machine learning model;
encrypting the plurality of evaluation metrics; and
storing the encrypted plurality of evaluation metrics.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
identifying a subset of the plurality of the evaluation metrics; and
transmitting the subset of the plurality of the evaluation metrics to one or more of the plurality of training device for use in updating the trained machine learning,
wherein the subset is identified to prevent the training device from deriving information about the trained machine learning model.

### Claim 16 (depends on 15)

The method of claim 15, further comprising selecting the plurality of clusters of training data from the labeled dataset based on at least one of the following:
random sampling;
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device;
an access level associated with the training device;
history of data already transmitted to the training device; or
types of data in the labeled dataset.

### Claim 17

A system for secure machine learning, the system comprising:
a processor; and
a non-transitory computer readable medium comprising one or more programming instructions that when executed by the processor, cause the processor to:
receive a labeled dataset for use in training the machine learning model;
transmit, to a training device, a first cluster of training data selected from the labeled dataset, wherein the first cluster has less than a threshold amount of data that is determined to prevent the training device from deriving information about the labeled dataset from the first cluster;
receive, from the training device, a trained machine learning model;
evaluate the trained machine learning to determine whether the trained machine learning model satisfies an evaluation criterion;
in response to determining that the trained machine learning model satisfies the evaluation criterion, encrypt the trained machine learning model; and
deploy the encrypted machine learning model to make predictions using live data.

### Claim 18 (depends on 17)

The system of claim 17, further comprising programming instructions that when executed by the processor, cause the processor to:
in response to determining that the trained machine learning model does not satisfy the evaluation criterion, transmit to the training device, a second cluster of training data selected from the labeled dataset for use in updating the trained machine learning model, wherein the second cluster has less than the threshold amount of data; and
receive an updated trained machine learning model.

### Claim 19 (depends on 18)

The system of claim 18, further comprising programming instructions that when executed by the processor, cause the processor to store the encrypted machine learning model as a checkpoint for the updated trained machine learning model.

### Claim 20 (depends on 19)

The system of claim 19, wherein the one or more programming instructions that cause the processor to evaluate the trained machine learning model comprise programming instructions that when executed by the processor, cause the processor to:
determine a plurality of evaluation metrics for the trained machine learning model;
encrypt the plurality of evaluation metrics; and
store the encrypted plurality of evaluation metrics.

### Claim 21 (depends on 20)

The system of claim 20, further comprising programming instructions that when executed by the processor, cause the processor to:
identify a subset of the plurality of the evaluation metrics; and
transmit the subset of the plurality of the evaluation metrics to the training device for use in updating the trained machine learning,
wherein the subset is identified to prevent the training device from deriving information about the trained machine learning model.

### Claim 22 (depends on 17)

The system of claim 17, programming instructions that when executed by the processor, cause the processor to create the labeled dataset by:
receiving a corpus of unlabeled data;
identifying a plurality of discrete data units from the corpus of unlabeled data;
determining an access level associated with a labeling device;
transmitting, based on the access level, one or more of the discrete data units for labeling to a labeling device;
receiving, from the labeling device, the labeled data units; and
encrypting the labeled data units.

### Claim 23 (depends on 22)

The system of claim 22, wherein the one or more programming instructions that cause the processor to identify the plurality discrete data units comprise programming instructions that when executed by the processor, cause the processor to identify the data units based on at least one of the following:
a type of unlabeled data;
a desired level of privacy;
an encryption mechanisms to be used for encrypting the labeled data units;
a labeling work queue;
an access level associated with a user of a labeling device; or
one or more characteristics of the unlabeled data.

### Claim 24 (depends on 17)

The system of claim 17, further comprising programming instructions that when executed by the processor, cause the processor to select the first cluster of training data from the labeled dataset based on at least one of the following:
random sampling;
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device;
an access levels associated with the training device;
history of data already transmitted to the training device; or
types of data in the labeled dataset.

### Claim 25 (depends on 17)

The system of claim 17, further comprising programming instructions that when executed by the processor, cause the processor to store the encrypted machine learning model.

### Claim 26 (depends on 17)

The system of claim 17, further comprising programming instructions that when executed by the processor, cause the processor to receive a request for training a machine learning model, the request comprising information relating to at least one of the following:
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device; or
an access levels associated with the training device.

### Claim 27

A system for secure distributed machine learning, the method comprising, by a processor:
a processor; and
a non-transitory computer readable medium comprising one or more programming instructions that when executed by the processor, cause the processor to:
receive a request for training a machine learning model at a plurality of training devices;
receive a labeled dataset for use in training the machine learning model;
transmit, to the plurality of training device configured for training the machine learning model, a plurality of clusters of training data selected from the labeled dataset, wherein each of the plurality of clusters has less than a threshold amount of data that is determined to prevent a training device from deriving information about the labeled dataset from that cluster;
receive, from each of the plurality of training devices, a partially trained machine learning model;
for each of the plurality of the partially trained machine learning models:
evaluate that partially trained machine learning model to determine whether that partially trained machine learning model satisfies an evaluation criterion,
in response to determining that the partially trained machine learning model does not satisfy the evaluation criterion, transmit to a training device from which that partially trained machine learning model was received, a second cluster of training data selected from the labeled dataset for use in updating the partially trained machine learning model, wherein the second cluster has less than the threshold amount of data, and
receive an updated partially trained machine learning model.

### Claim 28 (depends on 27)

The system of claim 27, further comprising programming instructions that when executed by the processor, cause the processor to:
in response to determining that each of the plurality of partially trained machine learning models satisfies the evaluation criterion, encrypt each of the partially trained machine learning models; and
store the encrypted partially trained machine learning models as checkpoints for the trained machine learning model.

### Claim 29 (depends on 27)

The system of claim 27, further comprising programming instructions that when executed by the processor, cause the processor to:
in response to determining that each of the plurality of partially trained machine learning models satisfies the evaluation criterion, integrate the plurality of partially trained machine learning model to create a trained machine learning model;
encrypt the trained machine learning model; and
deploy the encrypted machine learning model to make predictions using live data.

### Claim 30 (depends on 29)

The system of claim 29, further comprising programming instructions that when executed by the processor, cause the processor to:
determine a plurality of evaluation metrics for the trained machine learning model;
encrypt the plurality of evaluation metrics; and
store the encrypted plurality of evaluation metrics.

### Claim 31 (depends on 30)

The system of claim 30, further comprising programming instructions that when executed by the processor, cause the processor to:
identify a subset of the plurality of the evaluation metrics; and
transmit the subset of the plurality of the evaluation metrics to one or more of the plurality of training device for use in updating the trained machine learning,
wherein the subset is identified to prevent the training device from deriving information about the trained machine learning model.

### Claim 32 (depends on 31)

The system of claim 31, further comprising programming instructions that when executed by the processor, cause the processor to select the plurality of clusters of training data from the labeled dataset based on at least one of the following:
random sampling;
required characteristics of data for training the machine learning model;
required amount of data for training a machine learning model;
an access level associated with a user of the training device;
an access level associated with the training device;
history of data already transmitted to the training device; or
types of data in the labeled dataset.
