Comparing SNNs and RNNs on neuromorphic vision datasets: Similarities and differences
- PMID: 32866745
- DOI: 10.1016/j.neunet.2020.08.001
Comparing SNNs and RNNs on neuromorphic vision datasets: Similarities and differences
Abstract
Neuromorphic data, recording frameless spike events, have attracted considerable attention for the spatiotemporal information components and the event-driven processing fashion. Spiking neural networks (SNNs) represent a family of event-driven models with spatiotemporal dynamics for neuromorphic computing, which are widely benchmarked on neuromorphic data. Interestingly, researchers in the machine learning community can argue that recurrent (artificial) neural networks (RNNs) also have the capability to extract spatiotemporal features although they are not event-driven. Thus, the question of "what will happen if we benchmark these two kinds of models together on neuromorphic data" comes out but remains unclear. In this work, we make a systematic study to compare SNNs and RNNs on neuromorphic data, taking the vision datasets as a case study. First, we identify the similarities and differences between SNNs and RNNs (including the vanilla RNNs and LSTM) from the modeling and learning perspectives. To improve comparability and fairness, we unify the supervised learning algorithm based on backpropagation through time (BPTT), the loss function exploiting the outputs at all timesteps, the network structure with stacked fully-connected or convolutional layers, and the hyper-parameters during training. Especially, given the mainstream loss function used in RNNs, we modify it inspired by the rate coding scheme to approach that of SNNs. Furthermore, we tune the temporal resolution of datasets to test model robustness and generalization. At last, a series of contrast experiments are conducted on two types of neuromorphic datasets: DVS-converted (N-MNIST) and DVS-captured (DVS Gesture). Extensive insights regarding recognition accuracy, feature extraction, temporal resolution and contrast, learning generalization, computational complexity and parameter volume are provided, which are beneficial for the model selection on different workloads and even for the invention of novel neural models in the future.
Keywords: Long short-term memory; Neuromorphic dataset; Recurrent neural networks; Spatiotemporal dynamics; Spiking neural networks.
Copyright © 2020 Elsevier Ltd. All rights reserved.
Conflict of interest statement
Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Similar articles
-
Rethinking the performance comparison between SNNS and ANNS.Neural Netw. 2020 Jan;121:294-307. doi: 10.1016/j.neunet.2019.09.005. Epub 2019 Sep 19. Neural Netw. 2020. PMID: 31586857
-
Optimizing Deeper Spiking Neural Networks for Dynamic Vision Sensing.Neural Netw. 2021 Dec;144:686-698. doi: 10.1016/j.neunet.2021.09.022. Epub 2021 Oct 5. Neural Netw. 2021. PMID: 34662827
-
Event-driven implementation of deep spiking convolutional neural networks for supervised classification using the SpiNNaker neuromorphic platform.Neural Netw. 2020 Jan;121:319-328. doi: 10.1016/j.neunet.2019.09.008. Epub 2019 Sep 24. Neural Netw. 2020. PMID: 31590013
-
Deep learning in spiking neural networks.Neural Netw. 2019 Mar;111:47-63. doi: 10.1016/j.neunet.2018.12.002. Epub 2018 Dec 18. Neural Netw. 2019. PMID: 30682710 Review.
-
Backpropagation-Based Learning Techniques for Deep Spiking Neural Networks: A Survey.IEEE Trans Neural Netw Learn Syst. 2024 Sep;35(9):11906-11921. doi: 10.1109/TNNLS.2023.3263008. Epub 2024 Sep 3. IEEE Trans Neural Netw Learn Syst. 2024. PMID: 37027264 Review.
Cited by
-
STSC-SNN: Spatio-Temporal Synaptic Connection with temporal convolution and attention for spiking neural networks.Front Neurosci. 2022 Dec 23;16:1079357. doi: 10.3389/fnins.2022.1079357. eCollection 2022. Front Neurosci. 2022. PMID: 36620452 Free PMC article.
-
Self-Contrastive Forward-Forward algorithm.Nat Commun. 2025 Jul 1;16(1):5978. doi: 10.1038/s41467-025-61037-0. Nat Commun. 2025. PMID: 40595637 Free PMC article.
-
Heterogeneity in Neuronal Dynamics Is Learned by Gradient Descent for Temporal Processing Tasks.Neural Comput. 2023 Mar 18;35(4):555-592. doi: 10.1162/neco_a_01571. Neural Comput. 2023. PMID: 36827598 Free PMC article.
-
Efficient training of spiking neural networks with temporally-truncated local backpropagation through time.Front Neurosci. 2023 Apr 6;17:1047008. doi: 10.3389/fnins.2023.1047008. eCollection 2023. Front Neurosci. 2023. PMID: 37090791 Free PMC article.
-
Editorial: Understanding and Bridging the Gap Between Neuromorphic Computing and Machine Learning.Front Comput Neurosci. 2021 Mar 17;15:665662. doi: 10.3389/fncom.2021.665662. eCollection 2021. Front Comput Neurosci. 2021. PMID: 33815083 Free PMC article. No abstract available.
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources