FAB: An FPGA-based Accelerator for Bootstrappable Fully Homomorphic Encryption
Rashmi Agrawal, Leo de Castro, Guowei Yang, Chiraag Juvekar, Rabia Tugce Yazicigil, Anantha P. Chandrakasan, Vinod Vaikuntanathan, Ajay Joshi
摘要
Fully Homomorphic Encryption (FHE) offers protection to private data on third-party cloud servers by allowing computations on the data in encrypted form. However, to support general-purpose encrypted computations, all existing FHE schemes require an expensive operation known as "bootstrapping". Unfortunately, the computation cost and the memory bandwidth required for bootstrapping add significant overhead to FHE-based computations, limiting the practical use of FHE.
In this work, we propose FAB, an FPGA-based accelerator for bootstrappable FHE. Prior FPGA-based FHE accelerators have proposed hardware acceleration of basic FHE primitives for impractical parameter sets without support for bootstrapping. FAB, for the first time ever, accelerates bootstrapping (along with basic FHE primitives) on an FPGA for a secure and practical parameter set. Prior hardware implementations of FHE that included bootstrapping are heavily memory bound, leading to large execution times and wasted compute resources. The key contribution of our work is to architect a balanced FAB design, which is not memory bound. To this end, we leverage recent algorithms for bootstrapping while being cognizant of the compute and memory constraints of our FPGA. To architect a balanced FAB design, we use a minimal number of functional units for computing, operate at a low frequency, leverage high data rates to and from main memory, utilize the limited on-chip memory effectively, and perform operation scheduling carefully.
We evaluate FAB using a single Xilinx Alveo U280 FPGA and by scaling it to a multi-FPGA system consisting of eight such FPGAs. For bootstrapping a fully-packed ciphertext, while operating at 300 MHz, FAB outperforms existing stateof-the-art CPU and GPU implementations by 213× and 1.5× respectively. Our target FHE application is training a logistic regression model over encrypted data. For logistic regression model training scaled to 8 FPGAs on the cloud, FAB outperforms a CPU and GPU by 456× and 6.5×, and provides competitive performance when compared to the stateof-the-art ASIC design at a fraction of the cost.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic Encryption 引用了 Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
- FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 HEAX: An Architecture for Computing on Encrypted Data
- Trinity: A General Purpose FHE Accelerator 引用了 FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic Encryption
- Trinity: A General Purpose FHE Accelerator 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- Trinity: A General Purpose FHE Accelerator 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- Trinity: A General Purpose FHE Accelerator 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic Encryption 引用了 Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
- MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
引用它的顶会 Paper19
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key ReuseJongmin Kim, Gwangho Lee, Sangpyo Kim, Gina Sohn 等MICRO 2022 · 160 次引用
- GME: GPU-based Microarchitectural Extensions to Accelerate Homomorphic EncryptionKaustubh Shivdikar, Yuhui Bao, Rashmi Agrawal, Michael Tian Shen 等MICRO 2023 · 46 次引用
- Trinity: A General Purpose FHE AcceleratorXianglong Deng, Shengyu Fan, Zhicheng Hu, Zhuoyu Tian 等MICRO 2024 · 34 次引用
- MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic EncryptionRashmi Agrawal, Leo de Castro, Chiraag Juvekar, Anantha P. Chandrakasan 等MICRO 2023 · 32 次引用
- FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic EncryptionMichiel Van Beirendonck, Jan-Pieter D'Anvers, Furkan Turan, Ingrid VerbauwhedeCCS 2023 · 28 次引用
它引用的 Paper4
- F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
- HEAX: An Architecture for Computing on Encrypted DataM. Sadegh Riazi, Kim Laine, Blake Pelton, Wei DaiASPLOS 2020 · 244 次引用
- BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung 等ISCA 2022 · 184 次引用
- Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse KeysJean-Philippe Bossuat, Christian Mouchet, Juan Ramón Troncoso-Pastoriza, Jean-Pierre HubauxEUROCRYPT 2021 · 179 次引用
相关 Paper
- HEAP: A Fully Homomorphic Encryption Accelerator with Parallelized BootstrappingRashmi S. Agrawal, Anantha P. Chandrakasan, Ajay JoshiISCA 2024 · 39 次引用
- Maverick: Rethinking TFHE Bootstrapping on GPUs via Algorithm-Hardware Co-DesignZhiwei Wang, Haoqi He, Lutan Zhao, Qingyun Niu 等ASPLOS 2026
- Strix: An End-to-End Streaming Architecture with Two-Level Ciphertext Batching for Fully Homomorphic Encryption with Programmable BootstrappingAdiwena Putra, Prasetiyo, Yi Chen, John Kim 等MICRO 2023 · 27 次引用
- ABC-FHE: A Resource-Efficient Accelerator Enabling Bootstrappable Parameters for Client-Side Fully Homomorphic EncryptionSungwoong Yune, Hyojeong Lee, Adiwena Putra, Hyunjun Cho 等DAC 2025 · 2 次引用
- Falcon: Algorithm-Hardware Co-Design for Efficient Fully Homomorphic Encryption AcceleratorLiang Kong, Xianglong Deng, Guang Fan, Shengyu Fan 等ASPLOS 2026
