Skip to main content
QUICK REVIEW

[论文解读] Dataflow-Oriented Classification and Performance Analysis of GPU-Accelerated Homomorphic Encryption

Ai Nozaki, Takuya Kojima|arXiv (Cornell University)|Mar 17, 2026
Cryptography and Data SecurityComputer Science被引用 0
一句话总结

该论文表明 CKKS 同态加密的最佳 GPU 优化策略取决于 CKKS 参数配置与 GPU 架构,在策略之间的性能差异可达 1.98 倍。

ABSTRACT

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 $ imes$ between strategies, and that the criteria for selecting an appropriate strategy differ across GPU architectures.

研究动机与目标

  • Motivate and quantify how CKKS parameter configurations impact memory footprint and GPU performance for CKKS acceleration.
  • Classify existing GPU optimization strategies for CKKS into a two-axis dataflow taxonomy.
  • Evaluate how different CKKS parameters and GPU architectures affect the optimal optimization strategy.
  • Provide insights toward parameter-aware and architecture-aware CKKS acceleration on GPUs.

提出的方法

  • Classify CKKS optimization strategies along two axes: digit-level parallelism (DigitSerial vs DigitParallel) and output granularity (OutputBulk vs OutputChunked).
  • Define four dataflow strategies: DSOB, DPOB, DSOC, DPOC, and map prior work to this taxonomy.
  • Use qualitative memory-footprint analysis to relate CKKS parameters to cache behavior and stalls.
  • Apply the GCoM GPU performance model to link memory-footprint changes to overall execution stalls.
  • Conduct quantitative experiments across CKKS parameter grids (N, L, dnum) and multiple GPUs (RTX 6000 Ada, RTX 4090, A100, RTX 2080 Ti) to compare the four strategies.
  • Analyze stall components (ComData, MemData, ComStruct, MemStruct, NoC, DRAM) and kernel-launch overhead.

实验结果

研究问题

  • RQ1Does the optimal GPU optimization strategy for CKKS vary with CKKS parameter configurations?
  • RQ2How do CKKS parameters (N, L, dnum) influence memory footprint and cache behavior for different dataflow strategies?
  • RQ3Do GPU architectures alter which CKKS-parameter-aware strategy is most effective?
  • RQ4What magnitude of performance difference can arise between strategies across parameter settings and GPUs?
  • RQ5Can we derive guidelines for parameter- and architecture-aware optimization of CKKS on GPUs?

主要发现

  • The optimal optimization strategy varies with CKKS parameters, with performance differences up to 1.98x between strategies on the same GPU.
  • CKKS parameters significantly affect memory footprint and cache behavior, influencing which strategy is best.
  • On different GPUs, the criteria for selecting the best strategy differ, and the footprint relative to L2 cache capacity guides strategy choice.
  • DPOB often yields the best execution time for many CKKS parameter settings on A100 and RTX 2080 Ti, while DSOC is generally less favorable due to higher kernel-launch overhead.
  • For larger CKKS parameter sets, DPOB can become the worst choice, while DPOC or DSOC may be preferable depending on architecture and parameter mix.
  • The study advocates CKKS-parameter-aware and GPU-architecture-aware optimization to unlock additional performance gains.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。