SCALABLE GPU BOOTSTRAPPING FOR FHEW/TFHE: EXECUTION DESIGN SPACE, FUSION, AND ADAPTIVE ROUTING
Guangbei Yi
Master of Science (MS), Washington State University
2026
Files and links (1)
pdf
guangbei_thesis
Embargoed Access, Embargo ends: 07/16/2028
Abstract
Bootstrapping Cryptography TFHE
Fully Homomorphic Encryption (FHE) allows computation directly on encrypted data, enabling privacy-preserving applications in finance, healthcare, and machine learning. The main runtime bottleneck in FHE is \emph{bootstrapping}---the periodic noise-reduction step that keeps encrypted computations correct. Among FHE schemes, FHEW and TFHE are bit-wise constructions that support fast bootstrapping with programmable lookup-table evaluation, making them attractive for Boolean and low-degree function evaluation on encrypted data. On GPUs, bootstrapping can be accelerated dramatically, but in current GPU implementations there is no single solution that dominates all settings of parameters and application scenarios: the choice of algorithm and how it is mapped onto GPU hardware depends on the encryption parameters and the number of ciphertexts processed at once.
This thesis studies three GPU kernel architectures for FHEW/TFHE bootstrapping---termed DD (digit decomposition), MR (modulus raising), and HY (hybrid 32-bit RNS)---and measures how each one performs across a range of security levels and workload sizes. The study is organized along three dimensions: \emph{arithmetic precision} (floating-point, 64-bit integer, or 32-bit integer), \emph{kernel scheduling} (how many algorithmic stages are fused into a single GPU kernel), and \emph{data movement} (whether intermediate results live in fast on-chip memory or slower off-chip memory). Each architecture occupies a different position in this design space, and none dominates everywhere.
The investigation also reveals that several standard GPU optimization techniques---such as replacing synchronization barriers with warp-shuffle communication, or overlapping multiple encryptions via concurrent streams---might not simultaneously optimize latency and throughput in all regimes. Their effectiveness depends on which hardware resource (arithmetic units, memory bandwidth, or kernel launch overhead) is actually the bottleneck in each setting.
Benchmarks on NVIDIA RTX~3090 and RTX~5060~Ti GPUs quantify where each architecture wins. MR achieves the lowest per-operation latency at small-to-medium parameters (2.1--3.9$\times$ faster than DD). DD achieves up to $18\times$ higher batch throughput at those same parameters. HY lowers latency by 21\% at large parameters ($N = 4096$), and a fully fused persistent variant of HY reaches the highest throughput (42.3 operations/s vs.\ 38.1 for DD) when both the parameter size and batch size are large. Based on these crossovers, the thesis derives a backend-selection rule that automatically routes each workload to the best-performing architecture, and deploys a simplified version of this rule in the open-source OpenFHE library with $O(1)$ selection overhead and no runtime profiling.
Metrics
1 Record Views
Details
Title
SCALABLE GPU BOOTSTRAPPING FOR FHEW/TFHE: EXECUTION DESIGN SPACE, FUSION, AND ADAPTIVE ROUTING
Creators
Guangbei Yi
Contributors
Feng-hao Liu (Advisor)
Xu Lin (Committee Member)
Venera Arnaoudova (Committee Member)
Awarding Institution
Washington State University
Academic Unit
Voiland College of Engineering and Architecture
Theses and Dissertations
Master of Science (MS), Washington State University