Abstract
Fully Homomorphic encryption (FHE) enables high-level security but with a heavy computation workload, necessitating software-hardware co-design for aggressive acceleration. Recent works on specialized accelerators for HE evaluation have made significant progress in supporting lightweight RNS-CKKS applications, especially those with high-density in-memory computing techniques. To fulfill higher computational demands for more general applications, this paper proposes MCHEAS, an accelerating system comprising multiple in-situ HE processing accelerators, each functioning as a cluster to perform large-parameter RNS-CKKS evaluation collaboratively. MCHEAS features optimization strategies including the synchronous, preemptive swap, square-diagonal, and odd-even index separation. Using these strategies to compile the computation and transmission of number theoretic transform (NTT) coefficients, the method optimizes the inter-cluster data swaps, a major bottleneck in NTT computations. Evaluations show that under 1 GHz, with different inter-cluster data transfer bandwidths, our approach accelerates NTT computations by 26.40% to 51.75%. MCHEAS also improves computing unit utilization by 10.30% to 33.97%, with a maximum peak utilization rate of up to 99.62%. MCHEAS achieves 17.63% to 34.67% speedups for HE operations involving NTT, and 15.12% to 30.62% speedups for demonstrated applications, while enhancing the computing units’ utilization by 5.18% to 21.87% during application execution. Furthermore, we compare MCHEAS with SOTA designs under a specific inter-cluster data transfer bandwidth, achieving up to 81.45× their area efficiencies in applications.
Funding Information
  • National Key Research and Development Program of China (2023YFB3106200)
  • National Natural Science Foundation of China (62202028, 62172025, U2241213)
  • Huawei Technologies Company
  • Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing