Trinity: A General Purpose FHE Accelerator
Xianglong Deng, Shengyu Fan, Zhicheng Hu, Zhuoyu Tian, Zihao Yang, Jiangrui Yu, Dingyuan Cao, Dan Meng, Rui Hou, Meng Li, Qian Lou, Mingzhe Zhang
摘要
Fully Homomorphic Encryption (FHE) is crucial for privacy-preserving computing, which allows direct computation on encrypted data. While various FHE schemes have been proposed, none of them efficiently support both arithmetic FHE and logic FHE simultaneously. To address this issue, researchers explore the combination of different FHE schemes within a single application and propose algorithms for the conversion between them. Unfortunately, all prior ASIC-based FHE accelerators are designed to support a single FHE scheme, and none of them supports the acceleration for FHE scheme conversion. This necessitates FHE acceleration systems to integrate multiple accelerators for different schemes, leading to increased system complexity and hindering performance enhancement. In this paper, we present the first multi-modal FHE accelerator based on a unified architecture, which efficiently supports CKKS, TFHE, and their conversion scheme within a single accelerator. To achieve this goal, we first analyze the theoretical foundations of the aforementioned schemes and highlight their composition from a finite number of arithmetic kernels. Then, we investigate the challenges for efficiently supporting these kernels within a unified architecture, which include 1) concurrent support for NTT and FFT, 2) maintaining high hardware utilization across various polynomial lengths, and 3) ensuring consistent performance across diverse arithmetic kernels. To tackle these challenges, we propose a novel FHE accelerator named Trinity, which in-corporates algorithm optimizations, hardware component reuse, and dynamic workload scheduling to enhance the acceleration of CKKS, TFHE, and their conversion scheme. By adaptive select the proper allocation of components for NTT and MAC, Trinity maintains high utilization across NTTs with various polynomial lengths and imbalanced arithmetic workloads. The experiment results show that, for the pure CKKS and TFHE workloads, the performance of our Trinity outperforms the state-of-the- art accelerator for CKKS (SHARP) and TFHE (Morphling) by 1.49 x and 4.23 x, respectively. Moreover, Trinity achieves 919.3 x performance improvement for the FHE-conversion scheme over the CPU-based implementation. Notably, despite the performance improvement, the hardware overhead of Trinity is only 85 % of the summed circuit areas of SHARP and Morphling.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
- zkVC: Fast Zero-Knowledge Proof for Private and Verifiable Computing 引用了 CipherPrune: Efficient and Scalable Private Transformer Inference
- 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 引用了 Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
- ABC-FHE: A Resource-Efficient Accelerator Enabling Bootstrappable Parameters for Client-Side Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption 引用了 Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
- CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
引用它的顶会 Paper6
- zkVC: Fast Zero-Knowledge Proof for Private and Verifiable ComputingYancheng Zhang, Mengxin Zheng, Xun Chen, Jingtong Hu 等DAC 2025 · 3 次引用
- 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 次引用
- CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption AcceleratorsXinhua Chen, Jiangbin Dong, Hongren Zheng, Tian Tang 等HPCA 2026 · 1 次引用
- CipherPrune: Efficient and Scalable Private Transformer InferenceYancheng Zhang, Jiaqi Xue, Mengxin Zheng, Mimi Xie 等ICLR 2025
- He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic EncryptionShangyi Shi, Husheng Han, Zhaoxuan Kan, Yinghao Yang 等ISCA 2026
它引用的 Paper16
- F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
- 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 次引用
- Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel ConvolutionsEunsang Lee, Joon-Woo Lee, Junghyun Lee, Young-Sik Kim 等ICML 2022 · 171 次引用
- ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key ReuseJongmin Kim, Gwangho Lee, Sangpyo Kim, Gina Sohn 等MICRO 2022 · 160 次引用
相关 Paper
- UniFHE: Faster Accelerator for FHE with Diverse Algebraic Structure and Balanced Memory SystemQingyun Niu, Lutan Zhao, Ming Cai, Kai Li 等HPCA 2026
- Morphling: A Throughput-Maximized TFHE-based Accelerator using Transform-domain ReusePrasetiyo, Adiwena Putra, Joo-Young KimHPCA 2024 · 22 次引用
- HEAP: A Fully Homomorphic Encryption Accelerator with Parallelized BootstrappingRashmi S. Agrawal, Anantha P. Chandrakasan, Ajay JoshiISCA 2024 · 39 次引用
- Neo: Towards Efficient Fully Homomorphic Encryption Acceleration using Tensor CoreDian Jiao, Xianglong Deng, Zhiwei Wang, Shengyu Fan 等ISCA 2025 · 18 次引用
- CHAM: A Customized Homomorphic Encryption Accelerator for Fast Matrix-Vector ProductXuanle Ren, Zhaohui Chen, Zhen Gu, Yanheng Lu 等DAC 2023 · 11 次引用
