Skip to main content
QUICK REVIEW

[Paper Review] One Timestep is All You Need: Training Spiking Neural Networks with Ultra Low Latency

Sayeed Shafayet Chowdhury, Nitin Rathi|arXiv (Cornell University)|Oct 1, 2021
Advanced Memory and Neural ComputingEngineering20 citations
TL;DR

This paper proposes IIR-SNN, a training method that enables Spiking Neural Networks (SNNs) to achieve single-timestep inference—reducing latency by up to 2500X—while maintaining high accuracy. By iteratively retraining SNNs initialized from higher-timestep models, the method enables unit-latency inference with 25–33X higher energy efficiency than equivalent ANNs.

ABSTRACT

Spiking Neural Networks (SNNs) are energy efficient alternatives to commonly used deep neural networks (DNNs). Through event-driven information processing, SNNs can reduce the expensive compute requirements of DNNs considerably, while achieving comparable performance. However, high inference latency is a significant hindrance to the edge deployment of deep SNNs. Computation over multiple timesteps not only increases latency as well as overall energy budget due to higher number of operations, but also incurs memory access overhead of fetching membrane potentials, both of which lessen the energy benefits of SNNs. To overcome this bottleneck and leverage the full potential of SNNs, we propose an Iterative Initialization and Retraining method for SNNs (IIR-SNN) to perform single shot inference in the temporal axis. The method starts with an SNN trained with T timesteps (T>1). Then at each stage of latency reduction, the network trained at previous stage with higher timestep is utilized as initialization for subsequent training with lower timestep. This acts as a compression method, as the network is gradually shrunk in the temporal domain. In this paper, we use direct input encoding and choose T=5, since as per literature, it is the minimum required latency to achieve satisfactory performance on ImageNet. The proposed scheme allows us to obtain SNNs with up to unit latency, requiring a single forward pass during inference. We achieve top-1 accuracy of 93.05%, 70.15% and 67.71% on CIFAR-10, CIFAR-100 and ImageNet, respectively using VGG16, with just 1 timestep. In addition, IIR-SNNs perform inference with 5-2500X reduced latency compared to other state-of-the-art SNNs, maintaining comparable or even better accuracy. Furthermore, in comparison with standard DNNs, the proposed IIR-SNNs provide25-33X higher energy efficiency, while being comparable to them in classification performance.

Motivation & Objective

  • Address the high inference latency in Spiking Neural Networks (SNNs), which limits their deployment on edge devices.
  • Overcome the trade-off between low latency and high accuracy in SNNs, especially for static image classification and reinforcement learning.
  • Eliminate memory access overhead from storing and fetching membrane potentials by enabling one-timestep inference.
  • Achieve energy efficiency comparable to or better than standard DNNs while maintaining competitive classification performance.
  • Enable practical deployment of SNNs in real-time applications such as robotics and autonomous systems by minimizing latency.

Proposed method

  • Train an initial SNN using 5 timesteps with direct input encoding and surrogate gradient backpropagation.
  • Use the trained SNN at a higher timestep (e.g., T=5) as initialization for subsequent training at a lower timestep (e.g., T=4, 3, ..., 1).
  • Apply iterative retraining with decreasing timesteps, preserving performance through progressive fine-tuning.
  • Treat neuron thresholds as learnable parameters to improve training stability and performance across latency stages.
  • Leverage the hybrid training pipeline: train an ANN first, convert to SNN, then fine-tune in the SNN domain with backpropagation.
  • Use direct input encoding to reduce the number of timesteps required for convergence, enabling efficient low-latency training.

Experimental results

Research questions

  • RQ1Can SNNs be trained to achieve high accuracy with only one inference timestep, matching or exceeding the performance of multi-timestep SNNs?
  • RQ2To what extent can iterative retraining from higher-timestep models reduce latency without significant accuracy degradation?
  • RQ3How does one-timestep SNN inference compare in energy efficiency and latency to state-of-the-art SNNs and equivalent DNNs?
  • RQ4Can IIR-SNN be effectively applied to reinforcement learning tasks like DQN on cartpole and Atari Pong with minimal latency?
  • RQ5What is the impact of reduced spike count and elimination of membrane potential memory access on overall energy efficiency?

Key findings

  • IIR-SNN achieves top-1 accuracy of 93.05% on CIFAR-10, 70.15% on CIFAR-100, and 67.71% on ImageNet using VGG16 with just one inference timestep.
  • The method reduces inference latency by 5–2500X compared to state-of-the-art SNNs, while maintaining or improving accuracy.
  • IIR-SNNs provide 25–33X higher energy efficiency than equivalent DNNs, with a 7.55X efficiency gain over ANN-DQN in reinforcement learning.
  • On Atari Pong, a T1 SNN achieves 17.4 ± 3.2 reward, while a T5 SNN reaches 19.4 ± 1.3, matching ANN-DQN performance (19.7 ± 1.1) with significantly reduced latency.
  • The average spike rate in T1 SNN-DQN is only 0.08, resulting in 7.55X higher energy efficiency than ANN-DQN, demonstrating low-computation operation.
  • The method eliminates memory access overhead from storing and retrieving membrane potentials, which are required in multi-timestep SNNs, thereby improving compute and energy efficiency.

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.