Lune

HPCA2025Top-tier venue

EFFACT: A Highly Efficient Full-Stack FHE Acceleration Platform

Yi Huang, Xinsheng Gong, Xiangyu Kong, Dibei Chen, Jianfeng Zhu, Wenping Zhu, Liangwei Li, Mingyu Gao, Shaojun Wei, Aoyang Zhang, Leibo Liu

Abstract

Fully Homomorphic Encryption (FHE) is a set of powerful cryptographic schemes that allows computation to be performed directly on encrypted data with an unlimited depth. Despite FHE’s promising in privacy-preserving computing, yet in most FHE schemes, ciphertext generally blows up thousands of times compared to the original message, and the massive amount of data load from off-chip memory for bootstrapping and privacy-preserving machine learning applications (such as HELR, ResNet-20), both degrade the performance of FHE-based computation. Several hardware designs have been proposed to address this issue, however, most of them require enormous resources and power. An acceleration platform with easy programmability, high efficiency, and low overhead is a prerequisite for practical application. This paper proposes EFFACT, a highly efficient full-stack FHE acceleration platform with a compiler that provides comprehensive optimizations and vector-friendly hardware. We start by examining the computational overhead across different real-world benchmarks to highlight the potential benefits of reallocating computing resources for efficiency enhancement. Then we make a design space exploration to find an optimal SRAM size with high utilization and low cost. On the other hand, EFFACT features a novel optimization named streaming memory access which is proposed to enable high throughput with limited SRAMs. Regarding the software-side optimization, we also propose a circuit-level function unit reuse scheme, to substantially reduce the computing resources without performance degradation. Moreover, we design novel NTT and automorphism units that are suitable for a cost-sensitive and highly efficient architecture, leading to low area. For generality, EFFACT is also equipped with an ISA and a compiler backend that can support several FHE schemes like CKKS, BGV, and BFV. We provide both FPGA and ASIC versions of EFFACT. On account of our full stack design, FPGA-EFFACT outperforms the SOTA FPGA accelerators in gmean by 1.22×1.22 \times. Meanwhile, ASIC-EFFACT shows increased improvements in terms of the performance per chip area and the performance per Watt compared with the SOTA ASIC works.

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding cites BTS: an accelerator for bootstrappable fully homomorphic encryption
  • Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding cites CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding cites Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures
  • F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption cites HEAX: An Architecture for Computing on Encrypted Data
  • BTS: an accelerator for bootstrappable fully homomorphic encryption cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • BTS: an accelerator for bootstrappable fully homomorphic encryption cites HEAX: An Architecture for Computing on Encrypted Data
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data cites HEAX: An Architecture for Computing on Encrypted Data
  • Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures cites F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures cites BTS: an accelerator for bootstrappable fully homomorphic encryption
  • Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures cites HEAX: An Architecture for Computing on Encrypted Data
  • Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures cites CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU ArchitecturesWonseok Choi, Jongmin Kim, Jung Ho AhnASPLOS 2026 · 6 citations
  2. Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment EncodingRan Ran, Zhaoting Gong, Nuo Xu, Yuanchao Xu et al.ISCA 2026

Builds on22

  1. On-Device Training Under 256KB MemoryJi Lin, Ligeng Zhu, Wei-Ming Chen, Wei-Chen Wang et al.NeurIPS 2022 · 345 citations
  2. F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas et al.MICRO 2021 · 294 citations
  3. HEAX: An Architecture for Computing on Encrypted DataM. Sadegh Riazi, Kim Laine, Blake Pelton, Wei DaiASPLOS 2020 · 244 citations
  4. CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar et al.ISCA 2022 · 205 citations
  5. BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung et al.ISCA 2022 · 184 citations

Related papers

  1. MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic EncryptionRashmi Agrawal, Leo de Castro, Chiraag Juvekar, Anantha P. Chandrakasan et al.MICRO 2023 · 32 citations
  2. FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 citations
  3. BitPacker: Enabling High Arithmetic Efficiency in Fully Homomorphic Encryption AcceleratorsNikola Samardzic, Daniel SánchezASPLOS 2024 · 19 citations
  4. Poseidon: Practical Homomorphic Encryption AcceleratorYinghao Yang, Huaizhi Zhang, Shengyu Fan, Hang Lu et al.HPCA 2023 · 109 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines