arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.16692cs.DC
收藏

面向数据流的GPU加速同态加密分类与性能分析

Dataflow-Oriented Classification and Performance Analysis of GPU-Accelerated Homomorphic Encryption

The University of Tokyo(东京大学);Tsukuba University(筑波大学)

Ai Nozaki, Takuya Kojima, Hideki Takase, Hiroshi Nakamura

AI总结:

本文研究了GPU加速CKKS方案中数据流对内存开销的影响,通过分类优化方法分析不同参数配置下的性能差异,发现最佳策略随参数变化而变化,性能差异可达1.98倍。

摘要:

完全同态加密(FHE)允许在加密数据上进行安全计算,但其计算成本仍是实际部署的主要障碍。为缓解这一开销,许多研究探索了GPU加速CKKS方案,该方案广泛用于近似算术。在CKKS中,参数配置通过平衡乘法深度、安全需求和性能进行调整。这些参数显著影响密文大小,从而决定内存占用如何适应GPU内存层次。然而,先前研究通常统一应用其提出的优化方法,而未考虑CKKS参数配置的差异。本文证明,CKKS的最佳GPU优化策略取决于参数配置。我们首先通过影响内存开销的两个数据流方面对先前优化进行分类,然后进行定性和定量性能分析。分析显示,即使在同一GPU架构上,最佳策略也随CKKS参数变化,策略间性能差异可达1.98倍,且不同GPU架构选择适当策略的标准不同。

英文摘要:

Fully Homomorphic Encryption (FHE) enables secure computation over encrypted data, but its computational cost remains a major obstacle to practical deployment. To mitigate this overhead, many studies have explored GPU acceleration for the CKKS scheme, which is widely used for approximate arithmetic. In CKKS, CKKS parameters are configured for each workload by balancing multiplicative depth, security requirements, and performance. These parameters significantly affect ciphertext size, thereby determining how the memory footprint fits within the GPU memory hierarchy. Nevertheless, prior studies typically apply their proposed optimization methods uniformly, without considering differences in CKKS parameter configurations. In this work, we demonstrate that the optimal GPU optimization strategy for CKKS depends on the CKKS parameter configuration. We first classify prior optimizations by two aspects of dataflows which affect memory footprint and then conduct both qualitative and quantitative performance analyses. Our analysis shows that even on the same GPU architecture, the optimal strategy varies with CKKS parameters with performance differences of up to 1.98 $\times$ between strategies, and that the criteria for selecting an appropriate strategy differ across GPU architectures.

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

↑