arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.18371cs.ARcs.CR
收藏

FLASH-FHE:一种用于全同态加密加速的异构架构

FLASH-FHE: A Heterogeneous Architecture for Fully Homomorphic Encryption Acceleration

Junxue Zhang, Xiaodian Cheng, Gang Cao, Meng Dai, Yijun Sun, Han Tian, Dian Shen, Yong Wang, Kai Chen

AI总结:

针对真实全同态加密混合工作负载,提出首个异构架构加速器FLASH-FHE,设计可引导与快速两类集群及调度方案,在深层和浅层工作负载上均实现显著性能提升。

摘要:

尽管最近提出了许多硬件加速器来解决全同态加密(FHE)方案的低效问题,但由于其同构设计原则,面对由浅层和深层计算混合而成的真实FHE工作负载时,它们都无法提供最佳性能。本文提出了FLASH-FHE,这是首个针对混合工作负载采用异构架构的FHE加速器。其核心是,FLASH-FHE设计了两类计算集群,即可引导集群和快速集群,分别从密码学参数和硬件流水线方面针对深层和浅层工作负载进行优化。我们将一个可引导集群和两个快速集群组织成一个集群从属单元,并提出了一种调度方案,通过利用所有从属单元为深层FHE工作负载提供充足的加速,同时通过为每个从属单元分配一个浅层工作负载并动态将可引导集群分解为多个快速流水线来加速所分配的工作负载,从而提高浅层FHE工作负载的并行性。我们进一步表明,这两类集群可以共享宝贵的片上存储器,在不消耗大量资源的情况下提高性能。我们使用RTL实现了FLASH-FHE,并使用7nm和14/12nm技术节点对其进行综合,实验结果表明,对于深层工作负载,FLASH-FHE与最先进的FHE加速器CraterLake和F1相比,平均性能分别提升了1.4倍和11.2倍,同时由于其异构架构,对于浅层工作负载实现了高达8.0倍的加速。

英文摘要:

While many hardware accelerators have recently been proposed to address the inefficiency problem of fully homomorphic encryption (FHE) schemes, none of them is able to deliver optimal performance when facing real-world FHE workloads consisting of a mixture of shallow and deep computations, due primarily to their homogeneous design principle. This paper presents FLASH-FHE, the first FHE accelerator with a heterogeneous architecture for mixed workloads. At its heart, FLASH-FHE designs two types of computation clusters, ie, bootstrappable and swift, to optimize for deep and shallow workloads respectively in terms of cryptographic parameters and hardware pipelines. We organize one bootstrappable and two swift clusters into one cluster affiliation, and present a scheduling scheme that provides sufficient acceleration for deep FHE workloads by utilizing all the affiliations, while improving parallelism for shallow FHE workloads by assigning one shallow workload per affiliation and dynamically decomposing the bootstrappable cluster into multiple swift pipelines to accelerate the assigned workload. We further show that these two types of clusters can share valuable on-chip memory, improving performance without significant resource consumption. We implement FLASH-FHE with RTL and synthesize it using both 7nm and 14/12nm technology nodes, and our experiment results demonstrate that FLASH-FHE achieves an average performance improvement of $1.4\times$ and $11.2\times$ compared to state-of-the-art FHE accelerators CraterLake and F1 for deep workloads, while delivering up to $8.0\times$ speedup for shallow workloads due to its heterogeneous architecture.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑