Direct Training Needs Regularisation: Anytime Optimal Inference Spiking Neural Network

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Dengyu, Qi, Yi, Cai, Kaiwen, Jin, Gaojie, Yi, Xinping, Huang, Xiaowei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917655341957120
author Wu, Dengyu
Qi, Yi
Cai, Kaiwen
Jin, Gaojie
Yi, Xinping
Huang, Xiaowei
author_facet Wu, Dengyu
Qi, Yi
Cai, Kaiwen
Jin, Gaojie
Yi, Xinping
Huang, Xiaowei
contents Spiking Neural Network (SNN) is acknowledged as the next generation of Artificial Neural Network (ANN) and hold great promise in effectively processing spatial-temporal information. However, the choice of timestep becomes crucial as it significantly impacts the accuracy of the neural network training. Specifically, a smaller timestep indicates better performance in efficient computing, resulting in reduced latency and operations. While, using a small timestep may lead to low accuracy due to insufficient information presentation with few spikes. This observation motivates us to develop an SNN that is more reliable for adaptive timestep by introducing a novel regularisation technique, namely Spatial-Temporal Regulariser (STR). Our approach regulates the ratio between the strength of spikes and membrane potential at each timestep. This effectively balances spatial and temporal performance during training, ultimately resulting in an Anytime Optimal Inference (AOI) SNN. Through extensive experiments on frame-based and event-based datasets, our method, in combination with cutoff based on softmax output, achieves state-of-the-art performance in terms of both latency and accuracy. Notably, with STR and cutoff, SNN achieves 2.14 to 2.89 faster in inference compared to the pre-configured timestep with near-zero accuracy drop of 0.50% to 0.64% over the event-based datasets. Code available: https://github.com/Dengyu-Wu/AOI-SNN-Regularisation
format Preprint
id arxiv_https___arxiv_org_abs_2405_00699
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Direct Training Needs Regularisation: Anytime Optimal Inference Spiking Neural Network
Wu, Dengyu
Qi, Yi
Cai, Kaiwen
Jin, Gaojie
Yi, Xinping
Huang, Xiaowei
Neural and Evolutionary Computing
Artificial Intelligence
Machine Learning
Spiking Neural Network (SNN) is acknowledged as the next generation of Artificial Neural Network (ANN) and hold great promise in effectively processing spatial-temporal information. However, the choice of timestep becomes crucial as it significantly impacts the accuracy of the neural network training. Specifically, a smaller timestep indicates better performance in efficient computing, resulting in reduced latency and operations. While, using a small timestep may lead to low accuracy due to insufficient information presentation with few spikes. This observation motivates us to develop an SNN that is more reliable for adaptive timestep by introducing a novel regularisation technique, namely Spatial-Temporal Regulariser (STR). Our approach regulates the ratio between the strength of spikes and membrane potential at each timestep. This effectively balances spatial and temporal performance during training, ultimately resulting in an Anytime Optimal Inference (AOI) SNN. Through extensive experiments on frame-based and event-based datasets, our method, in combination with cutoff based on softmax output, achieves state-of-the-art performance in terms of both latency and accuracy. Notably, with STR and cutoff, SNN achieves 2.14 to 2.89 faster in inference compared to the pre-configured timestep with near-zero accuracy drop of 0.50% to 0.64% over the event-based datasets. Code available: https://github.com/Dengyu-Wu/AOI-SNN-Regularisation
title Direct Training Needs Regularisation: Anytime Optimal Inference Spiking Neural Network
topic Neural and Evolutionary Computing
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2405.00699