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

TCJA-SNN:面向脉冲神经网络的时间-通道联合注意力机制

TCJA-SNN: Temporal-Channel Joint Attention for Spiking Neural Networks

University of California, Santa Cruz(加利福尼亚大学圣克鲁兹分校);University of Electronic Science and Technology of China(电子科技大学);Kuaishou Technology(快手科技)

Rui-Jie Zhu, Malu Zhang, Qihang Zhao, Haoyu Deng, Yule Duan, Liang-Jian Deng

AI总结:

本研究提出面向脉冲神经网络的时间-通道联合注意力机制TCJA-SNN,通过1D卷积局部注意力与交叉卷积融合层建模时空通道依赖,在多类数据集上准确率最高提升15.7%,首次将SNN注意力用于分类和生成任务并达SOTA。

摘要:

脉冲神经网络(Spiking Neural Networks, SNNs)凭借其生物合理性、能效性以及强大的时空信息表征能力,正受到广泛关注。鉴于注意力机制在提升神经网络性能方面的关键作用,将SNNs与注意力机制相结合有望打造出高能效、高性能的计算范式。我们提出了一种面向SNNs的新型时间-通道联合注意力机制,命名为TCJA-SNN。所提出的TCJA-SNN框架能够从空间和时间两个维度有效评估脉冲序列的重要性。具体而言,我们的核心技术贡献在于:1)采用压缩操作将脉冲流压缩为平均矩阵,随后利用两个基于高效1D卷积的局部注意力机制,分别在时间和通道层面实现全面的特征提取。2)引入交叉卷积融合(Cross Convolutional Fusion, CCF)层作为一种建模时间与通道范围间相互依赖关系的新方法,该层打破了这两个维度的独立性,实现了特征之间的交互。实验结果表明,在Fashion-MNIST、CIFAR10-DVS、N-Caltech 101和DVS128 Gesture等标准静态数据集和神经形态数据集上,所提出的TCJA-SNN的准确率较当前最优(SOTA)方法最高提升了15.7%。此外,我们借助变分自编码器将TCJA-SNN框架应用于图像生成任务。据我们所知,本研究首次将SNN注意力机制应用于图像分类和生成任务。值得注意的是,我们的方法在这两个领域均达到了SOTA性能,为该领域带来了显著进展。代码可在https://github.com/ridgerchu/TCJA获取。

英文摘要:

Spiking Neural Networks (SNNs) are attracting widespread interest due to their biological plausibility, energy efficiency, and powerful spatio-temporal information representation ability. Given the critical role of attention mechanisms in enhancing neural network performance, the integration of SNNs and attention mechanisms exhibits potential to deliver energy-efficient and high-performance computing paradigms. We present a novel Temporal-Channel Joint Attention mechanism for SNNs, referred to as TCJA-SNN. The proposed TCJA-SNN framework can effectively assess the significance of spike sequence from both spatial and temporal dimensions. More specifically, our essential technical contribution lies on: 1) We employ the squeeze operation to compress the spike stream into an average matrix. Then, we leverage two local attention mechanisms based on efficient 1D convolutions to facilitate comprehensive feature extraction at the temporal and channel levels independently. 2) We introduce the Cross Convolutional Fusion (CCF) layer as a novel approach to model the inter-dependencies between the temporal and channel scopes. This layer breaks the independence of these two dimensions and enables the interaction between features. Experimental results demonstrate that the proposed TCJA-SNN outperforms SOTA by up to 15.7% accuracy on standard static and neuromorphic datasets, including Fashion-MNIST, CIFAR10-DVS, N-Caltech 101, and DVS128 Gesture. Furthermore, we apply the TCJA-SNN framework to image generation tasks by leveraging a variation autoencoder. To the best of our knowledge, this study is the first instance where the SNN-attention mechanism has been employed for image classification and generation tasks. Notably, our approach has achieved SOTA performance in both domains, establishing a significant advancement in the field. Codes are available at https://github.com/ridgerchu/TCJA.

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

↑