arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.01158cs.NEcs.LG
收藏

重新思考预训练是从人工神经网络到神经网络的桥梁

Rethinking Pretraining as a Bridge from ANNs to SNNs

Tsinghua University(清华大学);Institute of Automation of Chinese Academy of Sciences(中国科学院自动化研究所)

Yihan Lin, Yifan Hu, Shijie Ma, Guoqi Li, Dongjie Yu

摘要:

脉冲神经网络(SNN)以其丰富的神经元动力学特性、多样的编码方式和低功耗的特性被认为是一种典型的脑启发模型。如何获得高精度的神经网络模型一直是神经网络领域的主要挑战。目前,有两种主流方法,即,通过将训练良好的人工神经网络(ANN)转换为其SNN对应物或直接训练SNN来获得转换的SNN。然而,转换后的SNN的推理时间太长,而SNN训练通常非常昂贵且效率低下。在这项工作中,通过结合两种不同训练方法的概念,并借助预训练技术和基于BP的深度SNN训练机制,提出了一种新的SNN训练范式。我们相信,所提出的范例是训练SNN的更有效的管道。流水线包括用于静态数据传输任务的pipeS和用于动态数据传输任务的pipeD。SOTA结果是在大规模事件驱动数据集ES-ImageNet中获得的。对于训练加速,我们在ImageNet-1 K上使用1/10的训练时间,在ES-ImageNet上使用2/5的训练时间,实现了与类似的LIF-SNN相同(或更高)的最佳精度,并为新数据集ES-UCF 101提供了时间精度基准。这些实验结果揭示了神经网络和SNN之间的参数函数的相似性,也展示了SNN训练管道的各种潜在应用。

英文摘要:

Spiking neural networks (SNNs) are known as a typical kind of brain-inspired models with their unique features of rich neuronal dynamics, diverse coding schemes and low power consumption properties. How to obtain a high-accuracy model has always been the main challenge in the field of SNN. Currently, there are two mainstream methods, i.e., obtaining a converted SNN through converting a well-trained Artificial Neural Network (ANN) to its SNN counterpart or training an SNN directly. However, the inference time of a converted SNN is too long, while SNN training is generally very costly and inefficient. In this work, a new SNN training paradigm is proposed by combining the concepts of the two different training methods with the help of the pretrain technique and BP-based deep SNN training mechanism. We believe that the proposed paradigm is a more efficient pipeline for training SNNs. The pipeline includes pipeS for static data transfer tasks and pipeD for dynamic data transfer tasks. SOTA results are obtained in a large-scale event-driven dataset ES-ImageNet. For training acceleration, we achieve the same (or higher) best accuracy as similar LIF-SNNs using 1/10 training time on ImageNet-1K and 2/5 training time on ES-ImageNet and also provide a time-accuracy benchmark for a new dataset ES-UCF101. These experimental results reveal the similarity of the functions of parameters between ANNs and SNNs and also demonstrate the various potential applications of this SNN training pipeline.

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

↑