Crypto-Nets: Neural Networks over Encrypted Data

Pengtao Xie, Misha Bilenko, Tom Finley, Ran Gilad-Bachrach, Kristin Lauter +1 more
12/18/2014
163 citations
cs.LGcs.CRcs.NE

Official code: microsoft/CryptoNets (313 stars, C#, MIT, last commit 2024-07-16).

Abstract

The problem we address is the following: how can a user employ a predictive model that is held by a third party, without compromising private information. For example, a hospital may wish to use a cloud service to predict the readmission risk of a patient.

Show full abstract

However, due to regulations, the patient's medical files cannot be revealed. The goal is to make an inference using the model, without jeopardizing the accuracy of the prediction or the privacy of the data. To achieve high accuracy, we use neural networks, which have been shown to outperform other learning models for many tasks. To achieve the privacy requirements, we use homomorphic encryption in the following protocol: the data owner encrypts the data and sends the ciphertexts to the third party to obtain a prediction from a trained model. The model operates on these ciphertexts and sends back the encrypted prediction. In this protocol, not only the data remains private, even the values predicted are available only to the data owner. Using homomorphic encryption and modifications to the activation functions and training algorithms of neural networks, we show that it is protocol is possible and may be feasible. This method paves the way to build a secure cloud-based neural network prediction services without invading users' privacy.

View on arXivView PDF

Code Implementations(1)

MIT

CryptoNets is a demonstration of the use of Neural-Networks over data encrypted with Homomorphic Encryption. Homomorphic Encryptions allow performing operations such as addition and multiplication over data while it is encrypted. Therefore, it allows keeping data private while outsourcing computation (see here and here for more about Homomorphic E

31379C#Jun 2, 20192 years agoMIT
data-encryptedhomomorphic-encryptionsneural-networksseal

Similar Papers

Cite this paper

@article{xie2014cryptonets,
  title  = {Crypto-Nets: Neural Networks over Encrypted Data},
  author = {Pengtao Xie and Misha Bilenko and Tom Finley and Ran Gilad-Bachrach and Kristin Lauter and Michael Naehrig},
  year   = {2014},
  eprint = {1412.6181},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1412.6181}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1412.6181.svg)](https://codeofpaper.com/paper/1412.6181)

Discussion