LOHEN: Layer-wise Optimizations for Neural Network Inferences over Encrypted Data with High Performance or Accuracy
Kevin Nam, Youyeon Joo, Dongju Lee, Seungjin Ha, Hyunyoung Oh, Hyungon Moon, Yunheung Paek
摘要
Fully Homomorphic Encryption (FHE) presents unique challenges in programming due to the contrast between traditional and FHE language paradigms. A key challenge is selecting optimal ciphertext configurations (CCs) to ensure security, performance, and accuracy in FHE applications. Optimal CC selection can be complex and labor-intensive. Thus, the conventional practice is settling down on a suboptimal solution of globally choosing one CC that induces acceptable performance. When FHE is applied to neural networks (NNs), the distinct layered architecture of NN models opens the door for a layer-wise optimization approach, as an alternative to the conventional practice, which selects locally optimal CCs for individual layers tailored to their structural properties. Sadly, this approach incurs significant overhead from CC switching between layers during NN inference. This paper introduces LOHEN, a technique crafted to attain high performance of NN inference by optimizing layer-wise CC selection to minimize the increased overhead incurred by CC switching. Not only that, LOHEN is engineered to attain high accuracy of NN inference, yet delivering performance comparable to stateof-the-art studies, by adopting a layer-wise application of multiple FHE schemes to the target NN. Through two experimental settings, we exhibit LOHEN's capability that allows developers to customize layer-wise optimizations to adjust the desired levels of performance and accuracy of NN inference over encrypted data, subject to their demands. In the first experiment where we adopt CKKS as our FHE scheme, LO-HEN improves inference performance of various NN models by 1.08-2.88×. In the second where we employ two schemes (CKKS+TFHE), LOHEN ensures zero accuracy loss in inference, yet improving performance by 1.34-1.59× compared to an optimized multi-scheme baseline.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions 引用了 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
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation 引用了 Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation 引用了 PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted Data 引用了 Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted Data 引用了 PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted Data 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
引用它的顶会 Paper2
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE EvaluationJiangrui Yu, Baosheng Zhang, Liang Kong, Lin Ding 等CCS 2026
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted DataKevin Nam, Youyeon Joo, Seungjin Ha, Yunheung PaekUSENIX Security 2025
它引用的 Paper12
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta 等USENIX Security 2016 · 594 次引用
- Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel ConvolutionsEunsang Lee, Joon-Woo Lee, Junghyun Lee, Young-Sik Kim 等ICML 2022 · 171 次引用
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic EncryptionWen-jie Lu, Zhicong Huang, Cheng Hong, Yiping Ma 等S&P 2021 · 139 次引用
- AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network InferenceQian Lou, Song Bian, Lei JiangNeurIPS 2020 · 41 次引用
相关 Paper
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 次引用
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
- MetaKernel: Enabling Efficient Encrypted Neural Network Inference through Unified MVM and ConvolutionPeng Yuan, Yan Liu, Jianxin Lai, Long Li 等OOPSLA 2025 · 2 次引用
- FHENDI: A Near-DRAM Accelerator for Compiler-Generated Fully Homomorphic Encryption ApplicationsYongmo Park, Aporva Amarnath, Subhankar Pal, Karthik Swaminathan 等HPCA 2025 · 7 次引用
- A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas 等PLDI 2024 · 23 次引用
