Hydra: Scale-out FHE Accelerator Architecture for Secure Deep Learning on FPGA
Yinghao Yang, Xicheng Xu, Haibin Zhang, Jie Song, Xin Tang, Hang Lu, Xiaowei Li
摘要
Deep learning, including Convolutional Neural Network (CNN) and Large Language Model (LLM), under Fully Homomorphic Encryption (FHE) is very computationally intensive because of the burdensome computations like ciphertext convolution and matrix multiplication, non-linear layers, and bootstrapping. Existing FHE accelerators focus on the high throughput computational units, stacking parallelized clusters to maximize ciphertext inference performance. Nevertheless, this design philosophy cannot leverage the substantial parallelism at the application level and is not scalable for further performance enhancement by simply adding additional compute nodes to cope with the ever-increasing model sizes in the future. In this paper, we propose the high-performance FHE acceleration architecture in a “scale-out” manner for secure deep learning, termed as Hydra. It supports the multi-server scaling and arbitrary computational nodes theoretically, each handling a portion of the deep learning model governed by the central scheduling mechanism on the host server. Hydra exhibits excellent scalability and delivers outstanding performance across a range of compute resource sizes. We highlight the following results: (1) up to and speedup over the SOTA single card accelerator Poseidon and FAB; (2) outperforms 8-card FAB-2 by to for FHE-based CNNs and LLMs; (3) outperforms SOTA ASIC accelerators, CraterLake and SHARP, by and for LLM OPT-6.7B, and achieves comparable or superior energy efficiency under the same chip technology.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding 引用了 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 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- Fenc2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
- 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 引用了 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
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 Fast Private Set Intersection from Homomorphic Encryption
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 HEAX: An Architecture for Computing on Encrypted Data
引用它的顶会 Paper1
它引用的 Paper14
- Fast Private Set Intersection from Homomorphic EncryptionHao Chen, Kim Laine, Peter RindalCCS 2017 · 446 次引用
- 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 次引用
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar 等ISCA 2022 · 205 次引用
- BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung 等ISCA 2022 · 184 次引用
相关 Paper
- Poseidon: Practical Homomorphic Encryption AcceleratorYinghao Yang, Huaizhi Zhang, Shengyu Fan, Hang Lu 等HPCA 2023 · 109 次引用
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 次引用
- Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private InferenceBrandon Reagen, Wooseok Choi, Yeongil Ko, Vincent T. Lee 等HPCA 2021 · 147 次引用
- A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas 等PLDI 2024 · 23 次引用
- Hyena: Balancing Packing, Reuse, and Rotations for Encrypted InferenceSarabjeet Singh, Shreyas Singh, Sumanth Gudaparthi, Xiong Fan 等S&P 2024 · 7 次引用
