EVA: An Encrypted Vector Arithmetic Language and Compiler for Efficient Homomorphic Computation

被引:59
作者
Dathathri, Roshan [1 ]
Kostova, Blagovesta [2 ]
Saarikivi, Olli [3 ]
Dai, Wei [3 ]
Laine, Kim [3 ]
Musuvathi, Madan [3 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
[2] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
[3] Microsoft Res, Redmond, WA USA
来源
PROCEEDINGS OF THE 41ST ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '20) | 2020年
基金
美国国家科学基金会;
关键词
Homomorphic encryption; compiler; neural networks; privacy-preserving machine learning;
D O I
10.1145/3385412.3386023
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Fully-Homomorphic Encryption (FHE) offers powerful capabilities by enabling secure offloading of both storage and computation, and recent innovations in schemes and implementations have made it all the more attractive. At the same time, FHE is notoriously hard to use with a very constrained programming model, a very unusual performance profile, and many cryptographic constraints. Existing compilers for FHE either target simpler but less efficient FHE schemes or only support specific domains where they can rely on expert-provided high-level runtimes to hide complications. This paper presents a new FHE language called Encrypted Vector Arithmetic (EVA), which includes an optimizing compiler that generates correct and secure FHE programs, while hiding all the complexities of the target FHE scheme. Bolstered by our optimizing compiler, programmers can develop efficient general-purpose FHE applications directly in EVA. For example, we have developed image processing applications using EVA, with a very few lines of code. EVA is designed to also work as an intermediate representation that can be a target for compiling higher-level domain-specific languages. To demonstrate this, we have re-targeted CHET, an existing domain-specific compiler for neural network inference, onto EVA. Due to the novel optimizations in EVA, its programs are on average 5.3x faster than those generated by CHET. We believe that EVA would enable a wider adoption of FHE by making it easier to develop FHE applications and domain-specific FHE compilers.
引用
收藏
页码:546 / 561
页数:16
相关论文
共 40 条
  • [1] Albrecht Martin, 2018, HOMOMORPHIC STANDARD
  • [2] [Anonymous], 2018, P 2018 ACM SIGS C, DOI DOI 10.1145/3243734.3243837
  • [3] [Anonymous], 2017, CRYPTODL DEEP NEURAL
  • [4] [Anonymous], 2016, ARXIV160207360
  • [5] [Anonymous], 2009, THE CIFAR 10 DATASET
  • [6] [Anonymous], 2010, LECT NOTES COMPUT SC, DOI DOI 10.1007/978-3-642-13190-5_1
  • [7] [Anonymous], PROT BUFF
  • [8] [Anonymous], 2019, P 7 ACM WORKSH ENCR
  • [9] [Anonymous], 2017, CRYPTOLOGY EPRINT AR
  • [10] Aslett Louis JM., 2015, ARXIV PREPRINT ARXIV