Skip to main content
QUICK REVIEW

[Paper Review] Intelligence Processing Units Accelerate Neuromorphic Learning

Pao-Sheng Vincent Sun, Alexander Titterton|arXiv (Cornell University)|Nov 19, 2022
Advanced Memory and Neural ComputingEngineering8 citations
TL;DR

This paper presents an IPU-optimized version of the snnTorch SNN framework that leverages low-level, pre-compiled custom operations to accelerate backpropagation training of spiking neural networks. By exploiting the IPU’s multi-instruction multi-data (MIMD) parallelism and population coding, the approach achieves up to 21.3× higher throughput than NVIDIA A100 GPUs, demonstrating that domain-specific accelerators can dramatically improve SNN training efficiency while maintaining accuracy.

ABSTRACT

Spiking neural networks (SNNs) have achieved orders of magnitude improvement in terms of energy consumption and latency when performing inference with deep learning workloads. Error backpropagation is presently regarded as the most effective method for training SNNs, but in a twist of irony, when training on modern graphics processing units (GPUs) this becomes more expensive than non-spiking networks. The emergence of Graphcore's Intelligence Processing Units (IPUs) balances the parallelized nature of deep learning workloads with the sequential, reusable, and sparsified nature of operations prevalent when training SNNs. IPUs adopt multi-instruction multi-data (MIMD) parallelism by running individual processing threads on smaller data blocks, which is a natural fit for the sequential, non-vectorized steps required to solve spiking neuron dynamical state equations. We present an IPU-optimized release of our custom SNN Python package, snnTorch, which exploits fine-grained parallelism by utilizing low-level, pre-compiled custom operations to accelerate irregular and sparse data access patterns that are characteristic of training SNN workloads. We provide a rigorous performance assessment across a suite of commonly used spiking neuron models, and propose methods to further reduce training run-time via half-precision training. By amortizing the cost of sequential processing into vectorizable population codes, we ultimately demonstrate the potential for integrating domain-specific accelerators with the next generation of neural networks.

Motivation & Objective

  • To address the lack of accelerators optimized for backpropagation in spiking neural networks (SNNs), which are otherwise energy-efficient for inference.
  • To explore whether Graphcore’s Intelligence Processing Units (IPUs) can efficiently handle the sequential, sparse, and irregular computation patterns inherent in SNN training.
  • To develop and benchmark an IPU-optimized release of the snnTorch SNN framework that enables high-throughput, low-latency training.
  • To evaluate the impact of half-precision training and population coding on SNN training performance and accuracy.

Proposed method

  • Porting the snnTorch SNN framework to run on Graphcore’s IPU using low-level, pre-compiled custom operations to accelerate irregular and sparse data access patterns.
  • Leveraging the IPU’s multi-instruction multi-data (MIMD) execution model to map individual processing threads to smaller data blocks, aligning with the sequential nature of spiking neuron dynamics.
  • Implementing population coding to redistribute time-costs across spatial dimensions, enabling vectorized matrix operations instead of repeated small-scale computations.
  • Using functional outlining and balanced compilation of neuronal and synaptic operators to optimize IPU kernel execution and memory access patterns.
  • Benchmarking performance across multiple SNN models and precision levels (half and full) on CIFAR-10 and MNIST datasets.
  • Integrating population coding into snnTorch with a public interactive notebook to enable cross-platform training on both IPUs and GPUs.

Experimental results

Research questions

  • RQ1Can IPU-based accelerators outperform GPUs in training spiking neural networks using error backpropagation?
  • RQ2How does population coding affect training throughput and accuracy in SNNs when running on IPUs and GPUs?
  • RQ3What performance gains are achievable using half-precision training on IPUs for SNN workloads?
  • RQ4In what architectural regimes do GPUs and IPUs converge in performance for recurrent SNNs?
  • RQ5To what extent can population coding enable single-time-step training without sacrificing accuracy?

Key findings

  • The IPU-optimized snnTorch framework achieves up to 21.3× higher throughput than the NVIDIA A100 GPU when training SNNs, with peak performance reaching approximately 145,000 images per second.
  • At its lowest throughput, the IPU and A100 converge in performance for deep SNNs, indicating a performance crossover point in certain network architectures.
  • Population coding reduces training time by redistributing sequential computation costs across spatial dimensions, enabling vectorized operations and significantly improving throughput.
  • With 500 output neurons (50 per class), a DSNN achieves 52.2% accuracy in a single time step—matching the performance of a 25-step baseline—demonstrating feasibility of single-time-step learning.
  • Half-precision training reduces memory bandwidth pressure and further accelerates training, especially on IPUs, without significant accuracy loss.
  • The A100 outperforms the IPU in population-coded CSNNs due to the dominance of terminal synaptic operations, which GPUs handle efficiently.

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.