High Throughput Meets Low Latency: CKKS Functional Bootstrapping on GPUs
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 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. 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.Where the paper says it
Where the paper says it
The GPU implementation demonstrates substantial performance improvements. p. 9 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. 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 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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. 0Where the paper says it
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 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. 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. 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. 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. 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. 82 ms for 16,384 slots, compared to 8. 2 ms for
4096 slots in [OLG+26]. 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. 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. 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).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. 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. 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].Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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
-
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.
-
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].
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
- Faster arithmetic for number-theoretic transforms
- TUTTI: Parallel CKKS Bootstrapping in under 3 ms on CPU
- WHET: Welding Homomorphic Encryption to Accelerator Architectures
- FPGA Acceleration of Fully Homomorphic Encryption with Adaptive Key Switching
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management