arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.02206cs.CRcs.AI
收藏

EIM-TRNG:利用RowHammer通过内存编码真随机数发生器混淆深度神经网络权重

EIM-TRNG: Obfuscating Deep Neural Network Weights with Encoding-in-Memory True Random Number Generator via RowHammer

Department of Electrical and Computer Engineering, New Jersey Institute of Technology, Newark, NJ, USA(电气与计算机工程系,新泽西理工学院,新泽西州诺威克);Department of Computer Science, State University of New York at Binghamton, NY, USA(计算机科学系,纽约州立大学布法罗分校)

Ranyang Zhou, Abeer Matar A. Almalky, Gamana Aragonda, Sabbir Ahmed, Filip Roth Trønnes-Christensen, Adnan Siraj Rakin, Shaahin Angizi

AI总结:

本文首次提出EIM-TRNG,利用RowHammer引起的DRAM位翻转作为熵源,通过固定与不可预测位翻转组合编码保护DNN权重,实现低成本硬件级模型安全。

摘要:

真随机数发生器(TRNG)在硬件安全、密码系统和数据保护中发挥着基础性作用。在深度神经网络(DNN)的背景下,保护模型参数(尤其是权重)对于确保人工智能系统的完整性、隐私性和知识产权至关重要。虽然基于软件的伪随机数发生器被广泛使用,但它们缺乏基于硬件的TRNG所提供的不预测性和鲁棒性。在这项工作中,我们首次提出了一种新颖且鲁棒的内存编码TRNG,称为EIM-TRNG,它利用DRAM单元行为中固有的物理随机性,特别是在RowHammer引起的干扰下。我们展示了如何将通过精心控制的RowHammer操作产生的不可预测的位翻转用作可靠的熵源。此外,我们应用该TRNG框架,通过固定位翻转和不可预测位翻转的组合进行编码来保护DNN权重数据。加密后的数据随后使用从概率性翻转行为中导出的密钥进行解密,从而确保数据的机密性和模型的真实性。我们的结果验证了基于DRAM的熵提取在鲁棒、低成本硬件安全方面的有效性,并为在硬件层面保护机器学习模型提供了一个有前景的方向。

英文摘要:

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 weight data by encoding via a combination of fixed and unpredictable bit-flips. The encrypted data is later decrypted using a key derived from the probabilistic flip behavior, ensuring both data confidentiality and model authenticity. Our results validate the effectiveness of DRAM-based entropy extraction for robust, low-cost hardware security and offer a promising direction for protecting machine learning models at the hardware level.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑