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 条
  • [31] Efficient Verifiable Computation of Linear and Quadratic Functions over Encrypted Data
    Ngoc Hieu Tran
    Pang, HweeHwa
    Deng, Robert H.
    ASIA CCS'16: PROCEEDINGS OF THE 11TH ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 605 - 616
  • [32] NORMAL-INCIDENCE WAVEFIELD COMPUTATION USING VECTOR-ARITHMETIC
    FERBER, RG
    GEOPHYSICAL PROSPECTING, 1985, 33 (04) : 540 - 542
  • [33] Toward an Energy Efficient Language and Compiler for (Partially) Reversible Algorithms
    Tyagi, Nirvan
    Lynch, Jayson
    Demaine, Erik D.
    REVERSIBLE COMPUTATION, RC 2016, 2016, 9720 : 121 - 136
  • [34] Coupling bit and modular arithmetic for efficient general-purpose fully homomorphic encryption
    Chielle, Eduardo
    Mazonka, Oleg
    Gamil, Homer
    Maniatakos, Michail
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2024, 23 (04)
  • [35] HE-Booster: An Efficient Polynomial Arithmetic Acceleration on GPUs for Fully Homomorphic Encryption
    Wang, Zhiwei
    Li, Peinan
    Hou, Rui
    Li, Zhihao
    Cao, Jiangfeng
    Wang, XiaoFeng
    Meng, Dan
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2023, 34 (04) : 1067 - 1081
  • [36] Efficient computation of fixed polarity arithmetic expansions for ternary functions
    Falkowski, Bogdan J.
    Lozano, Cicilia C.
    Rahardja, Susanto
    2006 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-11, PROCEEDINGS, 2006, : 2409 - 2412
  • [37] Efficient Secure Vector Computation and Its Extension
    Liu X.-H.
    Ruan Jian Xue Bao/Journal of Software, 2021, 32 (11): : 3628 - 3645
  • [38] Addition chains, vector chains, and efficient computation
    Thurber, Edward G.
    Clift, Neill M.
    DISCRETE MATHEMATICS, 2021, 344 (02)
  • [39] Efficient Safety Vector Computation and Its Popularization
    Xia, Hui
    Wang, Chunhua
    You, Lantao
    Yang, Weiji
    International Journal of Network Security, 2024, 26 (03) : 361 - 369
  • [40] Efficient Private Comparison Queries Over Encrypted Databases Using Fully Homomorphic Encryption With Finite Fields
    Tan, Benjamin Hong Meng
    Lee, Hyung Tae
    Wang, Huaxiong
    Ren, Shu Qin
    Khin, Aung Mi Mi
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2021, 18 (06) : 2861 - 2874