arXiv:2609.04769cs.CRSep 2026

Manuscript Offprint

arXiv:2609.04769

Memory-Efficient Designs for Word-Wise Universal Fully Homomorphic Encryption

Ardhi Wiratama Baskara Yudha, Erwin Eko Wahyudi, Rian Adam Rajagede, Qian Lou, Yan Solihin

Ardhi Wiratama Baskara Yudha†^{\dagger}, Erwin Eko Wahyudi‡^{\ddagger}, Rian Adam Rajagede‡^{\ddagger}, Qian Lou‡^{\ddagger}, Yan Solihin‡^{\ddagger}

†^{\dagger}Advanced Micro Devices, Inc., USA

‡^{\ddagger}University of Central Florida, USA

Email: ardyudha@amd.com, {wahyudierwin, rian, qian.lou, yan.solihin}@ucf.edu

Abstract—Fully Homomorphic Encryption (FHE) enables computation on encrypted data, preserving privacy throughout analysis. While its privacy is very strong, FHE is much slower to execute than the original computation. In particular, due to the recent success in accelerating its compute, the performance bottleneck shifts to the memory, especially considering that FHE magnifies the data size by orders of magnitude, resulting in a low arithmetic intensity.

We propose BXT, an FHE optimization framework that mitigates the memory bottleneck through four techniques: (1) ciphertext compression, which regenerates ciphertext components from seeds during execution; (2) ciphertext serialization, which packs coefficients as bit arrays and unpacks them during L2-to-L1 transfer; (3) delayed seed generation, which defers PRNG-heavy offline work across aggregated operations; and (4) ciphertext digit pruning guided by fault-aware training tailored for Universal FHE. On CNN inference, the BXT-CSO50 configuration effectively achieves up to 3.8×3.8\times speedup over the 100x GPU baseline with less than 1% accuracy loss at 50% comparison precision.

Index Terms—Universal FHE, Ciphertext Compression, Ciphertext Serialization, Ciphertext Pruning

I. INTRODUCTION

Fully Homomorphic Encryption (FHE) [1] is a cryptographic technique that permits computation directly on encrypted data. It enables collaboration among non-trusting parties. A client keeps its data private by sending encrypted data to the server, the server computes on the encrypted data while keeping its own computation secret, and the client receives the computation result in encrypted form, which can only be decrypted by the client itself. Hence, FHE allows private machine learning as a service (MLaaS), making FHE a key primitive for privacy-preserving cloud computing [2]–[4].

FHE schemes differ in the native data and operations they support: word-wise schemes such as BGV [5] and CKKS [6] support integers or floating-point numbers and arithmetic operations, while bit-wise schemes such as TFHE [7] support logic operations. They are efficient for their native operations but inefficient for non-native ones; for example, word-wise schemes are inefficient for comparisons, while bit-wise schemes are inefficient for arithmetic. Recently, a BGV-based universal FHE (uFHE) scheme [8] enabled word-wise exact comparisons alongside arithmetic, making uFHE the state of the art for mixed operations with SIMD batching support, which TFHE lacks.

Regardless of the scheme, in general FHE incurs enormous ciphertext expansion rate (CER), i.e., the ciphertext is magnitudes larger than the original data. Hence, they typically show a low arithmetic intensity, i.e., few operations per byte accessed in memory (typically less than one [9]–[11]). Many techniques have been proposed to accelerate FHE computation, but their success has made the memory bottleneck (hence arithmetic intensity) even worse in relative terms.

Recognizing the arithmetic intensity problem, an option to consider is to increase the GPU memory capacity or bandwidth. However, while this may accommodate FHE better, it is a costly approach. Recently, some have proposed packing multiple messages into a single ciphertext to improve slot utilization [10], [11]. None of these approaches changes the underlying inefficiency of the FHE ciphertext representations. In contrast, we propose mechanisms that directly reduce the ciphertext expansion and improve the arithmetic intensity.

To this end, we propose BXT, a novel multi-level optimization framework that targets the memory bottlenecks of FHE on GPUs. BXT introduces four techniques with complementary benefits:

  • Ciphertext compression. BXT-C uses pseudo-random number generator (PRNG)-based ciphertext compression to regenerate ciphertext components from compact seeds during execution. BXT regenerates ciphertext matrices dynamically in the GPU memory hierarchy, reducing CER and memory traffic.

  • Ciphertext serialization. BXT-CS additionally serializes ciphertexts by packing coefficients as bit arrays and unpacking them during L2-to-L1 cache transfer. This layout improves cache efficiency and reduces memory bandwidth demand without redesigning arithmetic units.

  • Delayed seed generation. BXT-CSO further applies delayed seed generation by deferring PRNG-heavy offline work and aggregating it across multiple operations. This strategy reduces intermediate matrix loads and stores, thereby reducing memory accesses.

  • Ciphertext digit pruning with fault-aware training. For the uFHE scheme [8], we discover an application-level opportunity. We create BXT-CSO75, BXT-CSO50, and BXT-CSO25 variants for pruning low-significance digits in comparisons, guided by fault-aware training, to reduce comparison precision while maintaining accuracy.

This approach is tailored to digit-wise encrypted operations and provides tunable accuracy-performance trade-offs.

We model and evaluate BXT using Accel-Sim [12] and compare it against several state-of-the-art FHE systems on GPUs: 100x [10], TensorFHE [3], and GME [13]. BXT increases arithmetic intensity by 1.5×1.5\times and achieves up to 3.8×3.8\times speedup over the 100x baseline [10], with less than 1% accuracy loss at 50% comparison precision. When integrated with GME [13], BXT speeds it up by 2.3×2.3\times.

References (37)