High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs
summary
The gist
Functional (programmable) bootstrapping extends Fully Homomorphic Encryption (FHE) by evaluating an arbitrary function while refreshing a ciphertext…
In short
This work optimizes Fully Homomorphic Encryption (FHE) functional bootstrapping using a GPU implementation of CKKS for real numbers. The optimization successfully closes the latency gap with CPU-based systems by achieving sub-5ms latencies for continuous-CKKS operations on high-end GPUs, making FHE more practical.
Key concepts
- Functional Bootstrapping
- This is a process within Fully Homomorphic Encryption that allows you to evaluate an arbitrary function on encrypted data. It refreshes the ciphertext to prevent noise from growing too large, enabling deeper computations without losing the underlying data.
- CKKS Scheme
- CKKS is a specific type of FHE scheme designed for performing computations on real numbers (floating-point values). It is chosen over other schemes because it offers superior throughput and functionality compared to simpler cryptosystems like scalar CGGI, which suffer from high latency on standard CPUs.
- GPU Optimization
- The paper uses Graphics Processing Units (GPUs) to accelerate the complex mathematical operations required for bootstrapping. By structuring the computation as a CUDA graph and employing techniques like upload hoisting and dependency pruning, it significantly reduces latency by efficiently managing parallel processing power.
Terminology used across episodes
This episode discusses
- High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs · Paper Radio
- Faster arithmetic for number-theoretic transforms
- TUTTI: Parallel CKKS Bootstrapping in under 3 ms on CPU · Paper Radio
- WHET: Welding Homomorphic Encryption to Accelerator Architectures · Paper Radio
- FPGA Acceleration of Fully Homomorphic Encryption with Adaptive Key Switching · Paper Radio
The paper
High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs · Read on arXiv
Carlos Agullá-Domingo, Carlo Pascoe, Oscar Vera-López – 1, Andreea Alexandru • 2, Ahmad Al Badawi • 2, Josພ L. Abellບn 粋1, Yuriy Polyakov は
University of Murcia · Duality Technologies
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.
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "High Throughput Meets Low Latency".
Title and authors: Nadia: So we’re looking at how these authors suggest making this system even better than what they just showed us. They didn't stop there with just one fast implementation on a GPU; they laid out a few ways to push the limits further.
Elias: Right, the paper points out that they can squeeze more performance out of the algorithm itself, not just relying on hardware speed alone.
Nadia: They talk about improving the core routines again, specifically designing this Paterson Stockmeyer core routine to reduce how many relinearizations and rescalings are needed for degree one hundred nineteen polynomials <ref:2611.31335#pg2>.
Elias: That’s a direct algorithmic win; cutting those down from forty-six to fifteen relinearizations is substantial when you're dealing with large polynomial degrees.
Nadia: And then they talk about batching the evaluation of leaves, which they found was really turning a memory-bound pass into just one pass in graph replay mode on an RTX four thousand ninety <ref:2611.31335#pg2>.
Elias: That batched evaluation is key because it cuts down on those kernel launches that cause latency spikes during the process.
Priya: They also mentioned saving a level at modulus raising in OpenFHE settings using something called OverModRaise, which is another architectural trick for saving time there.
Nadia: And they’re implementing fused key switching and rescaling too, which means combining those steps to do them all at once instead of one after the other.
Elias: That fused approach is good because it combines steps instead of sequential processing.
Priya: On the memory side, they introduced sparse plaintext compression that can reduce the memory footprint of linear transformations by a factor up to three hundred twenty to one thousand two hundred forty for fully packed ciphertexts <ref:2611.31335#pg2>.
Nadia: That’s huge for deployment because it drops the total memory needed from over three gigabytes down to about one gigabyte when you run it on an RTX four thousand ninety <ref:2611.31335#pg2>.
Elias: And they also noted that they can use hybrid ternary and sparse encapsulated secret key configurations so you can pick the right settings based on your specific hardware and plaintext size to optimize for latency while maintaining high security levels.
Priya: So these improvements show that the speed boost isn't just a fluke of one specific setup; they have several avenues to make this technology more robust and efficient across different hardware.
Nadia: It’s about making the system scalable and adaptable rather than just hitting a peak performance number on one machine.
Priya: I think the next thing we need to figure out is where these kinds of highly optimized systems are actually going to be used in practice.
The paper's summary: Nadia: So we’re wrapping up our look at "High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs." Basically, this paper shows that by using optimized GPU techniques, we can make functional bootstrapping on CKKS competitive with CPU systems for real numbers.
Elias: It really does show that the combination of algorithmic and architectural tweaks makes a huge difference in reducing latency and increasing throughput for these complex operations.
Nadia: The implication is that we’re moving closer to using Fully Homomorphic Encryption for real-world applications involving continuous mathematics, not just discrete integers.
Elias: That’s the big picture; it moves CKKS from being a tool mostly for small integer tasks to something capable of handling more complex data streams.
Priya: But I still have to ask what kind of data this actually proves we can trust once we get these fast results.
Nadia: Exactly, Priya, the numbers are impressive, but we need to keep asking about the privacy and measurement implications when we start applying this in real scenarios.
Elias: And from a cryptographic standpoint, I’m focused on those caveats; what parameters or settings might break these optimizations if you move beyond these specific benchmarks.
Priya: So while the performance numbers look great, the caution is always whether that speedup holds up when we introduce more noise or complex data structures.
Nadia: Well said, Priya; so this paper gives us a very strong starting point for what’s achievable with GPU acceleration in FHE bootstrapping.
Elias: It confirms that hardware-specific optimizations are really the key to unlocking this level of performance on CKKS.
Priya: I think the next thing we need to watch is how researchers move this from these lab results to actual privacy-preserving computations on large, messy datasets.
The paper's improvements: Elias: It really does show that the combination of algorithmic and architectural tweaks makes a huge difference in reducing latency and increasing throughput for those complex operations.
Elias: And from a cryptographic standpoint, I’m focused on those caveats; what parameters or settings might break these optimizations if you move beyond those specific benchmarks.
Priya: I think the next thing we need to watch is how researchers move this from these lab results to actual privacy-preserving computations on large, messy datasets.
Conclusion: Nadia: So we’ve looked at "High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs." This paper shows that by using optimized GPU techniques, we can make functional bootstrapping on CKKS competitive with CPU systems for real numbers.
Elias: Right, it really does show that the combination of algorithmic and architectural tweaks makes a huge difference in reducing latency and increasing throughput for those complex operations.
Nadia: The implication is that we’re moving closer to using Fully Homomorphic Encryption for real-world applications involving continuous mathematics, not just discrete integers.
Elias: That’s the big picture; it moves CKKS from being a tool mostly for small integer tasks to something capable of handling more complex data streams.
Priya: But I still have to ask what kind of data this actually proves we can trust once we get these fast results.
Nadia: Exactly, Priya, the numbers are impressive, but we need to keep asking about the privacy and measurement implications when we start applying this in real scenarios.
Elias: And from a cryptographic standpoint, I’m focused on those caveats; what parameters or settings might break these optimizations if you move beyond those specific benchmarks.
Priya: So while the performance numbers look great, the caution is always whether that speedup holds up when we introduce more noise or complex data structures.
Nadia: Well said, Priya; so this paper gives us a very strong starting point for what’s achievable with GPU acceleration in FHE bootstrapping.
Elias: It confirms that hardware-specific optimizations are really the key to unlocking this level of performance on CKKS.
Priya: I think the next thing we need to watch is how researchers move this from these lab results to actual privacy-preserving computations on large, messy datasets.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04