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 条
  • [1] Bandwidth Efficient Homomorphic Encrypted Matrix Vector Multiplication Accelerator on FPGA
    Yang, Yang
    Kuppannagari, Sanmukh R.
    Kannan, Rajgopal
    Prasanna, Viktor K.
    2022 21ST INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT 2022), 2022, : 1 - 9
  • [2] Efficient AGCD-Based Homomorphic Encryption for Matrix and Vector Arithmetic
    Pereira, Hilder Vitor Lima
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY (ACNS 2020), PT I, 2020, 12146 : 110 - 129
  • [3] Efficient and Secure kNN Classification over Encrypted Data using Vector Homomorphic Encryption
    Yang, Haomiao
    He, Weichao
    Li, Jie
    Li, Hongwei
    2018 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2018,
  • [4] Alchemy: A Language and Compiler for Homomorphic Encryption Made easY
    Crockett, Eric
    Peikert, Chris
    Sharp, Chad
    PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18), 2018, : 1020 - 1037
  • [5] Efficient Comparison and Swap on Fully Homomorphic Encrypted Data
    Ji, Jyun-Neng
    Shieh, Ming-Der
    2019 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2019,
  • [6] Robust Vector Map Watermarking Algorithm in Homomorphic Encrypted Domain
    Wu B.
    Dai Q.
    Peng Y.
    Wang W.
    Journal of Geo-Information Science, 2022, 24 (06) : 1120 - 1129
  • [7] ICDM: An Encryption that Supports Unlimited Times Homomorphic Arithmetic Operations on Encrypted Data
    Yang, Pan
    Gui, Xiaolin
    Yao, Jing
    Lin, Jiancai
    Tian, Feng
    2013 IEEE 16TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE 2013), 2013, : 1220 - 1225
  • [8] HE3DB: An Efficient and Elastic Encrypted Database Via Arithmetic-And-Logic Fully Homomorphic Encryption
    Bian, Song
    Zhang, Zhou
    Pan, Haowen
    Mao, Ran
    Zhao, Zian
    Jin, Yier
    Guan, Zhenyu
    PROCEEDINGS OF THE 2023 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2023, 2023, : 2930 - 2944
  • [9] A COMPILER FOR AN ARRAY AND VECTOR PROCESSING LANGUAGE
    PERROTT, RH
    CROOKES, D
    MILLIGAN, P
    PURDY, WRM
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1985, 11 (05) : 471 - 478
  • [10] DEVELOPMENT OF EFFICIENT ARITHMETIC COMPUTATION
    KAYE, DB
    DEWINSTANLEY, P
    CHEN, Q
    BONNEFIL, V
    JOURNAL OF EDUCATIONAL PSYCHOLOGY, 1989, 81 (04) : 467 - 480