# US 2022/0292202 A1 · Verifiable training of model in untrusted environment

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

- Number: US 2022/0292202 A1
- Document ID: US20220292202A1
- Status: Published application
- Kind: A1
- Application number: 17/200,544
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Yacov Manevich; Marcus Brandenburger; Elli Androulaki
- Web page: https://patentgrep.com/patent/US20220292202A1

## CPC

- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06N 20/00: Machine learning
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An example operation may include one or more of receiving, from a plurality of providers by a secure enclave, a plurality of training data sets and a plurality of salts paired with the plurality of training data sets, respectively, hashing, via the secure enclave, pairs of training data sets and salts to generate a plurality of salted hashes, and combining the plurality of salted hashes to generate a digest, training, via the secure enclave, a model based on the plurality of training data sets to generate a trained model, and providing the trained model and the digest to a plurality of data providers of the plurality of training data sets and the plurality of salts.

## Claims

### Claim 1

An apparatus comprising:
a processor configured to
receive, by a secure enclave, a plurality of training data sets and a plurality of salts paired with the plurality of training data sets, respectively,
hash, via the secure enclave, pairs of training data sets and salts to generate a plurality of salted hashes, and combine the plurality of salted hashes to generate a digest,
train, via the secure enclave, a model based on the plurality of training data sets to generate a trained model, and
provide the trained model and the digest to a plurality of data providers of the plurality of training data sets and the plurality of salts.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the processor is further configured to encrypt, via the secure enclave, the trained model based on public keys of the plurality of data providers prior to output of the trained model to the plurality of data providers.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to concatenate, via the secure enclave, the plurality of salted hashes together to create a concatenated hash, and hash, via the secure enclave, the concatenated hash to generate the digest.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the secure enclave is hosted within a central processing unit (CPU) of a host platform.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the processor is further configured to partition the plurality of training data sets into a plurality of data chunks that have a predetermined size, tag each chunk with a message authentication code (MAC) to preserve an order of the plurality of data chunks, and store the tagged plurality of data chunks on the host platform outside of the secure enclave.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the processor is further configured to load, via the secure enclave, one data chunk at a time from among the plurality of tagged data chunks stored on the host platform and train the model one chunk at a time until all data chunks from the among the plurality of tagged data chunks have been loaded into the secure enclave.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the plurality of data sets and the plurality of salts are provided from a plurality of blockchain peers of a blockchain network, respectively, and the processor is configured to store the digest on a blockchain of the blockchain network.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to train a machine learning model via execution of the machine learning model on the plurality of data sets within the secure enclave.

### Claim 9

A method comprising:
receiving, by a secure enclave, a plurality of training data sets and a plurality of salts paired with the plurality of training data sets, respectively;
hashing, via the secure enclave, pairs of training data sets and salts to generate a plurality of salted hashes, and combining the plurality of salted hashes to generate a digest;
training, via the secure enclave, a model based on the plurality of training data sets to generate a trained model; and
providing the trained model and the digest to a plurality of data providers of the plurality of training data sets and the plurality of salts.

### Claim 10 (depends on 9)

The method of claim 9, wherein the method further comprises encrypting, via the secure enclave, the trained model based on public keys of the plurality of data providers prior to outputting the trained model to the plurality of data providers.

### Claim 11 (depends on 9)

The method of claim 9, wherein the combining comprises concatenating, via the secure enclave, the plurality of salted hashes together to create a concatenated hash and hashing, via the secure enclave, the concatenated hash to generate the digest.

### Claim 12 (depends on 9)

The method of claim 9, wherein the secure enclave is hosted within a central processing unit (CPU) of a host platform.

### Claim 13 (depends on 12)

The method of claim 12, further comprising partitioning the plurality of training data sets into a plurality of data chunks having a predetermined size prior to training the model, tagging each chunk with a message authentication code (MAC) to preserve an order of the plurality of data chunks, and storing the tagged plurality of data chunks on the host platform outside of the secure enclave.

### Claim 14 (depends on 13)

The method of claim 13, wherein the training comprises loading, via the secure enclave, one data chunk at a time from among the plurality of tagged data chunks stored on the host platform and training the model one chunk at a time until all data chunks from the among the plurality of tagged data chunks have been loaded into the secure enclave.

### Claim 15 (depends on 9)

The method of claim 9, wherein the plurality of data sets and the plurality of salts are provided from a plurality of blockchain peers of a blockchain network, respectively, and the storing comprises storing the digest on a blockchain of the blockchain network.

### Claim 16 (depends on 9)

The method of claim 9, wherein the training comprises training a machine learning model via execution of the machine learning model on the plurality of data sets within the secure enclave.

### Claim 17

A non-transitory computer-readable medium comprising instructions which when executed by a processor cause a computer to perform a method comprising:
receiving, by a secure enclave, a plurality of training data sets and a plurality of salts paired with the plurality of training data sets, respectively;
hashing, via the secure enclave, pairs of training data sets and salts to generate a plurality of salted hashes, and combining the plurality of salted hashes to generate a digest;
training, via the secure enclave, a model based on the plurality of training data sets to generate a trained model; and
providing the trained model and the digest to a plurality of data providers of the plurality of training data sets and the plurality of salts.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the method further comprises encrypting, via the secure enclave, the trained model based on public keys of the plurality of data providers prior to outputting the trained model to the plurality of data providers.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the combining comprises concatenating, via the secure enclave, the plurality of salted hashes together to create a concatenated hash and hashing, via the secure enclave, the concatenated hash to generate the digest.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the secure enclave is hosted within a central processing unit (CPU) of a host platform.
