Efficient Spiking Neural Networks Incorporating Temporal Attention Mechanisms and Surrogate Gradient
In recent years, Spiking Neural Networks (SNNs) have received much attention for their efficient bio-inspired properties, especially in processing time-series data. However, conventional SNNs face the challenges of information loss and insufficient temporal dependence in the encoding layer. To address these issues, this study proposes a SNN coding layer that integrates a temporal attention mechanism and introduces a new surrogate gradient function to improve the model's learning ability and performance. This study proposes a novel temporal attention mechanism designed to enhance the performance of the coding layer of SNNS. Traditional SNNs often face the problems of information loss and lack of temporal dependence when dealing with temporal data. To address these problems, we introduce a temporal attention mechanism, which enables the network to capture important temporal features more efficiently by dynamically adjusting the weights of the input information. In addition, we design a new gradient substitution function to accommodate the discrete nature of the impulse signal. This substitution function can improve the learning ability of the network by avoiding the common gradient vanishing problem in traditional backpropagation while maintaining the gradient flow. The experimental results show that the SNN combining the temporal attention mechanism and the new surrogate gradient function performs superiorly on several benchmark datasets, displaying stronger temporal information processing ability and higher classification accuracy.
Authors
- Z. Li
- Shukai Duan (ORCID: https://orcid.org/0000-0002-0040-3796)
- Lidan Wang (ORCID: https://orcid.org/0000-0003-0730-4202)
- Cheng Qian (ORCID: https://orcid.org/0000-0001-8772-2871)
- Xinlu Tang (ORCID: https://orcid.org/0009-0008-9469-8345)
Institutions
- Southwest University (CN)
- Shanghai Center for Brain Science and Brain-Inspired Technology (CN)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/icaace65325.2025.11019704
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities