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 条
  • [21] Efficient Sorting of Homomorphic Encrypted Data With k-Way Sorting Network
    Hong, Seungwan
    Kim, Seunghong
    Choi, Jiheon
    Lee, Younho
    Cheon, Jung Hee
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2021, 16 (16) : 4389 - 4404
  • [22] Frigate: A Validated, Extensible, and Efficient Compiler and Interpreter for Secure Computation
    Mood, Benjamin
    Gupta, Debayan
    Carter, Henry
    Butler, Kevin R. B.
    Traynor, Patrick
    1ST IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY, 2016, : 112 - 127
  • [23] Vector Parallelism in Java']JavaScript: Language and compiler support for SIMD
    Jibaja, Ivan
    Jensen, Peter
    Hu, Ningxin
    Haghighat, Mohammad R.
    McCutchan, John
    Gohman, Dan
    Blackburn, Stephen M.
    McKinley, Kathryn S.
    2015 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION (PACT), 2015, : 407 - 418
  • [24] CraterLake: A Hardware Accelerator for Efficient Unbounded Computation on Encrypted Data
    Samardzic, Nikola
    Feldmann, Axel
    Krastev, Aleksandar
    Manohar, Nathan
    Genise, Nicholas
    Devadas, Srinivas
    Eldefrawy, Karim
    Peikert, Chris
    Sanchez, Daniel
    PROCEEDINGS OF THE 2022 THE 49TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA '22), 2022, : 173 - 187
  • [25] Efficient Detection for Malicious and Random Errors in Additive Encrypted Computation
    Tsoutsos, Nektarios Georgios
    Maniatakos, Michail
    IEEE TRANSACTIONS ON COMPUTERS, 2018, 67 (01) : 16 - 31
  • [26] A Domain-Specific Language and Compiler for Computation-in-Memory Skeletons
    Yu, Jintao
    Hogervorst, Tom
    Nane, Razvan
    PROCEEDINGS OF THE GREAT LAKES SYMPOSIUM ON VLSI 2017 (GLSVLSI' 17), 2017, : 71 - 76
  • [27] Multi-Key Homomorphic MACs with Efficient Verification for Quadratic Arithmetic Circuits
    Feng, Shuai
    Xu, Shuaijianni
    Zhang, Liang Feng
    ASIA CCS'22: PROCEEDINGS OF THE 2022 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2022, : 17 - 27
  • [28] Efficient integer division computation protocols based on partial homomorphic encryption
    Sun, Yuhong
    Wang, Jiatao
    Li, Fengyin
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2024, 27 (09): : 12091 - 12102
  • [29] Universally composable efficient multiparty computation from threshold homomorphic encryption
    Damgård, I
    Nielsen, JB
    ADVANCES IN CRYPTOLOGY-CRYPTO 2003, PROCEEDINGS, 2003, 2729 : 247 - 264
  • [30] Efficient Hidden Vector Encryption for Conjunctive Queries on Encrypted Data
    Park, Jong Hwan
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2011, 23 (10) : 1483 - 1497