arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.07490eess.SP
收藏

评估二值与三值 CNN 工作负载在基于 RRAM 的存内计算加速器上的可扩展性

Evaluating the Scalability of Binary and Ternary CNN Workloads on RRAM-based Compute-in-Memory Accelerators

José Cubero-Cascante, Rebecca Pelke, Noah Flohr, Arunkumar Vaidyanathan, Rainer Leupers, Jan Moritz Joseph

AI总结:

本文构建考虑导线寄生、有限 ADC 分辨率与能耗的 RRAM CIM 仿真框架,对比二值和三值 CNN,揭示三值模型更鲁棒但能效降低 40%。

摘要:

卷积神经网络(CNN)不断增长的计算需求需要高能效的加速策略。基于阻变随机存取存储器(RRAM)的存内计算(CIM)架构通过减少数据移动并支持低功耗原位计算,提供了一种有前景的解决方案。然而,其效率受到外围电路高成本的限制,尤其是模数转换器(ADC)。人们通常采用大型交叉阵列和较低的 ADC 分辨率来缓解这一问题,但这可能损害准确率。本工作提出了新的仿真方法,用于建模阻性导线寄生参数和有限 ADC 分辨率对 RRAM 交叉阵列的影响。我们的寄生参数模型采用向量化算法计算交叉阵列输出电流,与 SPICE 相比误差低于 0.15%。此外,我们提出了一种可变步长 ADC 和校准方法,可显著降低 ADC 分辨率需求。这些精度模型与基于统计的能耗模型相集成。利用该框架,我们对二值和三值 CNN 进行了比较分析。实验结果表明,三值 CNN 对导线寄生参数和较低 ADC 分辨率表现出更强的韧性,但能效下降 40%。这些发现为优化面向高能效深度学习的基于 RRAM 的 CIM 加速器提供了有价值的见解。

英文摘要:

The increasing computational demand of Convolutional Neural Networks (CNNs) necessitates energy-efficient acceleration strategies. Compute-in-Memory (CIM) architectures based on Resistive Random Access Memory (RRAM) offer a promising solution by reducing data movement and enabling low-power in-situ computations. However, their efficiency is limited by the high cost of peripheral circuits, particularly Analog-to-Digital Converters (ADCs). Large crossbars and low ADC resolutions are often used to mitigate this, potentially compromising accuracy. This work introduces novel simulation methods to model the impact of resistive wire parasitics and limited ADC resolution on RRAM crossbars. Our parasitics model employs a vectorised algorithm to compute crossbar output currents with errors below 0.15% compared to SPICE. Additionally, we propose a variable step-size ADC and a calibration methodology that significantly reduces ADC resolution requirements. These accuracy models are integrated with a statistics-based energy model. Using our framework, we conduct a comparative analysis of binary and ternary CNNs. Experimental results demonstrate that the ternary CNNs exhibit greater resilience to wire parasitics and lower ADC resolution but suffer a 40% reduction in energy efficiency. These findings provide valuable insights for optimising RRAM-based CIM accelerators for energy-efficient deep learning.

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

↑