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

WHET: 将同态加密与加速器架构焊接

WHET: Welding Homomorphic Encryption to Accelerator Architectures

Seoul National University(首尔大学)

Jongmin Kim, Hyesung Ji, Wonseok Choi, Hyunah Yu, Jung Ho Ahn

AI总结:

针对FHE加速中密码学与硬件设计脱节的问题,提出内存中心、架构感知的优化方法,通过细粒度系数到槽变换、明文压缩和中间模数提升减少片上数据占用,并引入轻量级架构改进,实现1.38-8.74倍面积效率提升及亚毫秒级CKKS自举。

摘要:

全同态加密(FHE)允许在不解密的情况下对加密数据进行计算,以巨大的计算和内存开销为代价提供强大的数据隐私保护。先前的努力通过密码学和算法改进或硬件加速稳步提升了FHE性能,但这两个方向在很大程度上是独立发展的,阻碍了可用硬件能力的充分利用。本文提出WHET,引入以内存为中心、架构感知的优化,以更好地将密码学和算法构造与FHE加速器架构对齐。我们识别出传统的FHE构造是过大工作集和繁重片外内存流量的主要来源。我们提出了加速器专用技术,包括细粒度系数到槽变换、明文压缩和中间模数提升,通过最小化临时密文和明文负载来减少片上数据占用。应用这些技术后,我们观察到进一步提高片上内存效率的额外机会;因此,我们引入了轻量级架构改进,包括专用缓冲区和功能单元扩展。通过这些优化,WHET在面积效率上比最先进的FHE加速器实现了1.38-8.74倍的性能提升,并首次实现了亚毫秒级的CKKS自举。

英文摘要:

Fully homomorphic encryption (FHE) enables computations on encrypted data without decryption, offering strong data privacy at the expense of substantial computational and memory overheads. Prior efforts have steadily improved FHE performance through cryptographic and algorithmic enhancements or hardware acceleration, yet these two directions have progressed largely in isolation, hindering the full exploitation of available hardware capabilities. This work presents WHET, which introduces memory-centric, architecture-aware optimizations to better align cryptographic and algorithmic constructions with FHE accelerators. We first identify conventional FHE constructions as major sources of excessive working sets and heavy off-chip memory traffic. We propose accelerator-specific algorithmic techniques, including fine-grained coefficient-to-slot transformation, plaintext compression, and intermediate modulus raising, to reduce the on-chip data footprint by minimizing temporary ciphertexts and plaintext loads. With these techniques applied, we unveil additional opportunities to improve on-chip memory efficiency; we introduce lightweight architectural refinements, including a special-purpose buffer and functional unit extensions. With these optimizations, WHET achieves 1.38--8.74$\times$ per-area performance improvements over state-of-the-art FHE accelerators and the first-ever sub-millisecond CKKS bootstrapping.

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

↑