Over 100x faster bootstrapping in fully homomorphic encryption through memory-centric optimization with gpus

Wonkyung Jung, Sangpyo Kim, Jung Ho Ahn, Jung Hee Cheon, Younho Lee

Research output: Contribution to journalArticlepeer-review

134 Scopus citations

Abstract

Fully Homomorphic encryption (FHE) has been gaining in popularity as an emerging means of enabling an unlimited number of operations in an encrypted message without decryption. A major drawback of FHE is its high computational cost. Specifically, a bootstrapping step that refreshes the noise accumulated through consequent FHE operations on the ciphertext can even take minutes of time. This significantly limits the practical use of FHE in numerous real applications. By exploiting the massive parallelism available in FHE, we demonstrate the first instance of the implementation of a GPU for bootstrapping CKKS, one of the most promising FHE schemes supporting the arithmetic of approximate numbers. Through analyzing CKKS operations, we discover that the major performance bottleneck is their high main-memory bandwidth requirement, which is exacerbated by leveraging existing optimizations targeted to reduce the required computation. These observa-tions motivate us to utilize memory-centric optimizations such as kernel fusion and reordering primary functions extensively. Our GPU implementation shows a 7.02× speedup for a single CKKS multiplication compared to the state-of-the-art GPU implementation and an amortized bootstrapping time of 0.423us per bit, which corresponds to a speedup of 257× over a single-threaded CPU implementation. By applying this to logistic regression model training, we achieved a 40.0× speedup compared to the previous 8-thread CPU implementation with the same data.

Original languageEnglish
Pages (from-to)114-148
Number of pages35
JournalIACR Transactions on Cryptographic Hardware and Embedded Systems
Volume2021
Issue number4
DOIs
StatePublished - 11 Aug 2021

Keywords

  • Bootstrapping
  • Fully homomorphic encryption
  • GPU
  • Kernel fusion
  • Logistic regression

Fingerprint

Dive into the research topics of 'Over 100x faster bootstrapping in fully homomorphic encryption through memory-centric optimization with gpus'. Together they form a unique fingerprint.

Cite this