Multisample Online Learning for Probabilistic Spiking Neural Networks

Hyeryung Jang, Osvaldo SimeoneIEEE TNNLS 2022 · DOI

TL;DR

This paper introduces a novel multi-sample online learning framework (GEM-SNN) for probabilistic Spiking Neural Networks (SNNs). This approach leverages the inherent stochasticity of probabilistic SNNs to improve inference robustness, uncertainty quantification, and training efficiency, outperforming traditional single-sample methods on neuromorphic tasks.

What Problem Does This Paper Address?

Traditional Spiking Neural Networks (SNNs), while promising for energy-efficient computation, often rely on deterministic neuron models and heuristic learning rules that struggle with the non-differentiable nature of spiking and the locality constraints of neuromorphic hardware. Probabilistic SNNs offer a more principled approach, but existing methods still face challenges in achieving robust inference and efficient online learning. This paper addresses these limitations by proposing a method that exploits the unique ability of probabilistic SNNs to generate multiple independent outputs for the same input, thereby enhancing both inference and learning capabilities.

Methods

The core contribution is the GEM-SNN (Generalized Expectation-Maximization for Spiking Neural Networks) algorithm. This method adapts the Generalized Expectation-Maximization (GEM) framework to probabilistic SNNs. Key aspects include:

  • Multi-Sample Inference: For inference, the SNN is run multiple times with the same input to generate a set of independent output samples. These samples are then used to make more robust decisions (e.g., via majority voting) and to quantify uncertainty by analyzing the distribution of these outputs.
  • Multi-Sample Online Learning: For training, GEM-SNN leverages these multiple samples to obtain more accurate statistical estimates of the log-loss criterion and its gradient. This is achieved through importance sampling, which helps reduce the variance of the estimates and improve convergence speed. The algorithm is designed for online learning, meaning parameters are updated incrementally as data streams in.
  • Three-Factor Learning Rule: The GEM-SNN update rule follows a standard three-factor format common in neuromorphic hardware, enabling efficient implementation. This rule involves local synaptic updates guided by global learning signals computed by a central processor (CP).

The paper also introduces and analyzes two alternative multi-sample strategies: MB-SNN (Mini-Batch Online Learning for SNNs) and IW-SNN (Importance-Weighted Multi-Sample Online Learning for SNNs), providing comparisons to GEM-SNN.

Datasets

The paper uses the MNIST-DVS dataset for evaluating the proposed methods. This dataset is derived from handwritten digits displayed on an LCD monitor to a DVS neuromorphic camera, capturing positive and negative events per pixel. For experiments, images are cropped and downsampled to create binary spike signals.

Key Insights and Ideas

  • Stochasticity as a Feature, Not a Bug: Probabilistic SNNs' inherent randomness can be harnessed to significantly improve performance, rather than being a nuisance to be suppressed.
  • Multi-Sample Inference for Robustness and Uncertainty: Generating multiple outputs from a probabilistic SNN allows for more reliable predictions and provides a direct mechanism to quantify the model's confidence.
  • Improved Training Efficiency: Using multiple samples during training leads to more accurate gradient estimates, reducing variance and accelerating convergence, especially in resource-constrained environments.
  • Flexible Trade-offs: The proposed GEM-SNN framework allows for a flexible trade-off between communication load, energy consumption, and training performance by adjusting the number of samples used.

Key Results

  • Improved Accuracy and Log-Likelihood: Experiments on the MNIST-DVS dataset demonstrate that GEM-SNN, using multiple samples for inference and training, significantly improves classification accuracy and estimated log-likelihood compared to single-sample methods. For instance, accuracy increased from 90.9% with single-sample inference to 97.2% with 20 samples.
  • Effective Uncertainty Quantification: The multi-sample inference approach allows the model to assign confidence scores to its predictions, which are well-calibrated, especially for correct decisions.
  • Scalability with Samples: Performance gains were observed as the number of samples (K for training, K₁ for inference) increased, up to a certain point, indicating the benefit of leveraging more stochastic outputs.
  • Communication Load vs. Performance: While GEM-SNN requires higher broadcast communication load compared to MB-SNN and IW-SNN, it generally achieves superior performance, highlighting the trade-offs involved.

Limitations and Future Work

  • Communication Load: The GEM-SNN approach incurs a communication load that scales linearly with the number of samples (K) and the network size, which could be a bottleneck in highly resource-constrained systems.
  • Learning Signal Interpretation: While GEM-SNN and IW-SNN use importance weights for visible neurons, the interpretation and effectiveness of different learning signals for hidden neurons across various schemes (GEM-SNN, MB-SNN, IW-SNN) warrant further investigation.
  • Alternative Learning Criteria: The paper primarily focuses on log-loss as the learning criterion. Future work could explore similar multi-sample algorithms with other reward functions, such as Van Rossum distance.
  • Extension to Other Architectures: The proposed algorithms could be extended to other SNN architectures, such as Winner-Take-All (WTA) circuits.

Summary updated

BibTeX
@article{jang2022multisample,
  author = {Hyeryung Jang and Osvaldo Simeone},
  title = {{Multisample Online Learning for Probabilistic Spiking Neural Networks}},
  journal = {IEEE TNNLS},
  year = {2022},
  doi = {10.1109/tnnls.2022.3144296},
}

Loading related content...

Figure