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.98xの性能差が生じることを示しています。

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.

研究の動機と目的

  • CKKSパラメータ配置がCKKS加速のメモリフットプリントとGPU性能に与える影響を動機づけ、定量化する。
  • CKKSの既存GPU最適化戦略を二軸データフロー分類に整理する。
  • 異なるCKKSパラメータとGPUアーキテクチャが最適な最適化戦略に与える影響を評価する。
  • GPU上のCKKS加速におけるパラメータ認識およびアーキテクチャ認識の洞察を提供する。

提案手法

  • CKKS最適化戦略を二軸(数値桁の並列性:DigitSerial vs DigitParallel)と出力粒度:OutputBulk vs OutputChunked)で分類する。
  • 四つのデータフロー戦略を定義:DSOB、DPOB、DSOC、DPOC、そしてこれらを既存研究に対応づける。
  • CKKSパラメータをキャッシュ挙動とスロットルに関連づけるメモリフットプリント分析を定性的に用いる。
  • GCoM GPUパフォーマンスモデルを適用し、メモリフットプリントの変化を全体の実行スロール(stalls)に結びつける。
  • CKKSパラメータグリッド(N、L、dnum)と複数のGPU(RTX 6000 Ada、RTX 4090、A100、RTX 2080 Ti)を横断した定量実験を実施し、四つの戦略を比較する。
  • スロール成分(ComData、MemData、ComStruct、MemStruct、NoC、DRAM)とカーネル起動オーバヘッドを分析する。

実験結果

リサーチクエスチョン

  • RQ1CKKSパラメータ設定によって最適なGPU最適化戦略は変化するか。
  • RQ2異なるデータフロー戦略に対してCKKSパラメータ(N、L、dnum)はメモリフットプリントとキャッシュ挙動にどう影響するか。
  • RQ3GPUアーキテクチャは最適なCKKSパラメータ認識戦略の有効性を変えるか。
  • RQ4パラメータ設定とGPU間で、戦略間の性能差はどの程度になるか。
  • RQ5CKKSをGPU上でパラメータ認識・アーキテクチャ認識で最適化するための指針を導出できるか。

主な発見

  • 最適な最適化戦略はCKKSパラメータによって変化し、同じGPU上で戦略間の性能差は最大1.98xになる。
  • CKKSパラメータはメモリフットプリントとキャッシュ挙動に大きく影響し、どの戦略が最適かを左右する。
  • 異なるGPUでは最適戦略の選択基準が異なり、L2キャッシュ容量に対するフットプリントが戦略選択を導く要因となる。
  • A100およびRTX 2080 Tiでは多くのCKKSパラメータ設定でDPOBが最適な実行時間をもたらす傾向があり、DSOCはカーネル起動オーバヘッドが大きいため全体的に不利である。
  • より大きなCKKSパラメータセットではDPOBが最悪の選択になることもあり、アーキテクチャとパラメータの組み合わせによってDPOCまたはDSOCが望ましい場合がある。
  • 本研究はCKKSパラメータ認識およびGPUアーキテクチャ認識の最適化を提唱し、追加の性能向上を実現する。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。