神经形态硬件上的超低功耗图像分类
Ultra-low-power Image Classification on Neuromorphic Hardware
AI总结:
针对SNN训练成本高、速率编码转换能耗大的问题,提出基于首次脉冲时间的ANN-to-SNN转换方法Quartz,在多数据集仿真及Loihi芯片上验证其在相近精度下功耗更低、吞吐量和延迟更优。
摘要:
脉冲神经网络(SNNs)通过利用时间和空间稀疏性,有望应用于超低功耗场景。被称为脉冲的二进制激活数量,与在神经形态硬件上执行时的功耗成正比。对于主要依赖空间特征的视觉任务,使用时间反向传播训练此类SNN的计算成本很高。训练无状态人工神经网络(ANN)再将权重转换为SNN,是图像识别数据集上的一种直接替代方案。大多数转换方法依赖SNN中的速率编码来表示ANN激活,这需要使用大量脉冲,因此编码信息会消耗大量能量。近年来,时间转换方法已展现出可观的成果,每个神经元所需的脉冲数量显著减少,但有时需要复杂的神经元模型。我们提出了一种基于首次脉冲时间(TTFS)的ANN到SNN的时间转换方法,将其命名为Quartz。Quartz实现了高分类精度,且能在神经形态硬件上轻松部署,同时使用的突触操作和内存访问量最少。与以往的时间转换方法相比,该方法每个神经元需要额外两个突触的开销,而这些突触在神经形态硬件上已可直接使用。我们在MNIST、CIFAR10和ImageNet数据集上通过仿真对Quartz进行基准测试,以验证我们方法的优势,随后在Intel的神经形态芯片Loihi上实现了该方法。我们提供的证据表明,在分类精度相近的情况下,时间编码在功耗、吞吐量和延迟方面具有优势。我们的代码和模型已公开可用。
英文摘要:
Spiking neural networks (SNNs) promise ultra-low-power applications by exploiting temporal and spatial sparsity. The number of binary activations, called spikes, is proportional to the power consumed when executed on neuromorphic hardware. Training such SNNs using backpropagation through time for vision tasks that rely mainly on spatial features is computationally costly. Training a stateless artificial neural network (ANN) to then convert the weights to an SNN is a straightforward alternative when it comes to image recognition datasets. Most conversion methods rely on rate coding in the SNN to represent ANN activation, which uses enormous amounts of spikes and, therefore, energy to encode information. Recently, temporal conversion methods have shown promising results requiring significantly fewer spikes per neuron, but sometimes complex neuron models. We propose a temporal ANN-to-SNN conversion method, which we call Quartz, that is based on the time to first spike (TTFS). Quartz achieves high classification accuracy and can be easily implemented on neuromorphic hardware while using the least amount of synaptic operations and memory accesses. It incurs a cost of two additional synapses per neuron compared to previous temporal conversion methods, which are readily available on neuromorphic hardware. We benchmark Quartz on MNIST, CIFAR10, and ImageNet in simulation to show the benefits of our method and follow up with an implementation on Loihi, a neuromorphic chip by Intel. We provide evidence that temporal coding has advantages in terms of power consumption, throughput, and latency for similar classification accuracy. Our code and models are publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。