二进制神经网络在磁隧道结无源阵列上的实现
Implementation of a Binary Neural Network on a Passive Array of Magnetic Tunnel Junctions
摘要:
随着神经网络规模的不断扩大及其应用空间的不断扩大,人们对更节能、更节省内存的人工智能专用硬件提出了需求。缓解冯·诺依曼瓶颈的主要途径包括内存和近内存架构以及算法方法。在这里,我们利用低功耗和固有的二进制操作的磁隧道结(MTJ),以证明神经网络硬件推理的MTJ的无源阵列的基础上。一般来说,将训练的网络模型转移到硬件进行推理会遇到由于器件间变化、写入错误、寄生电阻和衬底中的非理想性而导致的性能下降。为了量化这些硬件现实的影响,我们对2层感知器的300个唯一权重矩阵解决方案进行了基准测试,以分类Wine数据集的分类准确性和写入保真度。尽管器件存在缺陷,但我们在具有一系列器件尺寸的15 x 15 MTJ阵列中通过适当调整网络参数,实现了高达95.3%的软件等效精度。这一调整过程的成功表明,需要新的指标来表征在混合信号硬件中再现的网络的性能和质量。
英文摘要:
The increasing scale of neural networks and their growing application space have produced demand for more energy- and memory-efficient artificial-intelligence-specific hardware. Avenues to mitigate the main issue, the von Neumann bottleneck, include in-memory and near-memory architectures, as well as algorithmic approaches. Here we leverage the low-power and the inherently binary operation of magnetic tunnel junctions (MTJs) to demonstrate neural network hardware inference based on passive arrays of MTJs. In general, transferring a trained network model to hardware for inference is confronted by degradation in performance due to device-to-device variations, write errors, parasitic resistance, and nonidealities in the substrate. To quantify the effect of these hardware realities, we benchmark 300 unique weight matrix solutions of a 2-layer perceptron to classify the Wine dataset for both classification accuracy and write fidelity. Despite device imperfections, we achieve software-equivalent accuracy of up to 95.3 % with proper tuning of network parameters in 15 x 15 MTJ arrays having a range of device sizes. The success of this tuning process shows that new metrics are needed to characterize the performance and quality of networks reproduced in mixed signal hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。