High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs

arXiv:2611.31335 · cs.CR, cs.DC · Submitted 2026-11-23 · Read on arXiv

Listen

Radio episode about this paper

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.

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

cs.CR, cs.DC

Submitted: 2026-11-23

Updated: 2026-11-23

Comments: 36 pages, no figures

Code: https://github.com/openfheorg/openfhe-development

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 93/100

The gist: Functional (programmable) bootstrapping extends Fully Homomorphic Encryption (FHE) by evaluating an arbitrary function while refreshing a ciphertext…

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

Summary

Functional (programmable) bootstrapping extends Fully Homomorphic Encryption (FHE) by evaluating an arbitrary function while refreshing a ciphertext, with CKKS identified as the most promising option due to its superior throughput and functionality compared to scalar CGGI/DM cryptosystems, which suffer from significant latency losses on CPUs. p. 0

Where the paper says it

Abell´an1 , and Yuriy Polyakov2 1University of Murcia 2Duality Technologies November 25, 2026 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.

The paper presents an optimized GPU implementation of CKKS functional bootstrapping that successfully closes this latency gap, supporting both discrete-CKKS (for small integers) and continuous-CKKS (for real numbers). p. 0
Where the paper says it

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.

The GPU implementation demonstrates substantial performance improvements. p. 9

Where the paper says it

We first recall the Paterson–Stockmeyer (PS) algorithm as implemented in OpenFHE v1. 1 [Ope26a], and then present the algorithmic improvements that reduce its number of relinearizations, rescalings, level adjustments, and rounding operations, and expose the parallelism that our GPU implementation (Section 5) exploits.

For discrete-CKKS functional bootstrapping over a ciphertext with 64 encrypted Boolean values, it achieves a latency of 2. p. 0
Where the paper says it

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. Our GPU implementation evaluates discrete-CKKS functional bootstrapping over a ciphertext with 64 encrypted Boolean values in 2.

30 ms on an RTX 4090, significantly outperforming the 2. p. 0
Where the paper says it

30 ms and with 16,384 encrypted Boolean values in 5. 24 ms on RTX 4090, a consumer-grade GPU, whereas the CGGI programmable bootstrapping of one encrypted bit on the same GPU takes 2.

16 ms latency reported for CGGI programmable bootstrapping of one encrypted bit on the same GPU. p. 0
Where the paper says it

30 ms and with 16,384 encrypted Boolean values in 5. 24 ms on RTX 4090, a consumer-grade GPU, whereas the CGGI programmable bootstrapping of one encrypted bit on the same GPU takes 2.

Furthermore, for continuous-CKKS functional bootstrapping on an RTX PRO 6000, the implementation is reported to be 3.5x to 7.4x faster than the best prior GPU implementation on the same GPU, while simultaneously supporting four to eight times more values. A key benchmark shows that continuous-CKKS functional bootstrapping of the identity function takes 4. p. 0
Where the paper says it

4x faster than the best prior GPU implementation on the same GPU, while bootstrapping four to eight times as many values. Our continuous-CKKS functional bootstrapping of the identity function, which corresponds to regular CKKS bootstrapping, takes 4.

82 ms for 16,384 slots on an RTX PRO 6000, marking the first reported bootstrapping latency below 5 ms for a CKKS ciphertext with this many slots.

The work achieves these low latencies through a combination of algorithmic, architectural, and implementation optimizations. These key results include: providing the first GPU implementation of discrete-CKKS functional bootstrapping for plaintext moduli larger than two, which reduces latency by more than two orders of magnitude compared to state-of-the-art CPU results. p. 1

Where the paper says it

Our key results are compared with the state-of-the-art GPU results in Tables 1 and 2. First, we provide the first GPU implementation of discrete-CKKS functional bootstrapping for plaintext moduli larger than two (Table 1), which reduces the latency by more than two orders of magnitude compared to the state-of-the-art CPU results [Ope26b]; in the Boolean case, a fully packed ciphertext is bootstrapped in 5.

The paper reports a 3. p. 4
Where the paper says it

HEonGPU [OS24] is an open-source GPU library for BFV, CKKS, and TFHE that supports several ¨ variants of CKKS bootstrapping, including a bit bootstrapping for binary plaintexts. On RTX 4090, it reports a latency of 50.

5x to 7.4x lower latency for GPU-based continuous-CKKS functional bootstrapping compared to prior work, while enabling the bootstrapping of four to eight times more values (Table 2). p. 1
Where the paper says it

4x lower latency of ¨ GPU-based continuous-CKKS functional bootstrapping compared to [OLG+26], while bootstrapping four to eight times as many values (Table 2). Third, our work is the first to achieve a latency of less than 5 ms for regular CKKS bootstrapping (the identity function): 4.

It also achieves a latency of less than 5 ms for regular CKKS bootstrapping (the identity function) at 4. p. 1
Where the paper says it

4x lower latency of ¨ GPU-based continuous-CKKS functional bootstrapping compared to [OLG+26], while bootstrapping four to eight times as many values (Table 2). Third, our work is the first to achieve a latency of less than 5 ms for regular CKKS bootstrapping (the identity function): 4.

82 ms for 16,384 slots on an RTX PRO 6000, compared to 8. p. 0
Where the paper says it

Our continuous-CKKS functional bootstrapping of the identity function, which corresponds to regular CKKS bootstrapping, takes 4. 82 ms for 16,384 slots on RTX PRO 6000, the first reported bootstrapping latency below 5 ms for a CKKS ciphertext with this many slots.

2 ms for prior work with only 4096 slots [OLG+26]. p. 1
Where the paper says it

82 ms for 16,384 slots, compared to 8. 2 ms for 4096 slots in [OLG+26].

The latency of discrete-CKKS functional bootstrapping is shown to be lower than or comparable to state-of-the-art CGGI implementation for a small number of slots (e. p. 1
Where the paper says it

2 ms for 4096 slots in [OLG+26]. Fourth, the latency of our discrete-CKKS functional bootstrapping is lower than or comparable to that of the state-of-the-art CGGI implementation for a small number of slots (e.

g., 7.41 ms for 64 six-bit values vs. p. 1
Where the paper says it

Fourth, the latency of our discrete-CKKS functional bootstrapping is lower than or comparable to that of the state-of-the-art CGGI implementation for a small number of slots (e. 41 ms for 64 six-bit values vs.

18.67 ms for one value on RTX PRO 6000) and achieves three to four orders of magnitude higher throughput for fully packed ciphertexts (Table 1). p. 1
Where the paper says it

41 ms for 64 six-bit values vs. 67 ms for one value on RTX PRO 6000) and only moderately higher (by at most a factor of about four) for fully packed ciphertexts, where the throughput of our CKKS implementation is three to four orders of magnitude higher (Table 1).

The optimizations detailed include designing a highly efficient Paterson–Stockmeyer (PS) core routine, utilizing weighted sums with target levels and scales, strategic placement of rescalings and relinearizations, batched evaluation of leaves, saving a level at modulus raising in OpenFHE settings via OverModRaise, and implementing fused key switching and rescaling. The GPU implementation leverages FIDESlib 2. p. 5

Where the paper says it

Section 4 describes the algorithmic optimizations that reduce the multiplicative depth and the computational cost of bootstrapping. Section 5 describes the design of our GPU implementation in FIDESlib.

2.0 to capture the entire bootstrapping procedure as a CUDA graph for latency reduction through upload hoisting and dependency pruning, resulting in a 2. p. 3
Where the paper says it

Second, we implemented the switch-back and partial sum of our OverModRaise variant with two fused kernels around a single modulus reduction. Third, we captured the whole bootstrapping procedure as a CUDA graph with a static memory pool and pruned dependencies, which reduces the latency by up to 2.

3x reduction in latency for 1-bit discrete functional bootstrapping at N = 215 on RTX 4090 (from 16. p. 0
Where the paper says it

24 ms on RTX 4090, a consumer-grade GPU, whereas the CGGI programmable bootstrapping of one encrypted bit on the same GPU takes 2. For 6-bit lookup tables, our discrete-CKKS functional bootstrapping takes 31.

5 ms to 7.2 ms). The paper concludes that CKKS functional bootstrapping, when optimized with these techniques on GPUs, is now competitive with CGGI programmable bootstrapping in both throughput and latency, extending functionality to real numbers and achieving higher throughput for fully packed ciphertexts. p. 1
Where the paper says it

In the case of CKKS, two variants of functional bootstrapping are further differentiated: discrete [BKSS24, AKP25, AKPZ26], which operates on small integers just like DM/CGGI, and continuous [BFS+26], which operates on real numbers, similar to regular CKKS. On CPU, discrete-CKKS functional bootstrapping was shown to outperform CGGI/DM functional bootstrapping in terms of throughput by two to three orders of magnitude, but its latency is still two to three orders of magnitude higher [AKP25].

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Functional bootstrapping on GPUs can achieve competitive latency with CGGI programmable bootstrapping, even for small plaintext sizes and low-latency continuous settings, supporting evaluation of functions over real numbers.

  2. The implementation supports evaluating discrete-CKKS functional bootstrapping over a ciphertext with 64 encrypted Boolean values in 2.30 ms on an RTX 4090, which is 9.7x lower than the latency of the bit bootstrapping in HEonGPU [OS24].

  3. Continuous-CKKS functional bootstrapping can achieve a latency of less than 5 ms for regular CKKS bootstrapping (the identity function), specifically taking 4.82 ms for 16,384 slots on RTX PRO 6000.

  4. The system can evaluate trigonometric interpolation using the Paterson–Stockmeyer algorithm with algorithmic improvements that reduce the number of relinearizations and rescalings compared to previous implementations, resulting in a reduction of rescalings from 46 to 15 for degree-119 polynomials on the power basis.

  5. GPU optimizations allow for batched evaluation of leaves, turning memory-bound passes over the baby-step basis into one pass, which removes corresponding kernel launches and reduces latency by up to 2.3x in graph replay mode on RTX 4090 for 1-bit discrete functional bootstrapping at N = 215.

  6. Sparse plaintext compression can reduce the memory footprint of linear transformations by a factor of up to 32 to 1024 for fully packed ciphertexts, resulting in a total footprint drop from over 3 GB to about 1 GB on RTX 4090.

  7. The system supports Hybrid Ternary (HT) and Sparse Encapsulated (SE) secret-key configurations, allowing for parameter selection based on the specific hardware and plaintext size to optimize for latency while maintaining high security levels.

  8. For continuous-CKKS functional bootstrapping, the system can achieve 28.5 bits of precision with 24 levels remaining at a ring dimension of 217, which is superior to previous results in terms of both throughput and precision.

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.

Sources

Related papers