arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18388cs.AIcs.CV
收藏

FTBC:用于优化 ANN-SNN 转换的前向时间偏置校正

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

Faculty of Data Science, City University of Macau(澳门大学数据科学学院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Kennesaw State University(肯尼索州立大学);ProtagoLabs Inc(ProtagoLabs公司)

Xiaofeng Wu, Velibor Bojkovic, Bin Gu, Kun Suo, Kai Zou

AI总结:

本文提出轻量级前向时间偏置校正(FTBC)技术,通过仅在前向传递中启发式寻找时间偏置消除反向传播开销,在理论上将各时间步转换误差降至零,并在CIFAR-10/100和ImageNet上显著提升了ANN-SNN转换精度。

摘要:

与人工神经网络(ANNs)相比,脉冲神经网络(SNNs)为节能计算提供了一条极具前景的途径,它紧密模拟了生物神经过程。然而,这一潜力在通过时空反向传播直接训练 SNNs 时带来了固有挑战——这源于脉冲神经元的时间动态性及其离散信号处理——这需要替代的训练方式,最显著的是通过 ANN-SNN 转换。在本研究中,我们引入了一种轻量级的前向时间偏置校正(FTBC)技术,旨在在不增加计算开销的情况下提升转换精度。我们的方法基于提供的理论发现,即通过适当的时间偏置校准,ANN-SNN 转换的预期误差在每个时间步之后可以减小为零。我们进一步提出了一种启发式算法,仅在正向传递中寻找时间偏置,从而消除了反向传播的计算负担,并在 CIFAR-10/100 和 ImageNet 数据集上评估了我们的方法,在所有数据集上实现了显著的准确率提升。代码已在 GitHub 仓库发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑