HMC-FHE: A Heterogeneous Near Data Processing Framework for Homomorphic Encryption
Fully homomorphic encryption (FHE) offers a promising solution to ensure data privacy by enabling computations directly on encrypted data. However, its notorious performance degradation severely limits the practical application, due to the explosion of both the ciphertext volume and computation. In this article, leveraging the diversity of computing power and memory bandwidth requirements of FHE operations, we present HMC-FHE, a robust acceleration framework that combines both GPU and hybrid memory cube (HMC) processing engines to accelerate FHE applications cooperatively. HMC-FHE incorporates four key hardware/software co-design techniques: 1) a fine-grained kernel offloading mechanism to efficiently offload FHE operations to relevant processing engines; 2) a ciphertext partitioning scheme to minimize data transfer across decentralized HMC processing engines; 3) an FHE operation pipeline scheme to facilitate pipelined execution between GPU and HMC engines; and 4) a kernel tuning scheme to guarantee the parallelism of GPU and HMC engines. We demonstrate that the GPU-HMC architecture with proper resource management serves as a promising acceleration scheme for memory-intensive FHE operations. Compared with the state-of-the-art GPU-based acceleration scheme, the proposed framework achieves up to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$2.65\times $ </tex-math></inline-formula> performance gains and reduces <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$1.81\times $ </tex-math></inline-formula> energy consumption with the same peak computation capacity.
Authors
- Zhenfu Cao (ORCID: https://orcid.org/0000-0002-5250-5030)
- Zhaoyan Shen (ORCID: https://orcid.org/0000-0001-9526-6634)
- Lei Ju (ORCID: https://orcid.org/0000-0001-6186-5399)
- Zehao Chen
Institutions
- Peng Cheng Laboratory (CN)
- Wuhan National Laboratory for Optoelectronics (CN)
- Huazhong University of Science and Technology (CN)
- Shandong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2024-11-01
- DOI
- https://doi.org/10.1109/tcad.2024.3447212
- Citations
- 5
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 1.74
Funders
- Department of Science and Technology of Shandong Province
- National Natural Science Foundation of China
- Key Technology Research and Development Program of Shandong