FTBC: Forward Temporal Bias Correction for Optimizing ANN-SNN Conversion

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Xiaofeng, Bojkovic, Velibor, Gu, Bin, Suo, Kun, Zou, Kai
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911816454504448
author Wu, Xiaofeng
Bojkovic, Velibor
Gu, Bin
Suo, Kun
Zou, Kai
author_facet Wu, Xiaofeng
Bojkovic, Velibor
Gu, Bin
Suo, Kun
Zou, Kai
contents Spiking Neural Networks (SNNs) offer a promising avenue for energy-efficient computing compared with Artificial Neural Networks (ANNs), closely mirroring biological neural processes. However, this potential comes with inherent challenges in directly training SNNs through spatio-temporal backpropagation -- stemming from the temporal dynamics of spiking neurons and their discrete signal processing -- which necessitates alternative ways of training, most notably through ANN-SNN conversion. In this work, we introduce a lightweight Forward Temporal Bias Correction (FTBC) technique, aimed at enhancing conversion accuracy without the computational overhead. We ground our method on provided theoretical findings that through proper temporal bias calibration the expected error of ANN-SNN conversion can be reduced to be zero after each time step. We further propose a heuristic algorithm for finding the temporal bias only in the forward pass, thus eliminating the computational burden of backpropagation and we evaluate our method on CIFAR-10/100 and ImageNet datasets, achieving a notable increase in accuracy on all datasets. Codes are released at a GitHub repository.
format Preprint
id arxiv_https___arxiv_org_abs_2403_18388
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FTBC: Forward Temporal Bias Correction for Optimizing ANN-SNN Conversion
Wu, Xiaofeng
Bojkovic, Velibor
Gu, Bin
Suo, Kun
Zou, Kai
Artificial Intelligence
Computer Vision and Pattern Recognition
Spiking Neural Networks (SNNs) offer a promising avenue for energy-efficient computing compared with Artificial Neural Networks (ANNs), closely mirroring biological neural processes. However, this potential comes with inherent challenges in directly training SNNs through spatio-temporal backpropagation -- stemming from the temporal dynamics of spiking neurons and their discrete signal processing -- which necessitates alternative ways of training, most notably through ANN-SNN conversion. In this work, we introduce a lightweight Forward Temporal Bias Correction (FTBC) technique, aimed at enhancing conversion accuracy without the computational overhead. We ground our method on provided theoretical findings that through proper temporal bias calibration the expected error of ANN-SNN conversion can be reduced to be zero after each time step. We further propose a heuristic algorithm for finding the temporal bias only in the forward pass, thus eliminating the computational burden of backpropagation and we evaluate our method on CIFAR-10/100 and ImageNet datasets, achieving a notable increase in accuracy on all datasets. Codes are released at a GitHub repository.
title FTBC: Forward Temporal Bias Correction for Optimizing ANN-SNN Conversion
topic Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.18388