Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

Wonseok Choi, Jongmin Kim, Jung Ho Ahn• 2024

Related benchmarks

TaskDatasetResultRank
Homomorphic Encryption Kernel LatencyHE Kernels N=2^16
HE Add Latency (μs)48
38
Encrypted Image ClassificationCIFAR-10
Execution Time (ms)1.32e+3
13
FHE BootstrappingFHE Ciphertext
Execution Time (ms)40
13
Bootstrapping2^15 vector ciphertext
Boot Latency (ms)22.1
11
ResNet20 inferenceCIFAR-10 (test)
Latency (ms)720
8
Logistic regression model trainingMNIST
HELR (ms/it)25.9
7
Packed BootstrappingSet D
Latency (ms)31.6
7
BootstrappingCKKS
Bootstrapping Precision-18.57
4
Showing 8 of 8 rows

Other info

Follow for update