arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.04982cs.ETcs.NE
收藏

使用硬件感知训练的神经形态电路中的高精度推理

High-Accuracy Inference in Neuromorphic Circuits using Hardware-Aware Training

Borna Obradovic, Titash Rakshit, Ryan Hatcher, Jorge A. Kittl, Mark S. Rodder

摘要:

基于SRAM或新型非易失性存储器(NVMs)的利用突触权重元素的神经形态乘法和累加(MAC)电路为神经网络的高效硬件表示提供了一种有前途的方法。NVM密度和鲁棒性要求表明,离线训练是“边缘”设备的正确选择,因为对突触精度的要求要不那么严格。然而,使用理想的数学权重和激活的离线训练在应用于非理想硬件时可能导致推理准确性的显著损失。诸如权重和激活的多位量化、权重的非线性、NVM元件的有限最大/最小比率以及正权重分量和负权重分量的不对称性的非理想性都导致降级的推断准确性。在这项工作中,它表明,非理想的多层感知器(MLP)架构,使用低位宽的权重和激活,可以训练的推理精度损失可以忽略不计,相对于他们的浮点训练的同行,使用建议的离线,连续可微的硬件感知训练算法。所提出的算法适用于广泛的硬件模型,并且只使用标准的神经网络训练方法。该算法被证明在MNIST和EMNIST数据集,使用标准的MLP。

英文摘要:

Neuromorphic Multiply-And-Accumulate (MAC) circuits utilizing synaptic weight elements based on SRAM or novel Non-Volatile Memories (NVMs) provide a promising approach for highly efficient hardware representations of neural networks. NVM density and robustness requirements suggest that off-line training is the right choice for "edge" devices, since the requirements for synapse precision are much less stringent. However, off-line training using ideal mathematical weights and activations can result in significant loss of inference accuracy when applied to non-ideal hardware. Non-idealities such as multi-bit quantization of weights and activations, non-linearity of weights, finite max/min ratios of NVM elements, and asymmetry of positive and negative weight components all result in degraded inference accuracy. In this work, it is demonstrated that non-ideal Multi-Layer Perceptron (MLP) architectures using low bitwidth weights and activations can be trained with negligible loss of inference accuracy relative to their Floating Point-trained counterparts using a proposed off-line, continuously differentiable HW-aware training algorithm. The proposed algorithm is applicable to a wide range of hardware models, and uses only standard neural network training methods. The algorithm is demonstrated on the MNIST and EMNIST datasets, using standard MLPs.

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

↑