EIM-TRNG: Obfuscating Deep Neural Network Weights with Encoding-in-Memory True Random Number Generator via RowHammer
Ranyang Zhou, Abeer Matar A. Almalky, Gamana Aragonda, Sabbir Ahmed, Filip Roth Tr{\o}nnes-Christensen, Adnan Siraj Rakin, Shaahin Angizi

TL;DR
This paper introduces EIM-TRNG, a hardware security method that uses DRAM RowHammer-induced bit-flips as a true random number generator to protect deep neural network weights, enhancing model confidentiality and integrity.
Contribution
The paper presents a novel DRAM-based TRNG leveraging RowHammer effects for secure DNN weight encoding, a first in combining physical DRAM randomness with neural network protection.
Findings
DRAM RowHammer can generate reliable entropy for TRNGs.
Encoding neural network weights with physical randomness enhances security.
The proposed method effectively protects DNN models from tampering.
Abstract
True Random Number Generators (TRNGs) play a fundamental role in hardware security, cryptographic systems, and data protection. In the context of Deep NeuralNetworks (DNNs), safeguarding model parameters, particularly weights, is critical to ensure the integrity, privacy, and intel-lectual property of AI systems. While software-based pseudo-random number generators are widely used, they lack the unpredictability and resilience offered by hardware-based TRNGs. In this work, we propose a novel and robust Encoding-in-Memory TRNG called EIM-TRNG that leverages the inherent physical randomness in DRAM cell behavior, particularly under RowHammer-induced disturbances, for the first time. We demonstrate how the unpredictable bit-flips generated through carefully controlled RowHammer operations can be harnessed as a reliable entropy source. Furthermore, we apply this TRNG framework to secure DNN…
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.
