Skip to main content
QUICK REVIEW

[Paper Review] Comparing SNNs and RNNs on Neuromorphic Vision Datasets: Similarities and Differences

Weihua He, Yujie Wu|arXiv (Cornell University)|May 2, 2020
Advanced Memory and Neural ComputingEngineering53 references15 citations
TL;DR

This paper systematically compares Spiking Neural Networks (SNNs) and Recurrent Neural Networks (RNNs) on neuromorphic vision datasets using unified training protocols, including backpropagation through time (BPTT), a rate-coding-inspired loss function, and shared network architectures. The key finding is that SNNs achieve superior accuracy on sparse, low-temporal-resolution data, while RNNs—especially LSTMs with the modified loss—can match or slightly exceed SNNs on dense, high-resolution data, highlighting trade-offs in robustness, parameter efficiency, and long-term memory.

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).

Motivation & Objective

  • To investigate the performance gap between SNNs and RNNs when both are benchmarked on neuromorphic vision datasets under fair and comparable training conditions.
  • To identify intrinsic similarities and differences in modeling and learning dynamics between SNNs and RNNs, particularly regarding spatiotemporal feature extraction and memory mechanisms.
  • To evaluate model robustness and generalization by tuning the temporal resolution of neuromorphic datasets, simulating real-world variability in event density.
  • To guide model selection for neuromorphic workloads by comparing recognition accuracy, computational complexity, parameter volume, and generalization across SNNs, vanilla RNNs, and LSTMs.
  • To explore the potential for hybrid neural models by borrowing architectural ideas from both SNNs and RNNs, such as membrane potential dynamics and gated recurrence.

Proposed method

  • Standardized training protocol: unified backpropagation through time (BPTT) for both SNNs and RNNs to ensure fair comparison.
  • Modified the standard RNN loss function to align with SNN rate-coding principles, enabling comparable learning objectives.
  • Used identical network architectures—stacked fully-connected or convolutional layers—with shared hyper-parameters (e.g., learning rate, batch size) across models.
  • Tuned the temporal resolution of neuromorphic datasets (N-MNIST and DVS Gesture) to assess model robustness and generalization under varying sparsity and event density.
  • Conducted controlled experiments on two distinct neuromorphic datasets: N-MNIST (DVS-converted from static images) and DVS Gesture (DVS-captured from real motion).
  • Evaluated models on recognition accuracy, feature extraction quality, temporal contrast sensitivity, computational complexity, and parameter efficiency.

Experimental results

Research questions

  • RQ1How do SNNs and RNNs compare in recognition accuracy when trained under identical conditions on neuromorphic vision datasets?
  • RQ2To what extent does the rate-coding-inspired loss function improve RNN performance on neuromorphic data, particularly in comparison to standard RNN loss?
  • RQ3How does temporal resolution affect the generalization and robustness of SNNs and RNNs on neuromorphic datasets?
  • RQ4What are the key architectural and learning differences that explain performance disparities between SNNs and RNNs in processing spatiotemporal event data?
  • RQ5Can insights from SNNs (e.g., membrane potential dynamics) and RNNs (e.g., gated memory) be combined to design more efficient and accurate hybrid models?

Key findings

  • SNNs consistently achieve higher recognition accuracy than vanilla RNNs across both N-MNIST and DVS Gesture datasets, especially under low temporal resolution.
  • With the rate-coding-inspired loss function, LSTM performance improves significantly, achieving accuracy comparable to or slightly exceeding that of SNNs on high-temporal-resolution data.
  • On N-MNIST (DVS-converted), the accuracy gap between SNNs and RNNs is small, but on DVS Gesture (DVS-captured), SNNs and LSTMs significantly outperform vanilla RNNs due to higher temporal contrast and longer-term dependencies.
  • SNNs exhibit superior generalization on audio data when tested with varying simulation timesteps, maintaining 98.14% accuracy at T=75, while vanilla RNNs drop to 46.14% at T=15.
  • The self-neuron recurrence and restricted weight sharing in SNNs reduce parameter count and FLOPs, leading to higher efficiency and better generalization compared to RNNs.
  • The performance gap between models is most pronounced on DVS Gesture, where temporal contrast is high, indicating that long-term memory and temporal dynamics are critical for such datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.