Guo Wenzhe, Fouda Mohammed E, Eltawil Ahmed M, Salama Khaled Nabil
Sensors Laboratory, Advanced Membranes and Porous Materials Center (AMPMC), Computer, Electrical, and Mathematical Sciences and Engineering (CEMSE) Division, King Abdullah University of Science and Technology, Thuwal, Saudi Arabia.
Communication and Computing Systems Laboratory, Computer, Electrical, and Mathematical Sciences and Engineering (CEMSE) Division, King Abdullah University of Science and Technology, Thuwal, Saudi Arabia.
Front Neurosci. 2021 Mar 4;15:638474. doi: 10.3389/fnins.2021.638474. eCollection 2021.
Various hypotheses of information representation in brain, referred to as neural codes, have been proposed to explain the information transmission between neurons. Neural coding plays an essential role in enabling the brain-inspired spiking neural networks (SNNs) to perform different tasks. To search for the best coding scheme, we performed an extensive comparative study on the impact and performance of four important neural coding schemes, namely, rate coding, time-to-first spike (TTFS) coding, phase coding, and burst coding. The comparative study was carried out using a biological 2-layer SNN trained with an unsupervised spike-timing-dependent plasticity (STDP) algorithm. Various aspects of network performance were considered, including classification accuracy, processing latency, synaptic operations (SOPs), hardware implementation, network compression efficacy, input and synaptic noise resilience, and synaptic fault tolerance. The classification tasks on Modified National Institute of Standards and Technology (MNIST) and Fashion-MNIST datasets were applied in our study. For hardware implementation, area and power consumption were estimated for these coding schemes, and the network compression efficacy was analyzed using pruning and quantization techniques. Different types of input noise and noise variations in the datasets were considered and applied. Furthermore, the robustness of each coding scheme to the non-ideality-induced synaptic noise and fault in analog neuromorphic systems was studied and compared. Our results show that TTFS coding is the best choice in achieving the highest computational performance with very low hardware implementation overhead. TTFS coding requires 4x/7.5x lower processing latency and 3.5x/6.5x fewer SOPs than rate coding during the training/inference process. Phase coding is the most resilient scheme to input noise. Burst coding offers the highest network compression efficacy and the best overall robustness to hardware non-idealities for both training and inference processes. The study presented in this paper reveals the design space created by the choice of each coding scheme, allowing designers to frame each scheme in terms of its strength and weakness given a designs' constraints and considerations in neuromorphic systems.
为了解释神经元之间的信息传递,人们提出了各种大脑中信息表示的假说,即神经编码。神经编码在使受大脑启发的脉冲神经网络(SNN)执行不同任务方面起着至关重要的作用。为了寻找最佳编码方案,我们对四种重要的神经编码方案,即速率编码、首次脉冲时间(TTFS)编码、相位编码和脉冲串编码的影响和性能进行了广泛的比较研究。该比较研究是使用一个通过无监督脉冲时间依赖可塑性(STDP)算法训练的生物二层SNN进行的。考虑了网络性能的各个方面,包括分类准确率、处理延迟、突触操作(SOP)、硬件实现、网络压缩效率、输入和突触噪声抗性以及突触容错能力。我们的研究应用了针对修改后的美国国家标准与技术研究院(MNIST)和时尚MNIST数据集的分类任务。对于硬件实现,估计了这些编码方案的面积和功耗,并使用剪枝和量化技术分析了网络压缩效率。考虑并应用了数据集中不同类型的输入噪声和噪声变化。此外,研究并比较了每种编码方案对模拟神经形态系统中非理想性引起的突触噪声和故障的鲁棒性。我们的结果表明,TTFS编码是在实现最高计算性能且硬件实现开销非常低方面的最佳选择。在训练/推理过程中,TTFS编码的处理延迟比速率编码低4倍/7.5倍,SOP少3.5倍/6.5倍。相位编码是对输入噪声最具弹性的方案。脉冲串编码在训练和推理过程中都具有最高的网络压缩效率以及对硬件非理想性的最佳整体鲁棒性。本文提出的研究揭示了由每种编码方案的选择所创造的设计空间,使设计者能够根据神经形态系统中的设计约束和考虑因素,从优缺点的角度来审视每种方案。