Proceedings

A Fast and Accurate ANN-SNN Conversion Algorithm with Negative Spikes

Download BibTeX Cite

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

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

Abstract

Spiking neural network (SNN) is an event-driven neural network that can greatly reduce the power consumption of the conventional artificial neural networks (ANN). Many ANN models can be converted to SNN models when the activation function is ReLU. For ANN models with other activation functions, such as the Leaky ReLU function, the converted SNN models either suffer from serious accuracy degradation or require a long time step. In this paper, we propose a fast and accurate ANN-SNN conversion algorithm for models with the Leaky ReLU function. We design a novel neuron model that supports negative spikes. To address the problem of long tail distribution in the activation values, we propose a threshold optimization algorithm based on the variance of the activation values. To avoid the problem of error accumulation, we jointly calibrate all layers in the SNN model with adaptive weighting. Experiment results verify the effectiveness of the proposed algorithm.

  1. [Bu et al., 2022a] Tong Bu, Jianhao Ding, Zhaofei Yu, and Tiejun Huang. Optimized potential initialization for low- latency spiking neural networks. In Proc. AAAI Conf. Ar- tificial Intelligence, pages 11-20, 2022.
  2. [Bu et al., 2022b] Tong Bu, Wei Fang, Jianhao Ding, PengLin Dai, Zhaofei Yu, and Tiejun Huang. Optimal ANN-SNN conversion for high-accuracy and ultra-low- latency spiking neural networks. In Proc. International Conf. Learning Representations (ICLR), 2022.
  3. [Cai et al., 2024] Wuque Cai, Hongze Sun, Rui Liu, Yan Cui, Jun Wang, Yang Xia, Dezhong Yao, and Daqing Guo. A spatial-channel-temporal-fused attention for spik- ing neural networks. IEEE Trans. Neural Netw. Learn. Syst., 35(10):14315-14329, 2024.
  4. [Deng and Gu, 2021] Shikuang Deng and Shi Gu. Optimal conversion of conventional artificial neural networks to spiking neural networks. In Proc. International Conf. Learning Representations (ICLR), 2021.
  5. [Diehl et al., 2015] Peter U. Diehl, Daniel Neil, Jonathan Bi- nas, Matthew Cook, Shih-Chii Liu, and Michael Pfeif- fer. Fast-classifying, high-accuracy spiking deep networks through weight and threshold balancing. In International Joint Conference on Neural Networks (IJCNN), pages 1-8, 2015.
  6. [Ding et al., 2021] Jianhao Ding, Zhaofei Yu, Yonghong Tian, and Tiejun Huang. Optimal ANN-SNN conversion for fast and accurate inferencein deep spiking neural net- works. In Proc. International Joint Conf. Artificial Intelli- gence (IJCAI), pages 2328-2336, 2021.
  7. [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.
  8. [Han et al., 2023] Jianing Han, Ziming Wang, Jiangrong Shen, and Huajin Tang. Symmetric-threshold ReLU for fast and nearly lossless ANN-SNN conversion. Machine Intelligence Research, 20:435-446, 2023.
  9. [Hao et al., 2023] Zecheng Hao, Jianhao Ding, Tong Bu, Tiejun Huang, and Zhaofei Yu. Bridging the gap between ANNs and SNNs by calibrating offset spikes. In Proc. In- ternational Conf. Learning Representations (ICLR), 2023.
  10. [Ho and Chang, 2021] Nguyen-Dong Ho and Ik-Joon Chang. TCL: an ANN-to-SNN conversion with trainable clipping layers. In 58th ACM/IEEE Design Automation Conference (DAC), pages 793-798, 2021.
  11. [Hu et al., 2023] Yangfan Hu, Qian Zheng, Xudong Jiang, and Gang Pan. Fast-SNN: Fast spiking neural network by converting quantized ANN. IEEE Trans. Pattern Anal. Mach. Intell., 45(12):14546-14562, 2023.
  12. [Kim et al., 2020] Seijoon Kim, Seongsik Park, Byunggook Na, and Sungroh Yoon. Spiking-YOLO: Spiking neural network for energy-efficient object detection. In Proc. AAAI Conf. Artificial Intelligence, pages 11270-11277, 2020.
  13. [Li et al., 2021] Yuhang Li, Shikuang Deng, Xin Dong, Rui- hao Gong, and Shi Gu. A free lunch from ANN: Towards efficient, accurate spiking neural networks calibration. In Proc. International Conf. Machine Learning (ICML), vol- ume 139, pages 6316-6325, 2021.
  14. [Liu et al., 2022] Fangxin Liu, Wenbo Zhao, Yongbiao Chen, Zongwu Wang, and Li Jiang. SpikeConverter: An efficient conversion framework zipping the gap between artificial neural networks and spiking neural networks. In Proc. AAAI Conf. Artificial Intelligence, pages 1692-1701, 2022.
  15. [Lv et al., 2024] Liuzhenghao Lv, Wei Fang, Li Yuan, and Yonghong Tian. Optimal ANN-SNN conversion with group neurons. In Proc. International Conf. Acoustics, Speech and Signal Process. (ICASSP), pages 6475-6479, 2024.
  16. [Meng et al., 2022] Qingyan Meng, Mingqing Xiao, Shen Yan, Yisen Wang, Zhouchen Lin, and Zhi-Quan Luo. Training high-performance low-latency spiking neural net- works by differentiation on spike representation. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), pages 12434-12443, 2022.
  17. [Rathi and Roy, 2023] Nitin Rathi and Kaushik Roy. DIET- SNN: A low-latency spiking neural network with direct input encoding and leakage and threshold optimization. IEEE Trans. Neural Netw. Learn. Syst., 34(6):3174-3182, 2023.
  18. [Redmon et al., 2016] Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi. You only look once: Uni- fied, real-time object detection. In Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), pages 779-788, 2016.
  19. [Roy et al., 2019] Kaushik Roy, Akhilesh Jaiswal, and Priyadarshini Panda. Towards spike-based machine intel- ligence with neuromorphic computing. Nature, 575:607- 617, November 2019.
  20. [Rueckauer et al., 2016] Bodo Rueckauer, Iulia-Alexandra Lungu, Yuhuang Hu, and Michael Pfeiffer. Theory and tools for the conversion of analog to spiking convolu- tional neural networks. In Proc. Neural Inf. Process. Syst. (NeurIPS), 2016.
  21. [Rueckauer et al., 2017] Bodo Rueckauer, Iulia-Alexandra Lungu, Yuhuang Hu, Michael Pfeiffer, and Shih-Chii Liu. Conversion of continuous-valued deep networks to effi- cient event-driven networks for image classification. Fron- tiers in Neuroscience, 11, 2017.
  22. [Sengupta et al., 2019] Abhronil Sengupta, Yuting Ye, Robert Wang, Chiao Liu, and Kaushik Roy. Going deeper in spiking neural networks: VGG and residual architectures. Frontiers in Neuroscience, 13, 2019.
  23. [Wang et al., 2022] Yuchen Wang, Malu Zhang, Yi Chen, and Hong Qu. Signed neuron with memory: Towards sim- ple, accurate and high-efficient ANN-SNN conversion. In Proc. International Joint Conf. Artificial Intelligence (IJ- CAI), pages 2501-2508, 2022. IJCAI
  24. [Wang et al., 2025] Ziming Wang, Yuhao Zhang, Shuang Lian, Xiaoxin Cui, Rui Yan, and Huajin Tang. Toward high-accuracy and low-latency spiking neural networks with two-stage optimization. IEEE Trans. Neural Netw. Learn. Syst., 36(2):3189-3203, 2025.
  25. [Wu et al., 2019] Yujie Wu, Lei Deng, Guoqi Li, Jun Zhu, Yuan Xie, and Luping Shi. Direct training for spiking neu- ral networks: Faster, larger, better. In Proc. AAAI Conf. Artificial Intelligence, pages 1311-1318, 2019.
  26. [Wu et al., 2022] Jibin Wu, Chenglin Xu, Xiao Han, Daquan Zhou, Malu Zhang, Haizhou Li, and Kay Chen Tan. Pro- gressive tandem learning for pattern recognition with deep spiking neural networks. IEEE Trans. Pattern Anal. Mach. Intell., 44(11):7824-7840, 2022.
  27. [Yu et al., 2022] Qiang Yu, Chenxiang Ma, Shiming Song, Gaoyan Zhang, Jianwu Dang, and Kay Chen Tan. Con- structing accurate and efficient deep spiking neural net- works with double-threshold and augmented schemes. IEEE Trans. Neural Netw. Learn. Syst., 33(4):1714-1726, 2022.
  28. [Zheng et al., 2021] Hanle Zheng, Yujie Wu, Lei Deng, Yi- fan Hu, and Guoqi Li. Going deeper with directly-trained larger spiking neural networks. In Proc. AAAI Conf. Arti- ficial Intelligence, pages 11062-11070, 2021.

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

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