Predictive coding with spiking neurons and feedforward gist signalling

Kwangjun Lee, Shirin Dora, Jorge F. Mejías, Sander M. Bohté, Cyriel M. A. PennartzbioRxiv 2023

TL;DR

This paper introduces a biologically plausible spiking neural network (SNN-PC) for predictive coding, addressing limitations of existing models by using event-driven spiking neurons and novel mechanisms for error processing and rapid scene gist extraction. The SNN-PC demonstrates effective unsupervised learning and reconstruction of handwritten digits, offering a more brain-like approach to perception and potentially enabling efficient neuromorphic applications.

What Problem Does This Paper Address?

The human brain achieves remarkably seamless perception despite a constant barrage of sensory information. Traditional computational models of perception, particularly those based on predictive coding (PC), have struggled to fully capture this biological reality. Many existing PC models rely on artificial neural network components like continuous, clock-driven units, which lack biological plausibility. Furthermore, representing signed prediction errors (positive or negative discrepancies between prediction and reality) in spiking neural networks, which inherently deal with non-negative spike events, presents a significant challenge. This paper aims to bridge this gap by developing a spiking neural network that adheres more closely to biological constraints while still performing sophisticated perceptual inference and learning.

Methods

The authors introduce a Spiking Neural Network for Predictive Coding (SNN-PC) built upon four key components:

  1. Spiking Neuron Model: They employ the adaptive exponential integrate-and-fire (AdEx) model, which offers a more biophysically realistic description of neuron behavior compared to simpler models. Neurons communicate using asynchronous spikes.
  2. Synaptic Communication and Hebbian Learning: Synaptic transmission is modeled using NMDA receptor dynamics, and plasticity is governed by a biologically plausible Hebbian learning rule. This rule uses locally available information (filtered spike trains) to update synaptic weights.
  3. Separated Error Units: To address the challenge of representing signed prediction errors with non-negative spikes, they introduce two distinct types of error units: one for positive errors and one for negative errors. This avoids the biological implausibility of single neurons encoding both positive and negative errors with a high basal firing rate.
  4. Feedforward Gist (FFG) Pathway: A novel feature is the FFG pathway, which mimics the rapid feedforward sweep of visual information in the brain. This pathway generates a coarse, abstract "gist" representation of the input image, providing informative priors to the predictive coding hierarchy and acting as a biologically motivated alternative to arbitrary initializations.

Datasets

The SNN-PC was trained and tested using the MNIST handwritten digit dataset. This is a standard benchmark dataset for image recognition tasks. The paper does not introduce any new datasets.

Key Insights and Ideas

  • Spiking Neurons for Predictive Coding: The research demonstrates that predictive coding principles can be effectively implemented using spiking neurons, moving beyond traditional artificial neural network architectures. This suggests a more biologically grounded computational framework for perception.
  • Biologically Plausible Error Handling: Separating positive and negative error computation into distinct neuron types offers a more realistic solution to representing signed prediction errors in spiking networks, overcoming a significant biological implausibility in prior models.
  • The "Gist" as a Prior: The introduction of the Feedforward Gist pathway highlights the importance of rapid, coarse scene understanding as an initial "prior" for more detailed, recurrent processing. This pathway provides a biologically motivated way to initialize the inference process, improving learning and performance.
  • Unsupervised Learning and Reconstruction: The network learns to reconstruct novel handwritten digits without explicit supervision, showcasing its ability to infer underlying generative models from sensory input. This aligns with how the brain is thought to learn about the world.

Key Results

  • Reconstruction of Novel Images: The SNN-PC successfully reconstructed MNIST digits it had not seen during training, demonstrating its generative capabilities.
  • Hierarchical Representation Learning: The network developed hierarchical internal representations of the input images, with the representational geometry of the input being preserved across different processing areas.
  • Impact of FFG Pathway: The FFG pathway significantly improved learning performance, leading to lower prediction errors (SSE) across all hierarchical levels compared to models without it.
  • Enhanced Discriminative Capacity: A linear classifier trained on the neural activity patterns from the SNN-PC with the FFG pathway achieved significantly higher digit classification accuracy in all areas compared to the model without FFG. For instance, decoding accuracy was significantly higher in Area 3 (p < 0.001) with FFG.

Limitations and Future Work

  • Biological Detail: While using spiking neurons, the model still simplifies some biological complexities. The authors suggest future work could involve replacing single spiking neurons with more detailed cortical microcircuits (e.g., incorporating interneurons) to better replicate experimental findings and make predictions.
  • Continuous Input: The current model handles discrete image inputs. Future research could explore adapting the network to process continuous streams of sensory input, potentially by incorporating self-recurrent loops or online learning rules like STDP.
  • Modality and Scale: The model is currently focused on visual input. Expanding it to include other sensory modalities for multi-sensory integration and scaling it up to represent more areas of the visual processing hierarchy are suggested future directions.
  • Error Gradient Approximation: The authors acknowledge that using a point approximation (mean of synaptic currents) for the error gradient in a spiking network is a simplification that might lead to noisy learning signals. Further investigation into more precise gradient estimation for spiking networks could be beneficial.

Summary updated

BibTeX
@misc{lee2023predictive,
  author = {Kwangjun Lee and Shirin Dora and Jorge F. Mejías and Sander M. Bohté and Cyriel M. A. Pennartz},
  title = {{Predictive coding with spiking neurons and feedforward gist signalling}},
  year = {2023},
  doi = {10.1101/2023.04.03.535317},
  howpublished = {bioRxiv},
}
Figure