Published April 7, 2025 | Version v1
Conference paper Open

Offloading Key Switching on GPUs: A Path towards Seamless Acceleration of FHE

Description

Fully Homomorphic Encryption (FHE) enables secure computations on encrypted data, offering strong privacy guarantees for cloud computing, privacy-preserving machine learning, and confidential data processing. However, the computational overhead associated with FHE operations, due to the large size of ciphertext and the high arithmetic complexity, limits its practical applicability.
In this work, we address this challenge by presenting an approach that is implemented within the OpenFHE library in order to offload the most dominant components of key switching for the BGV scheme on GPU hardware. In particular, the scope of this work is the performance improvement of the Approximate Modulus Downscaling (ApproxModDown) function. Our experimental evaluation shows that the proposed system can yield up to a 4.58× performance speedup against the vanilla OpenFHE ApproxModDown implementation, while also resulting in 1.16× performance mprovement per homomorphic multiplication and 1.08× improvement for end-to-end execution time.

Files

Offloading_Key_Switching_on_GPUs_PREPRINT.pdf

Files (301.8 kB)

Name Size Download all
md5:8202b8856bcb5f41e4d03e5d8be80856
301.8 kB Preview Download

Additional details

Funding

European Commission
ENCRYPT - A SCALABLE AND PRACTICAL PRIVACY-PRESERVING FRAMEWORK 101070670
UK Research and Innovation
ENCRYPT 10039809