Proceedings

SAFformer: Improving Spiking Transformer via Active Predictive Filtering

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 1902-1910.

https://doi.org/10.24963/ijcai.2026/212

Abstract

Spiking Neural Networks (SNNs) offer notable advantages in biological plausibility and energy efficiency, making them promising candidates for building low-power Transformers. However, existing Spiking Transformers largely adhere to a passive reactive paradigm, which struggles to focus on task-relevant information and incurs substantial computational overhead when processing redundant visual data. To overcome this fundamental yet underexplored limitation, we propose SAFformer, a novel Spiking Transformer architecture based on an active predictive filtering paradigm. Inspired by the brain’s predictive coding mechanism, SAFformer actively suppresses predictable signals and focuses on salient visual features. Extensive experiments show that SAFformer establishes new state-of-the-art performance on CIFAR-10/100 and CIFAR10-DVS. Remarkably, on ImageNet-1K, it achieves 80.44% Top-1 accuracy with only 26.58M parameters and an energy consumption of 5.88 mJ, demonstrating an exceptional balance between accuracy and efficiency.

  1. [Ahlswede et al., 2000] Rudolf Ahlswede, Ning Cai, S-YR Li, and Raymond W Yeung. Network information flow. IEEE Transactions on information theory, 46(4):1204- 1216, 2000.
  2. [Amir et al., 2017] Arnon Amir, Brian Taba, David Berg, Timothy Melano, Jeffrey McKinstry, Carmelo Di Nolfo, Tapan Nayak, Alexander Andreopoulos, Guillaume Gar- reau, Marcela Mendoza, et al. A low power, fully event- based gesture recognition system. In Proceedings of the IEEE conference on computer vision and pattern recogni- tion, pages 7243-7252, 2017.
  3. [Chen et al., 2023] Jierun Chen, Shiu-hong Kao, Hao He, Weipeng Zhuo, Song Wen, Chul-Ho Lee, and S-H Gary Chan. Run, don't walk: chasing higher flops for faster neural networks. In Proceedings of the IEEE/CVF con- ference on computer vision and pattern recognition, pages 12021-12031, 2023.
  4. [Chen et al., 2024] Yunhua Chen, Ren Feng, Zhimin Xiong, Jinsheng Xiao, and Jian K Liu. High-performance deep spiking neural networks via at-most-two-spike exponential coding. Neural Networks, 176:106346, 2024.
  5. [Chen et al., 2026a] Yunhua Chen, Zequan Xie, Jinyu Zhong, Pinghua Chen, and Jinsheng Xiao. Sqkformer: Spiking sparse qkformer with adaptive batch normaliza- tion for membrane potential. Neurocomputing, page 132666, 2026.
  6. [Chen et al., 2026b] Yunhua Chen, Jinyu Zhong, Yihao Guo, Zequan Xie, Jinsheng Xiao, and Pinghua Chen. C3net: A cross-modal collaborative calibration of features for object detection using frames and events. Neural Networks, page 108651, 2026.
  7. [Crassidis and Markley, 1997] John L Crassidis and F Lan- dis Markley. Predictive filtering for nonlinear systems. Journal of Guidance, Control, and Dynamics, 20(3):566- 572, 1997.
  8. [Cubuk et al., 2020] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical auto- mated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF conference on computer vi- sion and pattern recognition workshops, pages 702-703, 2020.
  9. [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. Ieee, 2009.
  10. [Di Yu et al., 2024] Xin Du Di Yu, Linshan Jiang, Wentao Tong, and Shuiguang Deng. Ec-snn: Splitting deep spiking neural networks for edge devices. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, 2024. IJCAI
  11. [Dosovitskiy et al., 2020] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Min- derer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
  12. [Duan et al., 2023] Peiqi Duan, Yi Ma, Xinyu Zhou, Xinyu Shi, Zihao W Wang, Tiejun Huang, and Boxin Shi. Neu- rozoom: Denoising and super resolving neuromorphic events and spikes. IEEE Transactions on Pattern Analy- sis and Machine Intelligence, 45(12):15219-15232, 2023.
  13. [Eshraghian et al., 2023] Jason K Eshraghian, Max Ward, Emre O Neftci, Xinxin Wang, Gregor Lenz, Girish Dwivedi, Mohammed Bennamoun, Doo Seok Jeong, and Wei D Lu. Training spiking neural networks using lessons from deep learning. Proceedings of the IEEE, 111(9):1016-1054, 2023.
  14. [Fang et al., 2025] Yuetong Fang, Deming Zhou, Ziqing Wang, Hongwei Ren, ZeCui Zeng, Lusong Li, Shibo Zhou, and Renjing Xu. Spiking transformers need high frequency information. arXiv preprint arXiv:2505.18608, 2025.
  15. [Friston, 2009] Karl Friston. The free-energy principle: a rough guide to the brain? Trends in cognitive sciences, 13(7):293-301, 2009.
  16. [Guo et al., 2022] Yufei Guo, Liwen Zhang, Yuanpei Chen, Xinyi Tong, Xiaode Liu, YingLei Wang, Xuhui Huang, and Zhe Ma. Real spike: Learning real-valued spikes for spiking neural networks. In European conference on com- puter vision, pages 52-68. Springer, 2022.
  17. [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.
  18. [Guo et al., 2025] Yufei Guo, Xiaode Liu, Yuanpei Chen, Weihang Peng, Yuhan Zhang, and Zhe Ma. Spiking trans- former: Introducing accurate addition-only spiking self- attention for transformer. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 24398- 24408, 2025.
  19. [Hua et al., 2025] Wei Hua, Chenlin Zhou, Jibin Wu, Yan- song Chua, and Yangyang Shu. Msvit: Improving spik- ing vision transformer using multi-scale attention fusion. arXiv preprint arXiv:2505.14719, 2025. IJCAI
  20. [Hwang et al., 2024] Sangwoo Hwang, Seunghyun Lee, Da- hoon Park, Donghun Lee, and Jaeha Kung. Spikedatten- tion: Training-free and fully spike-driven transformer-to- snn conversion with winner-oriented spike shift for soft- max operation. Advances in Neural Information Process- ing Systems, 37:67422-67445, 2024.
  21. [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny im- ages. 2009.
  22. [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.
  23. [Luo et al., 2024] Xinhao Luo, Man Yao, Yuhong Chou, Bo Xu, and Guoqi Li. Integer-valued training and spike-driven inference spiking neural network for high- performance and energy-efficient object detection. In Eu- ropean Conference on Computer Vision, pages 253-272. Springer, 2024.
  24. [Maass, 1997] Wolfgang Maass. Networks of spiking neu- rons: the third generation of neural network models. Neu- ral networks, 10(9):1659-1671, 1997.
  25. [Qiu et al., 2024] Xuerui Qiu, Rui-Jie Zhu, Yuhong Chou, Zhaorui Wang, Liang-jian Deng, and Guoqi Li. Gated at- tention coding for training high-performance and efficient spiking neural networks. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 38, pages 601- 610, 2024.
  26. [Qiu et al., 2025] Xuerui Qiu, Malu Zhang, Jieyuan Zhang, Wenjie Wei, Honglin Cao, Junsheng Guo, Rui-Jie Zhu, Yi- meng Shan, Yang Yang, and Haizhou Li. Quantized spike- driven transformer. arXiv preprint arXiv:2501.13492, 2025.
  27. [Rao and Ballard, 1999] Rajesh PN Rao and Dana H Ballard. Predictive coding in the visual cortex: a functional in- terpretation of some extra-classical receptive-field effects. Nature neuroscience, 2(1):79-87, 1999.
  28. [Song et al., 2024] Xiaotian Song, Andy Song, Rong Xiao, and Yanan Sun. One-step spiking transformer with a lin- ear complexity. In Proceedings of the Thirty-Third Inter- national Joint Conference on Artificial Intelligence, pages 3142-3150, 2024. IJCAI
  29. [Touvron et al., 2021] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablay- rolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In In- ternational conference on machine learning, pages 10347-10357. PMLR, 2021.
  30. [Wang et al., 2023] Ziqing Wang, Yuetong Fang, Jiahang Cao, Qiang Zhang, Zhongrui Wang, and Renjing Xu. Masked spiking transformer. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 1761-1771, 2023.
  31. [Wang et al., 2024] Yan Wang, Yusen Li, Gang Wang, and Xiaoguang Liu. Multi-scale attention network for single image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5950-5960, 2024.
  32. [Xiao et al., 2026] Jinsheng Xiao, Hao Ma, Ruidi Chen, Xingyu Gao, Hailong Shi, and Zhongyuan Wang. Stkps- net: Spatio-temporal key patch selection network for few shot anomalous action recognition. IEEE Transactions on Information Forensics and Security, 21:827-838, 2026.
  33. [Yao et al., 2023] 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:64043-64058, 2023.
  34. [Yao et al., 2024a] Man Yao, Jiakui Hu, Tianxiang Hu, Yifan 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 neuro- morphic chips. arXiv preprint arXiv:2404.03663, 2024.
  35. [Yao et al., 2024b] Man Yao, Ole Richter, Guangshe Zhao, Ning Qiao, Yannan Xing, Dingheng Wang, Tianxiang Hu, Wei Fang, Tugba Demirci, Michele De Marchi, et al. Spike-based dynamic computing with asynchronous sensing-computing neuromorphic chip. Nature Communi- cations, 15(1):4464, 2024.
  36. [Yao et al., 2025] Man Yao, Xuerui Qiu, Tianxiang Hu, Ji- akui Hu, Yuhong Chou, Keyu Tian, Jianxing Liao, Luziwei Leng, Bo Xu, and Guoqi Li. Scaling spike-driven trans- former with efficient spike firing approximation training. IEEE Transactions on Pattern Analysis and Machine In- telligence, 2025.
  37. [Yu et al., 2025] Kairong Yu, Tianqing Zhang, Hongwei Wang, and Qi Xu. Fsta-snn: Frequency-based spatial- temporal attention module for spiking neural networks. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 39, pages 22227-22235, 2025.
  38. [Zhang et al., 2024] Han Zhang, Zhaokun Zhou, Liutao Yu, Liwei Huang, Xiaopeng Fan, Li Yuan, Zhengyu Ma, Hui- hui Zhou, Yonghong Tian, et al. Qkformer: Hierarchi- cal spiking transformer using qk attention. Advances in Neural Information Processing Systems, 37:13074-13098, 2024.
  39. [Zhang et al., 2025] Tianqing Zhang, Kairong Yu, Xian Zhong, Hongwei Wang, Qi Xu, and Qiang Zhang. Staa- snn: Spatial-temporal attention aggregator for spiking neu- ral networks. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 13959-13969, 2025.
  40. [Zheng et al., 2025] Zeqi Zheng, Yanchen Huang, Yingchao Yu, Zizheng Zhu, Junfeng Tang, Zhaofei Yu, and Yaochu Jin. Spiliformer: Enhancing spiking transformers with lat- eral inhibition. arXiv preprint arXiv:2503.15986, 2025.
  41. [Zhou et al., 2023] Zhaokun Zhou, Yuesheng Zhu, Chao He, Yaowei Wang, Shuicheng Yan, Yonghong Tian, and Li Yuan. Spikformer: When spiking neural network meets transformer. In ICLR, 2023.
  42. [Zhou et al., 2026] Chenlin Zhou, Liutao Yu, Zhaokun Zhou, Han Zhang, Jiaqi Wang, Huihui Zhou, Zhengyu Ma, and Yonghong Tian. Spikingformer: A key founda- tion model for spiking neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 2236-2244, 2026.

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

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