arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.07284cond-mat.mes-hallcond-mat.dis-nncs.LG
收藏

基于低分辨率随机畴壁突触的深度神经网络的高能效学习

Energy Efficient Learning with Low Resolution Stochastic Domain Wall Synapse Based Deep Neural Networks

Virginia Commonwealth University(弗吉尼亚联邦大学);Université Paris-Saclay(巴黎萨克雷大学);CNRS(法国国家科学研究中心);Centre de Nanosciences et de Nanotechnologies(纳米科学与纳米技术中心)

Walid A. Misba, Mark Lozano, Damien Querlioz, Jayasimha Atulasimha

AI总结:

针对低分辨率随机Domain Wall突触,提出改进的in-situ和ex-situ训练算法,通过高精度梯度累积和噪声容限在MNIST上实现高准确率,且每次推理能耗仅13 pJ。

摘要:

我们证明,与使用浮点精度突触权重的相似规模深度神经网络(DNNs)相比,在Domain Wall (DW,畴壁)位置上具有巨大随机变化、极低分辨率量化(标称5态)的突触不仅具备高能效,还能达到相当高的测试准确率。具体而言,电压控制的DW器件表现出经微磁模拟严格建模的随机行为,且只能编码有限的状态;然而,它们在训练和推理过程中都能实现极高的能效。我们表明,通过对学习算法实施适当的修改,我们能够应对这种随机行为,并减轻其低分辨率的影响,从而实现高测试准确率。在本研究中,我们提出了in-situ(原位)和ex-situ(异位)训练算法,这些算法基于对Hubara等人[1]提出的适用于突触权重量化的算法的修改。我们使用2态、3态和5态DW器件作为突触,在MNIST数据集上训练了多个5层DNN。对于in-situ训练,采用了一个独立的高精度内存单元来保存和累积权重梯度,随后将其量化以对低精度DW器件进行编程。此外,在训练期间使用了可观的噪声容限,以应对固有的编程噪声。对于ex-situ训练,首先基于表征的DW器件模型和类似于in-situ训练的噪声容限训练一个前体DNN。值得注意的是,对于in-situ推理,在整个MNIST数据集上训练10个epoch后,对器件进行编程的能耗仅为每次推理13 pJ。

英文摘要:

We demonstrate that extremely low resolution quantized (nominally 5-state) synapses with large stochastic variations in Domain Wall (DW) position can be both energy efficient and achieve reasonably high testing accuracies compared to Deep Neural Networks (DNNs) of similar sizes using floating precision synaptic weights. Specifically, voltage controlled DW devices demonstrate stochastic behavior as modeled rigorously with micromagnetic simulations and can only encode limited states; however, they can be extremely energy efficient during both training and inference. We show that by implementing suitable modifications to the learning algorithms, we can address the stochastic behavior as well as mitigate the effect of their low-resolution to achieve high testing accuracies. In this study, we propose both in-situ and ex-situ training algorithms, based on modification of the algorithm proposed by Hubara et al. [1] which works well with quantization of synaptic weights. We train several 5-layer DNNs on MNIST dataset using 2-, 3- and 5-state DW device as synapse. For in-situ training, a separate high precision memory unit is adopted to preserve and accumulate the weight gradients, which are then quantized to program the low precision DW devices. Moreover, a sizeable noise tolerance margin is used during the training to address the intrinsic programming noise. For ex-situ training, a precursor DNN is first trained based on the characterized DW device model and a noise tolerance margin, which is similar to the in-situ training. Remarkably, for in-situ inference the energy dissipation to program the devices is only 13 pJ per inference given that the training is performed over the entire MNIST dataset for 10 epochs.

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

↑