[论文解读] On-Chip Learning with Memristor-Based Neural Networks: Assessing Accuracy and Efficiency Under Device Variations, Conductance Errors, and Input Noise
本文提出了一种基于忆阻器的存内计算加速器,用于片上训练与推理,采用基于银的M-SDC忆阻器的现实SPICE模型,通道材料分别为钨、铬和碳。结果表明,适度噪声(<15%)的训练可增强鲁棒性,在器件参数变化和输入噪声下最高可实现97%的准确率,其中铬基器件的训练时间达到2.4秒,能量消耗为18.9mJ,且可容忍10%的电导误差。
This paper presents a memristor-based compute-in-memory hardware accelerator for on-chip training and inference, focusing on its accuracy and efficiency against device variations, conductance errors, and input noise. Utilizing realistic SPICE models of commercially available silver-based metal self-directed channel (M-SDC) memristors, the study incorporates inherent device non-idealities into the circuit simulations. The hardware, consisting of 30 memristors and 4 neurons, utilizes three different M-SDC structures with tungsten, chromium, and carbon media to perform binary image classification tasks. An on-chip training algorithm precisely tunes memristor conductance to achieve target weights. Results show that incorporating moderate noise (<15%) during training enhances robustness to device variations and noisy input data, achieving up to 97% accuracy despite conductance variations and input noises. The network tolerates a 10% conductance error without significant accuracy loss. Notably, omitting the initial memristor reset pulse during training considerably reduces training time and energy consumption. The hardware designed with chromium-based memristors exhibits superior performance, achieving a training time of 2.4 seconds and an energy consumption of 18.9 mJ. This research provides insights for developing robust and energy-efficient memristor-based neural networks for on-chip learning in edge applications.
研究动机与目标
- 设计一种基于忆阻器存内计算架构的硬件加速器,用于片上训练与推理。
- 评估器件非理想性(如电导变化、电导误差和输入噪声)对神经网络准确率与效率的影响。
- 研究片上训练算法如何缓解真实忆阻器器件中硬件缺陷的影响。
- 通过消除初始忆阻器复位脉冲,优化训练时间与能量消耗。
- 比较不同忆阻器通道材料(钨、铬、碳)在准确率、速度与能效方面的性能表现。
提出的方法
- 本研究采用商用银基金属自导向通道(M-SDC)忆阻器的真实SPICE模型,模拟器件级非理想特性。
- 基于三种M-SDC结构(钨、铬、碳介质)构建了包含30个忆阻器和4个神经元的硬件原型,用于二值图像分类任务。
- 提出一种片上训练算法,通过动态调节忆阻器电导以实现目标突触权重,支持对硬件参数变化的现场自适应。
- 在训练过程中引入适度噪声(<15%),以提升对器件参数变化和输入噪声的鲁棒性。
- 通过省略初始忆阻器复位脉冲,优化训练过程,显著降低训练时间和能量消耗。
- 从准确率、训练时间、能量消耗以及对电导误差和输入噪声的容忍度等方面评估性能。
实验结果
研究问题
- RQ1在训练过程中引入适度输入噪声,如何影响基于忆阻器的神经网络对器件参数变化和噪声输入的鲁棒性?
- RQ2忆阻器器件中的电导变化与误差在多大程度上会降低片上训练神经网络的准确率?
- RQ3省略初始忆阻器复位脉冲对片上学习系统中训练时间和能效有何影响?
- RQ4不同忆阻器通道材料(钨、铬、碳)在训练速度、能效和准确率方面有何差异?
- RQ5通过电导调节的片上训练能否在真实忆阻器器件存在硬件非理想性的情况下实现高准确率?
主要发现
- 采用适度噪声(<15%)训练可显著提升鲁棒性,使网络在器件参数变化和输入噪声下最高实现97%的准确率。
- 网络可容忍高达10%的电导误差而不会出现显著准确率下降,展现出对硬件缺陷的强大抗性。
- 省略初始忆阻器复位脉冲可降低训练时间与能量消耗,其中铬基忆阻器实现2.4秒的训练时间与18.9mJ的能量消耗。
- 铬基忆阻器在速度与能效方面均优于钨和碳基器件,是片上学习应用的最优选择。
- 硬件加速器成功实现了高准确率的片上训练与推理,验证了基于忆阻器系统在边缘AI工作负载中的可行性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。