Neural Network Quantisation for Faster Homomorphic Encryption

04/19/2023
by   Wouter Legiest, et al.
0

Homomorphic encryption (HE) enables calculating on encrypted data, which makes it possible to perform privacypreserving neural network inference. One disadvantage of this technique is that it is several orders of magnitudes slower than calculation on unencrypted data. Neural networks are commonly trained using floating-point, while most homomorphic encryption libraries calculate on integers, thus requiring a quantisation of the neural network. A straightforward approach would be to quantise to large integer sizes (e.g. 32 bit) to avoid large quantisation errors. In this work, we reduce the integer sizes of the networks, using quantisation-aware training, to allow more efficient computations. For the targeted MNIST architecture proposed by Badawi et al., we reduce the integer sizes by 33 accuracy, while for the CIFAR architecture, we can reduce the integer sizes by 43 scheme using SEAL, we could reduce the execution time of an MNIST neural network by 80

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset