WHET: Welding Homomorphic Encryption to Accelerator Architectures
summary
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.
In short
WHET introduces memory-centric optimizations for Fully Homomorphic Encryption (FHE) to improve performance on accelerators. It achieves significant speedups by reducing working sets through fine-grained coefficient transformations, plaintext compression, and intermediate modulus raising. This allows for practical applications like private CNN inference with lower latency.
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 used across episodes
This episode discusses
- WHET: Welding Homomorphic Encryption to Accelerator Architectures · Paper Radio
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
- Cerium: A Multi-GPU Framework for Terabyte-Scale Encrypted Inference · Paper Radio
- Scaling up FHE-based Privacy-Preserving ML: Higher Throughput, Longer Inputs for LLama-3-8B
- Very Deep Convolutional Networks for Large-Scale Image Recognition
The paper
WHET: Welding Homomorphic Encryption to Accelerator Architectures · Read on arXiv
Seoul National University
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.
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