Proceedings

Binary Event-Driven Spiking Transformer

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4110-4118.

https://doi.org/10.24963/ijcai.2025/458

Abstract

Transformer-based Spiking Neural Networks (SNNs) introduce a novel event-driven self-attention paradigm that combines the high performance of Transformers with the energy efficiency of SNNs. However, the larger model size and increased computational demands of the Transformer structure limit their practicality in resource-constrained scenarios. In this paper, we integrate binarization techniques into Transformer-based SNNs and propose the Binary Event-Driven Spiking Transformer, i.e. BESTformer. The proposed BESTformer can significantly reduce storage and computational demands by representing weights and attention maps with a mere 1-bit. However, BESTformer suffers from a severe performance drop from its full-precision counterpart due to the limited representation capability of binarization. To address this issue, we propose a Coupled Information Enhancement (CIE) method, which consists of a reversible framework and information enhancement distillation. By maximizing the mutual information between the binary model and its full-precision counterpart, the CIE method effectively mitigates the performance degradation of the BESTformer. Extensive experiments on static and neuromorphic datasets demonstrate that our method achieves superior performance to other binary SNNs, showcasing its potential as a compact yet high-performance model for resource-limited edge devices. The repository of this paper is available at https://github.com/CaoHLin/BESTFormer.

  1. [Akopyan et al., 2015] Filipp Akopyan, Jun Sawada, An- drew Cassidy, Rodrigo Alvarez-Icaza, John Arthur, Paul Merolla, Nabil Imam, Yutaka Nakamura, Pallab Datta, Gi- Joon Nam, et al. Truenorth: Design and tool flow of a 65 mw 1 million neuron programmable neurosynaptic chip. IEEE transactions on computer-aided design of integrated circuits and systems, 34(10):1537-1557, 2015.
  2. [Davies et al., 2018] Mike Davies, Narayan Srinivasa, Tsung-Han Lin, Gautham Chinya, Yongqiang Cao, Sri Harsha Choday, Georgios Dimou, Prasad Joshi, Nabil Imam, Shweta Jain, et al. Loihi: A neuromorphic manycore processor with on-chip learning. Ieee Micro, 38(1):82-99, 2018.
  3. [Deng et al., 2009] Jia Deng, Wei Dong, Richard Socher, Li- Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248-255.
  4. [Deng et al., 2021] Lei Deng, Yujie Wu, Yifan Hu, Ling Liang, Guoqi Li, Xing Hu, Yufei Ding, Peng Li, and Yuan Xie. Comprehensive snn compression using admm opti- mization and activity regularization. IEEE transactions on neural networks and learning systems, 34(6):2791-2805, 2021.
  5. [Gomez et al., 2017] Aidan N Gomez, Mengye Ren, Raquel Urtasun, and Roger B Grosse. The reversible resid- ual network: Backpropagation without storing activations. Advances in neural information processing systems, 30, 2017.
  6. [Guo et al., 2022] Yufei Guo, Yuanpei Chen, Liwen Zhang, Xiaode Liu, Yinglei Wang, Xuhui Huang, and Zhe Ma. Im-loss: information maximization loss for spiking neu- ral networks. Advances in Neural Information Processing Systems, 35:156-166, 2022.
  7. [Guo et al., 2024] Yufei Guo, Yuanpei Chen, Xiaode Liu, Weihang Peng, Yuhan Zhang, Xuhui Huang, and Zhe Ma. Ternary spike: Learning ternary spikes for spiking neural networks. In Proceedings of the AAAI Conference on Arti- ficial Intelligence, volume 38, pages 12244-12252, 2024.
  8. [Hu et al., 2024] Yangfan Hu, Qian Zheng, and Gang Pan. Bitsnns: Revisiting energy-efficient spiking neural net- works. IEEE Transactions on Cognitive and Developmen- tal Systems, 2024.
  9. [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny im- ages. 2009.
  10. [Li et al., 2017] Hongmin Li, Hanchao Liu, Xiangyang Ji, Guoqi Li, and Luping Shi. Cifar10-dvs: an event-stream dataset for object classification. Frontiers in neuroscience, 11:309, 2017.
  11. [Li et al., 2022a] Yanjing Li, Sheng Xu, Baochang Zhang, Xianbin Cao, Peng Gao, and Guodong Guo. Q- vit: Accurate and fully quantized low-bit vision trans- former. Advances in neural information processing sys- tems, 35:34451-34463, 2022.
  12. [Li et al., 2022b] Yudong Li, Yunlin Lei, and Xu Yang. Spikeformer: a novel architecture for training high- performance low-latency spiking neural network. arXiv preprint arXiv:2211.10686, 2022.
  13. [Li et al., 2023] Guoqi Li, Lei Deng, Huajing Tang, Gang Pan, Yonghong Tian, Kaushik Roy, and Wolfgang Maass. Brain inspired computing: A systematic survey and future trends. Authorea Preprints, 2023.
  14. [Liang et al., 2025] Yu Liang, Wenjie Wei, Ammar Bela- treche, Honglin Cao, Zijian Zhou, Shuai Wang, Malu Zhang, and Yang Yang. Towards accurate binary spiking neural networks: Learning with adaptive gradient modula- tion mechanism. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 1402-1410, 2025.
  15. [Liu et al., 2018] Zechun Liu, Baoyuan Wu, Wenhan Luo, Xin Yang, Wei Liu, and Kwang-Ting Cheng. Bi-real net: Enhancing the performance of 1-bit cnns with im- proved representational capability and advanced training algorithm. In Proceedings of the European conference on computer vision (ECCV), pages 722-737, 2018.
  16. [Maass, 1997] Wolfgang Maass. Networks of spiking neu- rons: the third generation of neural network models. Neu- ral networks, 10(9):1659-1671, 1997.
  17. [Pei et al., 2019] Jing Pei, Lei Deng, Sen Song, Mingguo Zhao, Youhui Zhang, Shuang Wu, Guanrui Wang, Zhe Zou, Zhenzhi Wu, Wei He, et al. Towards artificial general intelligence with hybrid tianjic chip architecture. Nature, 572(7767):106-111, 2019.
  18. [Pei et al., 2023] Yijian Pei, Changqing Xu, Zili Wu, Yi Liu, and Yintang Yang. Albsnn: ultra-low latency adaptive lo- cal binary spiking neural network with accuracy loss esti- mator. Frontiers in Neuroscience, 17, 2023.
  19. [Qiao et al., 2021] GC Qiao, Ning Ning, Yue Zuo, SG Hu, Qi Yu, and Yecheng Liu. Direct training of hardware- friendly weight binarized spiking neural network with sur- rogate gradient learning towards spatio-temporal event- based dynamic data recognition. Neurocomputing, 457:203-213, 2021.
  20. [Qin et al., 2020a] Haotong Qin, Ruihao Gong, Xianglong Liu, Xiao Bai, Jingkuan Song, and Nicu Sebe. Binary neu- ral networks: A survey. Pattern Recognition, 105:107281, 2020.
  21. [Qin et al., 2020b] Haotong Qin, Ruihao Gong, Xianglong Liu, Mingzhu Shen, Ziran Wei, Fengwei Yu, and Jingkuan Song. Forward and backward information retention for accurate binary neural networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2250-2259, 2020.
  22. [Rastegari et al., 2016] Mohammad Rastegari, Vicente Or- donez, Joseph Redmon, and Ali Farhadi. Xnor-net: Ima- genet classification using binary convolutional neural net- works. In European conference on computer vision, pages 525-542. Springer, 2016.
  23. [Salimans and Kingma, 2016] Tim Salimans and Durk P Kingma. Weight normalization: A simple reparameter- ization to accelerate training of deep neural networks. Advances in neural information processing systems, 29, 2016.
  24. [Shen et al., 2024] Guobin Shen, Dongcheng Zhao, Teng- long Li, Jindong Li, and Yi Zeng. Are conventional snns really efficient? a perspective from network quan- tization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 27538- 27547, 2024.
  25. [Touvron et al., 2021] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablay- rolles, and Herve Jegou. Training data-efficient image transformers & distillation through attention. In International Conference on Machine Learning, volume 139, pages 10347-10357, July 2021.
  26. [Wang et al., 2025] Shuai Wang, Malu Zhang, Dehao Zhang, Ammar Belatreche, Yichen Xiao, Yu Liang, Yimeng Shan, Qian Sun, Enqi Zhang, and Yang Yang. Spiking vision transformer with saccadic attention. In International Con- ference on Learning Representations (ICLR), 2025.
  27. [Wei et al., 2024] Wenjie Wei, Yu Liang, Ammar Bela- treche, Yichen Xiao, Honglin Cao, Zhenbang Ren, Guo- qing Wang, Malu Zhang, and Yang Yang. Q-snns: Quantized spiking neural networks. arXiv preprint arXiv:2406.13672, 2024.
  28. [Wei et al., 2025] Wenjie Wei, Malu Zhang, Zijian Zhou, Ammar Belatreche, Yimeng Shan, Yu Liang, Honglin Cao, Jieyuan Zhang, and Yang Yang. Qp-snn: Quantized and pruned spiking neural networks. In International Confer- ence on Learning Representations (ICLR), 2025.
  29. [Xu et al., 2023] Sheng Xu, Yanjing Li, Mingbao Lin, Peng Gao, Guodong Guo, Jinhu Lü, and Baochang Zhang. Q- detr: An efficient low-bit quantized detection transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3842-3851, 2023.
  30. [Xu et al., 2024a] Qi Xu, Xuanye Fang, Yaxin Li, Jiangrong Shen, De Ma, Yi Xu, and Gang Pan. Rsnn: Recurrent spik- ing neural networks for dynamic spatial-temporal informa- tion processing. In Proceedings of the 32nd ACM Inter- national Conference on Multimedia, pages 10602-10610, 2024.
  31. [Xu et al., 2024b] Qi Xu, Yaxin Li, Xuanye Fang, Jiangrong Shen, Qiang Zhang, and Gang Pan. Reversing structural pattern learning with biologically inspired knowledge dis- tillation for spiking neural networks. In Proceedings of the 32nd ACM International Conference on Multimedia, pages 3431-3439, 2024.
  32. [Yao et al., 2024a] Man Yao, JiaKui Hu, Tianxiang Hu, Yi- fan Xu, Zhaokun Zhou, Yonghong Tian, Bo XU, and Guoqi Li. Spike-driven transformer v2: Meta spiking neural network architecture inspiring the design of next- generation neuromorphic chips. In The Twelfth Interna- tional Conference on Learning Representations, 2024.
  33. [Yao et al., 2024b] Man Yao, Jiakui Hu, Zhaokun Zhou, Li Yuan, Yonghong Tian, Bo Xu, and Guoqi Li. Spike- driven transformer. Advances in neural information pro- cessing systems, 36, 2024.
  34. [Yin et al., 2024] Ruokai Yin, Yuhang Li, Abhishek Moitra, and Priyadarshini Panda. Mint: Multiplier-less integer quantization for energy efficient spiking neural networks. In 2024 29th Asia and South Pacific Design Automation Conference (ASP-DAC), pages 830-835. IEEE, 2024.
  35. [Yoo and Jeong, 2023] Donghyung Yoo and Doo Seok Jeong. Cbp-qsnn: Spiking neural networks quantized us- ing constrained backpropagation. IEEE Journal on Emerg- ing and Selected Topics in Circuits and Systems, 2023.
  36. [Zhang et al., 2021] Malu Zhang, Jiadong Wang, Jibin Wu, Ammar Belatreche, Burin Amornpaisannon, Zhixuan Zhang, Venkata Pavan Kumar Miriyala, Hong Qu, Yan- song Chua, Trevor E Carlson, et al. Rectified linear post- synaptic potential function for backpropagation in deep spiking neural networks. IEEE transactions on neural net- works and learning systems, 33(5):1947-1958, 2021.
  37. [Zhang et al., 2022] Jiqing Zhang, Bo Dong, Haiwei Zhang, Jianchuan Ding, Felix Heide, Baocai Yin, and Xin Yang. Spiking transformers for event-based single object track- ing. In Proceedings of the IEEE/CVF conference on Com- puter Vision and Pattern Recognition, pages 8801-8810, 2022.
  38. [Zhou et al., 2023a] Chenlin Zhou, Liutao Yu, Zhaokun Zhou, Zhengyu Ma, Han Zhang, Huihui Zhou, and Yonghong Tian. Spikingformer: Spike-driven residual learning for transformer-based spiking neural network. arXiv preprint arXiv:2304.11954, 2023.
  39. [Zhou et al., 2023b] Zhaokun Zhou, Yuesheng Zhu, Chao He, Yaowei Wang, Shuicheng YAN, Yonghong Tian, and Li Yuan. Spikformer: When spiking neural network meets transformer. In The Eleventh International Conference on Learning Representations, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards