NxTF:基于Intel Loihi的深度脉冲神经网络的API和编译器
NxTF: An API and Compiler for Deep Spiking Neural Networks on Intel Loihi
摘要:
脉冲神经网络(SNN)是一种有效的事件驱动时空稀疏数据流处理的范例。SNN启发了设计,并可以利用新兴的神经形态处理器,如英特尔Loihi。这些新颖的硬件架构暴露了影响固件、编译器和算法开发的各种约束。为了在Loihi上快速灵活地开发SNN算法,我们开发了NxTF:一个源自Keras的编程接口和编译器,该编译器经过优化,可将深度卷积SNN映射到多核英特尔Loihi架构。我们在直接在尖峰上训练的DNN以及从传统DNN转换的模型上评估NxTF,处理稀疏的基于事件的数据集和密集的基于帧的数据集。此外,我们评估的有效性的编译器分布在大量的核心模型和压缩模型,利用Loihi的权重共享功能。最后,我们评估模型的准确性,能源和解决方案的时间相比,其他架构。编译器在16个Loihi芯片上实现了接近最佳的资源利用率,用于28层,4M参数的MobileNet模型,输入大小为128x128。此外,我们报告的最低出错率的CIFAR-10数据集的神经形态硬件,使用现成的MobileNet。
英文摘要:
Spiking Neural Networks (SNNs) are a promising paradigm for efficient event-driven processing of spatio-temporally sparse data streams. SNNs have inspired the design and can take advantage of the emerging class of neuromorphic processors like Intel Loihi. These novel hardware architectures expose a variety of constraints that affect firmware, compiler and algorithm development alike. To enable rapid and flexible development of SNN algorithms on Loihi, we developed NxTF: a programming interface derived from Keras and compiler optimized for mapping deep convolutional SNNs to the multi-core Intel Loihi architecture. We evaluate NxTF on DNNs trained directly on spikes as well as models converted from traditional DNNs, processing both sparse event-based and dense frame-based data sets. Further, we assess the effectiveness of the compiler to distribute models across a large number of cores and to compress models by exploiting Loihi's weight sharing features. Finally, we evaluate model accuracy, energy and time to solution compared to other architectures. The compiler achieves near optimal resource utilization of 80% across 16 Loihi chips for a 28-layer, 4M parameter MobileNet model with input size 128x128. In addition, we report the lowest error rate of 8.52% for the CIFAR-10 dataset on neuromorphic hardware, using an off-the-shelf MobileNet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。