HE-PIM: Demystifying Homomorphic Operations on a Real-world Processing-in-Memory System
Harshita Gupta, Mayank Kabra, Jaewoo Park, Priyam Mehta, Phillip Widdowson, Tathagata Barik, Nisa Bostanc{\i}, Konstantinos Kanellopoulos, Juan G\'omez-Luna, Antonio J. Pe\~na, Mohammad Sadrosadati, Onur Mutlu

TL;DR
This paper characterizes homomorphic encryption operations on a real-world Processing-in-Memory system, identifying bottlenecks and demonstrating PIM's potential as an alternative to CPUs and GPUs for HE workloads.
Contribution
It provides a comprehensive implementation and evaluation of HE kernels on a real PIM system, highlighting hardware bottlenecks and future design implications.
Findings
HE applications have compute and memory bottlenecks due to ciphertext size and modular arithmetic.
Lack of native 64-bit modular multiplication is a key performance limiter.
PIM can outperform CPU and GPU for HE with hardware improvements.
Abstract
Homomorphic encryption (HE) enables computation over encrypted data, offering strong privacy guarantees for untrusted computing environments. Practical adoption remains limited by high computational complexity, large ciphertext sizes, and substantial data movement. Processor-centric architectures (CPUs, GPUs, ASICs) hit fundamental bottlenecks on HE workloads because ciphertexts are large, data locality is low, and primitives such as relinearization and bootstrapping repeatedly access large auxiliary metadata. Processing-In-Memory (PIM) is a promising mitigation by computing near or inside memory. Prior PIM proposals for HE either do not target real-world PIM systems or cover only a narrow set of operations. We comprehensively characterize HE operations on a real-world, general-purpose PIM system. We implement a complete set of HE kernels used by emerging applications (databases,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
