US 12,732,340 B2
Evaluating convolutions using encrypted data
Dongwoo Kim, San Jose, CA (US); and Cyril Guyot, San Jose, CA (US)
Assigned to Western Digital Technologies, Inc., San Jose, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on Aug. 8, 2023, as Appl. No. 18/231,716.
Claims priority of provisional application 63/423,952, filed on Nov. 9, 2022.
Prior Publication US 2024/0171372 A1, May 23, 2024
Int. Cl. H04L 9/08 (2006.01); H04L 9/00 (2022.01); H04L 9/06 (2006.01); H04L 9/30 (2006.01); H04L 9/14 (2006.01); H04L 9/32 (2006.01)
CPC H04L 9/008 (2013.01) [H04L 9/06 (2013.01); H04L 9/3026 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A server, comprising:
an interface configured to communicate with a client device; and
at least one processor, individually or in combination, configured to:
receive an input ciphertext from the client device including at least encrypted coefficients of an input polynomial, wherein the encrypted coefficients have been encrypted according to a Fully Homomorphic Encryption (FHE) scheme after encoding one or more input datasets of real numbers into a plaintext polynomial with integral coefficients;
perform a convolution on the input ciphertext using a kernel by at least in part separately multiplying the input polynomial by one or more kernel polynomials to result in one or more corresponding convolved polynomials, wherein the one or more kernel polynomials include kernel coefficients encoded using kernel values for the kernel;
use at least a plurality of coefficients in each of the one or more convolved polynomials to derive an output ciphertext representing an output of the convolution on the input ciphertext using the kernel; and
perform a modified bootstrapping on the output ciphertext, wherein in performing the modified bootstrapping, the at least one processor, individually or in combination, is further configured to:
convert coefficients of the output ciphertext into a plurality of slots of an input vector according to the FHE scheme;
perform a modular reduction approximated by a scaled sine function on each slot of the plurality of slots to generate a plurality of reduced slots; and
evaluate an activation function for the plurality of reduced slots to generate an output vector.