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

TL;DR
Trinity is a versatile FHE accelerator that efficiently supports multiple schemes like CKKS and TFHE within a unified architecture, achieving significant performance gains with minimal hardware overhead.
Contribution
We introduce Trinity, the first multi-modal FHE accelerator that unifies support for CKKS, TFHE, and their conversion, optimizing hardware utilization and performance.
Findings
Outperforms state-of-the-art accelerators by 1.49x for CKKS and 4.23x for TFHE.
Achieves 919.3x performance improvement over CPU-based implementations.
Maintains high hardware utilization with only 85% of the combined circuit area overhead.
Abstract
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 incorporates algorithm optimizations, hardware component reuse, and dynamic workload scheduling to enhance the acceleration of CKKS, TFHE,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParticle accelerators and beam dynamics
