High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs
Carlos Agulló-Domingo, Carlo Pascoe, Óscar Vera-López, Andreea Alexandru, Ahmad Al Badawi, José L. Abellán, Yuriy Polyakov
Abstract
Functional (programmable) bootstrapping extends the bootstrapping operation of Fully Homomorphic Encryption (FHE) to evaluate an arbitrary function while refreshing a ciphertext. This capability was a unique feature of scalar CGGI/DM cryptosystems for many years until it was recently added to the toolset of vectorized FHE schemes, with CKKS being the most promising option both in terms of throughput (amortized time) and functionality. Previous work showed that CKKS functional bootstrapping outperforms CGGI/DM functional bootstrapping in terms of throughput by two to three orders of magnitude, but still loses in latency on CPU by two to three orders of magnitude. We present an optimized GPU implementation of CKKS functional bootstrapping that closes the latency gap. Our implementation supports evaluating functions over both small integers (as in CGGI/DM) and real numbers (unique to CKKS), which we call discrete-CKKS and continuous-CKKS functional bootstrapping, respectively.
Create a lesson
Metadata
- Categories
- cs.CR, cs.DC
- Comments
- 36 pages, no figures
Related papers
Packing Stern into L2: GPU-Accelerated Primal-Shortened ISD for High-Codimension Binary Goppa Key Recovery
Shared title terminologycs.CRRaullen Chai, Xinxin Fan
NPUFHE: An Efficient CKKS Execution System for Ascend NPUs
Shared title terminologycs.CRKe Changke, Jian Wang, Xuan Xu et al.
DuetFHE: Compiling Dual-Lane Nonlinear Circuits for Complex-Packed CKKS Inference
Shared title terminologycs.CRKe Changke, Jian Wang, Xuan Xu et al.
ChronoPatch: Black-Box Energy-Latency Attacks on Vision-Language Models
Shared title terminologycs.CRJiawei Xing, Li Wang, Xiangtao Meng et al.