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

物理推导的忆阻器模型与机器学习框架的集成

Integration of Physics-Derived Memristor Models with Machine Learning Frameworks

Zhenming Yu, Stephan Menzel, John Paul Strachan, Emre Neftci

AI总结:

针对现有忆阻器仿真模型无法准确捕捉器件非理想特性的问题,本研究将物理推导的SPICE级价变存储器模型与aihwkit集成,经MNIST测试发现破坏SET/RESET匹配的噪声对网络性能影响最大,可为器件开发提供评估工具。

摘要:

MemTorch、DNN+NeuroSim和aihwkit等仿真框架通常用于促进忆阻机器学习(ML)加速器的端到端协同设计。这些仿真器能够考虑器件非理想特性,并与现代ML框架集成。然而,这些仿真器中的忆阻器要么使用查找表建模,要么采用具有基本非线性的简单解析模型。这类简单模型无法捕捉器件非理想特性中某些对性能至关重要的方面。例如,它们忽略了开关的物理成因,这会导致开关时序误差,进而造成电导状态的错误估计。本研究旨在将物理动力学纳入非理想特性建模,同时保持与GPU加速器的兼容性。我们聚焦于价变存储器(Valence Change Memory,VCM)单元,其开关非线性和SET/RESET不对称性与热阻、离子迁移率、肖特基势垒高度、寄生电阻等效应密切相关。由此产生的动力学需要求解一个描述氧空位变化的常微分方程(ODE)。我们修改了一个物理推导的SPICE级VCM模型,将其与aihwkit仿真器集成,并使用MNIST数据集测试了性能。结果表明,破坏SET/RESET匹配的噪声对网络性能的影响最大。本研究可作为一种工具,用于评估忆阻器件中的物理动力学如何影响神经网络精度,并可用于指导未来集成器件的开发。

英文摘要:

Simulation frameworks such MemTorch, DNN+NeuroSim, and aihwkit are commonly used to facilitate the end-to-end co-design of memristive machine learning (ML) accelerators. These simulators can take device nonidealities into account and are integrated with modern ML frameworks. However, memristors in these simulators are modeled with either lookup tables or simple analytic models with basic nonlinearities. These simple models are unable to capture certain performance-critical aspects of device nonidealities. For example, they ignore the physical cause of switching, which induces errors in switching timings and thus incorrect estimations of conductance states. This work aims at bringing physical dynamics into consideration to model nonidealities while being compatible with GPU accelerators. We focus on Valence Change Memory (VCM) cells, where the switching nonlinearity and SET/RESET asymmetry relate tightly with the thermal resistance, ion mobility, Schottky barrier height, parasitic resistance, and other effects. The resulting dynamics require solving an ODE that captures changes in oxygen vacancies. We modified a physics-derived SPICE-level VCM model, integrated it with the aihwkit simulator and tested the performance with the MNIST dataset. Results show that noise that disrupts the SET/RESET matching affects network performance the most. This work serves as a tool for evaluating how physical dynamics in memristive devices affect neural network accuracy and can be used to guide the development of future integrated devices.

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

↑