==== Front Front Neurosci Front Neurosci Front. Neurosci. Frontiers in Neuroscience 1662-4548 1662-453X Frontiers Media S.A. 10.3389/fnins.2023.1209795 Neuroscience Review Direct learning-based deep spiking neural networks: a review Guo Yufei 1 2 Huang Xuhui 1 2 Ma Zhe 1 2 * 1Intelligent Science & Technology Academy of CASIC, Beijing, China 2Scientific Research Laboratory of Aerospace Intelligent Systems and Technology, Beijing, China Edited by: Lei Deng, Tsinghua University, China Reviewed by: Jibin Wu, Hong Kong Polytechnic University, Hong Kong SAR, China; Zhaofei Yu, Peking University, China *Correspondence: Zhe Ma mazhe_thu@163.com 16 6 2023 2023 17 120979521 4 2023 01 6 2023 Copyright © 2023 Guo, Huang and Ma. 2023 Guo, Huang and Ma https://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. The spiking neural network (SNN), as a promising brain-inspired computational model with binary spike information transmission mechanism, rich spatially-temporal dynamics, and event-driven characteristics, has received extensive attention. However, its intricately discontinuous spike mechanism brings difficulty to the optimization of the deep SNN. Since the surrogate gradient method can greatly mitigate the optimization difficulty and shows great potential in directly training deep SNNs, a variety of direct learning-based deep SNN works have been proposed and achieved satisfying progress in recent years. In this paper, we present a comprehensive survey of these direct learning-based deep SNN works, mainly categorized into accuracy improvement methods, efficiency improvement methods, and temporal dynamics utilization methods. In addition, we also divide these categorizations into finer granularities further to better organize and introduce them. Finally, the challenges and trends that may be faced in future research are prospected. spiking neural network brain-inspired computation direct learning deep neural network energy efficiency spatial-temporal processing This work was supported by grants from the National Natural Science Foundation of China under contract Nos. 12202412 and 12202413. section-at-acceptanceNeuromorphic Engineering ==== Body pmc1. Introduction The Spiking Neural Network (SNN) has been recognized as one of the brain-inspired neural networks due to its bio-mimicry of the brain neurons. It transmits information by firing binary spikes and can process the information in a spatial-temporal manner (Wu et al., 2019a; Wu Y. et al., 2019; Zhang et al., 2020a,b; Fang et al., 2021b). This event-driven and spatial-temporal manner makes the SNN very efficient and good at handling temporal signals, thus receiving a lot of research attention, especially recently. Despite the energy efficiency and spatial-temporal processing advantages, it is a challenge to train deep SNNs due to the firing process of the SNN is undifferentiable, thus making it impossible to train SNNs via gradient-based optimization methods. At first, many works leverage the spike-timing-dependent plasticity (STDP) approach (Lobov et al., 2020), which is inspired by biology, to update the SNN weights. However, STDP cannot help train large-scale networks yet, thus limiting the practical applications of the SNN. There are two widely used effective pathways to obtain deep SNNs up to now. First, the ANN-SNN conversion approach (Han and Roy, 2020; Li et al., 2021a; Bu et al., 2022, 2023; Li and Zeng, 2022; Liu et al., 2022; Wang Y. et al., 2022) converts a well-trained ANN to an SNN by replacing the activation function from ReLU with spiking activation. It provides a fast way to obtain an SNN. However, it is limited in the rate-coding scheme and ignores the rich temporal dynamic behaviors of SNNs. Second, the surrogate gradient (SG)-based direct learning approach (Wu Y. et al., 2018; Fang et al., 2021a; Li et al., 2021b; Guo et al., 2022a) tries to find an alternative differentiable surrogate function to replace the undifferentiable firing activity when doing back-propagation of the spiking neurons. Since SG can handle temporal data and provide decent performance with few time-steps on the large-scale dataset, it has received more attention recently. Considering the sufficient advantages and rapid development of the direct learning-based deep SNN, a comprehensive and systematic survey on this kind of work is essential. Previously related surveys (Ponulak and Kasinski, 2011; Roy et al., 2019; Tavanaei et al., 2019; Wang et al., 2020; Yamazaki et al., 2022; Zhang D. et al., 2022) have begun to classify existing works mainly based on the key components of SNNs: biological neurons, encoding methods, SNN structures, SNN learning mechanisms, software and hardware frameworks, datasets, and applications. Though such classification is intuitive to general readers, it is difficult for them to grasp the challenges and the landmark work involved. While in this survey, we provide a new perspective to summarize these related works, i.e., starting from analyzing the characteristics and difficulties of the SNN, and then classify them into (i) accuracy improvement methods, (ii) efficiency improvement methods, and (iii) temporal dynamics utilization methods, based on the solutions for corresponding problems or the utilization of SNNs' advantages. Further, these categories are divided into finer granularities: (i) accuracy improvement methods are subdivided as improving representative capabilities and relieving training difficulties; (ii) efficiency improvement methods are subdivided as network compression techniques and sparse SNNs; (iii) temporal dynamics utilization methods are subdivided as sequential learning and cooperating with neuromorphic cameras. In addition to the classification by using strengths or overcoming weaknesses of SNNs, these recent methods can also be divided into the neuron level, network structure level, and training technique level, according to where these methods actually work. The classifications and main techniques of these methods are listed in Tables 1, 2. Finally, some promising future research directions are provided. Table 1 Overview of direct learning-based deep spiking neural networks: part I. Type Method Key technology On the level ⋆ NL NSL TTL Accuracy improvement Improving representative capabilities LSNN (Bellec et al., 2018) Adaptive threshold ✓ LTMD (Wang S. et al., 2022) Adaptive threshold ✓ BDETT (Ding et al., 2022) Dynamic threshold ✓ PLIF (Fang et al., 2021b) Learnable leak constant ✓ Plastic synaptic delays (Yu et al., 2022a) Learnable leak constant ✓ Diet-SNN (Rathi and Roy, 2020) Learnable leak constant& threshold ✓ DS-ResNet (Feng et al., 2022) Multi-firing & Act before Add-ResNet ✓ ✓ SNN-MLP (Li W. et al., 2022) Group LIF ✓ GLIF Yao et al., 2022 Unified gated LIF ✓ Augmented spikes (Yu et al., 2022b) Augmented spikes ✓ InfLoR-SNN (Shen et al., 2023) Leaky integrate and fire or burst ✓ MT-SNN (Wang et al., 2023) Multiple threshold approach ✓ SEW-ResNet (Fang et al., 2021a) Act before ADD form-based ResNet ✓ MS-ResNet (Hu et al., 2021) Pre-activation form-based ResNet ✓ AutoSNN (Na et al., 2022) Neural architecture search ✓ SNASNet (Kim et al., 2022a) Neural architecture search ✓ TA-SNN (Yao et al., 2021) Attention mechanism ✓ TCJA-SNN (Zhu et al., 2022) Attention mechanism ✓ Real spike (Guo et al., 2022d) Training-inference decoupled structure ✓ IM-loss (Guo et al., 2022a) Information maximization loss ✓ RecDis-SNN (Guo et al., 2022c) Membrane potential distribution loss ✓ Distilling spikes (Kushawaha et al., 2021) Knowledge distillation ✓ ✓ Local tandem learning (Yang et al., 2022) Tandem learning ✓ sparse-KD (Xu et al., 2023a) Knowledge distillation ✓ KDSNN (Xu et al., 2023b) Knowledge distillation ✓ SNN distillation (Takuya et al., 2021) Knowledge distillation ✓ Relieving training difficulties SuperSpike (Zenke and Ganguli, 2018) Fixed surrogate gradient ✓ LISNN (Cheng et al., 2020) Fixed surrogate gradient ✓ IM-Loss (Guo et al., 2022a) Dynamic surrogate gradient ✓ Gradual surrogate gradient (Guo et al., 2022a) Dynamic surrogate gradient ✓ Differentiable spike (Li et al., 2021b) Learnable surrogate gradient ✓ SpikeDHS (Leng et al., 2022) Differentiable surrogate gradient search ✓ DSR (Meng et al., 2022) Differentiation on spike representation ✓ STDBP (Zhang M. et al., 2022) Rectified postsynaptic potential function ✓ SEW-ResNet (Fang et al., 2021a) Act before ADD form-based ResNet ✓ MS-ResNet (Hu et al., 2021) Pre-activation form-based ResNet ✓ NeuNorm (Wu Y. et al., 2019) Constructing auxiliary feature maps ✓ tdBN (Zheng et al., 2021) Threshold-dependent batch normalization ✓ BNTT (Kim and Panda, 2021) Temporal batch normalization through time ✓ PSP-BN (Ikegawa et al., 2022) Postsynaptic potential normalization ✓ TEBN (Kim and Panda, 2021) Temporal effective batch normalization ✓ RecDis-SNN (Guo et al., 2022c) Membrane potential distribution loss ✓ TET (Deng et al., 2022) Temporal regularization loss ✓ Tandem learning (Wu et al., 2021a) Tandem learning ✓ Progressive tandem learning (Wu et al., 2021b) Progressive tandem learning ✓ Joint A-SNN (Guo et al., 2023) Joint training of ANN and SNN ✓ ⋆NL, neuron Level; NSL, network structure level; TTL, training technique level. Table 2 Overview of direct learning-based deep spiking neural networks: part II. Type Method Key technology On the level ⋆ NL NSL TTL Efficiency improvement Network compression techniques Spatio-temporal pruning (Chowdhury et al., 2021) Spatio-temporal pruning ✓ SD-SNN (Han et al., 2022) Pruning-regeneration method ✓ Grad R (Chen et al., 2021) Pruning-regeneration method ✓ Temporal pruning (Chowdhury et al., 2022) Temporal pruning ✓ Autosnn (Na et al., 2022) Neural architecture searching ✓ SNASNet (Kim et al., 2022a) Neural architecture searching ✓ Lottery ticket hypothesis (Kim et al., 2022b) Lottery ticket hypothesis ✓ Distilling spikes (Kushawaha et al., 2021) Knowledge distillation ✓ ✓ Local tandem learning (Yang et al., 2022) Tandem learning ✓ sparse-KD (Xu et al., 2023a) Knowledge distillation ✓ KDSNN (Xu et al., 2023b) Knowledge distillation ✓ SNN distillation (Takuya et al., 2021) Knowledge distillation ✓ Sparse SNNs ASNN (Zambrano and Bohte, 2016) A lot of adaptive spiking neurons ✓ Correlation-based regularization (Han and Lee, 2022) Correlation-based regularizer ✓ Superspike (Zenke and Ganguli, 2018) Heterosynaptic regularization term ✓ RecDis-SNN (Guo et al., 2022c) Membrane potential distribution ✓ Low-activity SNN (Pellegrini et al., 2021) Regularization term ✓ ✓ Temporal dynamics utilization Sequential learning Sequence approximation (She et al., 2021) Dual-search-space optimization ✓ Sequential learning (Ponghiran and Roy, 2022) Improved recurrence dynamics ✓ SNN_HAR (Li Y. et al., 2022) Spatio-temporal extraction ✓ Robust SNN (Nomura et al., 2022) Temporal penalty settings ✓ Tandem learning-based SNN model (Wu et al., 2020) Tandem learning ✓ SG-based SNN model (Bittar and Garner, 2022b) Surrogate gradient method ✓ Combination-based SNN (Bittar and Garner, 2022a) Combination of many techniques ✓ ✓ Low-activity SNN (Pellegrini et al., 2021) Regularization term ✓ SNNCNN (Sadovsky et al., 2023) Combination of CNNs and SNNs ✓ ✓ RSNNs (Yin et al., 2021) activity-regularizing SG ✓ ✓ Cooperating with neuromorphic cameras daptive-spikenet (Kosta and Roy, 2022) Learnable neuronal dynamics ✓ StereoSpike (Rançon et al., 2021) Modified U-Net-like architecture ✓ ✓ SuperFast (Gao et al., 2022) Event-enhanced frame interpolation ✓ E-SAI (Yu L. et al., 2022) Synthetic aperture imaging method ✓ EVSNN (Zhu L. et al., 2022) Potential-assisted SNN ✓ ✓ Spiking-Fer (Barchid et al., 2023) Deep CSNN ✓ Automotive detection (Cordone et al., 2022) PLIF & SG & Event encoding ✓ ✓ STNet (Zhang J. et al., 2022) Spiking transformer network ✓ LaneSNNs (Viale et al., 2022) offline supervised learning rule ✓ HALSIE (Biswas et al., 2022) Hybrid approach ✓ SpikeMS (Parameshwara et al., 2021) Spatio-temporal loss ✓ Event-based pose tracking (Zou et al., 2023) Spiking spatiotemporal transformer ✓ *NL, neuron Level; NSL, network structure level; TTL, training technique level. The organization of the remaining part is given as follows, Section 2 introduces the preliminary for spiking neural networks. The characteristics and difficulties of the SNN are also analyzed in Section 2. Section 3 presents the recent advances falling into different categories. Section 4 points out future research trends and concludes the review. 2. Preliminary Since the neuron models are not the focus of the paper, here, we briefly introduce the commonly used discretized Leaky Integrate-and-Fire (LIF) spiking neurons to show the basic characteristic and difficulties in SNNs, which can be formulated by (1) Ult=τUlt-1+WlOl-1t,  Ult