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

Joint A-SNN:通过自蒸馏与权重分解实现人工神经网络与脉冲神经网络的联合训练

Joint A-SNN: Joint Training of Artificial and Spiking Neural Networks via Self-Distillation and Weight Factorization

Yufei Guo, Weihang Peng, Yuanpei Chen, Liwen Zhang, Xiaode Liu, Xuhui Huang, Zhe Ma

AI总结:

针对脉冲神经网络(SNN)从头训练需重定义梯度计算函数的难题,提出基于自蒸馏与权重分解的ANN-SNN联合训练框架,在CIFAR100等任务上取得优于现有方法的性能。

摘要:

脉冲神经网络(SNN)作为一种受生物启发的方法,模拟大脑神经元的脉冲发放特性,已受到大量研究关注。SNN以二进制脉冲作为激活值,因此能在硬件上实现极高的能效。但这也带来了一个固有障碍:从头训练SNN需要重新定义用于计算梯度的发放函数。而人工神经网络(ANN)是完全可微的,可通过梯度下降进行训练。本文提出了一种ANN与SNN的联合训练框架,其中ANN可引导SNN的优化过程。该联合框架包含两部分:首先,利用网络的多个分支将ANN中的知识蒸馏到SNN中;其次,对ANN和SNN的参数进行约束,二者共享部分参数,同时学习不同的奇异权重。在多种常用网络结构上开展的大量实验表明,本文方法的性能始终优于许多其他先进(state-of-the-art)训练方法。例如,在CIFAR100分类任务上,通过本文方法训练的脉冲ResNet-18模型仅需4个时间步即可达到77.39%的top-1准确率。

英文摘要:

Emerged as a biology-inspired method, Spiking Neural Networks (SNNs) mimic the spiking nature of brain neurons and have received lots of research attention. SNNs deal with binary spikes as their activation and therefore derive extreme energy efficiency on hardware. However, it also leads to an intrinsic obstacle that training SNNs from scratch requires a re-definition of the firing function for computing gradient. Artificial Neural Networks (ANNs), however, are fully differentiable to be trained with gradient descent. In this paper, we propose a joint training framework of ANN and SNN, in which the ANN can guide the SNN's optimization. This joint framework contains two parts: First, the knowledge inside ANN is distilled to SNN by using multiple branches from the networks. Second, we restrict the parameters of ANN and SNN, where they share partial parameters and learn different singular weights. Extensive experiments over several widely used network structures show that our method consistently outperforms many other state-of-the-art training methods. For example, on the CIFAR100 classification task, the spiking ResNet-18 model trained by our method can reach to 77.39% top-1 accuracy with only 4 time steps.

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

↑