Lune

USENIX Security2023顶会

ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic Encryption

Yongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee, Hanjun Kim

摘要

Thanks to its fixed-point arithmetic and SIMD-like vectorization, among fully homomorphic encryption (FHE) schemes that allow computation on encrypted data, RNS-CKKS is widely used for privacy-preserving machine learning services. Prior works have partly automated a daunting scale management task required for RNS-CKKS fixed-point arithmetic, yet none takes an output error into consideration, preventing users from exploring a better error-latency trade-off. This work proposes a new error-and latency-aware scale management (ELASM) scheme for the RNS-CKKS FHE scheme. By actively controlling the scale of a ciphertext, one can effectively make the impact of noise on an error smaller because an error is a scaled noise introduced by an RNS-CKKS operation. ELASM explores different scale management plans that repurpose an upscale operation as an error reduction operation, estimates the output error and latency of each plan, and iteratively finds the best plan that minimizes the error-latency cost function. In addition, this work proposes a new scale-to-noise ratio (SNR) parameter and introduces fine-grained noise-aware waterlines (a minimum scale requirement) for different RNS-CKKS operations, opening a new opportunity to further improve an error-latency trade-off. This work implements the proposed ideas in the ELASM compiler along with a new FHE language and type system that enforces the RNS-CKKS constraints including SNR-based noise-aware waterlines. For ten machine and deep learning benchmarks, ELASM finds the better error and latency tradeoffs (lower Pareto curves) than the state-of-the-art solutions such as EVA and Hecate.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 Porcupine: a synthesizing compiler for vectorized homomorphic encryption
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption 引用了 AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning Acceleration
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption 引用了 Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption 引用了 Performance-aware Scale Analysis with Reserve for Homomorphic Encryption
  • Porcupine: a synthesizing compiler for vectorized homomorphic encryption 引用了 Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
  • Porcupine: a synthesizing compiler for vectorized homomorphic encryption 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • ReSBM: Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut 引用了 A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • ReSBM: Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut 引用了 DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • ReSBM: Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • Optimizing homomorphic evaluation circuits by program synthesis and term rewriting 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 Porcupine: a synthesizing compiler for vectorized homomorphic encryption
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
  • Orion: A Fully Homomorphic Encryption Framework for Deep Learning 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption 引用了 ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easY
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption 引用了 Porcupine: a synthesizing compiler for vectorized homomorphic encryption
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption 引用了 Optimizing homomorphic evaluation circuits by program synthesis and term rewriting
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption 引用了 EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • Performance-aware Scale Analysis with Reserve for Homomorphic Encryption 引用了 AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning Acceleration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Orion: A Fully Homomorphic Encryption Framework for Deep LearningAustin Ebel, Karthik Garimella, Brandon ReagenASPLOS 2025 · 40 次引用
  2. DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic EncryptionSeonyoung Cheon, Yongwoo Lee, Dongkwan Kim, Ju Min Lee 等USENIX Security 2024 · 25 次引用
  3. A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas 等PLDI 2024 · 23 次引用
  4. Performance-aware Scale Analysis with Reserve for Homomorphic EncryptionYongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee 等ASPLOS 2024 · 12 次引用
  5. ReSBM: Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-CutYan Liu, Jianxin Lai, Long Li, Tianxiang Sui 等ASPLOS 2025 · 11 次引用

它引用的 Paper5

  1. EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computationRoshan Dathathri, Blagovesta Kostova, Olli Saarikivi, Wei Dai 等PLDI 2020 · 117 次引用
  2. ALCHEMY: A Language and Compiler for Homomorphic Encryption Made easYEric Crockett, Chris Peikert, Chad SharpCCS 2018 · 68 次引用
  3. Porcupine: a synthesizing compiler for vectorized homomorphic encryptionMeghan Cowan, Deeksha Dangwal, Armin Alaghi, Caroline Trippel 等PLDI 2021 · 41 次引用
  4. Optimizing homomorphic evaluation circuits by program synthesis and term rewritingDongKwon Lee, Woosuk Lee, Hakjoo Oh, Kwangkeun YiPLDI 2020 · 30 次引用
  5. AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning AccelerationHuili Chen, Rosario Cammarota, Felipe Valencia, Francesco Regazzoni 等DAC 2020 · 10 次引用

相关 Paper

  1. High-Precision Bootstrapping of RNS-CKKS Homomorphic Encryption Using Optimal Minimax Polynomial Approximation and Inverse Sine FunctionJoon-Woo Lee, Eunsang Lee, Yongwoo Lee, Young-Sik Kim 等EUROCRYPT 2021 · 110 次引用
  2. EFFACT: A Highly Efficient Full-Stack FHE Acceleration PlatformYi Huang, Xinsheng Gong, Xiangyu Kong, Dibei Chen 等HPCA 2025 · 10 次引用
  3. Orbit: Optimizing Rescale and Bootstrap Placement with Integer Linear Programming Techniques for Secure InferenceZikai Zhou, William Seo, Edward Chen, Alex Ozdemir 等USENIX Security 2026
  4. FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 次引用
  5. AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
黄昏的海面,两侧是细线勾勒的悬崖