arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.13098cs.LGcs.NE
收藏

揭示经替代梯度训练的脉冲神经网络的表征

Uncovering the Representation of Spiking Neural Networks Trained with Surrogate Gradient

Yale University(耶鲁大学)

Yuhang Li, Youngeun Kim, Hyoungseob Park, Priyadarshini Panda

AI总结:

本文利用CKA比较替代梯度训练的SNN与ANN的表征,分析宽度、深度、残差连接、时间维度及输入影响,揭示SNN表征规律。

摘要:

脉冲神经网络(SNN)因其生物合理性和能效而被认为是下一代神经网络的候选者。近来,研究人员已经证明,使用替代梯度训练,SNN能够在图像识别任务中取得接近最先进水平的性能。然而,与SNN相关的一些基本问题仍鲜有研究:经替代梯度训练的SNN是否学习到了与传统人工神经网络(ANN)不同的表征?SNN中的时间维度是否提供了独特的表征能力?本文中,我们旨在通过使用中心化核对齐(CKA)在SNN与ANN之间开展表征相似性分析来回答这些问题。我们首先分析网络的空间维度,包括宽度和深度。此外,我们对残差连接的分析表明,SNN学习到一种周期性模式,该模式将SNN中的表征校正为类似ANN的形式。我们还研究了时间维度对SNN表征的影响,发现更深的层会促使沿时间维度产生更多动态。我们也考察了事件流数据和对抗攻击等输入数据的影响。我们的工作揭示了SNN表征中的一系列新发现。我们希望这项工作能启发未来研究,以充分理解SNN的表征能力。代码发布于https://github.com/Intelligent-Computing-Lab-Yale/SNNCKA。

英文摘要:

Spiking Neural Networks (SNNs) are recognized as the candidate for the next-generation neural networks due to their bio-plausibility and energy efficiency. Recently, researchers have demonstrated that SNNs are able to achieve nearly state-of-the-art performance in image recognition tasks using surrogate gradient training. However, some essential questions exist pertaining to SNNs that are little studied: Do SNNs trained with surrogate gradient learn different representations from traditional Artificial Neural Networks (ANNs)? Does the time dimension in SNNs provide unique representation power? In this paper, we aim to answer these questions by conducting a representation similarity analysis between SNNs and ANNs using Centered Kernel Alignment (CKA). We start by analyzing the spatial dimension of the networks, including both the width and the depth. Furthermore, our analysis of residual connections shows that SNNs learn a periodic pattern, which rectifies the representations in SNNs to be ANN-like. We additionally investigate the effect of the time dimension on SNN representation, finding that deeper layers encourage more dynamics along the time dimension. We also investigate the impact of input data such as event-stream data and adversarial attacks. Our work uncovers a host of new findings of representations in SNNs. We hope this work will inspire future research to fully comprehend the representation power of SNNs. Code is released at https://github.com/Intelligent-Computing-Lab-Yale/SNNCKA.

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

↑