USENIX Security2025Top-tier venue
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
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation cites 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 cites PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted Data cites 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 cites PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic Encryption
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted Data cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
Cited by top-tier papers2
- ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE EvaluationJiangrui Yu, Baosheng Zhang, Liang Kong, Lin Ding et al.CCS 2026
- SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted DataKevin Nam, Youyeon Joo, Seungjin Ha, Yunheung PaekUSENIX Security 2025
Builds on12
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
- Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta et al.USENIX Security 2016 · 594 citations
- Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel ConvolutionsEunsang Lee, Joon-Woo Lee, Junghyun Lee, Young-Sik Kim et al.ICML 2022 · 171 citations
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic EncryptionWen-jie Lu, Zhicong Huang, Cheng Hong, Yiping Ma et al.S&P 2021 · 139 citations
- AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network InferenceQian Lou, Song Bian, Lei JiangNeurIPS 2020 · 41 citations
Related papers
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 citations
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 citations
- MetaKernel: Enabling Efficient Encrypted Neural Network Inference through Unified MVM and ConvolutionPeng Yuan, Yan Liu, Jianxin Lai, Long Li et al.OOPSLA 2025 · 2 citations
- FHENDI: A Near-DRAM Accelerator for Compiler-Generated Fully Homomorphic Encryption ApplicationsYongmo Park, Aporva Amarnath, Subhankar Pal, Karthik Swaminathan et al.HPCA 2025 · 7 citations
- A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas et al.PLDI 2024 · 23 citations
