Proceedings

BAYHENN: Combining Bayesian Deep Learning and Homomorphic Encryption for Secure DNN Inference

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 4831-4837.

https://doi.org/10.24963/ijcai.2019/671

Abstract

Recently, deep learning as a service (DLaaS) has emerged as a promising way to facilitate the employment of deep neural networks (DNNs) for various purposes. However, using DLaaS also causes potential privacy leakage from both clients and cloud servers. This privacy issue has fueled the research interests on the privacy-preserving inference of DNN models in the cloud service.

In this paper, we present a practical solution named BAYHENN for secure DNN inference. It can protect both the client's privacy and server's privacy at the same time. The key strategy of our solution is to combine homomorphic encryption and Bayesian neural networks. Specifically, we use homomorphic encryption to protect a client's raw data and use Bayesian neural networks to protect the DNN weights in a cloud server. To verify the effectiveness of our solution, we conduct experiments on MNIST and a real-life clinical dataset. Our solution achieves consistent latency decreases on both tasks. In particular, our method can outperform the best existing method (GAZELLE) by about 5x, in terms of end-to-end latency.

  1. [Acar et al., 2018] Abbas Acar, Hidayet Aksu, et al. A sur- vey on homomorphic encryption schemes: Theory and implementation. ACM Computing Surveys, 51(4):79:1- 79:35, 2018.
  2. [Bhattacharjee et al., 2017] Bishwaranjan Bhattacharjee, Scott Boag, et al. IBM deep learning service. IBM Journal of Research and Development, 61(4):10, 2017.
  3. [Blundell et al., 2015] Charles Blundell, Julien Cornebise, et al. Weight uncertainty in neural networks. In Pro- ceedings of the 32nd International Conference on Machine Learning, volume 37, pages 1613-1622. JMLR.org, 2015.
  4. [Bourse et al., 2018] Florian Bourse, Michele Minelli, et al. Fast homomorphic evaluation of deep discretized neural networks. In Advances in Cryptology -CRYPTO 2018, volume 10993, pages 483-512. Springer, 2018.
  5. [Chaudhuri and Monteleoni, 2008] Kamalika Chaudhuri and Claire Monteleoni. Privacy-preserving logistic regression. In Advances in Neural Information Processing Systems 21, Proceedings of the Twenty-Second Annual Conference on Neural Information Processing Systems, pages 289-296.
  6. Curran Associates, Inc., 2008.
  7. [Devlin et al., 2018] Jacob Devlin, Ming-Wei Chang, et al. BERT: Pre-training of deep bidirectional transformers for language understanding. CoRR, abs/1810.04805, 2018.
  8. [Fortunato et al., 2017] Meire Fortunato, Charles Blundell, and Oriol Vinyals. Bayesian recurrent neural networks. CoRR, abs/1704.02798, 2017.
  9. [Gilad-Bachrach et al., 2016] Ran Gilad-Bachrach, Nathan Dowlin, et al. CryptoNets: Applying neural networks to encrypted data with high throughput and accuracy. In Pro- ceedings of the 33nd International Conference on Machine Learning, volume 48, pages 201-210. JMLR.org, 2016.
  10. [Havaei et al., 2017] Mohammad Havaei, Axel Davy, et al. Brain tumor segmentation with deep neural networks. Medical Image Analysis, 35:18-31, 2017.
  11. [He et al., 2016] Kaiming He, Xiangyu Zhang, et al. Deep residual learning for image recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pat- tern Recognition, pages 770-778. IEEE Computer Society, 2016.
  12. [Juvekar et al., 2018] Chiraag Juvekar, Vinod Vaikun- tanathan, and Anantha Chandrakasan. GAZELLE: A low latency framework for secure neural network inference. In Proceedings of the 27th USENIX Security Symposium, pages 1651-1669. USENIX Association, 2018.
  13. [LeCun et al., 1998] Yann LeCun, Léon Bottou, et al. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278-2324, 1998.
  14. [Litjens et al., 2017] Geert J. S. Litjens, Thijs Kooi, et al. A survey on deep learning in medical image analysis. Medi- cal Image Analysis, 42:60-88, 2017.
  15. [Liu et al., 2017] Jian Liu, Mika Juuti, et al. Oblivious neu- ral network predictions via MiniONN transformations. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pages 619-631. ACM, 2017.
  16. [Ma et al., 2019] Xu Ma, Xiaofeng Chen, and Xiaoyu Zhang. Non-interactive privacy-preserving neural network prediction. Information Sciences, 481:507-519, 2019.
  17. [Mohassel and Zhang, 2017] Payman Mohassel and Yupeng Zhang. SecureML: A system for scalable privacy- preserving machine learning. In Proceedings of the 2017 IEEE Symposium on Security and Privacy, pages 19-38. IEEE Computer Society, 2017.
  18. [Phong et al., 2018] Le Trieu Phong, Yoshinori Aono, et al. Privacy-preserving deep learning via additively homomor- phic encryption. IEEE Transactions on Information Foren- sics and Security, 13(5):1333-1345, 2018.
  19. [Regev, 2009] Oded Regev. On lattices, learning with er- rors, random linear codes, and cryptography. Journal of the ACM, 56(6):34:1-34:40, 2009.
  20. [Ren et al., 2017] Shaoqing Ren, Kaiming He, et al. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Anal- ysis and Machine Intelligence, 39(6):1137-1149, 2017.
  21. [Rouhani et al., 2018] Bita Darvish Rouhani, M. Sadegh Ri- azi, and Farinaz Koushanfar. Deepsecure: Scalable provably-secure deep learning. In Proceedings of the 55th Annual Design Automation Conference, pages 2:1-2:6. ACM, 2018.
  22. [Sanyal et al., 2018] Amartya Sanyal, Matt J. Kusner, et al. TAPAS: Tricks to accelerate (encrypted) prediction as a service. In Proceedings of the 35th International Confer- ence on Machine Learning, volume 80, pages 4497-4506. JMLR.org, 2018.
  23. [Shridhar et al., 2018] Kumar Shridhar, Felix Laumann, et al. Bayesian convolutional neural networks with vari- ational inference. CoRR, abs/1806.05978, June 2018.
  24. [Tramèr et al., 2016] Florian Tramèr, Fan Zhang, et al. Steal- ing machine learning models via prediction APIs. In Pro- ceedings of the 25th USENIX Security Symposium, pages 601-618. USENIX Association, 2016.
  25. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, et al. Attention is all you need. In Advances in Neural Informa- tion Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, pages 6000-6010, 2017.
  26. [Zhang et al., 2017] Jiaqi Zhang, Kai Zheng, et al. Efficient private ERM for smooth objectives. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, pages 3922-3928. ijcai.org, 2017. IJCAI
  27. [Zhang et al., 2018] Qiao Zhang, Cong Wang, et al. GELU- Net: A globally encrypted, locally unencrypted deep neu- ral network for privacy-preserved learning. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, pages 3933-3939. ijcai.org, 2018. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards