# US 2021/0281391 A1 · Secure data processing

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

- Number: US 2021/0281391 A1
- Document ID: US20210281391A1
- Status: Published application
- Kind: A1
- Application number: 17/329,270
- Filed: 2021-05-25
- Published: 2021-09-09
- Earliest claimed: 2019-10-30
- Assignees: Via Science, Inc.
- Applicants: Via Science, Inc.
- Inventors: Kai Chung Cheung; Mathew Rogers; Jeremy Taylor
- Web page: https://patentgrep.com/patent/US20210281391A1

## CPC

- H04L 9/008: {involving homomorphic encryption}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/3066: {involving algebraic varieties, e.g. elliptic or hyper-elliptic curves}
- H04L 2209/046: of operations, operands or results of the operations
- H04L 2209/46: Secure multiparty computation, e.g. millionaire problem
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Multiple systems may determine neural-network output data and neural-network parameter data and may transmit the data therebetween to train and run the neural-network model to predict an event given input data. A data-provider system may perform a dot-product operation using encrypted data, and a secure-processing component may decrypt and process that data using an activation function to predict an event. Multiple secure-processing components may be used to perform a multiplication operation using homomorphic encrypted data.

## Claims

### Claim 1

A computer-implemented method comprising:
determining, by a first system, encrypted first input data and encrypted second input data, wherein at least one of the encrypted first input data and the encrypted second input data correspond to an event;
determining, by the first system, an encrypted first random number and an encrypted second random number;
determining, by the first system, first data representing a result of a first homomorphic operation corresponding to the encrypted first input data, the encrypted second input data, the encrypted first random number, or the encrypted second random number;
sending, from the first system to a second system, the first data;
decrypting, by the second system, the first data to determine a first number based at least in part on the encrypted first random number and a second number based at least in part on the encrypted second random number;
multiplying, by the second system, the first number and the second number to determine second data;
encrypting, by the second system, the second data to determine encrypted second data;
determining, by the second system using a second homomorphic operation, a product of the encrypted first input data and the encrypted second input data based at least in part on the encrypted second data; and
determining a prediction of the event based at least in part on the product.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining the first data comprises:
adding, using a homomorphic addition operation, the encrypted first input data and the encrypted first random number; and
adding, using the homomorphic addition operation, the encrypted second input data and the encrypted second random number.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising:
determining third data by adding the encrypted first input data and the encrypted first random number and by negating the encrypted second random number;
determining fourth data by negation of the encrypted first random number and by adding the encrypted second input data and the encrypted second random number; and
determining fifth data corresponding to the encrypted first random number and the encrypted second random number.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving, by a first secure-processing component of the second system, the first data; and
sending, by the first secure-processing component to a second secure-processing component of the second system, the encrypted second data.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further comprising:
receiving, by the second secure-processing component, the encrypted second data; and
sending, by the second secure-processing component to a third system, an indication of the prediction.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the encrypted first input data and encrypted second input data correspond to operands of a dot-product operation.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining that the encrypted first input data corresponds to a first scale;
determining that the encrypted second input data corresponds to a second scale different from the first scale; and
modifying the encrypted first input data to correspond to the second scale.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the encrypted first input data and encrypted second input data correspond to elements of a vector.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
determining public key data corresponding to a public encryption key; and
determining private key data corresponding to a private encryption key,
wherein decrypting the first data corresponds to the private key data and wherein encrypting the second data corresponds to the public key data.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein determining the encrypted first random number and the encrypted second random number comprises:
determining a first random number and a second random number;
encrypting, using the private key data, the first random number; and
encrypting, using the private key data, the second random number.

### Claim 11

A system comprising:
at least one processor; and
at least one memory including instructions that, when executed by the at least one processor, cause the system to:
determine, by a first system, encrypted first input data and encrypted second input data, wherein at least one of the encrypted first input data and the encrypted second input data correspond to an event;
determine, by the first system, an encrypted first random number and an encrypted second random number;
determine, by the first system, first data representing a result of a first homomorphic operation corresponding to the encrypted first input data, the encrypted second input data, the encrypted first random number, or the encrypted second random number;
send, from the first system to a second system, the first data;
decrypt, by the second system, the first data to determine a first number based at least in part on the encrypted first random number and a second number based at least in part on the encrypted second random number;
multiply, by the second system, the first number and the second number to determine second data;
encrypt, by the second system, the second data to determine encrypted second data;
determine, by the second system using a second homomorphic operation, a product of the encrypted first input data and the encrypted second input data based at least in part on the encrypted second data; and
determine a prediction of the event based at least in part on the product.

### Claim 12 (depends on 11)

The system of claim 11, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
add, using a homomorphic addition operation, the encrypted first input data and the encrypted first random number; and
add, using the homomorphic addition operation, the encrypted second input data and the encrypted second random number.

### Claim 13 (depends on 12)

The system of claim 12, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
determine third data by adding the encrypted first input data and the encrypted first random number and by negating the encrypted second random number;
determine fourth data by negation of the encrypted first random number and by adding the encrypted second input data and the encrypted second random number; and
determine fifth data corresponding to the encrypted first random number and the encrypted second random number.

### Claim 14 (depends on 11)

The system of claim 11, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
receive, by a first secure-processing component of the second system, the first data; and
send, by the first secure-processing component to a second secure-processing component of the second system, the encrypted second data.

### Claim 15 (depends on 14)

The system of claim 14, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
receive, by the second secure-processing component, the encrypted second data; and
send, by the second secure-processing component to a third system, an indication of the prediction.

### Claim 16 (depends on 11)

The system of claim 11, wherein the encrypted first input data and encrypted second input data correspond to operands of a dot-product operation.

### Claim 17 (depends on 11)

The system of claim 11, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
determine that the encrypted first input data corresponds to a first scale;
determine that the encrypted second input data corresponds to a second scale different from the first scale; and
modify the encrypted first input data to correspond to the second scale.

### Claim 18 (depends on 11)

The system of claim 11, wherein the encrypted first input data and encrypted second input data correspond to elements of a vector.

### Claim 19 (depends on 11)

The system of claim 11, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
determine public key data corresponding to a public encryption key; and
determine private key data corresponding to a private encryption key,
wherein decrypting the first data corresponds to the private key data and wherein encrypting the second data corresponds to the public key data.

### Claim 20 (depends on 19)

The system of claim 19, wherein the at least one memory further includes instructions, that, when executed by the at least one processor, further cause the system to:
determine a first random number and a second random number;
encrypt, using the private key data, the first random number; and
encrypt, using the private key data, the second random number.
