采用存内计算(CIM)架构实现的神经网络模型易受读出攻击与逆向工程的威胁。现有基于线性器件的加密方法通常电路复杂、可扩展性差且功耗高。本工作提出一种安全的CIM架构,利用铁电二极管(FeD)的本征非线性在器件层面直接实现加密。在FeD阵列中嵌入了无需晶体管的多层加密方案,包括基于XOR的输入–权重协同加密、不可克隆的输入混淆以及β敏感线性化。这些机制保证只有正确密钥才能获得准确的矩阵向量乘法(MVM)结果,而错误密钥则导致输出被掩蔽和畸变。在1.6 kb FeD交叉阵列上的实测表明,加密后推理精度从86.33%降至18.04%,而解密可无损恢复原精度。这种器件级方法可与其他非线性存储器兼容,为CIM提供可扩展且高能效的硬件安全解决方案。
Neural network models implemented with compute-in-memory (CIM) architectures are vulnerable to readout attacks and reverse engineering. Existing encryption methods based on linear devices typically involve complex circuits, poor scalability, and high-power consumption. In this work, we propose a secure CIM architecture leveraging the intrinsic nonlinearity of ferroelectric diodes (FeDs) to enable encryption directly at the device level. A transistor-free, multilayer encryption scheme is embedded within the FeD array, incorporating XOR-based input–weight co-encryption, unclonable input obfuscation, and β-sensitive linearization. These mechanisms ensure that only correct keys yield accurate matrix-vector multiplication (MVM), while incorrect keys lead to masked and distorted outputs. Physical measurements on a 1.6 kb FeD crosspoint array show that inference accuracy drops from 86.33% to 18.04% after encryption, while decryption successfully restores it without any loss. This device-level approach is compatible with other nonlinear memories, offering a scalable and energy-efficient hardware security solution for CIM.
| 指标 | 数值 | 说明 |
|---|---|---|
| 阵列规模 | 1.6 kb | 无晶体管FeD交叉点阵列,物理实测完成全网络推理 |
| 加密后推理精度 | 18.04% | 加密后片上推理精度由86.33%大幅跌落 |
| 解密后推理精度 | 86.33% | 使用正确密钥可无损恢复原始精度 |
| 单胞编程电平 | 16 levels (4-bit/cell) | 电压调制实现16个电导态并给出累积分布 |
| 输入–权重失配误差 | ~60.9% | XOR不匹配时输出被掩蔽,体现抗推理攻击能力 |
| β器件间偏差 | ~1% | 50个器件β值波动约1%,保证精确校准可行性;1%的β误差使CNN精度从99%降至67% |
加密后推理精度由86.33%降至18.04%,正确密钥可无损恢复86.33%
存内计算、模拟计算、模拟权重、铁电极化
AI加速器、硬件安全推理、边缘计算
打开交互版 · AI 解读 / 同类对比 / 完整指标在香农学术库中查看(需会员)