arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13055cs.CRcs.PF
收藏

Cheddar:一个为GPU架构设计的Swift全同态加密库

Cheddar: A Swift Fully Homomorphic Encryption Library Designed for GPU Architectures

Wonseok Choi, Jongmin Kim, Jung Ho Ahn

AI总结:

本文提出面向GPU的高性能全同态加密库Cheddar,通过32位FHE执行、底层原语优化、操作序列调整与内核融合,在代表性工作负载上相比现有GPU实现实现2.18至4.45倍加速。

摘要:

全同态加密(FHE)通过在加密数据上实现安全计算,使云计算摆脱隐私担忧。然而,其巨大的计算和内存开销导致性能相比未加密处理显著下降。为了减轻这一开销,我们提出了Cheddar,一个面向GPU的高性能FHE库,相比以往的GPU实现取得了显著加速。我们系统地实现了32位FHE执行,充分利用GPU内部的32位整数数据通路。我们使用针对特定GPU架构定制的高效底层原语和算法来优化GPU内核。此外,我们通过调整常见的FHE操作序列并广泛应用内核融合来缓解内存带宽负担。与最先进的GPU实现相比,Cheddar在代表性FHE工作负载上实现了2.18至4.45倍的性能提升。

英文摘要:

Fully homomorphic encryption (FHE) frees cloud computing from privacy concerns by enabling secure computation on encrypted data. However, its substantial computational and memory overhead results in significantly slower performance compared to unencrypted processing. To mitigate this overhead, we present Cheddar, a high-performance FHE library for GPUs, achieving substantial speedups over previous GPU implementations. We systematically enable 32-bit FHE execution, leveraging the 32-bit integer datapath within GPUs. We optimize GPU kernels using efficient low-level primitives and algorithms tailored to specific GPU architectures. Further, we alleviate the memory bandwidth burden by adjusting common FHE operational sequences and extensively applying kernel fusion. Cheddar delivers performance improvements of 2.18--4.45$\times$ for representative FHE workloads compared to state-of-the-art GPU implementations.

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

↑