WHET: Welding Homomorphic Encryption to Accelerator Architectures

arXiv:2606.11541 · cs.CR · Submitted 2026-06-10 · 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: "WHET: Welding Homomorphic Encryption to Accelerator Architectures".

Title and authors: Priya: Before we dive into the technical bits, let's talk about the title and who wrote this, because it sets the stage for what they are actually trying to achieve.

Nadia: This paper is titled "WHET: Welding Homomorphic Encryption to Accelerator Architectures," and you see that implies a direct link between cryptography and hardware design.

Elias: It does sound like a technical term, but the idea behind it is about making sure the way we write the encryption math matches the way these new FHE accelerators are physically structured.

Priya: When you read this, it suggests they aren't just doing a small tweak to an algorithm; they are changing how you build the whole system from scratch to make it work with that hardware.

Elias: They start by saying that lower levels of computation are already pretty good regarding working set constraints, but techniques like the baby step giant step and CtS matrix decomposition usually don't take this hardware reality into account.

Nadia: So WHET steps in to fix that by introducing fine-grained CtS, which breaks the structure into many smaller levels and avoids using the baby step giant step algorithm altogether.

Priya: That change is interesting because usually, you use baby step giant step to reduce the computational work, so avoiding it means they are focusing on controlling the working set size instead of just raw computation time.

Elias: And by decomposing CtS this way, they create only a small number of temporary ciphertexts, each one up to twenty-four MiB in size.

Nadia: That reduction in the number of temporary ciphertexts is key because it directly cuts down on the total working set size for the computation.

Priya: So if you have many small pieces instead of one huge piece, it makes sense that you can manage what's loaded into memory much more easily.

Elias: Then they find a repetitive structure in those CtS plaintexts and use that pattern to compress them by up to eight thousand one hundred ninety-two times.

Nadia: eight thousand one hundred ninety-two times compression is a huge reduction in the raw data size that needs to be moved around in memory during the computation.

Priya: That sounds like it drastically reduces the off-chip memory traffic for those plaintexts, which is a big win for performance.

Elias: And they pair that with intermediate modulus raising, which helps manage how much level consumption you need from that fine-grained CtS decomposition while also shrinking the size of the plaintexts that aren't easily compressible through other means.

Nadia: So to put it simply, WHET is about structural changes to the math—breaking it down, compressing it, and using intermediate modulus steps to manage complexity.

Priya: And on top of those structural changes, they also added two architectural modifications for better resource utilization on the chip itself.

Elias: They added a special-purpose buffer that stores frequently accessed results from key multiplication operations to lessen the memory bandwidth limitations there.

The paper's summary: Nadia: Now we look closer at what those structural changes actually mean for the computation, because I want to understand the mechanism behind those speedups.

Elias: They focus on three main things that form the core of WHET: first, fine-grained CtS, second, plaintext compression, and third, intermediate modulus raising.

Priya: Fine-grained CtS decomposition is important because it avoids using the baby step giant step algorithm in a way that usually helps reduce computational complexity.

Nadia: Instead of relying on the baby step giant step, this decomposition creates only a small number of temporary ciphertexts each one up to twenty-four MiB each, which significantly reduces the overall working set size <ref:2606.11541#pg2>.

Elias: That reduction in working set size is what allows the computation to run more efficiently within the on-chip memory limits.

Priya: Then they discovered a repetitive structure within those CtS plaintexts and used that pattern to compress them by up to eight thousand one hundred ninety-two times.

Nadia: Exploiting that structure means they can compress the plaintexts by up to eight thousand one hundred ninety-two times, which brings the total off-chip memory traffic for those plaintexts down to just twenty-three point five mebibytes <ref:2606.11541#pg2>.

Elias: That massive compression is what makes a big difference in reducing how much data has to travel between the processor and the external memory.

Priya: And intermediate modulus raising complements this by helping to reduce the level consumption of that fine-grained CtS decomposition while also shrinking the size of those plaintexts that aren't compressible through other means.

Nadia: So, in short, they are managing complexity by breaking down the structure, compressing the data itself, and then using intermediate modulus steps to manage how much level you consume.

Elias: And beyond those structural changes, they introduced two lightweight architectural modifications for better resource utilization on the chip itself.

Priya: That sounds like a targeted fix for data movement bottlenecks during critical steps in the computation, especially when you're dealing with key multiplications where things get tricky.

The paper's improvements: Nadia: So let's talk about what these architectural tweaks actually do for the hardware performance.

Elias: First, they added a special-purpose buffer that stores frequently accessed intermediate results from key multiplication operations to lessen the memory bandwidth limitations on those operations.

Priya: That sounds like a targeted fix for data movement bottlenecks during critical steps in the computation, especially when you’re dealing with key multiplications.

Nadia: Second, they introduced instruction extensions for the functional unit that handles element-wise operations to alleviate stalls caused by data dependencies between those steps.

Elias: These architectural tweaks result in speedups like one point zero eight to one point three two times for the other three workloads when applied to a SHARP8 plus system <ref:2606.11541#pg2>.

Priya: So the results show that WHET achieves significant performance gains, including two point one four to four point three five times speedups for sorting and ResNet twenty over this baseline <ref:2606.11541#pg2>.

Nadia: That latency reduction for CNN inference is quite something, bringing those times down into the thirty-three millisecond range for certain models.

Elias: It means we can start running more complex applications on devices that were previously struggling just because of memory bandwidth limitations.

Conclusion: Priya: So to wrap up, what does this all mean for the real world? What's the final word on "WHET: Welding Homomorphic Encryption to Accelerator Architectures"?

Nadia: Essentially, WHET achieves speedups between one point three two and two point seven two times over their controlled baseline system, and it enables practical private CNN inference with latencies between thirty-three point one milliseconds and two hundred thirty-nine milliseconds on representative models.

Elias: That latency range is what makes this relevant for things like real-time video processing or even interactive applications where you can’t wait for hours of computation.

Priya: That means we are narrowing the gap between what we can do with encrypted data and what we do without any encryption at all, which is a really important practical outcome.

Nadia: The main implication is that we are moving towards systems where FHE isn't just a theoretical tool for ultra-sensitive tasks, but something that can actually run on current or near-future hardware with usable performance.

Elias: The paper did show limitations, and they pointed out that scaling WHET requires increasing computational throughput and memory bandwidth together because doubling each value only results in only one point two zero times for the geometric mean performance improvement <ref:2606.11541#pg2>.

Priya: That's a fair caveat. It means this design is well-balanced right now, but if you want to push it further, you have to scale the hardware resources in tandem with the software optimizations.

Nadia: That’s a fair point. It means this design is balanced right now, but pushing it further requires a more holistic hardware approach where both sides are improved together.

Elias: So in the end, "WHET: Welding Homomorphic Encryption to Accelerator Architectures" demonstrates how memory-centric optimizations can successfully align cryptographic requirements with the physical constraints of accelerator architectures for deployment.

Priya: It’s a big step toward making this technology practical for everyday use, not just theoretical security proofs.

Seoul National University

cs.CR

Submitted: 2026-06-10

Updated: 2026-11-23

Comments: Accepted at HPCA 2027

Code: https://github.com/Desilo/liberate-fhe

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 96/100

The gist: Fully homomorphic encryption (FHE) enables computations on encrypted data without decryption, offering strong data privacy at the expense of substantial computational and memory overheads.

Key concepts

Fine-grained CtS (fg-CtS)
This technique breaks down the ciphertext structure into many levels instead of one large one. By avoiding the use of BSGS, it drastically reduces the total number of temporary ciphertexts needed for computation, which minimizes the required on-chip memory working set.
Plaintext Compression
The paper exploits repetitive patterns in CtS plaintexts to compress them by up to 8,192 times. This allows the system to store only a small footprint of plaintext data, significantly reducing the amount of off-chip memory traffic and loading required during computation.
Intermediate ModRaise
This method reduces the level consumption of fg-CtS by using a separate intermediate modulus (Qintmd) for one level. This helps manage computational load on the main modulus (Qtop) and can potentially skip key switching operations during that specific step, improving efficiency.
Architectural Refinements
The design includes specialized hardware features like a KeyMult buffer for frequently used intermediate results and instruction extensions for element-wise operations. These enhancements specifically target on-chip memory bandwidth limitations and data dependency stalls in the accelerator's functional units.

Terminology

Summary

Fully homomorphic encryption (FHE) enables computations on encrypted data without decryption, offering strong data privacy at the expense of substantial computational and memory overheads. p. 0 This work presents WHET, which introduces memory-centric, architecture-aware optimizations to better align cryptographic and algorithmic constructions with FHE accelerator architectures. p. 0

Pruning redundant reasoning tokens

The paper addresses the isolation of cryptographic and algorithmic enhancements in FHE performance improvements by proposing WHET, which introduces memory-centric, architecture-aware optimizations to better align cryptographic and algorithmic constructions with FHE accelerator architectures. The authors identify conventional FHE constructions as major sources of excessive working sets and heavy off-chip memory traffic. p. 0 They propose accelerator-specific techniques, including fine-grained coefficientto-slot transformation, plaintext compression, and intermediate modulus raising, to reduce the on-chip data footprint by minimizing temporary ciphertexts and plaintext loads. p. 0 With these techniques applied, WHET achieves 1. p. 038–8.74× per-area performance improvements over state-of-the-art FHE accelerators and the first-ever sub-millisecond CKKS bootstrapping. p. 0

How the training signal is built

The core of WHET involves cryptographic and algorithmic techniques tailored for accelerator execution. First, they develop fine-grained CtS (fg-CtS), which decomposes CtS into many levels and avoids the use of BSGS. p. 1 This creates only a small number of temporary ciphertexts (up to 24MiB each) and thereby significantly reduces the working set. p. 1 Second, they discover a repetitive structure in CtS plaintexts, exploiting it to compress the plaintexts by up to 8,192× Finally, they introduce intermediate ModRaise, which complements these two techniques by reducing the level consumption of fg-CtS while shrinking the size of non-compressible CtS plaintexts through modulus reduction. p. 1

Where the gains come from

The analysis reveals that large working sets stemming from conventional cryptographic and algorithmic constructions limit effective utilization of accelerator hardware Specifically, CtS operates at the highest levels where data object sizes are largest Prior work has hinted at this issue, noting that the working set grows superlinearly with the level due to the increase in evk size. The authors show that conventional CtS configurations force architects to provision hundreds of MBs of on-chip memory, leading to a memory-dominated design. p. 2

Architectural refinements and evaluation

As part of WHET, they introduce two lightweight architectural modifications to improve on-chip resource utilization. First, they add a special-purpose buffer that stores frequently accessed intermediate results produced by evaluation key multiplication (KeyMult) to mitigate memory bandwidth limitations. p. 1 Second, they introduce instruction extensions for the functional unit responsible for element-wise operations to alleviate data dependency stalls. p. 1 They evaluate WHET on SHARP8+, achieving 2. p. 101× mean speedup and 2. p. 129× mean energy-delay-product improvement over the strong SHARP8+ baseline while using smaller on-chip memory capacity and chip area. p. 1

Conclusion

WHET achieves 1.32–2.72× speedups over our controlled baseline, SHARP8+, and enables practical private CNN inference with 33. p. 01–239ms latency on representative models. p. 1 Overall, WHET substantially narrows the gap between encrypted and unencrypted inference. p. 9

A Symbols

Table 6 summarizes the notations and symbols used in this paper Symb. Explanation R Q Polynomial ring Z Q [X]/(X N + 1) is a polynomial in R Q with its variable X specified. p. 1

Proof of Theorem 1

The proof of Theorem 1 demonstrates the correctness of plaintext compression by showing that for all 0 ≤ j < N − 2S, tQi[j + 2S] = tQi[j]. The proof relies on the polynomial identity u(X) = u(X4S+1) holding in R Q and the properties of the Number-theoretic transform. p. 2

Correctness of Intermediate ModRaise

The correctness of intermediate ModRaise is shown when the condition Qintmd ≥ 5ptxt · Bptxt · Qbot · N holds. This condition ensures that all the coefficients remain strictly within the modulus range, and the computation over Qintmd matches that over Qtop.

Evaluation

Table 5 demonstrates that WHET achieves significant improvements in performance compared to state-of-the-art FHE accelerators. Notably, they achieve the first-ever sub-millisecond CKKS bootstrapping (Leff = 9), which corresponds to a 1. p. 751× acceleration over the previous state-of-the-art (FAST [34]) WHET also achieves 2. p. 714–4.35× and 1.56–3.23× speedups for sorting and ResNet-20, respectively. p. 7

Sensitivity study

Fig. 7c shows that our optimizations deliver consistent improvements in FU utilization. p. 8 With our optimizations applied, utilization increases to 65. p. 83%, 48.4%, and 76.5% for the NTTU, BConvU, and EWE, respectively WHET maintains a well-balanced use of computational resources and memory bandwidth. p. 8

Alternative WHET hardware configurations

The results show that increasing any single component exhibits diminishing returns, indicating that the WHET design is well balanced Scaling WHET requires increasing computational throughput and memory bandwidth together Doubling each value results in only 1.20×, 1.16×, and 1.09× performance improvements in geometric mean WHET's current configuration shows 1.67×, 1.65×, and 1.

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. Fine-grained CtS (fg-CtS) allows for significantly reduces the working set by decomposing CtS into many levels and avoids the use of BSGS, which enables efficient accelerator execution. This reduction in working set frees on-chip memory for aggressive software data prefetching, which significantly decreases off-chip memory stalls in Boot.

  2. Plaintext compression reduces off-chip memory traffic by up to 8192 times by exploiting the structure of CtS/StC plaintexts, enabling up to an 8192× compression of CtS plaintexts, reducing the total off-chip memory traffic for plaintexts to just 23.5MiB.

  3. Intermediate ModRaise allows for reducing the level consumption of fgCtS by one by executing the first CtS level at a separate intermediate modulus Qintmd, and uses a subring secret to potentially skip key switching during that step. This mechanism ensures correctness while reducing computational load on the primary modulus Qtop.

  4. Architectural enhancements like a KeyMult buffer and extended instructions for element-wise operations are proposed to alleviate on-chip memory bandwidth and data dependency bottlenecks, resulting in 1.08–1.32× speedups for the other three workloads when applied to SHARP8+.

Sources

Related papers