Lune

AAAI2024Top-tier venue

Gated Attention Coding for Training High-Performance and Efficient Spiking Neural Networks

Xuerui Qiu, Rui-Jie Zhu, Yuhong Chou, Zhaorui Wang, Liang-Jian Deng, Guoqi Li

Abstract

Spiking neural networks (SNNs) are emerging as an energyefficient alternative to traditional artificial neural networks (ANNs) due to their unique spike-based event-driven nature. Coding is crucial in SNNs as it converts external input stimuli into spatio-temporal feature sequences. However, most existing deep SNNs rely on direct coding that generates powerless spike representation and lacks the temporal dynamics inherent in human vision. Hence, we introduce Gated Attention Coding (GAC), a plug-and-play module that leverages the multi-dimensional gated attention unit to efficiently encode inputs into powerful representations before feeding them into the SNN architecture. GAC functions as a preprocessing layer that does not disrupt the spike-driven nature of the SNN, making it amenable to efficient neuromorphic hardware implementation with minimal modifications. Through an observer model theoretical analysis, we demonstrate GAC's attention mechanism improves temporal dynamics and coding efficiency. Experiments on CIFAR10/100 and ImageNet datasets demonstrate that GAC achieves state-of-the-art accuracy with remarkable efficiency. Notably, we improve top-1 accuracy by 3.10% on CIFAR100 with only 6-time steps and 1.07% on ImageNet while reducing energy usage to 66.9% of the previous works. To our best knowledge, it is the first time to explore the attentionbased dynamic coding scheme in deep SNNs, with exceptional effectiveness and efficiency on large-scale datasets. The Code is available at https://github.com/bollossom/GAC .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural Networks cites Deep Residual Learning in Spiking Neural Networks
  • Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural Networks cites Temporal-wise Attention Spiking Neural Networks for Event Streams Classification
  • Spiking Transformer with Experts Mixture cites Deep Residual Learning in Spiking Neural Networks
  • Spiking Transformer with Experts Mixture cites Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural Networks
  • High-Performance Temporal Reversible Spiking Neural Networks with O(L) Training Memory and O(1) Inference Cost cites Deep Residual Learning in Spiking Neural Networks
  • High-Performance Temporal Reversible Spiking Neural Networks with O(L) Training Memory and O(1) Inference Cost cites Temporal-wise Attention Spiking Neural Networks for Event Streams Classification
  • High-Performance Temporal Reversible Spiking Neural Networks with O(L) Training Memory and O(1) Inference Cost cites Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural Networks
  • High-Performance Temporal Reversible Spiking Neural Networks with O(L) Training Memory and O(1) Inference Cost cites Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
  • GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks cites Deep Residual Learning in Spiking Neural Networks
  • GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks cites Temporal-wise Attention Spiking Neural Networks for Event Streams Classification
  • GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks cites Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural Networks
  • GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks cites Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
  • Efficient 3D Recognition with Event-driven Spike Sparse Convolution cites Deep Residual Learning in Spiking Neural Networks
  • LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model cites Deep Residual Learning in Spiking Neural Networks
  • LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model cites GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural Networks
  • LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model cites Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural Networks
  • LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold Model cites Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting
  • Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting cites Deep Residual Learning in Spiking Neural Networks
  • Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting cites Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. Spiking Meets Attention: Efficient Remote Sensing Image Super-Resolution with Attention Spiking Neural NetworksYi Xiao, Qiangqiang Yuan, Kui Jiang, Wenke Huang et al.NeurIPS 2025 · 25 citations
  2. High-Performance Temporal Reversible Spiking Neural Networks with O(L) Training Memory and O(1) Inference CostJiakui Hu, Man Yao, Xuerui Qiu, Yuhong Chou et al.ICML 2024 · 24 citations
  3. Efficient 3D Recognition with Event-driven Spike Sparse ConvolutionXuerui Qiu, Man Yao, Jieyuan Zhang, Yuhong Chou et al.AAAI 2025 · 17 citations
  4. LM-HT SNN: Enhancing the Performance of SNN to ANN Counterpart through Learnable Multi-hierarchical Threshold ModelZecheng Hao, Xinyu Shi, Yujia Liu, Zhaofei Yu et al.NeurIPS 2024 · 16 citations
  5. Spiking Transformer with Experts MixtureZhaokun Zhou, Yijie Lu, Yanhao Jia, Kaiwei Che et al.NeurIPS 2024 · 15 citations

Builds on11

  1. Deep Residual Learning in Spiking Neural NetworksWei Fang, Zhaofei Yu, Yanqi Chen, Tiejun Huang et al.NeurIPS 2021 · 857 citations
  2. Temporal Efficient Training of Spiking Neural Network via Gradient Re-weightingShikuang Deng, Yuhang Li, Shanghang Zhang, Shi GuICLR 2022 · 361 citations
  3. Differentiable Spike: Rethinking Gradient-Descent for Training Spiking Neural NetworksYuhang Li, Yufei Guo, Shanghang Zhang, Shikuang Deng et al.NeurIPS 2021 · 288 citations
  4. Temporal-wise Attention Spiking Neural Networks for Event Streams ClassificationMan Yao, Huanhuan Gao, Guangshe Zhao, Dingheng Wang et al.ICCV 2021 · 225 citations
  5. GLIF: A Unified Gated Leaky Integrate-and-Fire Neuron for Spiking Neural NetworksXingting Yao, Fanrong Li, Zitao Mo, Jian ChengNeurIPS 2022 · 175 citations

Related papers

  1. Spiking Transformer with Spatial-Temporal AttentionDonghyun Lee, Yuhang Li, Youngeun Kim, Shiting Xiao et al.CVPR 2025
  2. STAA-SNN: Spatial-Temporal Attention Aggregator for Spiking Neural NetworksTianqing Zhang, Kairong Yu, Xian Zhong, Hongwei Wang et al.CVPR 2025
  3. Spikformer: When Spiking Neural Network Meets TransformerZhaokun Zhou, Yuesheng Zhu, Chao He, Yaowei Wang et al.ICLR 2023 · 103 citations
  4. Temporal Dynamics Enhancer for Directly Trained Spiking Object DetectorsFan Luo, Zeyu Gao, Xinhao Luo, Kai Zhao et al.AAAI 2026
  5. DCT-SNN: Using DCT to Distribute Spatial Information over Time for Low-Latency Spiking Neural NetworksIsha Garg, Sayeed Shafayet Chowdhury, Kaushik RoyICCV 2021 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines