Hermes:一种基于混合数据流的统一高性能NTT架构
Hermes: A Unified High-Performance NTT Architecture with Hybrid Dataflow
AI总结:
Hermes是一种基于混合数据流的统一高性能NTT架构,通过并行性和高效数据流提升性能,支持多种NTT长度,比现有GPU和FPGA加速器性能提升显著。
摘要:
全同态加密(FHE)严重依赖于数论变换(NTT),使得NTT成为性能瓶颈,因为其需要密集的多项式计算。混合同态加密(HHE)结合了算术和逻辑FHE,进一步要求支持多种NTT长度。然而,现有的加速器主要优化NTT吞吐量,但并未提供对HHE的统一支持。本文提出了Hermes,一种基于混合数据流的统一高性能NTT架构。Hermes利用时间维度和空间维度上的并行性,并集成了一个完全流水线化的芯片内计算核心。引入了一种冲突-free的芯片内碎片化算法,以解决银行冲突并启用突发HBM访问,同时高效的的数据流通过数据重用提高计算强度,降低带宽需求。实验结果表明,Hermes支持多种NTT长度,并且在与最先进的GPU和FPGA加速器相比,分别实现了最高13.6倍和1.3倍的吞吐量。我们的源代码可在https://anonymous.4open.science/r/Hermes_conf-4E6F上获得。
英文摘要:
Fully Homomorphic Encryption (FHE) relies heavily on the Number Theoretic Transform (NTT), making NTT a major performance bottleneck due to its intensive polynomial computations. Hybrid Homomorphic Encryption (HHE), which integrates arithmetic and logic FHE, further requires support for multiple NTT lengths. However, existing accelerators mainly optimize NTT throughput and do not provide unified support for HHE. This paper presents Hermes, a unified high-performance NTT architecture based on hybrid dataflow. Hermes exploits parallelism along both temporal and spatial dimensions and incorporates a fully pipelined on-chip computing core. A conflict-free on-chip fragmentation algorithm is introduced to resolve bank conflicts and enable burst HBM access, while an efficient dataflow improves computational intensity through data reuse, reducing bandwidth demand. Experimental results show that Hermes supports multiple NTT lengths and achieves up to 13.6x and 1.3x higher throughput than state-of-the-art GPU and FPGA accelerators, respectively. Our source code is available at https://anonymous.4open.science/r/Hermes_conf-4E6F.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。