Proceedings

Pruning of Deep Spiking Neural Networks through Gradient Rewiring

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1713-1721.

https://doi.org/10.24963/ijcai.2021/236

Abstract

Spiking Neural Networks (SNNs) have been attached great importance due to their biological plausibility and high energy-efficiency on neuromorphic chips. As these chips are usually resource-constrained, the compression of SNNs is thus crucial along the road of practical use of SNNs. Most existing methods directly apply pruning approaches in artificial neural networks (ANNs) to SNNs, which ignore the difference between ANNs and SNNs, thus limiting the performance of the pruned SNNs. Besides, these methods are only suitable for shallow SNNs. In this paper, inspired by synaptogenesis and synapse elimination in the neural system, we propose gradient rewiring (Grad R), a joint learning algorithm of connectivity and weight for SNNs, that enables us to seamlessly optimize network structure without retraining. Our key innovation is to redefine the gradient to a new synaptic parameter, allowing better exploration of network structures by taking full advantage of the competition between pruning and regrowth of connections. The experimental results show that the proposed method achieves minimal loss of SNNs' performance on MNIST and CIFAR-10 datasets so far. Moreover, it reaches a ~3.5% accuracy loss under unprecedented 0.73% connectivity, which reveals remarkable structure refining capability in SNNs. Our work suggests that there exists extremely high redundancy in deep SNNs. Our codes are available at https://github.com/Yanqi-Chen/Gradient-Rewiring.

  1. [Bellec et al., 2018a] Guillaume Bellec, David Kappel, Wolfgang Maass, and Robert Legenstein. Deep rewiring: Training very sparse deep networks. In ICLR, 2018.
  2. [Bellec et al., 2018b] Guillaume Bellec, Darjan Salaj, Anand Subramoney, Robert Legenstein, and Wolfgang Maass. Long short-term memory and learning-to-learn in networks of spiking neurons. In NeurIPS, page 795-805.
  3. [Chklovskii et al., 2004] D. B. Chklovskii, B. W. Mel, and K. Svoboda. Cortical rewiring and information storage. Nature, 431(7010):782-788, 2004.
  4. [Deng et al., 2019] Lei Deng, Yujie Wu, Yifan Hu, Ling Liang, Guoqi Li, Xing Hu, Yufei Ding, Peng Li, and Yuan Xie. Comprehensive SNN compression using ADMM optimization and activity regularization. arXiv preprint arXiv:1911.00822, 2019.
  5. [Fang et al., 2020a] Wei Fang, Yanqi Chen, Jianhao Ding, Ding Chen, Zhaofei Yu, Huihui Zhou, Yonghong Tian, and other contributors. Spikingjelly. https://github.com/ fangwei123456/spikingjelly, 2020. Accessed: 2020-11- 09. Link
  6. [Fang et al., 2020b] Wei Fang, Zhaofei Yu, Yanqi Chen, Timothée Masquelier, Tiejun Huang, and Yonghong Tian. Incorporating learnable membrane time constant to en- hance learning of spiking neural networks. arXiv preprint arXiv:2007.05785, 2020.
  7. [Frankle and Carbin, 2019] Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In ICLR, 2019.
  8. [Gerstner and Kistler, 2002] Wulfram Gerstner and Werner M. Kistler. Spiking Neuron Models: Single Neurons, Populations, Plasticity. Cambridge University Press, 2002.
  9. [Guo et al., 2020] Wenzhe Guo, Mohammed E. Fouda, Hasan Erdem Yantir, Ahmed M. Eltawil, and Khaled Nabil Salama. Unsupervised adaptive weight pruning for energy-efficient neuromorphic systems. Frontiers in Neu- roscience, 14:1189, 2020.
  10. [Gütig and Sompolinsky, 2006] Robert Gütig and Haim Sompolinsky. The tempotron: a neuron that learns spike timing-based decisions. Nature Neuroscience, 9(3):420- 428, 2006.
  11. [Huttenlocher and Nelson, 1994] Peter R Huttenlocher and Ch A Nelson. Synaptogenesis, synapse elimination, and neural plasticity in human cerebral cortex. In Threats to Optimal Development: Integrating Biological, Psychoso- cial, and Social Risk Factors: The Minnesota Symposia on Child Psychology, volume 27, pages 35-54, 1994.
  12. [Kappel et al., 2015] David Kappel, Stefan Habenschuss, Robert Legenstein, and Wolfgang Maass. Network plastic- ity as Bayesian inference. PLOS Computational Biology, 11(11):1-31, 11 2015.
  13. [Lee et al., 2020] Chankyu Lee, Syed Shakib Sarwar, Priyadarshini Panda, Gopalakrishnan Srinivasan, and Kaushik Roy. Enabling spike-based backpropagation for training deep neural network architectures. Frontiers in Neuroscience, 14:119, 2020.
  14. [Liu et al., 2018] Chen Liu, Guillaume Bellec, Bernhard Vogginger, David Kappel, Johannes Partzsch, Fe- lix Neumärker, Sebastian Höppner, Wolfgang Maass, Steve B. Furber, Robert Legenstein, and Christian G. Mayr. Memory-efficient deep learning on a SpiNNaker 2 prototype. Frontiers in Neuroscience, 12:840, 2018.
  15. [Liu et al., 2020] Yanchen Liu, Kun Qian, Shaogang Hu, Kun An, Sheng Xu, Xitong Zhan, JJ Wang, Rui Guo, Yuancong Wu, Tu-Pei Chen, et al. Application of deep compression technique in spiking neural network chip. IEEE Transactions on Biomedical Circuits and Systems, 14(2):274-282, 2020.
  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. [Martinelli et al., 2020] Flavio Martinelli, Giorgia Dellafer- rera, Pablo Mainar, and Milos Cernak. Spiking neural net- works trained with backpropagation for low power neu- romorphic implementation of voice activity detection. In ICASSP, pages 8544-8548, 2020.
  18. [Neftci et al., 2016] Emre O. Neftci, Bruno U. Pedroni, Sid- dharth Joshi, Maruan Al-Shedivat, and Gert Cauwen- berghs. Stochastic synapses enable efficient brain-inspired learning machines. Frontiers in Neuroscience, 10:241, 2016.
  19. [Neftci et al., 2019] Emre O. Neftci, Hesham Mostafa, and Friedemann Zenke. Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based op- timization to spiking neural networks. IEEE Signal Pro- cessing Magazine, 36(6):51-63, 2019.
  20. [Oster et al., 2007] Matthias Oster, Rodney Douglas, and Shih-Chii Liu. Quantifying input and output spike statis- tics of a winner-take-all network in a vision system. In IEEE International Symposium on Circuits and Systems, pages 853-856, 2007.
  21. [Petzoldt and Sigrist, 2014] Astrid G. Petzoldt and Stephan J. Sigrist. Synaptogenesis. Current Biology, 24(22):1076-1080, 2014.
  22. [Qi et al., 2018] Yu Qi, Jiangrong Shen, Yueming Wang, Huajin Tang, Hang Yu, Zhaohui Wu, and Gang Pan. Jointly learning network connections and link weights in spiking neural networks. In IJCAI, pages 1597-1603, 7 2018. IJCAI
  23. [Rathi et al., 2019] Nitin Rathi, Priyadarshini Panda, and Kaushik Roy. STDP-based pruning of connections and weight quantization in spiking neural networks for energy-efficient recognition. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Sys- tems, 38(4):668-677, 2019.
  24. [Roy et al., 2019] Kaushik Roy, Akhilesh Jaiswal, and Priyadarshini Panda. Towards spike-based machine intelligence with neuromorphic computing. Nature, 575(7784):607-617, 2019.
  25. [Shi et al., 2019] Yuhan Shi, Leon Nguyen, Sangheon Oh, Xin Liu, and Duygu Kuzum. A soft-pruning method applied during training of spiking neural networks for in-memory computing applications. Frontiers in Neuro- science, 13:405, 2019.
  26. [Wu et al., 2018] Yujie Wu, Lei Deng, Guoqi Li, Jun Zhu, and Luping Shi. Spatio-temporal backpropagation for training high-performance spiking neural networks. Fron- tiers in Neuroscience, 12:331, 2018.
  27. [Wu et al., 2019a] Doudou Wu, Xianghong Lin, and Pangao Du. An adaptive structure learning algorithm for multi- layer spiking neural networks. In 15th International Con- ference on Computational Intelligence and Security (CIS), pages 98-102, 2019.
  28. [Wu et al., 2019b] Yujie Wu, Lei Deng, Guoqi Li, Jun Zhu, Yuan Xie, and Luping Shi. Direct training for spiking neu- ral networks: Faster, larger, better. AAAI, 33(01):1311- 1318, July 2019.
  29. [Zenke and Vogels, 2020] Friedemann Zenke and Tim P. Vo- gels. The remarkable robustness of surrogate gradient learning for instilling complex function in spiking neural networks. bioRxiv, 2020.

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

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