Electronics, Communication & Automation Technology

Design and Implementation of Hardware Structure for Online Learning of Spiking Neural Networks Based on FPGA Parallel Acceleration

Expand
  • 1.School of Integrated Circuits, Guangdong University of Technology, Guangzhou 510006, Guangdong, China
    2.School of Information Engineering, Guangdong University of Technology, Guangzhou 510006, Guangdong, China
刘怡俊(1977-),男,博士,教授,博士生导师,主要从事集成电路设计、类脑计算机、深度学习研究。E-mail:yjliu@gdut.edu.cn

Received date: 2022-09-27

  Online published: 2022-12-05

Supported by

the Key-Area R&D Program of Guangdong Province(2018B030338001)

Abstract

Currently, the hardware design of spiking neural networks based on digital circuits has a low synaptic parallel nature in terms of learning function, leading to a large overall hardware delay, which limits the speed of online learning of spiking neural network models to some extent. To address the above problems, this paper proposed an efficient spiking neural network online learning hardware architecture based on FPGA parallel acceleration, which accelerates the training and inference process of the model through the dual parallel design of neurons and synapses. Firstly, a synaptic structure with parallel spike delivery function and parallel spike time-dependent plasticity learning function was designed; then, the learning layers of input encoding layer and winner-take-all structure were built, and the implementation of lateral inhibition of the winner-take-all network was optimized, forming an impulsive neural network model with a scale of 784~400. The experiments show, the hardware has a training speed of 1.61 ms/image and an energy consumption of about 3.18 mJ/image for the SNN model and an inference speed of 1.19 ms/image and an energy consumption of about 2.37 mJ/image on the MNIST dataset, with an accuracy rate of 87.51%. Based on the hardware framework designed in this paper, the synaptic parallel structure can improve the training speed by more than 38%, and reduce the hardware energy consumption by about 24.1%, which can help to promote the development of edge intelligent computing devices and technologies.

Cite this article

LIU Yijun, CAO Yu, YE Wujian, et al . Design and Implementation of Hardware Structure for Online Learning of Spiking Neural Networks Based on FPGA Parallel Acceleration[J]. Journal of South China University of Technology(Natural Science), 2023 , 51(5) : 104 -113 . DOI: 10.12141/j.issn.1000-565X.220623

References

1 STIMBERG M, BRETTE R, GOODMAN D F M .Brian 2,an intuitive and efficient neural simulator[J].Elife20198:e47314/1-10.
2 CHOU T S, KASHYAP H J, XING J,et al .CARLsim 4:an open source library for large scale,biologically detailed spiking neural network simulation using heterogeneous clusters[C]∥ Proceedings of 2018 International Joint Conference on Neural Networks.Rio de Janeiro:IEEE,2018:1158-1165.
3 LI S, ZHANG Z, MAO R,et al .A fast and energy-efficient SNN processor with adaptive clock/event-driven computation scheme and online learning[J].IEEE Transactions on Circuits and Systems I:Regular Papers202168(4):1543-1552.
4 SOLEIMANI H, AHMADI A, BAVANDPOUR M .Biologically inspired spiking neurons:piecewise linear models and digital implementation[J].IEEE Transactions on Circuits and Systems I:Regular Papers201259(12):2991-3004.
5 HEIDARPUR M, AHMADI A, AHMADI M,et al .CORDIC-SNN:on-FPGA STDP learning with Izhikevich neurons[J].IEEE Transactions on Circuits and Systems I:Regular Papers201966(7):2651-2661.
6 JOKAR E, SOLEIMANI H .Digital multiplierless realization of a calcium-based plasticity model[J].IEEE Transactions on Circuits and Systems Ⅱ:Express Briefs201764(7):832-836.
7 QUINTANA F M, PEREZ-PE?A F, GALINDO P L .Bio-plausible digital implementation of a reward modulated STDP synapse[J].Neural Computing and Applications202234:15649-15660.
8 WU J, ZHAN Y, PENG Z,et al .Efficient design of spiking neural network with STDP learning based on fast CORDIC[J].IEEE Transactions on Circuits and Systems I:Regular Papers202168(6):2522-2534.
9 WAN L, LUO Y, SONG S,et al .Efficient neuron architecture for FPGA-based spiking neural networks[C]∥ Proceedings of 2016 the 27th Irish Signals and Systems Conference.Londonderry:IEEE,2016:1-6.
10 LIU Y, CHEN Y, YE W,et al .FPGA-NHAP:a general FPGA-based neuromorphic hardware acceleration platform with high speed and low power[J].IEEE Transactions on Circuits and Systems I:Regular Papers202269(6):2553-2566.
11 WANG Q, LI Y, SHAO B,et al .Energy efficient parallel neuromorphic architectures with approximate arithmetic on FPGA [J].Neurocomputing2017221:146-158.
12 HE Z, SHI C, WANG T,et al .A low-cost FPGA implementation of spiking extreme learning machine with on-chip reward-modulated STDP learning[J].IEEE Transactions on Circuits and Systems Ⅱ:Express Briefs202269(3):1657-1661.
13 DIEHL P U, COOK M .Unsupervised learning of digit recognition using spike-timing-dependent plasticity[J].Frontiers in Computational Neuroscience20159:99/1-9.
14 VIGNERON A, MARTINET J .A critical survey of STDP in spiking neural networks for pattern recognition[C]∥ Proceedings of 2020 International Joint Conference on Neural Networks.Glasgow:IEEE,2020:1-9.
15 GUO W, YANTIR H E, FOUDA M E,et al .Toward the optimal design and FPGA implementation of spiking neural networks[J].IEEE Transactions on Neural Networks and Learning Systems202133(8):3988-4002.
16 MORRISON A, AERTSEN A, DIESMANN M .Spike-timing-dependent plasticity in balanced random networks[J].Neural Computation200719(6):1437-1467.
Outlines

/