Pacifo: An Efficient Fully Homomorphic Encryption-based Lightweight ResNet for Trustworthy Machine Learning as a Service
Yang Li, Gang He, Ruichen Zhang, Guangyuan Liu, Yinqiu Liu
Key points
From the paper's conclusion- Compared to state-of-the-art FHE implementations of ResNet20, Pacifo achieves a speedup of $3.7-21.7\times$ in runtime while effectively preserving $95\%-99\%$ of the original plaintext model accuracy across downstream tasks.
Abstract
Machine Learning as a Service (MLaaS) has become a popular paradigm for deploying AI applications. However, it raises significant privacy concerns that the raw client data needs to be uploaded to the server for inference services. Private inference using Fully Homomorphic Encryption (FHE) offers a solution by allowing computations directly on encrypted data, with only the final results decrypted on a client side. However, current practical implementations still suffer from large computational overhead and high latency due to the cost of FHE operations. In this paper, we propose Pacifo, a framework that adapts customized fine-tuning strategies to efficiently evaluate the ResNet20 model in the context of FHE. Specifically, Pacifo introduces a public-private layer partitioning scheme and an efficient ReLU approximation, significantly reducing the number of private layers and costly FHE operations during inference. It also offers flexible security configurations to accommodate varying client privacy requirements. Compared to state-of-the-art FHE implementations of ResNet20, Pacifo achieves a speedup of $3.7-21.7\times$ in runtime while effectively preserving $95\%-99\%$ of the original plaintext model accuracy across downstream tasks. Pacifo is open-sourced at https://github.com/BryceYangLi/Pacifo.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AutoPoly-HE: Autonomous Design of Polynomial Activations for Privacy-Preserving Encrypted InferencearXiv · 2026
- Perseus: A Full-Stack System for Homomorphic Model InferencearXiv · 2026
- An Open-Source End-to-End FHE Implementation for Privacy-Preserving Llama 3 8B InferencearXiv · 2026
- Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted DataarXiv · 2026
- Fiona: Accelerating FHE Inference with Packing-Aware Ternary WeightsarXiv · 2026
- PRICE: Privacy-Preserving Image Classification in Mobile Edge-Cloud Computing with Homomorphic EncryptionarXiv · 2026