EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
Roshan Dathathri, Blagovesta Kostova, Olli Saarikivi, Wei Dai, Kim Laine, Madan Musuvathi
摘要
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 expertprovided 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 domainspecific 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.3× 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 33 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- SoK: Fully Homomorphic Encryption Compilers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Secure Outsourced Matrix Computation and Application to Neural Networks 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- Secure Outsourced Matrix Computation and Application to Neural Networks 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Secure Outsourced Matrix Computation and Application to Neural Networks 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
引用它的顶会 Paper33
- F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar 等ISCA 2022 · 205 次引用
- BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung 等ISCA 2022 · 184 次引用
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic EncryptionWen-jie Lu, Zhicong Huang, Cheng Hong, Yiping Ma 等S&P 2021 · 139 次引用
- SoK: Fully Homomorphic Encryption CompilersAlexander Viand, Patrick Jattke, Anwar HithnawiS&P 2021 · 117 次引用
它引用的 Paper7
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- Secure Outsourced Matrix Computation and Application to Neural NetworksXiaoqian Jiang, Miran Kim, Kristin E. Lauter, Yongsoo SongCCS 2018 · 359 次引用
相关 Paper
- HECO: Fully Homomorphic Encryption CompilerAlexander Viand, Patrick Jattke, Miro Haller, Anwar HithnawiUSENIX Security 2023
- A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas 等PLDI 2024 · 23 次引用
- Coyote: A Compiler for Vectorizing Encrypted Arithmetic CircuitsRaghav Malik, Kabir Sheth, Milind KulkarniASPLOS 2023 · 22 次引用
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path ReductionSong Bian, Zian Zhao, Ruiyu Shen, Zhou Zhang 等S&P 2025
- AutoFHE: An Automatic Hardware Generation Framework for Domain-Specific FHE AcceleratorsYibo Du, Cangyuan Li, Bing Li, Mengdi Wang 等ISCA 2026
