STDP-based spiking deep neural networks for object recognition

Saeed Reza Kheradpisheh, Mohammad Ganjtabesh, Simon J. Thorpe, Timothée Masquelier

Introduction

Modern deep convolutional neural networks (DCNNs) have achieved remarkable success in computer vision but face significant challenges regarding energy consumption, the need for massive labeled datasets, and a reliance on biologically implausible algorithms like backpropagation. In contrast, the human visual system is exceptionally efficient, learning to recognize complex objects from minimal examples with very low power.

Spiking Neural Networks (SNNs) have been proposed as a bridge to this biological efficiency. However, previous unsupervised SNNs were largely limited to shallow architectures, which restricted their ability to learn the complex, hierarchical features necessary for real-world object recognition. This paper introduces a deep convolutional SNN (SDNN) that learns hierarchical representations in an entirely unsupervised manner using Spike-Timing-Dependent Plasticity (STDP).

Architecture and Learning Mechanism

The proposed SDNN architecture mimics the primate visual system through a series of alternating convolutional and pooling layers. The network utilizes several key bio-inspired mechanisms:

  • Temporal (Latency) Coding: Information is transmitted via discrete spikes. A "rank-order" scheme is employed where stronger stimuli result in earlier firing times. This allows the network to process information based on spike order, enhancing both speed and energy efficiency.
  • Unsupervised STDP: Synaptic weights are updated based on the relative timing of pre- and post-synaptic spikes. This rule allows the network to discover and learn frequent visual patterns without external supervision.
  • Winner-Take-All (WTA) Competition: Lateral inhibition ensures that only the first neuron to fire in a specific region undergoes learning. This mechanism prevents redundant feature representation and promotes a diverse vocabulary of visual filters.
The SDNN architecture consists of alternating convolutional and pooling layers, starting with a bio-inspired DoG filter for edge detection.

Experimental Evaluation

The model was evaluated on three standard computer vision benchmarks to test its versatility and robustness:

  1. MNIST: Standard handwritten digit recognition.
  2. Caltech 101 (Face/Motorbike): Discrimination of complex natural object categories.
  3. ETH-80: Recognition of eight object categories across 41 different viewpoints, testing 3D invariance.

The SDNN achieved state-of-the-art unsupervised performance, reaching 99.1% accuracy on the Caltech Face/Motorbike task and 98.4% on MNIST. On the ETH-80 dataset, it achieved 82.8% accuracy, outperforming established bio-inspired models like HMAX.

Discussion and Key Insights

A primary contribution of this work is the demonstration of an emergent feature hierarchy. Without any human guidance, the network naturally develops filters ranging from simple oriented edges in early layers to complex object prototypes in deeper layers.

As learning progresses, neurons in deeper layers (Conv2, Conv3) converge from random weights to recognizable object parts and full prototypes.

Beyond accuracy, the model exhibits extreme sparsity and efficiency. For an image in the ETH-80 dataset, the entire network emits only approximately 9,100 spikes—roughly 0.02 spikes per neuron. This is orders of magnitude more efficient than the millions of floating-point operations required by standard DCNNs. Furthermore, the model demonstrates strong few-shot learning capabilities, requiring only a few dozen training examples per category to reach high performance.

Conclusion and Future Work

This research demonstrates that deep, hierarchical features can be learned effectively using purely unsupervised, biologically inspired mechanisms. While the current model uses a Difference of Gaussians (DoG) pre-processing step and a linear SVM for final classification, future work aims to integrate fully spiking supervised layers and adapt the architecture for real-time video processing using neuromorphic event-based sensors. This would further leverage the network's inherent temporal processing strengths and energy efficiency.

Summary updated

BibTeX
@article{kheradpisheh2018stdp,
  author = {Saeed Reza Kheradpisheh and Mohammad Ganjtabesh and Simon J. Thorpe and Timothée Masquelier},
  title = {{STDP-based spiking deep neural networks for object recognition}},
  journal = {Neural Networks},
  year = {2018},
  doi = {10.1016/j.neunet.2017.12.005},
}
Figure