Skip to main content
Log in

Event-driven spiking neural networks with spike-based learning

  • Regular research paper
  • Published:
Memetic Computing Aims and scope Submit manuscript

Abstract

Spiking neural networks (SNNs) use spikes to communicate between neurons, leading to biological plausible implementation. Considering spikes as events, SNNs are inherently suitable for processing address event representation (AER) data. Despite the progress in event-driven methods for AER data, there is little study on the relationship between time-driven and event-driven algorithms, that is required to gain insight into the understanding of SNNs. In this paper, an in-depth analysis of time-driven and event-driven algorithms was given. A same-timestamp problem in event-driven simulation, which may lead to an error spike, is found and solved in a simple efficacious way. An event-driven learning algorithm was proposed, which is efficient and compatible with a multitude of spike-based plasticity mechanisms. Leaky integrate-and-fire neurons with precise spike driven synaptic plasticity was used to demonstrate the property of the proposed event-driven algorithm and conduct experiments on two AER datasets (MNIST-DVS and AER Poker Card) and MNIST dataset. The results show that the event-driven simulation is always faster than the time-driven simulation, and the proposed algorithm achieves similar accuracy to other conventional time-driven methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

  1. Ting C, Liaw R, Wang T, Hong T (2018) Mining fuzzy association rules using a memetic algorithm based on structure representation. Memetic Comput 10:15–28

    Article  Google Scholar 

  2. Feng L, Gupta A, Ong Y (2019) Compressed representation for higher-level meme space evolution: a case study on big knapsack problems. Memetic Comput 11:3–17

    Article  Google Scholar 

  3. Hu J, Tang H, Tan KC, Li H (2016) How the brain formulates memory: a spatio-temporal model. IEEE Comput Intell Mag 11(2):56–68

    Article  Google Scholar 

  4. Gerstner W, Kistler WM (2002) Spiking neuron models: single neurons, populations, plasticity, 1st edn. Cambridge University Press, Cambridge

    Book  MATH  Google Scholar 

  5. Hodgkin AL, Huxley AF (1952) A quantitative description of membrane current and its application to conduction and excitation in nerve. J Physiol 117(4):500–544

    Article  Google Scholar 

  6. Izhikevich EM (2003) Simple model of spiking neurons. IEEE Trans Neural Netw 14(6):1569–1572

    Article  MathSciNet  Google Scholar 

  7. Wang Z, Guo L, Adjouadi M (2014) A generalized leaky integrate-and-fire neuron model with fast implementation method. Int J Neural Syst 24(05):1440004

    Article  Google Scholar 

  8. Shapero S, Zhu M, Hasler J, Rozell C (2014) Optimal sparse approximation with integrate and fire neurons. Int J Neural Syst 24(05):1440001

    Article  Google Scholar 

  9. Merolla PA et al (2014) A million spiking-neuron integrated circuit with a scalable communication network and interface. Science 345:668–673

    Article  Google Scholar 

  10. Benjamin B, Gao P, McQuinn E, Choudhary S, Chandrasekaran AR, Bussat J-M, Alvarez-Icaza R, Arthur JV, Merolla PA, Boahen K (2014) Neurogrid: a mixed-analogdigital multichip system for large-scale neural simulations. Proc IEEE 102:699–716

    Article  Google Scholar 

  11. Qiao N, Mostafa H, Corradi F, Osswald M, Stefanini F, Sumislawska D, Indiveri G (2015) A reconfigurable on-line learning spiking neuromorphic processor comprising 256 neurons and 128k synapses. Front Neurosci 9:141

    Article  Google Scholar 

  12. Furber SB, Galluppi F, Temple S, Plana LA (2014) The SpiNNaker project. Proc IEEE 102:652–665

    Article  Google Scholar 

  13. Song S, Miller KD, Abbott LF (2000) Competitive hebbian learning through spike-timing-dependent synaptic plasticity. Nat Neurosci 3(9):919–926

    Article  Google Scholar 

  14. Gutig R, Sompolinsky H (2006) The tempotron: a neuron that learns spike timing-based decisions. Nat Neurosci 9(3):420–428

    Article  Google Scholar 

  15. Yu Q, Li H, Tan KC (2019) Spike timing or rate? neurons learn to make decisions for both through threshold-driven plasticity. IEEE Trans Cybernet 49(6):2178–2189

    Article  Google Scholar 

  16. Comsa IM, Potempa K, Versari L, Fischbacher T, Gesmundo A, Alakuijala J (2020) Temporal coding in spiking neural networks with alpha synaptic function. In: ICASSP 2020 - 2020 IEEE international conference on acoustics, speech and signal processing (ICASSP), Barcelona, Spain, pp 8529–8533. https://doi.org/10.1109/ICASSP40776.2020.9053856

  17. Zhang M, Wang J, Wu J, Belatreche A, Amornpaisannon B, Zhang Z, Miriyala VPK, Qu H, Chua Y, Carlson TE, Li H (2022) Rectified linear postsynaptic potential function for backpropagation in deep spiking neural networks. IEEE Trans Neural Netw Learn Syst 33(5):1947–1958

    Article  Google Scholar 

  18. Zhang W, Li P (2020) Temporal spike sequence learning via backpropagation for deep spiking neural networks. Adv Neural Inf Process Syst 33:12022–12033

  19. Kheradpisheh SR, Masquelier T (2020) Temporal backpropagation for spiking neural networks with one spike per neuron. Int J Neural Syst 30(6):2050027

    Article  Google Scholar 

  20. Sakemi Y, Morino K, Morie T, Aihara K (2020) A supervised learning algorithm for multilayer spiking neural networks based on temporal coding toward energy-efficient VLSI processor design [cs.NE]

  21. Neftci EO, Charles A, Somnath P, Georgios D (2016) Event-driven random back-propagation: Enabling neuromorphic deep learning machines. Front Neurosci 11

  22. Zenke F, Ganguli S (2017) Superspike: supervised learning in multi-layer spiking neural networks. Neural Comput 30(6):1514–1541

    Article  MATH  Google Scholar 

  23. Xu Y, Zeng X, Zhong S (2013) A new supervised learning algorithm for spiking neurons. Neural Comput 25(6):1472–1511

    Article  MathSciNet  MATH  Google Scholar 

  24. Qu H, Xie X, Liu Y, Zhang M, Lu L (2015) Improved perception-based spiking neuron learning rule for real-time user authentication. Neurocomputing 151:310–318

    Article  Google Scholar 

  25. Zhang M, Qu H, Belatreche A, Xie X (2018) EMPD: an efficient membrane potential driven supervised learning algorithm for spiking neurons. IEEE Trans Cognit Dev Syst 10(2):151–162

    Article  Google Scholar 

  26. Zhang M, Qu H, Belatreche A, Chen Y, Yi Z (2019) A highly effective and robust membrane potential-driven supervised learning method for spiking neurons. IEEE Trans Neural Netw Learn Syst 30(1):123–137

    Article  Google Scholar 

  27. Wu Y, Deng L, Li G, Zhu J, Shi L (2018) Spatio-temporal backpropagation for training high-performance spiking neural networks. Front Neurosci 12

  28. Zheng H, Wu Y, Deng L, Hu Y, Li G (2021) Going deeper with directly-trained larger spiking neural networks. In: Proceedings of the AAAI conference on artificial intelligence 35:11062–11070

  29. Ponulak F, Kasiński A (2010) Supervised learning in spiking neural networks with ReSuMe: sequence learning, classification, and spike shifting. Neural Comput 22(2):467–510

    Article  MathSciNet  MATH  Google Scholar 

  30. Mohemmed A, Schliebs S, Matsuda S, Kasabov N (2012) Span: spike pattern association neuron for learning spatio-temporal spike patterns. Int J Neural Syst 22(04):1250012

    Article  Google Scholar 

  31. Yu Q, Tang H, Tan KC, Li H (2013) Precise-spike-driven synaptic plasticity: learning hetero-association of spatiotemporal spike patterns. PLoS ONE 8:78318

    Article  Google Scholar 

  32. Ding J, Yu Z, Tian Y, Huang T (2021) Optimal ann-snn conversion for fast and accurate inference in deep spiking neural networks. In: Zhou Z-H (ed) Proceedings of the thirtieth international joint conference on artificial intelligence, IJCAI-21, pp 2328–2336. International Joint Conferences on Artificial Intelligence Organization. Main Track

  33. Hui S, Zak SH (1994) The Widrow-Hoff algorithm for McCulloch-Pitts type neurons. IEEE Trans Neural Netw 5(6):924–929

    Article  Google Scholar 

  34. Guo N, Xiao R, Gao S, Tang H (2017) A neurally inspired pattern recognition approach with latency-phase encoding and precise-spike-driven rule in spiking neural network. In: 2017 IEEE international conference on cybernetics and intelligent systems (CIS) and IEEE conference on robotics, automation and mechatronics (RAM), pp 484–489

  35. Xu X, Jin X, Yan R, Fang Q, Lu W (2018) Visual pattern recognition using enhanced visual features and PSD-based learning rule. IEEE Trans Cognit Dev Syst 10(2):205–212

    Article  Google Scholar 

  36. Xu X, Jin X, Yan R, Cao X (2016) A hierarchical visual recognition model with precise-spike-driven synaptic plasticity. In: 2016 IEEE symposium series on computational intelligence (SSCI), Athens, Greece, pp 1–7. https://doi.org/10.1109/SSCI.2016.7850251

  37. D’Haene M et al (2006) Accelerating event based simulation for multi-synapse spiking neural networks. In: ICANN, pp 760–769

  38. Rudolph M, Dubois M, Destexhe A (2012) Analytical integrate-and-fire neuron models with conductance-based dynamics and realistic postsynaptic potential time course for event-driven simulation strategies. Neural Comput 24(6):1426–1461

    Article  MathSciNet  Google Scholar 

  39. Camunas-Mesa LA et al (2012) An event-driven multi-kernel convolution processor module for event-driven vision sensors. IEEE J Solid-State Circuits 47(2):504–517

    Article  Google Scholar 

  40. Ros E et al (2006) Event-driven simulation scheme for spiking neural networks using lookup tables to characterize neuronal dynamics. Neural Comput 18(12):2959–2993

    Article  MATH  Google Scholar 

  41. Mahowald M (1992) VLSI analogs of neuronal visual processing: a synthesis of form and function. California Institute of Technology, Pasadena

    Google Scholar 

  42. Indiveri G, Liu S-C, Delbruck T, Douglas RJ (2009) Neuromorphic systems. Encyclopedia of Neuroscience, pp 521–528

  43. Indiveri G et al (2011) Neuromorphic silicon neuron circuits. Front Neurosci 5:73

    Article  Google Scholar 

  44. Liu S-C, Delbruck T (2010) Neuromorphic sensory systems. Curr Opin Neurobiol 20:288–295

    Article  Google Scholar 

  45. Chicca E, Stefanini F, Bartolozzi C, Indiveri G (2014) Neuromorphic electronic circuits for building autonomous cognitive systems. Proc IEEE 102(9):1367–1388

    Article  Google Scholar 

  46. Lichtsteiner P, Posch C, Delbruck T (2008) A 128 \(\times \) 128 120 dB 15 \(\mu \)s latency asynchronous temporal contrast vision sensor. IEEE J Solid-State Circuits 43(2):566–576

    Article  Google Scholar 

  47. Serrano-Gotarredona T, Linares-Barranco B (2013) A 128 \(\times \) 128 1.5% contrast sensitivity 0.9% fpn 3 \(\mu \)s latency 4 mw asynchronous frame-free dynamic vision sensor using transimpedance preamplifiers. IEEE J Solid-State Circuits 48(3):827–838

  48. Zhao B, Yu Q, Yu H, Chen S, Tang H (2014) Event-driven simulation of the tempotron spiking neuron. In: IEEE BioCAS, pp 667–670

  49. Liu D, Yue S (2018) Event-driven continuous STDP learning with deep structure for visual pattern recognition. IEEE Trans Cybernet 49(4):1377–1390

    Article  Google Scholar 

  50. Chen S, Akselrod P, Zhao B, Perez-Carrasco J, Linares-Barranco B, Culurciello E (2012) Efficient feedforward categorization of objects and human postures with address-event image sensors. IEEE Trans Pattern Anal Mach Intell 34(2):302–314

    Article  Google Scholar 

  51. Perez-Carrasco J, Zhao B, Serrano C, Acha B, Serrano-Gotarredona T, Chen S, Linares-Barranco B (2013) Mapping from frame-driven to frame-free event-driven vision systems by lowrate rate coding and coincidence processing-application to feedforward convnets. IEEE Trans Pattern Anal Mach Intell 35(11):2706–2719

    Article  Google Scholar 

  52. Orchard G, Meyer C, Etienne-Cummings R, Posch C, Thakor N, Benosman R (2015) Hfirst: a temporal approach to object recognition. IEEE Trans Pattern Anal Mach Intell 37(10):2028–2040

    Article  Google Scholar 

  53. Lagorce X, Orchard G, Galluppi F, Shi BE, Benosman R (2016) Hots: a hierarchy of event-based time-surfaces for pattern recognition. IEEE Trans Pattern Anal Mach Intell PP:1–10

  54. Zhao B, Ding R, Chen S, Linares-Barranco B, Tang H (2015) Feedforward categorization on AER motion events using cortex-like features in a spiking neural network. IEEE Trans Neural Netw Learn Syst 26(9):1963–1978

    Article  MathSciNet  Google Scholar 

  55. Yu Q, Tang H, Tan KC, Li H (2013) Rapid feedforward computation by temporal encoding and learning with spiking neurons. IEEE Trans Neural Netw Learn Syst 24:1539–1552

    Article  Google Scholar 

  56. Hu J, Tang H, Tan KC, Li H, Shi L (2013) A spike-timing based integrated model for pattern recognition. Neural Comput 25(2):450–472

    Article  MathSciNet  MATH  Google Scholar 

  57. van Rossum MC (2001) A novel spike distance. Neural Comput 13(4):751–763

    Article  MATH  Google Scholar 

  58. Satuvuori E, Kreuz T (2018) Which spike train distance is most suitable for distinguishing rate and temporal coding? J Neurosci Methods 299:22–33

    Article  Google Scholar 

  59. Chang C-C, Lin C-J (2011) LIBSVM: a library for support vector machines. ACM Trans Intell Syst Technol 2(27):27–12727

    Google Scholar 

  60. Serrano-Gotarredona T, Linares-Barranco B. MNIST-DVS Database. http://www2.imse-cnm.csic.es/caviar/MNISTDVS.html

  61. LeCun Y, Cortes C. The MNIST database. http://yann.lecun.com/exdb/mnist/

  62. Delbruck T, Lang M (2013) Robotic goalie with 3ms reaction time at 4 vision sensor. Front Neurosci 7:223

    Article  Google Scholar 

  63. Litzenberger M, Posch C, Bauer D, Belbachir AN, P Schon BK, Garn H (2006) Embedded vision system for real-time object tracking using an asynchronous transient vision sensor. In: 12th Signal processing education workshop, pp 173–178

  64. Lecun Y, Bottou L (1998) Gradient-based learning applied to document recognition. Proc IEEE 86(11):2278–2324

    Article  Google Scholar 

  65. Xu Q, Qi Y, Yu H, Shen J, Tang H, Pan G (2018) CSNN: an augmented spiking based framework with perceptron-inception. In: Proceedings of the twenty-seventh international joint conference on artificial intelligence, IJCAI-18, pp 1646–1652. International joint conferences on artificial intelligence organization

  66. Deng L, Wu Y, Hu X, Liang L, Ding Y, Li G, Zhao G, Li P, Xie Y (2020) Rethinking the performance comparison between SNNs and ANNs. Neural Netw 121:294–307

    Article  Google Scholar 

  67. Mitra S, Fusi S, Indiveri G (2009) Real-time classification of complex patterns using spike-based learning in neuromorphic VLSI. IEEE Trans Biomed Circuits Syst 3(1):32–42

    Article  Google Scholar 

  68. Giulioni M, Corradi F, Dante V, del Giudice P (2015) Real time unsupervised learning of visual stimuli in neuromorphic VLSI systems. Sci Rep 5:14370

    Article  Google Scholar 

  69. Mostafa H, Muller LK, Indiveri G (2015) An event-based architecture for solving constraint satisfaction problems. Nat Commun 6:8941

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the National Key Research and Development Program of China [Grant No. 2020AAA0105900]. The authors gave special thanks to Peisong Niu, Xi Wu and Runhao Jiang for their contributions to the experimental part of this paper. The authors would also like to thank the editors and the anonymous reviewers for their innovative suggestions, which improved the quality of this manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rong Xiao.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ning, L., Dong, J., Xiao, R. et al. Event-driven spiking neural networks with spike-based learning. Memetic Comp. 15, 205–217 (2023). https://doi.org/10.1007/s12293-023-00391-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12293-023-00391-2

Keywords

Navigation