Skip to main content
QUICK REVIEW

[Paper Review] Training Energy-Efficient Deep Spiking Neural Networks with Time-to-First-Spike Coding

Seongsik Park, Sungroh Yoon|arXiv (Cornell University)|Jun 4, 2021
Advanced Memory and Neural ComputingEngineering43 references5 citations
TL;DR

This paper proposes a training framework for deep spiking neural networks (SNNs) using time-to-first-spike (TTFS) coding to achieve high energy efficiency. By introducing a surrogate DNN model with stochastically relaxed activation, temporal kernel regularization, and temporal kernel-aware batch normalization, the method reduces spike counts by up to 77% compared to state-of-the-art TSC coding while maintaining competitive accuracy on CIFAR-10 with only 2% accuracy degradation.

ABSTRACT

The tremendous energy consumption of deep neural networks (DNNs) has become a serious problem in deep learning. Spiking neural networks (SNNs), which mimic the operations in the human brain, have been studied as prominent energy-efficient neural networks. Due to their event-driven and spatiotemporally sparse operations, SNNs show possibilities for energy-efficient processing. To unlock their potential, deep SNNs have adopted temporal coding such as time-to-first-spike (TTFS)coding, which represents the information between neurons by the first spike time. With TTFS coding, each neuron generates one spike at most, which leads to a significant improvement in energy efficiency. Several studies have successfully introduced TTFS coding in deep SNNs, but they showed restricted efficiency improvement owing to the lack of consideration for efficiency during training. To address the aforementioned issue, this paper presents training methods for energy-efficient deep SNNs with TTFS coding. We introduce a surrogate DNN model to train the deep SNN in a feasible time and analyze the effect of the temporal kernel on training performance and efficiency. Based on the investigation, we propose stochastically relaxed activation and initial value-based regularization for the temporal kernel parameters. In addition, to reduce the number of spikes even further, we present temporal kernel-aware batch normalization. With the proposed methods, we could achieve comparable training results with significantly reduced spikes, which could lead to energy-efficient deep SNNs.

Motivation & Objective

  • Address the limited energy efficiency in deep spiking neural networks (SNNs) despite their potential for event-driven, sparse computation.
  • Overcome the challenge of inefficient training in TTFS-coded SNNs, where existing methods fail to consider energy efficiency during backpropagation.
  • Develop a scalable, differentiable training framework that enables direct training of deep SNNs with TTFS coding while minimizing spike counts.
  • Achieve high inference accuracy with significantly reduced spike activity to maximize energy efficiency on neuromorphic hardware.

Proposed method

  • Propose a computationally efficient surrogate DNN model that operates in the spike time domain with clipped, quantized activations to mimic TTFS coding within a fixed time window.
  • Introduce stochastically relaxed activation to mitigate gradient vanishing in temporal kernel parameters during backpropagation.
  • Apply initial value-based regularization on temporal kernel parameters to stabilize training and reduce spike generation.
  • Design temporal kernel-aware batch normalization that adapts normalization to the temporal kernel structure, further minimizing spike counts.
  • Train the SNN using stochastic gradient descent (SGD) on the surrogate model, enabling end-to-end backpropagation with differentiable approximations.
  • Map the trained surrogate model to a real SNN with IF neurons and TTFS coding for inference, preserving low spike activity.

Experimental results

Research questions

  • RQ1How can we train deep SNNs with TTFS coding in a way that maintains high accuracy while minimizing spike counts for energy efficiency?
  • RQ2What are the key causes of gradient vanishing in temporal kernel parameters during TTFS-based SNN training, and how can they be mitigated?
  • RQ3How does temporal kernel regularization affect training stability and spike efficiency in TTFS-coded SNNs?
  • RQ4To what extent can temporal kernel-aware batch normalization reduce spike counts without degrading model accuracy?
  • RQ5How does the proposed training framework compare in energy efficiency and accuracy to existing SNN training methods using rate, phase, burst, or TSC coding?

Key findings

  • The proposed method achieved 27.80 spikes per sample on CIFAR-10, representing a 30% reduction compared to the prior TTFS study (29.94 spikes) with similar accuracy.
  • Spike rate was reduced to 0.03%, which is 24% of TSC and 89% of the prior TTFS method, indicating significantly sparser activation.
  • Sparsity (average spikes per neuron) was 17%, which is 25% of TSC and 71% of the prior TTFS method, confirming improved temporal efficiency.
  • Energy consumption was estimated to be reduced by up to 54% compared to TSC and 77% compared to the prior TTFS method, demonstrating strong energy efficiency gains.
  • Despite a 2% accuracy drop on CIFAR-10 (65.98% vs. 68.79% in prior TTFS work), the model achieved significantly lower spike counts, prioritizing energy efficiency over peak accuracy.
  • The method maintained stable training through stochastically relaxed activation and temporal kernel regularization, enabling effective backpropagation in the TTFS regime.

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.