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
基金
美国国家科学基金会;
关键词
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
相关论文
共 50 条
  • [41] Sparse Computation Data Dependence Simplification for Efficient Compiler-Generated Inspectors
    Mohammadi, Mahdi Soltan
    Yuki, Tomofumi
    Cheshmi, Kazem
    Davis, Eddie C.
    Hall, Mary
    Dehnavi, Maryam Mehri
    Nandy, Payal
    Olschanowsky, Catherine
    Venkat, Anand
    Strout, Michelle Mills
    PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 594 - 609
  • [42] Reuse It Or Lose It: More Efficient Secure Computation Through Reuse of Encrypted Values
    Mood, Benjamin
    Gupta, Debayan
    Butler, Kevin R. B.
    Feigenbaum, Joan
    CCS'14: PROCEEDINGS OF THE 21ST ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2014, : 582 - 596
  • [43] A Computation-Efficient Three-Party Encrypted Key Exchange Protocol
    Lee, Cheng-Chi
    Chen, Shun-Der
    Chen, Chin-Ling
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2012, 6 (03): : 573 - 579
  • [44] Easy and efficient agent-based simulations with the OpenABL language and compiler
    Cosenza, Biagio
    Popov, Nikita
    Juurlink, Ben
    Richmond, Paul
    Chimeh, Mozhgan Kabiri
    Spagnuolo, Carmine
    Cordasco, Gennaro
    Scarano, Vittorio
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2021, 116 : 61 - 75
  • [45] Kongruent - A Shader Language and Compiler for Efficient and Approachable GPU-Programming
    Konrad, Robert
    Goebel, Stefan
    SERIOUS GAMES, JCSG 2024, 2025, 15259 : 142 - 154
  • [46] Latte: A Language, Compiler, and Runtime for Elegant and Efficient Deep Neural Networks
    Truong, Leonard
    Barik, Rajkishore
    Totoni, Ehsan
    Liu, Hai
    Markley, Chick
    Fox, Armando
    Shpeisman, Tatiana
    ACM SIGPLAN NOTICES, 2016, 51 (06) : 209 - 223
  • [47] Customisation of Paillier Homomorphic Encryption for Efficient Binary Biometric Feature Vector Matching
    Penn, Georg M.
    Poetzelsberger, Gerhard
    Rohde, Martin
    Uhl, Andreas
    2014 INTERNATIONAL CONFERENCE OF THE BIOMETRICS SPECIAL INTEREST GROUP (BIOSIG), 2014,
  • [48] Efficient Integer Vector Homomorphic Encryption Using Deep Learning for Neural Networks
    Xie, Tianying
    Li, Yantao
    NEURAL INFORMATION PROCESSING (ICONIP 2018), PT I, 2018, 11301 : 83 - 95
  • [49] Efficient computation and model selection for the support vector regression
    Gunter, Lacey
    Zhu, Ji
    NEURAL COMPUTATION, 2007, 19 (06) : 1633 - 1655
  • [50] Vector Instruction Set Extensions for Efficient Computation of KECCAK
    Rawat, Hemendra
    Schaumont, Patrick
    IEEE TRANSACTIONS ON COMPUTERS, 2017, 66 (10) : 1778 - 1789