BitPacker: Enabling High Arithmetic Efficiency in Fully Homomorphic Encryption Accelerators


연구 분야: Cryptography



학회: ASPLOS '24: Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2


초록

Fully Homomorphic Encryption (FHE) enables computing directly on encrypted data. Though FHE is slow on a CPU, recent hardware accelerators compensate most of FHE's overheads, enabling real-time performance in complex programs like deep neural networks. However, the state-of-the-art FHE scheme, CKKS, is inefficient on accelerators. CKKS represents encrypted data using integers of widely different sizes (typically 30 to 60 bits). This leaves many bits unused in registers and arithmetic datapaths. This overhead is minor in CPUs, but accelerators are dominated by multiplications, so poor utilization causes large area and energy overheads. We present BitPacker, a new implementation of CKKS that keeps encrypted data packed in fixed-size words, enabling near-full arithmetic efficiency in accelerators. BitPacker is the first redesign of an FHE scheme that targets accelerators. On a state-of-the-art accelerator, BitPacker improves performance by gmean 59% and by up to 3×, and reduces energy by gmean 59%. BitPacker does not reduce precision and can be applied to all prior accelerators without hardware changes.


Author Profile
Nikola Samardzic

MIT Cambridge Massachusetts United States of America

United States
Author Profile
Daniel Díaz Sánchez

MIT Cambridge Massachusetts United States of America

United States

📄 논문 정보

발행 연도 2024년
인용수 6
출판 국가 United States
사이트 ACM
좋아요 수 0

연관 논문 목록 (96건)