DRAM Processing-in-Memory for Fully Homomorphic Encryption
Comparing in-DRAM data-movement primitives — FIGARO, LISA + FIGARO and LISA + RowClone — for moving ciphertexts in homomorphic encryption workloads.
My contribution
I compared three in-DRAM data-movement methods, worked on memory-controller timing, scheduling and mapping in Ramulator 2.0, and ran real-chip primitive tests with DRAM Bender.
- Affiliation
- ETH Zürich · SAFARI Research Group
- Dates
- May – December 2025
- Role
- Research intern
- Collaborators
- Supervised by Prof. Onur Mutlu; with Ismail Emir Yuksel, Mayank Kabra and Ataberk
- Topics
- Processing-in-Memory, Computer Architecture
- Tools
- Ramulator 2.0, CipherMatch, DRAM Bender, C++
Contents
01
The problem
Fully homomorphic encryption (FHE) lets you compute on encrypted data, but its huge polynomial operands make it memory-bound. Moving ciphertexts out to the processor costs most of the latency and energy, so the question was how fast DRAM can move and condense ciphertext coefficients inside its own banks and subarrays.
02
My contribution
Supervised by Prof. Onur Mutlu, working with Ismail Emir Yuksel, Mayank Kabra and Ataberk. I compared three in-DRAM data-movement methods, worked with Ismail on memory-controller timing parameters and scheduling and mapping in Ramulator 2.0, and tested FIGARO-style bulk in-DRAM operations on real DRAM chips with DRAM Bender (C++ and Python).
03
Constraints
DRAM's physical structure sets the limits: which primitive can move data depends on whether it crosses subarrays or banks. Workloads were batches of 131,072 ciphertexts. Feasibility was shown in simulation (Ramulator 2.0, CipherMatch), plus real-chip tests.
04
Design decisions
I compared FIGARO alone, LISA plus FIGARO, and LISA plus RowClone, against processor-centric baselines. LISA plus RowClone won because it moves whole rows in bulk instead of copying piece by piece.
05
Evidence
Per batch of 131,072 ciphertexts: FIGARO alone took about 283 ms, LISA plus FIGARO about 20.9 ms, and LISA plus RowClone about 0.89 ms, a 318× speedup over FIGARO alone. That came to 6.06× lower latency than processor-centric baselines and a 41.5× cut in memory energy using RowClone-optimized polynomial shifts.
Each figure is a separate comparison under this study's conditions. Complete-workload results come from simulation in Ramulator 2.0 and CipherMatch; DRAM Bender tests exercised the primitives on real DRAM chips, not the full workload.
06
Current status
Simulation study, extended into Ramulator 2.0 and CipherMatch, with real-chip DRAM Bender tests. No publication listed.
07
What I would change next
I carried this into arithmetic hardware with the NTT butterfly (see Projects) and into my NCAL thesis direction.
References and context
Background material and tools. Not personal publications.
- SAFARI Research Group
- FIGARO (MICRO 2020)
- LISA (HPCA 2016)
- RowClone (MICRO 2013)
- Ramulator 2.0
- DRAM Bender
- CIPHERMATCH (arXiv 2503.08968) — Mayank Kabra's HE-in-memory work the project built on
Related work