arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09010cs.LG
收藏

利用模拟存内计算电路中的非理想特性:一种面向神经形态系统的物理建模方法

Harnessing Nonidealities in Analog In-Memory Computing Circuits: A Physical Modeling Approach for Neuromorphic Systems

Research Center for Mathematical Engineering, Chiba Institute of Technology(千叶工业大学数学工程研究中心);International Research Center for Neurointelligence (WPI-IRCN), The University of Tokyo(东京大学国际神经智能研究中心(WPI-IRCN));Graduate School of Medicine, Kyoto University(京都大学医学研究科);Graduate School of Life Science and Systems Engineering, Kyushu Institute of Technology(九州工业大学生命科学与系统工程研究科);Department of Preventive Intervention for Psychiatric Disorders, National Institute of Mental Health, National Center of Neurology and Psychiatry(国立精神神经医疗研究中心精神保健研究所精神障碍预防干预部);NEC Corporation(日本电气股份有限公司)

Yusuke Sakemi, Yuji Okamoto, Takashi Morie, Sou Nobukawa, Takeo Hosomi, Kazuyuki Aihara

AI总结:

针对模拟存内计算的硬件非理想特性影响模型性能的问题,提出基于常微分方程的物理神经网络与可微分尖峰时间离散化技术,可利用非理想特性提升性能并大幅降低模型与电路的行为差异。

摘要:

大规模深度学习模型日益受到其极高能耗的制约,限制了模型的可扩展性以及在边缘智能场景的适用性。存内计算(IMC)通过解决传统深度学习加速器固有的冯·诺依曼瓶颈,为该问题提供了颇具前景的解决方案,可显著降低能耗。然而,IMC的模拟特性会引入硬件非理想效应,导致模型性能与可靠性下降。\n本文提出了一种直接训练IMC物理模型的新方法,该模型被构建为基于常微分方程(ODE)的物理神经网络(PNN)。为实现大规模网络的训练,我们提出了一种名为可微分尖峰时间离散化(DSTD)的技术,可将基于ODE的PNN的计算速度提升最高20倍,内存占用降低最高100倍。我们验证了这类大规模网络可在CIFAR-10数据集上利用硬件非理想特性提升学习性能。\n所提出的自底向上方法论已通过基于sky130工艺、带有非理想特性的IMC电路的版图后SPICE仿真得到验证。该PNN方法将模型行为与电路动力学之间的差异降低了至少一个数量级。这项工作为利用非易失性阻变存储器等非理想物理器件实现高能效深度学习应用铺平了道路。

英文摘要:

Large-scale deep learning models are increasingly constrained by their immense energy consumption, limiting their scalability and applicability for edge intelligence. In-memory computing (IMC) offers a promising solution by addressing the von Neumann bottleneck inherent in traditional deep learning accelerators, significantly reducing energy consumption. However, the analog nature of IMC introduces hardware nonidealities that degrade model performance and reliability. This paper presents a novel approach to directly train physical models of IMC, formulated as ordinary-differential-equation (ODE)-based physical neural networks (PNNs). To enable the training of large-scale networks, we propose a technique called differentiable spike-time discretization (DSTD), which reduces the computational cost of ODE-based PNNs by up to 20 times in speed and 100 times in memory. We demonstrate that such large-scale networks enhance the learning performance by exploiting hardware nonidealities on the CIFAR-10 dataset. The proposed bottom-up methodology is validated through the post-layout SPICE simulations on the IMC circuit with nonideal characteristics using the sky130 process. The proposed PNN approach reduces the discrepancy between the model behavior and circuit dynamics by at least an order of magnitude. This work paves the way for leveraging nonideal physical devices, such as non-volatile resistive memories, for energy-efficient deep learning applications.

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

↑