<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Neurosci.</journal-id>
<journal-title>Frontiers in Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-453X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fnins.2025.1522788</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Optimizing event-driven spiking neural network with regularization and cutoff</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Wu</surname> <given-names>Dengyu</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1302921/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Jin</surname> <given-names>Gaojie</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Yu</surname> <given-names>Han</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Yi</surname> <given-names>Xinping</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1812964/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Huang</surname> <given-names>Xiaowei</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1812940/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Computer Science, University of Liverpool</institution>, <addr-line>Liverpool</addr-line>, <country>United Kingdom</country></aff>
<aff id="aff2"><sup>2</sup><institution>State Key Laboratory of Computer Science, Institute of Software, CAS</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Electrical Engineering, Chalmers University of Technology</institution>, <addr-line>Gothenburg</addr-line>, <country>Sweden</country></aff>
<aff id="aff4"><sup>4</sup><institution>National Mobile Communications Research Laboratory, Southeast University</institution>, <addr-line>Nanjing</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Manolis Sifalakis, Imec, Netherlands</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Luca Peres, The University of Manchester, United Kingdom</p>
<p>Yufei Guo, China Aerospace Science and Industry Corporation, China</p>
<p>Qinyu Chen, Leiden University, Netherlands</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Dengyu Wu <email>dengyu.wu&#x00040;liverpool.ac.uk</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>19</day>
<month>02</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>19</volume>
<elocation-id>1522788</elocation-id>
<history>
<date date-type="received">
<day>05</day>
<month>11</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>01</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2025 Wu, Jin, Yu, Yi and Huang.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Wu, Jin, Yu, Yi and Huang</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>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.</p></license>
</permissions>
<abstract>
<p>Spiking neural networks (SNNs), which are the next generation of artificial neural networks (ANNs), offer a closer mimicry to natural neural networks and hold promise for significant improvements in computational efficiency. However, the current SNN model is trained to infer over a fixed duration, thereby overlooking the potential for dynamic inference in the SNN model. In this paper, we strengthen the relationship between SNN and event-driven processing by proposing the inclusion of a cutoff in SNN, that can terminate SNN at any time during inference to achieve efficient inference. Two novel optimization techniques are presented to achieve an inference-efficient SNN: a Top-K cutoff and regularization. The proposed regularization influences the training process by optimizing the SNN for the cutoff, whereas the Top-K cutoff technique optimizes the inference phase. We conducted an extensive set of experiments on multiple benchmark frame-based datasets, such as CIFAR10/100, Tiny-ImageNet, and event-based datasets, including CIFAR10-DVS, N-Caltech101, and DVS128 Gesture. The experimental results demonstrate the effectiveness of the proposed techniques in both the ANN-to-SNN conversion and direct training, enabling SNNs to require 1.76 to 2.76 &#x000D7; fewer timesteps for CIFAR-10, while achieving 1.64 to 1.95&#x000D7; fewer timesteps across all event-based datasets, with near-zero accuracy loss. These findings affirm the compatibility and potential benefits of the proposed techniques in terms of enhancing accuracy and reducing inference latency when integrated with existing methods. Code available: <ext-link ext-link-type="uri" xlink:href="https://github.com/Dengyu-Wu/SNNCutoff">https://github.com/Dengyu-Wu/SNNCutoff</ext-link>.</p></abstract>
<kwd-group>
<kwd>spiking neural network</kwd>
<kwd>ANN-to-SNN conversion</kwd>
<kwd>SNN regularization</kwd>
<kwd>SNN cutoff</kwd>
<kwd>adaptive inference</kwd>
</kwd-group>
<contract-sponsor id="cn001">Horizon 2020<named-content content-type="fundref-id">https://doi.org/10.13039/501100007601</named-content></contract-sponsor>
<contract-sponsor id="cn002">Engineering and Physical Sciences Research Council<named-content content-type="fundref-id">https://doi.org/10.13039/501100000266</named-content></contract-sponsor>
<counts>
<fig-count count="6"/>
<table-count count="3"/>
<equation-count count="17"/>
<ref-count count="54"/>
<page-count count="13"/>
<word-count count="8727"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Neuromorphic Engineering</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1 Introduction</title>
<p>Spiking neural networks (SNNs) have recently attracted significant research and industrial interest because of their energy efficiency and low latency, and there are neuromorphic chips, such as Loihi (Davies et al., <xref ref-type="bibr" rid="B9">2018</xref>) and TrueNorth (Akopyan et al., <xref ref-type="bibr" rid="B1">2015</xref>) on which SNN can be deployed. Mechanistically, the SNN mimics biological neurons that independently process and forward spikes. With this asynchronous working mechanism, only a small subset of neurons is activated during inference. In essence, an SNN is inherently efficient in terms of computation.</p>
<p>The asynchronous mechanism indicates that the proposed SNN is more effective when used with event-based inputs. Neuromorphic sensors, such as the dynamic vision sensor (DVS) proposed by Lichtsteiner et al. (<xref ref-type="bibr" rid="B34">2008</xref>), Delbr&#x000FC;ck et al. (<xref ref-type="bibr" rid="B10">2010</xref>), and Gallego et al. (<xref ref-type="bibr" rid="B18">2020</xref>), and the dynamic audio sensor (DAS) proposed by Anumula et al. (<xref ref-type="bibr" rid="B3">2018</xref>), were developed to generate binary &#x0201C;events,&#x0201D; which are ideal inputs to SNNs. For instance, unlike conventional frame-based cameras, which measure the &#x0201C;absolute&#x0201D; brightness at a constant rate, DVS cameras are bio-inspired sensors that <italic>asynchronously</italic> measure per-pixel brightness changes and output a stream of events that encode the time, location, and sign of the brightness changes (Gallego et al., <xref ref-type="bibr" rid="B18">2020</xref>). DVS adapts dynamically to the scene&#x00027;s activity, with fewer events in static scenes and higher volumes when significant changes occur. Consequently, the energy and bandwidth consumption scale efficiently based on the actual demand (Amir et al., <xref ref-type="bibr" rid="B2">2017</xref>; Kim et al., <xref ref-type="bibr" rid="B25">2021</xref>), and leads to and SNN operates in a sparse manner (Messikommer et al., <xref ref-type="bibr" rid="B35">2020</xref>). However, an additional encoding step, such as rate-based coding (Rueckauer et al., <xref ref-type="bibr" rid="B41">2017</xref>) and Poisson&#x00027;s code (Sengupta et al., <xref ref-type="bibr" rid="B42">2019</xref>), is necessary for frame-based input before forward propagation in the SNN. Irrespective of the input type&#x02014;event-based or frame-based&#x02014;SNN can deliver sequential predictions at their outputs, demonstrating that they can predict at any timestep. To exploit these features, we explored the cutoff optimal SNN, which allowed termination at any time during inference on a spike train (i.e., input) and returned the best possible inference result.</p>
<p>One approach to train as SNN is through ANN-to-SNN conversion, which leverages the mature training regime of the ANN to first train a high-accuracy ANN and then convert it into an SNN. The proposed method has led to research focused on achieving near-zero conversion loss (Deng and Gu, <xref ref-type="bibr" rid="B11">2021</xref>; Bu et al., <xref ref-type="bibr" rid="B6">2022</xref>; Han et al., <xref ref-type="bibr" rid="B22">2020</xref>). Another methodology involves the use of backpropagation in SNN training (Wu et al., <xref ref-type="bibr" rid="B49">2018</xref>, <xref ref-type="bibr" rid="B50">2019</xref>; Fang et al., <xref ref-type="bibr" rid="B16">2021a</xref>,<xref ref-type="bibr" rid="B17">b</xref>). Due to the non-differentiable nature of spiking, this approach requires the deployment of a surrogate gradient (Wu et al., <xref ref-type="bibr" rid="B49">2018</xref>, <xref ref-type="bibr" rid="B50">2019</xref>). In this paper, we explore a novel SNN cutoff mechanism and propose general optimization strategies for this process. Our goal is to develop an optimal SNN that effectively balances accuracy and latency.</p>
<p>This paper makes two key technical contributions. First, instead of always predicting at the maximum timestep <italic>T</italic>, we explore an early cutoff mechanism that allows the SNN model to achieve an optimal latency and computing efficiency automatically. As shown in <xref ref-type="fig" rid="F1">Figure 1</xref>, the SNN model runs a monitoring mechanism to determine whether the decision-makers are sufficiently confident. Once this decision is made at timestep <italic>t</italic>&#x0003C;<italic>T</italic>, i.e., <italic>t</italic>&#x02208;{1, 2, &#x02026;, <italic>T</italic>}, a cutoff action is triggered so that the SNN does not take future inputs until <italic>T</italic>. Therefore, the proposed approach has lower latency and fewer computations because a decision is made at time <italic>t</italic> rather than time <italic>T</italic>.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Illustrative diagram showing the regularization process for optimizing the SNN and the cutoff mechanism for reducing latency on the CIFAR10-DVS dataset. The cutoff value is triggered when <italic>Y</italic><sub>gap</sub> is greater than &#x003B2;, a value dynamically determined by at a confidence rate introduced in Section 4.1.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0001.tif"/>
</fig>
<p>The second contribution is the proposed regularization technique, which improves the SNN cut-off performance. This technique influences the activation distribution during ANN or SNN training, resulting in an SNN that can classify with less input information. As discussed in Method (Section 4), the proposed regularizer effectively mitigates the impact of &#x0201C;worst-case&#x0201D; inputs during both the ANN and SNN training phases. These worst-case samples are typically inputs that can cause failures in early inference. The experiments presented in Section 5.2 demonstrate that state-of-the-art methods can be enhanced, including ANN-to-SNN conversion and direct training.</p>
<p>To facilitate the analysis, we use the following notations <bold>bold symbol</bold> represents a vector, <italic>l</italic> denotes the layer index, and <italic>i</italic> denotes the element index. For example, <italic><bold>a</bold></italic><sup><italic>l</italic></sup> is a vector, and <inline-formula><mml:math id="M1"><mml:msubsup><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the <italic>i</italic>-th element in <italic><bold>a</bold></italic><sup><italic>l</italic></sup>. <italic><bold>W</bold></italic><sup><italic>l</italic></sup> is weight matrix at the <italic>l</italic>-th layer.</p>
</sec>
<sec id="s2">
<title>2 Related work</title>
<p>The implementation of SNN involves two phases: training and inference. The training algorithms for SNN can be broadly categorized into two main approaches: ANN-to-SNN conversion and direct training.</p>
<sec>
<title>2.1 ANN-to-SNN conversion</title>
<p>The ANN-to-SNN conversion is a widely studied approach for converting a pre-trained ANN into an SNN model. This process relies on the average spiking rate of neurons, which is closely linked to the normalized activation of the rectified linear unit (ReLU) function in the ANN (Rueckauer et al., <xref ref-type="bibr" rid="B41">2017</xref>). Early studies on ANN-to-SNN conversion, such as Diehl et al. (<xref ref-type="bibr" rid="B13">2015</xref>) and Rueckauer et al. (<xref ref-type="bibr" rid="B41">2017</xref>), utilized the maximum activation value in each layer of the ANN to normalize the corresponding weights. Sengupta et al. (<xref ref-type="bibr" rid="B42">2019</xref>) demonstrated an alternative approach, where normalization can be achieved by greedily searching for the optimal threshold using an input spike train. A unified conversion framework was proposed by Wu et al. (<xref ref-type="bibr" rid="B47">2022</xref>), which incorporates a scaling factor that can be applied to either the threshold or weights. Additionally, this framework includes thresholding for residual elimination to mitigate information loss at the last time step, which further enhances conversion efficiency. In a recent study, Deng and Gu (<xref ref-type="bibr" rid="B11">2021</xref>) and Wu et al. (<xref ref-type="bibr" rid="B47">2022</xref>) demonstrated that outlier elimination in ANN activations can be implemented by applying a clipping operation after ReLU. Based on this, Li et al. (<xref ref-type="bibr" rid="B31">2021a</xref>) and Bu et al. (<xref ref-type="bibr" rid="B6">2022</xref>) further minimized the quantization error by employing quantization-aware training. In addition, there are other hybrid methods were used to fine-tune the weights in the converted SNN. For example, Rathi et al. (<xref ref-type="bibr" rid="B39">2020</xref>) and Rathi and Roy (<xref ref-type="bibr" rid="B38">2021</xref>) combined conversion and direct training. Tandem Learning (Wu et al., <xref ref-type="bibr" rid="B48">2021</xref>) leveraged the gradient from the ANN to update the SNN during training.</p>
</sec>
<sec>
<title>2.2 Direct training</title>
<p>In contrast to conversion-based approaches, direct training of an SNN allows the processing of temporal features effectively (Fang et al., <xref ref-type="bibr" rid="B17">2021b</xref>; Yao et al., <xref ref-type="bibr" rid="B51">2021</xref>). Numerous studies have focused on designing surrogate gradients (Wu et al., <xref ref-type="bibr" rid="B49">2018</xref>, <xref ref-type="bibr" rid="B50">2019</xref>; Neftci et al., <xref ref-type="bibr" rid="B36">2019</xref>; Li et al., <xref ref-type="bibr" rid="B33">2021b</xref>) to tackle the non-differentiable nature of spike generation in SNN, thereby enabling efficient backpropagation. Yao et al. (<xref ref-type="bibr" rid="B51">2021</xref>) demonstrated how integrating temporal attention can significantly bolster SNN performance. Advancements in temporal batch normalization (Kim and Panda, <xref ref-type="bibr" rid="B26">2021</xref>; Duan et al., <xref ref-type="bibr" rid="B15">2022</xref>) have been proposed to normalize the input current to SNN layers, thereby expediting the convergence process during direct training. Meanwhile, Guo et al. (<xref ref-type="bibr" rid="B21">2023b</xref>) introduced an additional membrane potential normalization, applied after updating the membrane potential with the input current.</p>
<p>Alongside direct training, additional training optimizations, such as knowledge distillation from ANNs (Guo et al., <xref ref-type="bibr" rid="B20">2023a</xref>; Zhang et al., <xref ref-type="bibr" rid="B53">2024</xref>), have been explored as complementary methods to enhance SNN representations. Furthermore, spike-based transformers (Zhou et al., <xref ref-type="bibr" rid="B54">2023</xref>; Zhang et al., <xref ref-type="bibr" rid="B52">2022</xref>; Wang et al., <xref ref-type="bibr" rid="B46">2023</xref>) provide new perspectives by adapting the self-attention mechanism for spike-based computation, replacing complex multiplications with efficient spike-based operations using spike-form queries, keys, and values. Transitioning from conventional binary spikes to ternary spikes (including negative spikes) has also demonstrated performance gains with negligible increases in energy cost, as reported by Guo et al. (<xref ref-type="bibr" rid="B19">2024</xref>). Additionally, shrinking the maximum inference timestep as the layers deepen effectively reduces the average inference latency (Ding et al., <xref ref-type="bibr" rid="B14">2024</xref>).</p>
</sec>
<sec>
<title>2.3 Adaptive inference in SNN</title>
<p>Despite these significant advancements in training algorithms, a fundamental limitation persists: the optimization of SNN is predominantly focused on specific inference durations, neglecting the potential for adaptive inference. The exploration of adaptive inference in SNN is still in its early stages, and only a limited number of studies. Specifically, Li et al. (<xref ref-type="bibr" rid="B32">2023b</xref>) introduced an additional deep network to trigger early exiting in an SNN, which is a solution that may be resource-intensive for small SNNs. Similarly, Li et al. (<xref ref-type="bibr" rid="B29">2023a</xref>) focused on ANN-to-SNN conversion by applying network calibration before dynamic prediction, while Chen et al. (<xref ref-type="bibr" rid="B7">2023</xref>) employed conformal prediction (Shafer and Vovk, <xref ref-type="bibr" rid="B43">2008</xref>) as a trigger mechanism. However, these approaches did not address the optimization of SNN training for such scenarios requiring dynamic timesteps. Our study aimed to fill this gap by combining the cutoff with a general regularizer.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Leaky integrate-and-fire model</title>
<p>The Leaky Integrate-and-Fire (LIF) model is a foundational component in SNN studies and is lauded for its simplicity and resemblance to biological neural processing. <xref ref-type="fig" rid="F2">Figure 2</xref> illustrates the inference process for a single LIF neuron. The dynamic updates in the LIF neuron are described as</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M6"><mml:mrow><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>V</mml:mi></mml:mstyle><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02212;</mml:mo></mml:mrow></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>V</mml:mi></mml:mstyle><mml:mrow><mml:mi>l</mml:mi><mml:mo>+</mml:mo></mml:mrow></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>Z</mml:mi></mml:mstyle><mml:mi>l</mml:mi></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>for&#x000A0;</mml:mtext><mml:mi>l</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>Z</mml:mi></mml:mstyle><mml:mn>1</mml:mn></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>for&#x000A0;</mml:mtext><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math></disp-formula>
<p>where <italic><bold>V</bold></italic><sup><italic>l</italic>&#x02212;</sup> and <italic><bold>V</bold></italic><sup><italic>l</italic>&#x0002B;</sup> denote the vector of membrane potentials before and after reset, respectively. The process of resetting of <inline-formula><mml:math id="M7"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is categorized as</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M8"><mml:mrow><mml:msubsup><mml:mi>V</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>+</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:msubsup><mml:mi>V</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02212;</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>&#x003B8;</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>for&#x000A0;hard&#x000A0;reset,</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:msubsup><mml:mi>V</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02212;</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>V</mml:mi><mml:mrow><mml:mtext>thr</mml:mtext></mml:mrow><mml:mi>l</mml:mi></mml:msubsup><mml:msubsup><mml:mi>&#x003B8;</mml:mi><mml:mi>i</mml:mi><mml:mi>l</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd columnalign='left'><mml:mrow><mml:mtext>for&#x000A0;soft&#x000A0;reset,</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow></mml:math></disp-formula>
<p>where <italic><bold>&#x003B8;</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>) is a step function, i.e., <inline-formula><mml:math id="M9"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> if <inline-formula><mml:math id="M10"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02265;</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M11"><mml:mrow><mml:msubsup><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> otherwise. &#x003C4; is decay factor and soft reset is introduced for ANN-to-SNN conversion. Specifically, conversion-based SNN inference with Integrate-and-Fire (IF) neuron (&#x003C4; &#x0003D; 1.0) with soft reset aimed at reducing the information loss caused by the conversion (R&#x000FC;ckauer et al., <xref ref-type="bibr" rid="B40">2019</xref>; Han et al., <xref ref-type="bibr" rid="B22">2020</xref>; Wu et al., <xref ref-type="bibr" rid="B47">2022</xref>).</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Illustration of inference process for an LIF neuron within the hidden layer. The input spikes charge the membrane potential <inline-formula><mml:math id="M2"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> through weighted and bias currents learned during training. When <inline-formula><mml:math id="M3"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> reaches the threshold <inline-formula><mml:math id="M4"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, the neuron generates a spike and then resets <inline-formula><mml:math id="M5"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. In our study, the Integrate-and-Fire (IF) neuron with soft reset is a special case of the LIF model when &#x003C4; &#x0003D; 1.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0002.tif"/>
</fig>
<p>In the hidden layers, the weighted current <italic><bold>Z</bold></italic><bold><sup><italic>l</italic></sup></bold>(<italic>t</italic>) is given by</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M12"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>Z</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>W</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x003B8;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>b</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mtext class="textrm" mathvariant="normal">&#x02003;&#x02003;when&#x000A0;</mml:mtext><mml:mi>l</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>W</bold></italic><sup><italic>l</italic></sup> is the weight matrix, and <italic><bold>b</bold></italic><sup><italic>l</italic></sup> is the bias current. According to different inputs, <italic><bold>Z</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>) at the first layer, i.e., <italic><bold>Z</bold></italic><sup>1</sup>(<italic>t</italic>), can be initialized as either</p>
<disp-formula id="E4"><label>(4)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>E</mml:mi><mml:mi>v</mml:mi><mml:mi>e</mml:mi><mml:mi>n</mml:mi><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi>b</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:mi>t</mml:mi><mml:mo>:</mml:mo><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>Z</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>W</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mstyle mathvariant="bold-italic"><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>b</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>X</bold></italic>(<italic>t</italic>) is the time-dependent spike train, i.e., the input may change the charging current with time during the inference, or</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>F</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>b</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>p</mml:mi><mml:mi>u</mml:mi><mml:mi>t</mml:mi><mml:mo>:</mml:mo><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>Z</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>W</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>&#x00304;</mml:mo></mml:mover></mml:mstyle><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>b</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M15"><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>&#x00304;</mml:mo></mml:mover></mml:mstyle></mml:math></inline-formula> represents the constant current based on inputs, e.g., normalized pixel value of RGB Image. For each timestep, the first layer of SNN transforms the frame-based input <inline-formula><mml:math id="M16"><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>&#x00304;</mml:mo></mml:mover></mml:mstyle></mml:math></inline-formula> into weighted current <inline-formula><mml:math id="M17"><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mi>Z</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, which then stimulates the LIF neurons in the first layer to generate spikes. Notably, for event-based input, SNN can manifest faster inference due to immediate response after receiving the first spike, and it completes the inference whenever the spike train ends, i.e., at <italic>T</italic>. The event-based benchmarks are introduced in Section 5.1. This characteristic allows the inference time to be dynamic for different inputs. In this paper, with the cutoff technique as in Section 4.1, we will show that the average latency of the inference in SNN can be further reduced (to some <italic>t</italic> &#x02264; <italic>T</italic>).</p>
</sec>
<sec sec-type="methods" id="s4">
<title>4 Methods</title>
<p>Section 4.1 presents the theoretical underpinnings of cutoff mechanism for the inference. Subsequently, Section 4.2 details the design of a general regularizer to optimize SNN regarding the cutoff mechanism.</p>
<sec>
<title>4.1 Cutoff mechanism in SNN</title>
<p>Owing to its asynchronous working mechanism, the event-driven SNN can predict when only part of the spike train is processed. However, a naive cutoff of the spike train length (or the event sensor&#x00027;s sampling time) can easily lead to a loss of accuracy. In this section, we propose a principled method to determine inference time.</p>
<p>Our approach begins with a theoretical analysis of the cutoff in Section 4.1.1, where we identify the optimal cutoff timestep for each input. Specifically, we explore the optimal timesteps that consistently allow the SNN to make correct predictions in subsequent processing. This evaluation can only be performed in simulations and requires knowledge of future predictions.</p>
<p>To approximate this process in practice, we introduce the Top-K cutoff in Section 4.1.2. To elaborate, we define a confidence rate, denoted as <italic>C</italic>(<italic>t, D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}), based on the statistical characteristics of processing a set <italic>D</italic> of inputs with respect to the discrete time <italic>t</italic> and the gap between the logits of output neurons, <italic>Y</italic><sub>gap</sub>. The condition <italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub> is used to identify the samples in <italic>D</italic> that are suitable for cutoff. We can plot a curve of the confidence rate <italic>C</italic>(<italic>t, D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}) with respect to time <italic>t</italic> and constant values &#x003B2;<sub><italic>t</italic></sub>. A set of &#x003B2;<sub><italic>t</italic></sub> is extracted from the training samples to trigger the Top-K cutoff.</p>
<sec>
<title>4.1.1 Optimal cutoff timestep</title>
<p>To define a theoretically optimal cutoff within SNN, we propose identifying the cutoff point where subsequent predictions remain positively true. This criterion establishes the cutoff as the minimal necessary duration of input processing required to uphold predictive reliability. Thus, we define optimal cutoff timestep (OCT) as the smallest timestep <inline-formula><mml:math id="M18"><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>.</mml:mo><mml:mo>,</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula> at which the SNN prediction function <italic>f</italic>(<italic><bold>X</bold></italic>, <italic>t</italic>) remains correct prediction for all future timesteps <italic>t</italic> greater than <inline-formula><mml:math id="M19"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula>, formulated as</p>
<disp-formula id="E6"><label>(6)</label><mml:math id="M20"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">OCT</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>X</mml:mi></mml:mstyle></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo class="qopname">min</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="qopname">^</mml:mo></mml:mover><mml:mo>&#x02223;</mml:mo><mml:mo>&#x02200;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0003E;</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo class="qopname">^</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>X</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext class="textrm" mathvariant="normal">is correct</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>This equation expresses the earliest timestep from which the prediction function <italic>f</italic>(&#x000B7;) can be accurately and correctly classified according to the partial input. The function OCT(<italic><bold>X</bold></italic>) represents a theoretical lower bound of the average inference timestep, ensuring that each input sample can undergo a minimal inference timestep without sacrificing accuracy.</p>
<p>In our evaluations, we used the OCT as a new metric to assess the performance of SNN models in terms of their cutoff efficiency. This metric allows us to quantitatively determine the lower boundary of the cutoff for any given sample, thereby pinpointing the earliest timestep at which our SNN models can deliver reliable predictions.</p>
</sec>
<sec>
<title>4.1.2 Top-K gap for cutoff approximation</title>
<p>During runtime inference, a critical challenge emerges due to the unpredictability of future predictions, which makes determining the OCT in real time impractical. To address this issue, we introduce a cutoff mechanism based on the gap between the largest (top-1) and second-largest (top-2) output logits. This &#x0201C;Top-K&#x0201D; approach suggests that a larger gap between these two output logits indicates a low likelihood of changing the prediction during inference, thereby marking an appropriate point for cutoff.</p>
<p>To formalize this concept, let Top<sub><italic>k</italic></sub>(<italic><bold>Y</bold></italic>(<italic>t</italic>)) be the top-<italic>k</italic> logit of one neuron at the output layer. We define the function <italic>Y</italic><sub>gap</sub> to represent the gap of top-1 and top-2 values of output <italic><bold>Y</bold></italic>(<italic>t</italic>) as</p>
<disp-formula id="E7"><label>(7)</label><mml:math id="M21"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mtext class="textrm" mathvariant="normal">Top</mml:mtext></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>Y</mml:mi></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mtext class="textrm" mathvariant="normal">Top</mml:mtext></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>Y</mml:mi></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Then, we let <italic>D</italic>{&#x000B7;} denote the inputs in subset of <italic>D</italic> that satisfy a certain condition. Now, we can define the confidence rate <italic>C</italic>(<italic>t, D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}) as</p>
<disp-formula id="E8"><label>(8)</label><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>C</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>d</mml:mi><mml:mi>e</mml:mi><mml:mi>n</mml:mi><mml:mi>c</mml:mi><mml:mi>e</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mo>:</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>X</mml:mi></mml:mstyle><mml:mo>&#x02208;</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:munder></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mtext class="textrm" mathvariant="normal">OCT</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>X</mml:mi></mml:mstyle></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The confidence rate intuitively computes the percentage of inputs in <italic>D</italic> that can achieve the prediction success at or before <italic>T</italic>. |<italic>D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}| denotes the number of samples in <italic>D</italic> satisfying the condition. It is not hard to see that when <italic>t</italic> &#x0003D; 0, <italic>C</italic>(<italic>t, D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}) is also 0, and with the increase in time <italic>t</italic>, <italic>C</italic>(<italic>t, D</italic>{<italic>Y</italic><sub>gap</sub>&#x0003E;&#x003B2;<sub><italic>t</italic></sub>}) will also increase until reaching 1. Our algorithm searches for a minimum <inline-formula><mml:math id="M23"><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> at a specific <italic>t</italic>, as expressed in the following optimization objective</p>
<disp-formula id="E9"><label>(9)</label><mml:math id="M24"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mo class="qopname">arg</mml:mo><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder></mml:mstyle><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">gap</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02265;</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mi>&#x003F5;</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003F5; is a pre-specified constant such that 1&#x02212;&#x003F5; represents an acceptable level of confidence for activating cutoff.</p>
<p><xref ref-type="fig" rid="F3">Figure 3</xref> provides a visual representation of <xref ref-type="disp-formula" rid="E6">Equations 6</xref>&#x02013;<xref ref-type="disp-formula" rid="E9">9</xref>, illustrating the theoretical concepts comprehensively. Additionally, <xref ref-type="fig" rid="F3">Figure 3B</xref> highlights the performance disparity between OCT the and Top-K cutoff. The OCT identifies the minimum theoretical timestep <inline-formula><mml:math id="M25"><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> for each sample, ensuring that predictions remain accurate as if processed until the maximum timestep <italic>T</italic>. Adjusting the &#x003F5; parameter in the Top-K cutoff allows for a reduced average timestep; however, this may lead to a compromise in accuracy. This insight directs our primary optimization goal toward enhancing SNN cutoff performance, a significant departure from traditional SNN optimizations (Bu et al., <xref ref-type="bibr" rid="B6">2022</xref>; Deng et al., <xref ref-type="bibr" rid="B12">2022</xref>; Yao et al., <xref ref-type="bibr" rid="B51">2021</xref>; Fang et al., <xref ref-type="bibr" rid="B16">2021a</xref>,<xref ref-type="bibr" rid="B17">b</xref>) that typically emphasize inference over a fixed duration.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Evaluation of the Top-K cutoff on CIFAR10-DVS, using a directly trained SNN model with <italic>T</italic> &#x0003D; 10 (as detailed in Section 5): <bold>(A)</bold> The increase of &#x003B2; limits the number of samples eligible for cutoff, while concurrently enhancing the confidence in the cutoff decision. <bold>(B)</bold> To enhance the readability, the inference timestep of 16 samples from the test dataset under varied trigger conditions.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0003.tif"/>
</fig>
</sec>
</sec>
<sec>
<title>4.2 Optimizing SNN for cutoff</title>
<p>To improve the cutoff performance, we concentrated on maximizing the cosine similarity between the actual spiking rate at time <italic>t</italic>, <italic><bold>r</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>), and the desired spiking rate, <inline-formula><mml:math id="M26"><mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. This objective is achieved by minimizing the inverse of the cosine similarity between these two rates across hidden layers during training, formalized through the introduction of the regularizer of cosine similarity (RCS), defined as</p>
<disp-formula id="E10"><label>(10)</label><mml:math id="M27"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>W</mml:mi></mml:mstyle></mml:mrow></mml:munder></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo class="qopname">&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mo>&#x000B7;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo class="qopname">&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M28"><mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is desired spiking rate, and <italic><bold>r</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>) denotes the spiking rate at time <italic>t</italic>. Both spiking rates were approximated differently according to conversion (Section 4.2.1) and direct training (Section 4.2.2).</p>
<p>The motivation for using cosine similarity lies in its proven correlation with the final accuracy of quantised neural networks, as demonstrated by Banner et al. (<xref ref-type="bibr" rid="B4">2018</xref>). In a similar vein, we hypothesized that a higher cosine similarity between <inline-formula><mml:math id="M29"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> and <italic><bold>r</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>) would correlate with a smaller accuracy drop at time <italic>t</italic>. However, approximating these spike rates poses a significant challenge, particularly within the frameworks of ANN-to-SNN conversion and direct training.</p>
<p>To address these challenges, we differentiate the spiking rates in the context of conversion and direct training as follows <inline-formula><mml:math id="M30"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M31"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denote the desired and actual spiking rates at time <italic>t</italic>, respectively, in the conversion-based method with IF neurons, while <inline-formula><mml:math id="M32"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M33"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> are used for direct training with LIF neurons. Each method necessitates a distinct approach to approximate these rates, reflecting their unique operational contexts.</p>
<p>It is important to note that there is no established evidence that <xref ref-type="disp-formula" rid="E10">Equation 10</xref> directly optimizes accuracy at maximum timestep <italic>T</italic>. This is because the cosine similarity term primarily serves as a penalty for alignment between features at different timesteps rather than an explicit measure of distance to the ground truth. Therefore, to avoid any potential degradation in the original training performance, our RCS is applied selectively, focusing only on those samples that yield correct predictions at <italic>T</italic>.</p>
<sec>
<title>4.2.1 Regularizing ANN before conversion</title>
<p>For conversion-based SNN, Wu et al. (<xref ref-type="bibr" rid="B47">2022</xref>) introduced on a fundamental relationship between spiking rates <inline-formula><mml:math id="M34"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and ReLU activation <italic><bold>a</bold></italic><sup><italic>l</italic></sup>, which gives</p>
<disp-formula id="E11"><label>(11)</label><mml:math id="M35"><mml:mrow><mml:msubsup><mml:mstyle mathvariant='bold-italic'><mml:mi>r</mml:mi></mml:mstyle><mml:mi>c</mml:mi><mml:mi>l</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msubsup><mml:mi>V</mml:mi><mml:mrow><mml:mtext>thr</mml:mtext></mml:mrow><mml:mi>l</mml:mi></mml:msubsup></mml:mrow></mml:mfrac><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>W</mml:mi></mml:mstyle><mml:mi>l</mml:mi></mml:msup><mml:msubsup><mml:mstyle mathvariant='bold-italic'><mml:mi>r</mml:mi></mml:mstyle><mml:mi>c</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic'><mml:mi>b</mml:mi></mml:mstyle><mml:mi>l</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mstyle mathvariant='bold'><mml:mo>&#x00394;</mml:mo></mml:mstyle><mml:mi>l</mml:mi></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M36"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mover class="msup"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:mover><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x003B8;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the spiking rate at time <italic>t</italic>, with <italic>t</italic>&#x02032; representing each discrete timestep leading up to <italic>t</italic> at the at <italic>l</italic>-th layer, and <inline-formula><mml:math id="M37"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x00394;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0225C;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> represents the residual spiking rate.</p>
<p>The spiking rate in the first layer can be initialized as <inline-formula><mml:math id="M38"><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x00394;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. When <italic>t</italic> is sufficiently large to make <bold>&#x00394;</bold><sup><italic>l</italic></sup>(<italic>t</italic>) negligible, we have the desired spiking rate for the <italic>l</italic>-th layer as</p>
<disp-formula id="E12"><label>(12)</label><mml:math id="M39"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Given that <inline-formula><mml:math id="M40"><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x00394;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, the cosine similarity is given by</p>
<disp-formula id="E13"><label>(13)</label><mml:math id="M41"><mml:mtable class="eqnarray" columnalign="right"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x02265;</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x00394;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Assuming that elements in <italic><bold>V</bold></italic><sup><italic>l</italic>&#x0002B;</sup>(<italic>t</italic>) satisfy uniform distribution over the time <italic>t</italic> and they are in [0, <italic>V</italic><sub>thr</sub>], we can derive boundary for expected value of <inline-formula><mml:math id="M42"><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mi>t</mml:mi><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> as <inline-formula><mml:math id="M43"><mml:mi>E</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mi>t</mml:mi><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02264;</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msqrt><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msqrt><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> (proof in <xref ref-type="supplementary-material" rid="SM1">Supplementary Material</xref>). Moreover, at high dimensions, the relative error made as considering <inline-formula><mml:math id="M44"><mml:mi>E</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mi>t</mml:mi><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> instead of the random variable <inline-formula><mml:math id="M45"><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:mi>t</mml:mi><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> becomes asymptotically negligible (Biau and Mason, <xref ref-type="bibr" rid="B5">2015</xref>). Therefore, the lower bound of <xref ref-type="disp-formula" rid="E13">Equation 13</xref> is given by</p>
<disp-formula id="E14"><label>(14)</label><mml:math id="M46"><mml:mtable class="eqnarray" columnalign="right"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x02265;</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msqrt><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msqrt><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msqrt><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msqrt><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:msqrt><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msqrt><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:mo stretchy="false">&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo stretchy="false">&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>This equation explicitly explains that: (a) the increase of <italic>t</italic> to <inline-formula><mml:math id="M47"><mml:mi>t</mml:mi><mml:mo>&#x0226B;</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, where <italic>n</italic><sup><italic>l</italic></sup> is the number of elements in activation <italic><bold>a</bold></italic><sup><italic>l</italic></sup>, can increase the lower bound, and (b) it is possible to minimize term <inline-formula><mml:math id="M48"><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> for developing an SNN with optimized performance at any time during the inference. In other words, for a conversion-based SNN to achieve optimal cutoff performance, the model expects a good (small) ratio of threshold voltage <inline-formula><mml:math id="M49"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> to average accumulated current, i.e., <inline-formula><mml:math id="M50"><mml:mo>&#x02225;</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>a</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mo>&#x02225;</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt></mml:math></inline-formula>, while not degrading SNN classification performance.</p>
<p>In the ANN training, we aim to affect the training process to result in SNN for optimal cutoff. For this purpose, <xref ref-type="fig" rid="F7">Algorithm 1</xref> was designed to increase the lower bound defined in <xref ref-type="disp-formula" rid="E14">Equation 14</xref>. Following Rueckauer et al. (<xref ref-type="bibr" rid="B41">2017</xref>) and Wu et al. (<xref ref-type="bibr" rid="B47">2022</xref>), we use the maximum activation value, denoted as <italic>A</italic><sub><italic>max</italic></sub> in the algorithm to approximate the threshold voltage <inline-formula><mml:math id="M67"><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mstyle class="text"><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> at each layer. The algorithm optimizes activation ratios within each layer during training, directly enhancing SNN performance.</p>
<fig id="F7" position="float">
<label>Algorithm 1</label>
<caption><p>Compute RCS loss in ANN training.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0007.tif"/>
</fig>
</sec>
<sec>
<title>4.2.2 Regularizing direct training</title>
<p>In the case of direct training, SNN indicates its potential at processing spatiotemporal data, leading to a dynamic spiking rate <inline-formula><mml:math id="M68"><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> throughout the inference process. This capability, highlighted in Yao et al. (<xref ref-type="bibr" rid="B51">2021</xref>), sets direct training apart from ANN-to-SNN conversion, which is designed only for static input. Given that spikes can vary across timesteps in direct training, and their average may not accurately capture the temporal information, we approximate the spiking rate at each timestep by normalizing the membrane potential at that specific timestep. Thus, <inline-formula><mml:math id="M69"><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is defined as</p>
<disp-formula id="E15"><label>(15)</label><mml:math id="M70"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>&#x003B8;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mtext class="textrm" mathvariant="normal">thr</mml:mtext></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>&#x003B8;</bold></italic><sup><italic>l</italic></sup>(<italic>t</italic>) is generated spikes and the normalized residual membrane potential <inline-formula><mml:math id="M71"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>V</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> reflects the firing intention of neurons.</p>
<p>In the next step, we focus on computing the desired spiking rate <inline-formula><mml:math id="M72"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. The trend where SNN accuracy improves more timesteps, which is attributed to the accumulation of relevant information over time, is illustrated in <xref ref-type="fig" rid="F4">Figure 4</xref> in Section 5. This observation forms the basis for our estimation of <inline-formula><mml:math id="M73"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, which is calculated as</p>
<disp-formula id="E16"><label>(16)</label><mml:math id="M74"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>N</italic> is an integer hyperparameter. The proposed method posits that the later spiking rates can provide more representative information for a given sample. As indicated in <xref ref-type="disp-formula" rid="E6">Equation 6</xref> from Section 4.1.1, consistent and correct predictions are crucial for optimal cutoff performance. Thus, we only optimize <italic><bold>r</bold></italic><sub><italic>d</italic></sub>(<italic>t</italic>) using <xref ref-type="disp-formula" rid="E10">Equation 10</xref> only when the last <italic>N</italic> predictions are correct. The details of this approach are described in <xref ref-type="fig" rid="F8">Algorithm 2</xref>.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Comparison of SNN with and without Top-K cutoff on CIFAR10 (left) and CIFAR10-DVS (right) across various training methods: <bold>(A)</bold> The Top-K cutoff is determined by &#x003F5; values ranging from 0.00 to 0.50 in increments of 0.05. <bold>(B)</bold> The statistical data is extracted from testing samples under &#x003F5; &#x0003D; 0.02 for CIFAR10 &#x003F5; &#x0003D; 0.0 for CIFAR10-DVS. The <italic>x</italic>-axis label has been revised.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0004.tif"/>
</fig>
<fig id="F8" position="float">
<label>Algorithm 2</label>
<caption><p>Compute RCS loss in SNN training.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0008.tif"/>
</fig>
</sec>
<sec>
<title>4.2.3 Optimization objective</title>
<p>Building on the <italic>L</italic><sub><italic>RCS</italic></sub> computed in <xref ref-type="fig" rid="F7">Algorithms 1</xref>, <xref ref-type="fig" rid="F8">2</xref> for ANN and SNN, respectively, we integrate the regularization term into our overall optimization objective for each model. <italic>L</italic><sub><italic>RCS</italic></sub> captures the worst-case features across layers during training, and minimizing <italic>L</italic><sub><italic>RCS</italic></sub> helps mitigate these issues. We followed Deng et al. (<xref ref-type="bibr" rid="B12">2022</xref>) and Bu et al. (<xref ref-type="bibr" rid="B6">2022</xref>), and we used cross-entropy loss (denoted as <italic>L</italic><sub><italic>ce</italic></sub>) as the primary training loss. The final training objective with the RCS regularization is</p>
<disp-formula id="E17"><label>(17)</label><mml:math id="M86"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mi>W</mml:mi></mml:mstyle></mml:mrow></mml:munder></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003B1;</mml:mi><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mi>C</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>W</bold></italic> is the weight matrix of the ANN or SNN to be trained, and &#x003B1; is a hyperparameter to the balance two loss terms.</p>
</sec>
</sec>
</sec>
<sec id="s5">
<title>5 Experiment</title>
<p>In this section, we discuss comprehensive experiments conducted to evaluate SNN models using our newly proposed metric &#x0201C;OCT,&#x0201D; in conjunction with the &#x0201C;Top-K&#x0201D; cutoff and the &#x0201C;RCS&#x0201D; regularization technique. These experiments were designed to explore the compatibility of the proposed approaches with prevalent SNN training methods. For example, in conversion-based training, we implement the quantised clip-floor-shift (QCFS) method proposed by Bu et al. (<xref ref-type="bibr" rid="B6">2022</xref>). The proposed method replaces ReLU with the QCFS activation function to reduce the loss of accuracy after conversion. For direct training, we adopted the temporal efficient training (TET) (Deng et al., <xref ref-type="bibr" rid="B12">2022</xref>) and temporal efficient batch normalization (TEBN) (Duan et al., <xref ref-type="bibr" rid="B15">2022</xref>), both of which represent the most recent developments in SNN training algorithms. For clarity, each configuration in our experimental setup is denoted within brackets: QCFS(&#x000B7;) indicates the quantization length, while TET(&#x000B7;) and TEBN(&#x000B7;) refer to the maximum timestep for training. Additionally, Top-K(&#x000B7;) indicates the setting of &#x003F5;. For easy reference to the techniques incorporated in the models, we use notations such as &#x0201C;TET(&#x000B7;) &#x0002B; RCS, w/ Top-K,&#x0201D; indicating that the SNN model has been enhanced with both RCS regularization and the Top-K cutoff strategy. In our experiments, the ANN-to-SNN conversion method, such as QCFS, was applied only to frame-based datasets. We do not evaluate it on event-based datasets, which inherently involve temporal dynamicsbecause they focus primarily on spatial information.</p>
<sec>
<title>5.1 Experimental datasets and setup</title>
<p>The experiments were conducted on various datasets, including both frame-based and event-based inputs, and network architectures. Specifically, we evaluated our approaches across diverse settings: ResNet-18 (He et al., <xref ref-type="bibr" rid="B23">2016</xref>) for CIFAR10/100 (Krizhevsky et al., <xref ref-type="bibr" rid="B27">2009</xref>) and Tiny-ImageNet (Le and Yang, <xref ref-type="bibr" rid="B28">2015</xref>), VGGSNN (Deng et al., <xref ref-type="bibr" rid="B12">2022</xref>) for CIFAR10-DVS (Li et al., <xref ref-type="bibr" rid="B30">2017</xref>) and N-Caltech101 (Orchard et al., <xref ref-type="bibr" rid="B37">2015</xref>), along with a five-layer convolutional network (Fang et al., <xref ref-type="bibr" rid="B17">2021b</xref>) for DVS128 Gesture (Amir et al., <xref ref-type="bibr" rid="B2">2017</xref>). To effectively process event-based datasets, we implement a downsampling strategy by integrating a 4 &#x000D7; 4 kernel with a stride of 4 at the beginning of the original network architecture. This adjustment can directly feed event data into the SNN, as suggested by Shrestha and Orchard (<xref ref-type="bibr" rid="B44">2018</xref>).</p>
<p>The samples in the event-based datasets record event addresses with on/off events over a specific period. The CIFAR10-DVS consists of 10,000 samples extracted from CIFAR10 (Li et al., <xref ref-type="bibr" rid="B30">2017</xref>). Each sample has 128 &#x000D7; 128 spatial resolution. The length of each spike train is less than or equal to 1.3<italic>s</italic>. The N-Caltech101, dataset contains 8,709 samples categorized into 101 classes. The number of samples in each class ranged from 31 to 800. The length of each spike train was approximately 0.3<italic>s</italic>. The width in the <italic>x</italic>-direction does not exceed 240 pixels, and that in the <italic>y</italic>-direction does not exceed 180 pixels. For these two datasets, we used 90% samples in each class for training and 10% for testing. DVS128 Gesture comprises of 1,341 samples with 11 categories. Each sample is was analyzed for 6.0<italic>s</italic>. Due to repetitive information in these samples, the first 1.3 s were selected. All event-based samples were split into 10 frames for training and evaluation.</p>
<p>For training, the hyper-parameter &#x003B1; varied depending on the training method and dataset, and it was chosen from 0.001, 0.002, 0.003 for conversion-based methods and 0.001, 0.003, 0.005 for event-based datasets. For the frame-based datasets CIFAR10/100 and Tiny-ImageNet, we used a batch sizes of 128 and 300 epochs. The auto augmentation method proposed by Cubuk et al. (<xref ref-type="bibr" rid="B8">2019</xref>) was deployed on Cifar-10/100 to enhance the accuracy. For the event-based datasets, the training parameters were set to 100 epochs with batch sizes of 128 for CIFAR10-DVS, 64 for N-Caltech101, and 32 for DVS128 Gesture.</p>
<p>The evaluation of the Top-K cutoff requires a set of &#x003B2; values derived from the training dataset. To evaluate the efficiency, each sample is simulated until its corresponding OCT <inline-formula><mml:math id="M87"><mml:mover accent="true"><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula>. We used <italic>T</italic><sub>avg</sub> to represent the average number of timesteps required for the inputs from the entire test dataset. As models often exhibit overconfidence post-training, we integrated dropout layers with a 0.3 dropout rate after each spiking layer to counteract this effect during characterization. The efficacy of this dropout is explained in Srivastava et al. (<xref ref-type="bibr" rid="B45">2014</xref>) and Jin et al. (<xref ref-type="bibr" rid="B24">2022</xref>). To implement RCS in direct training, <xref ref-type="disp-formula" rid="E16">Equation 16</xref> suggests that the later spiking rates are expected to align with the desired spiking rates. Thus, we set <italic>N</italic> &#x0003D; 1 for <italic>T</italic> &#x0003D; 4 and <italic>N</italic> &#x0003D; 3 for <italic>T</italic> &#x0003D; 10, guided by the ratio <italic>N</italic>/<italic>T</italic>&#x02248;0.3.</p>
</sec>
<sec>
<title>5.2 Experimental results</title>
<p><xref ref-type="fig" rid="F4">Figure 4A</xref> demonstrates the implementation of the Top-K cutoff across various SNN training methods, demonstrating its ability to enhance computational efficiency by reducing the number of timesteps required to achieve comparable accuracy. Specifically, the SNN method requires <bold>1.76 to 2.76 &#x000D7;</bold> <bold>fewer timesteps</bold> for CIFAR-10 with a near-zero accuracy drop of 0.01% to 0.06%, and <bold>1.23 to 1.60 &#x000D7;</bold> <bold>fewer timesteps</bold> for CIFAR10-DVS with the same accuracy. However, while Top-K serves as a practical approximation, a discernible gap exists between this empirical approach and the theoretical cutoff by OCT. As illustrated in <xref ref-type="fig" rid="F4">Figure 4</xref>, in Top-K cutoff effectively implements an adaptive timestep strategy but falls short of achieving the ideal cutoff, particularly in terms of correctly classifying samples at the first timestep compared to OCT. To provide further insight, we revisit <xref ref-type="fig" rid="F3">Figure 3B</xref> from Section 4.1.2, which visually illustrates the impact of &#x003F5; on Top-K cutoff across different samples. A larger &#x003F5; may indicate fewer timestep for each sample; however, the accuracy is reduced. This highlights the need to optimize the Top-K cutoff during training via RCS.</p>
<p>Given that RCS is designed to complement the OCT, our experimental results consider the OCT as a key metric associated with Top-K on frame-based inputs (<xref ref-type="table" rid="T1">Table 1</xref>) and event-based inputs (<xref ref-type="table" rid="T2">Table 2</xref>). As seen in both tables, a smaller OCT always indicates better accuracy performance and a more effective cutoff.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Comparison of accuracy and latency before and after applying RCS across different training methods on frame-based datasets.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#919498;color:#ffffff">
<th valign="top" align="left"><bold>Dataset</bold></th>
<th valign="top" align="center"><bold>Method</bold></th>
<th valign="top" align="center" colspan="2"><bold>OCT</bold></th>
<th valign="top" align="center" colspan="2"><bold>Top-K(0)</bold></th>
<th valign="top" align="center" colspan="2"><bold>Top-K(0.05)</bold></th>
</tr>
</thead>
<tbody>
<tr style="background-color:#919498;color:#ffffff">
<td/>
<td/>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
</tr> <tr>
<td valign="top" align="left">CIFAR10</td>
<td valign="top" align="center">QCFS(4)</td>
<td valign="top" align="center">94.04</td>
<td valign="top" align="center">1.27</td>
<td valign="top" align="center">94.04</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">94.04</td>
<td valign="top" align="center">2.40</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">QCFS(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>94.32</bold></td>
<td valign="top" align="center"><bold>1.26</bold></td>
<td valign="top" align="center">94.32</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">94.32</td>
<td valign="top" align="center">2.94</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4)</td>
<td valign="top" align="center">94.89</td>
<td valign="top" align="center">1.20</td>
<td valign="top" align="center">94.89</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">94.86</td>
<td valign="top" align="center">1.45</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>95.24</bold></td>
<td valign="top" align="center"><bold>1.19</bold></td>
<td valign="top" align="center">95.24</td>
<td valign="top" align="center">2.10</td>
<td valign="top" align="center">95.23</td>
<td valign="top" align="center">1.67</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4)</td>
<td valign="top" align="center">95.30</td>
<td valign="top" align="center">1.22</td>
<td valign="top" align="center">95.30</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">95.24</td>
<td valign="top" align="center">1.57</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>95.49</bold></td>
<td valign="top" align="center"><bold>1.22</bold></td>
<td valign="top" align="center">95.49</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">95.47</td>
<td valign="top" align="center">1.58</td>
</tr> <tr>
<td valign="top" align="left">CIFAR100</td>
<td valign="top" align="center">QCFS(4)</td>
<td valign="top" align="center">75.20</td>
<td valign="top" align="center">2.03</td>
<td valign="top" align="center">75.20</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">75.20</td>
<td valign="top" align="center">3.80</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">QCFS(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>76.21</bold></td>
<td valign="top" align="center"><bold>2.00</bold></td>
<td valign="top" align="center">76.21</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">76.21</td>
<td valign="top" align="center">3.72</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4)</td>
<td valign="top" align="center">77.02</td>
<td valign="top" align="center">1.84</td>
<td valign="top" align="center">77.02</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">77.02</td>
<td valign="top" align="center">3.30</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>77.81</bold></td>
<td valign="top" align="center"><bold>1.81</bold></td>
<td valign="top" align="center">77.81</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">77.81</td>
<td valign="top" align="center">3.23</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4)</td>
<td valign="top" align="center">77.93</td>
<td valign="top" align="center">1.85</td>
<td valign="top" align="center">77.93</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">77.93</td>
<td valign="top" align="center">3.03</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>78.13</bold></td>
<td valign="top" align="center"><bold>1.85</bold></td>
<td valign="top" align="center">78.13</td>
<td valign="top" align="center">4.00</td>
<td valign="top" align="center">78.13</td>
<td valign="top" align="center">3.08</td>
</tr>
<tr>
<td valign="top" align="left">Tiny-ImageNet</td>
<td valign="top" align="center">QCFS(4)</td>
<td valign="top" align="center">47.11</td>
<td valign="top" align="center">2.97</td>
<td valign="top" align="center">47.11</td>
<td valign="top" align="center">3.98</td>
<td valign="top" align="center">47.11</td>
<td valign="top" align="center">3.91</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">QCFS(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>47.71</bold></td>
<td valign="top" align="center"><bold>2.94</bold></td>
<td valign="top" align="center">47.71</td>
<td valign="top" align="center">3.99</td>
<td valign="top" align="center">47.71</td>
<td valign="top" align="center">3.97</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4)</td>
<td valign="top" align="center">56.56</td>
<td valign="top" align="center">2.52</td>
<td valign="top" align="center">56.56</td>
<td valign="top" align="center">3.74</td>
<td valign="top" align="center">56.56</td>
<td valign="top" align="center">3.65</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>56.69</bold></td>
<td valign="top" align="center">2.52</td>
<td valign="top" align="center">56.69</td>
<td valign="top" align="center">3.75</td>
<td valign="top" align="center">56.69</td>
<td valign="top" align="center">3.56</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4)</td>
<td valign="top" align="center">56.19</td>
<td valign="top" align="center">2.56</td>
<td valign="top" align="center">56.19</td>
<td valign="top" align="center">3.87</td>
<td valign="top" align="center">56.19</td>
<td valign="top" align="center">3.63</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(4) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>56.69</bold></td>
<td valign="top" align="center"><bold>2.54</bold></td>
<td valign="top" align="center">56.69</td>
<td valign="top" align="center">3.82</td>
<td valign="top" align="center">56.69</td>
<td valign="top" align="center">3.51</td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>OCT reflects the theoretical cutoff performance, indicating undiminished accuracy and the average optimal cutoff timesteps. Top-K cutoff with &#x003F5; values of 0.0 and 0.05 demonstrates the performance of the approximated cutoff. The bold values highlight the best results for each objective.</p>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Comparison of accuracy and latency before and after applying RCS across direct training methods on event-based datasets.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#919498;color:#ffffff">
<th valign="top" align="left"><bold>Dataset</bold></th>
<th valign="top" align="center"><bold>Method</bold></th>
<th valign="top" align="center" colspan="2"><bold>OCT</bold></th>
<th valign="top" align="center" colspan="2"><bold>Top-K(0)</bold></th>
<th valign="top" align="center" colspan="2"><bold>Top-K(0.05)</bold></th>
</tr>
</thead>
<tbody>
 <tr style="background-color:#919498;color:#ffffff">
<td/>
<td/>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
<td valign="top" align="center"><bold>Acc</bold>.</td>
<td valign="top" align="center"><italic>T</italic><sub><italic>avg</italic></sub></td>
</tr> <tr>
<td valign="top" align="left">CIFAR10-DVS</td>
<td valign="top" align="center">TET(10)</td>
<td valign="top" align="center">81.10</td>
<td valign="top" align="center">3.16</td>
<td valign="top" align="center">81.10</td>
<td valign="top" align="center">6.24</td>
<td valign="top" align="center">75.30</td>
<td valign="top" align="center">1.53</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>83.10</bold></td>
<td valign="top" align="center"><bold>3.05</bold></td>
<td valign="top" align="center">83.10</td>
<td valign="top" align="center">6.10</td>
<td valign="top" align="center">76.90</td>
<td valign="top" align="center">1.43</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10)</td>
<td valign="top" align="center">81.70</td>
<td valign="top" align="center">4.46</td>
<td valign="top" align="center">81.70</td>
<td valign="top" align="center">8.14</td>
<td valign="top" align="center">79.95</td>
<td valign="top" align="center">3.71</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>82.20</bold></td>
<td valign="top" align="center"><bold>3.94</bold></td>
<td valign="top" align="center">82.20</td>
<td valign="top" align="center">7.88</td>
<td valign="top" align="center">79.10</td>
<td valign="top" align="center">3.27</td>
</tr> <tr>
<td valign="top" align="left">N-Caltech101</td>
<td valign="top" align="center">TET(10)</td>
<td valign="top" align="center">85.01</td>
<td valign="top" align="center">2.64</td>
<td valign="top" align="center">85.01</td>
<td valign="top" align="center">7.39</td>
<td valign="top" align="center">83.48</td>
<td valign="top" align="center">1.96</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>85.66</bold></td>
<td valign="top" align="center"><bold>2.57</bold></td>
<td valign="top" align="center">85.67</td>
<td valign="top" align="center">6.06</td>
<td valign="top" align="center">84.03</td>
<td valign="top" align="center">1.77</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10)</td>
<td valign="top" align="center">82.49</td>
<td valign="top" align="center">3.01</td>
<td valign="top" align="center">82.49</td>
<td valign="top" align="center">7.44</td>
<td valign="top" align="center">79.32</td>
<td valign="top" align="center">1.86</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>83.15</bold></td>
<td valign="top" align="center"><bold>2.99</bold></td>
<td valign="top" align="center">83.15</td>
<td valign="top" align="center">5.95</td>
<td valign="top" align="center">80.20</td>
<td valign="top" align="center">1.91</td>
</tr>
<tr>
<td valign="top" align="left">DVS128 Gesture</td>
<td valign="top" align="center">TET(10)</td>
<td valign="top" align="center">96.97</td>
<td valign="top" align="center">2.18</td>
<td valign="top" align="center">96.97</td>
<td valign="top" align="center">6.31</td>
<td valign="top" align="center">96.21</td>
<td valign="top" align="center">4.28</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TET(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>97.35</bold></td>
<td valign="top" align="center"><bold>1.66</bold></td>
<td valign="top" align="center">97.35</td>
<td valign="top" align="center">5.14</td>
<td valign="top" align="center">95.83</td>
<td valign="top" align="center">2.53</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10)</td>
<td valign="top" align="center">96.21</td>
<td valign="top" align="center">3.00</td>
<td valign="top" align="center">96.21</td>
<td valign="top" align="center">9.30</td>
<td valign="top" align="center">96.21</td>
<td valign="top" align="center">7.42</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">TEBN(10) &#x0002B; <bold>RCS</bold></td>
<td valign="top" align="center"><bold>96.97</bold></td>
<td valign="top" align="center"><bold>2.73</bold></td>
<td valign="top" align="center">96.97</td>
<td valign="top" align="center">9.10</td>
<td valign="top" align="center">96.97</td>
<td valign="top" align="center">7.21</td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>The bold values highlight the best results for each objective.</p>
</table-wrap-foot>
</table-wrap>
<p>In <xref ref-type="table" rid="T1">Table 1</xref>, RCS facilitates a significant OCT reduction for the QCFS models, ranging from 0.01 to 0.03 across CIFAR10/100 and Tiny-ImageNet. Specifically, on CIFAR100, this improvement was marked by a 0.3-fold decrease in OCT and a 1.01% increase in accuracy, thereby underlining the effectiveness of RCS in enhancing SNN from ANN training. Conversely, when RCS is applied to direct training methods, such as TET and TEBN, improvements in on frame-based datasets appear to be more modest. This limited improvement may be due to direct training methods are designed to optimize the network&#x00027;s performance at small timesteps, such as configuring a small maximum timestep (<italic>T</italic> &#x0003D; 4) during training. Furthermore, OCT estimates the theoretically optimal cutoff point (without accuracy loss), reflecting the upper bound of accuracy achievable during cutoff. In practical, the Top-K cutoff, as an approximation of OCT, achieves accuracy less than or equal to that of OCT, depending on the setting of &#x003F5;.</p>
<p>The effect of RCS becomes more significant for event-based datasets, as shown in <xref ref-type="table" rid="T2">Table 2</xref>, with OCT reductions ranging from 0.02 to 0.52. For the TET with RCS, Top-K(0) enabled the SNN to achieve zero accuracy loss across all event-based datasets while requiring <bold>1.64 to 1.95 &#x000D7; fewer timesteps</bold>. This performance surpasses that of TET without RCS, which requires only <bold>1.35 to 1.60 &#x000D7; </bold> <bold>fewer timesteps</bold>. Moreover, <xref ref-type="fig" rid="F5">Figure 5</xref> illustrates that the implementation of RCS shifts the accuracy curve upward compared to the curve without RCS, which means that the similar accuracy can have less inference timesteps.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Comparison of Top-K cutoff accuracy before (dashed lines) and after (solid lines) regularization across a range of &#x003F5; values from 0.00 to 0.50, increasing in steps of 0.05. The accuracy of the full-length input is detailed in the legend. The <italic>x</italic>-axis label has been revised. <bold>(A)</bold> CIFAR10. <bold>(B)</bold> CIFAR100. <bold>(C)</bold> Tiny-ImageNet. <bold>(D)</bold> CIFAR10-DVS. <bold>(E)</bold> N-Caltech101. <bold>(F)</bold> DVS128 Gesture.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0005.tif"/>
</fig>
</sec>
<sec>
<title>5.3 Comparison with existing work on cutoff</title>
<p>Previous studies have investigated adaptive inference strategies for SNNs to improve inference efficiency. For instance, SEENN (Li et al., <xref ref-type="bibr" rid="B32">2023b</xref>) employs reinforcement learning to train an auxiliary network jointly with the SNN, enabling early exits, whereas the dynamic confidence (DC) strategy (Li et al., <xref ref-type="bibr" rid="B29">2023a</xref>) relies on post-training calibration.</p>
<p>In contrast, the proposed approach eliminates the need for auxiliary networks, offers a more efficient cutoff solution, and leverages RCS to assist training, enhancing cutoff robustness. <xref ref-type="fig" rid="F6">Figure 6</xref> shows the impact of RCS on feature alignment. The histograms show that RCS consistently improves cosine similarity across layers, indicating better alignment between the early timestep features and the expected features. <xref ref-type="table" rid="T3">Table 3</xref> compares our results with those of SNN models that employ adaptive inference strategies. The results indicate that integrating the RCS and Top-K SNN cutoff techniques leads to superior performance at low timestep.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Histograms of cosine similarity at different layers for SNNs trained with and without the RCS regularizer. <bold>(A)</bold> Results for SNN (ResNet-18) trained with QCFS on CIFAR10 at <italic>t</italic> &#x0003D; 2. <bold>(B)</bold> Results for SNN (VGGSNN) trained with TET on CIFAR10-DVS at <italic>t</italic> &#x0003D; 3. Each subplot corresponds to a specific layer index. Note that layer index &#x02212;2 indicates the second last layer.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-g0006.tif"/>
</fig>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Comparison of accuracy and latency between our methods and state-of-the-art SNN work.</p></caption>
<table frame="box" rules="all">
<thead>
<tr style="background-color:#919498;color:#ffffff">
<th valign="top" align="left"><bold>Dataset</bold><break/> <bold>(Architecture)</bold></th>
<th valign="top" align="center"><bold>Training</bold><break/> <bold>Framework</bold></th>
<th valign="top" align="center"><bold>Method</bold></th>
<th valign="top" align="center"><bold>Acc. (<italic>T</italic><sub><italic>avg</italic>, 1</sub>)</bold></th>
<th valign="top" align="center"><bold>Acc. (<italic>T</italic><sub><italic>avg</italic>, 2</sub>)</bold></th>
<th valign="top" align="center"><bold>Acc. (<italic>T</italic><sub><italic>avg</italic>, 3</sub>)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">CIFAR10 <break/> (ResNet-18)</td>
<td valign="top" align="center">CFFS (Li et al., <xref ref-type="bibr" rid="B29">2023a</xref>)</td>
<td valign="top" align="center">DC</td>
<td valign="top" align="center">94.11 (2.52)</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
 <tr>
<td/>
<td valign="top" align="center">QCFS</td>
<td valign="top" align="center">DC</td>
<td valign="top" align="center">94.27 (11.51)</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
 <tr>
<td/>
<td/>
<td valign="top" align="center">SEENN-I</td>
<td valign="top" align="center">95.08 (2.01)</td>
<td valign="top" align="center">93.63 (1.40)</td>
<td valign="top" align="center">91.08 (1.18)</td>
</tr>
 <tr>
<td/>
<td/>
<td valign="top" align="center">RCS&#x0002B;Top-K</td>
<td valign="top" align="center">94.31 (1.71)</td>
<td valign="top" align="center">93.96 (1.46)</td>
<td valign="top" align="center">91.59 (1.12)</td>
</tr>
 <tr>
<td/>
<td valign="top" align="center">TET</td>
<td valign="top" align="center"><bold>RCS&#x0002B;Top-K</bold></td>
<td valign="top" align="center"><bold>95.23 (1.58)</bold></td>
<td valign="top" align="center"><bold>95.16 (1.32)</bold></td>
<td valign="top" align="center"><bold>94.38 (1.07)</bold></td>
</tr> <tr>
<td valign="top" align="left">CIFAR100 <break/> (ResNet-18)</td>
<td valign="top" align="center">QCFS</td>
<td valign="top" align="center">SEENN-I</td>
<td valign="top" align="center">65.48 (6.19)</td>
<td valign="top" align="center">56.99 (4.41)</td>
<td valign="top" align="center">39.33 (2.57)</td>
</tr>
 <tr>
<td/>
<td/>
<td valign="top" align="center">RCS&#x0002B;Top-K</td>
<td valign="top" align="center">76.21 (3.33)</td>
<td valign="top" align="center">75.22 (2.23)</td>
<td valign="top" align="center">71.94 (1.75)</td>
</tr>
 <tr>
<td/>
<td valign="top" align="center">TET</td>
<td valign="top" align="center">RCS&#x0002B;Top-K</td>
<td valign="top" align="center"><bold>77.81 (2.73)</bold></td>
<td valign="top" align="center"><bold>77.57 (1.91)</bold></td>
<td valign="top" align="center"><bold>76.17 (1.45)</bold></td>
</tr>
<tr>
<td valign="top" align="left">CIFAR10-DVS <break/> (VGGSNN)</td>
<td valign="top" align="center">TET</td>
<td valign="top" align="center">SEENN-I</td>
<td valign="top" align="center">82.7 (5.17)</td>
<td valign="top" align="center">77.60 (2.53)</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
 <tr>
<td/>
<td/>
<td valign="top" align="center">SEENN-II</td>
<td valign="top" align="center">82.6 (4.49)</td>
<td valign="top" align="center">&#x02013;</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">RCS&#x0002B;Top-K</td>
<td valign="top" align="center"><bold>82.80 (4.14)</bold></td>
<td valign="top" align="center"><bold>81.10 (2.52)</bold></td>
<td valign="top" align="center"><bold>76.90 (1.43)</bold></td>
</tr></tbody>
</table>
<table-wrap-foot>
<p>The &#x003F5; value for each model is adjusted within the range [0, 0.5] with step size of 0.01 to evaluate accuracy at specific timesteps. The bold values highlight the best results for each objective.</p>
</table-wrap-foot>
</table-wrap>
</sec>
</sec>
<sec sec-type="conclusions" id="s6">
<title>6 Conclusions</title>
<p>In this paper, we focus on developing an SNN that achieves high efficiency throughout both training and inference processes, making them particularly well-suited for inferring with adaptive timestep. We introduce two key innovations designed to enhance SNN performance: a regularizer targets the training phase, and a cutoff mechanism optimizes the inference stage. Our comprehensive experiments demonstrate these advancements, indicating notable enhancements in accuracy and inference efficiency over traditional methods. The Top-K cutoff technique introduced here proves to be versatile across various SNN neuron models, such as IF and LIF, provided the predictions rely solely on output analysis.</p>
<p>While our approach shows strong potential, some limitations remain. The current evaluation was primarily conducted on the VGG and ResNet architectures, and its applicability to advanced architectures like spiking transformers, has not been explored. Additionally, the regularizer increases memory requirements, as seen with a 26% increase in memory usage&#x02014;from 8.9 to 11.3 GB&#x02014;when directly training an SNN (<italic>T</italic> &#x0003D; 4) with ResNet-18 on CIFAR10. This overhead could pose challenges in training larger-scale networks. Furthermore, our evaluation relies on GPU-based simulations rather than hardware implementations.</p>
<p>Future studies could explore integrating these techniques with advanced architectures, such as spiking transformers. Expanding the evaluation to more complex datasets and real-world applications will provide a deeper understanding of the scalability and practical utility of the proposed methods. Further, optimizing the RCS to reduce its memory overhead would improve its suitability for larger-scale models, thereby addressing resource constraints. Finally, implementing and testing the cutoff with the SNN on Field Programmable Gate Arrays (FPGAs) provide valuable insights into their performance and feasibility for real-world applications.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s7">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="author-contributions" id="s8">
<title>Author contributions</title>
<p>DW: Investigation, Methodology, Software, Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing. GJ: Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing, Investigation. HY: Investigation, Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing. XY: Investigation, Methodology, Supervision, Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing. XH: Investigation, Methodology, Supervision, Writing &#x02013; original draft, Writing &#x02013; review &#x00026; editing.</p>
</sec>
<sec sec-type="funding-information" id="s9">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This project has received funding from the European Union&#x00027;s Horizon 2020 research and innovation programme under grant agreement No. 956123, and was also supported by the UK EPSRC under project [EP/T026995/1].</p>
<p><inline-graphic mimetype="image" mime-subtype="tiff" xlink:href="fnins-19-1522788-i0001.tif"/></p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="ai-statement" id="s10">
<title>Generative AI statement</title>
<p>The author(s) declare that no Gen AI was used in the creation of this manuscript.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec><sec sec-type="supplementary-material" id="s12">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fnins.2025.1522788/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fnins.2025.1522788/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akopyan</surname> <given-names>F.</given-names></name> <name><surname>Sawada</surname> <given-names>J.</given-names></name> <name><surname>Cassidy</surname> <given-names>A.</given-names></name> <name><surname>Alvarez-Icaza</surname> <given-names>R.</given-names></name> <name><surname>Arthur</surname> <given-names>J.</given-names></name> <name><surname>Merolla</surname> <given-names>P.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>Truenorth: design and tool flow of a 65 mw 1 million neuron programmable neurosynaptic chip</article-title>. <source>IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst</source>. <volume>34</volume>, <fpage>1537</fpage>&#x02013;<lpage>1557</lpage>. <pub-id pub-id-type="doi">10.1109/TCAD.2015.2474396</pub-id></citation>
</ref>
<ref id="B2">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Amir</surname> <given-names>A.</given-names></name> <name><surname>Taba</surname> <given-names>B.</given-names></name> <name><surname>Berg</surname> <given-names>D.</given-names></name> <name><surname>Melano</surname> <given-names>T.</given-names></name> <name><surname>McKinstry</surname> <given-names>J.</given-names></name> <name><surname>Di Nolfo</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>&#x0201C;A low power, fully event-based gesture recognition system,&#x0201D;</article-title> in <source>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</source> (<publisher-loc>Honolulu, HI</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>7243</fpage>&#x02013;<lpage>7252</lpage>. <pub-id pub-id-type="doi">10.1109/CVPR.2017.781</pub-id><pub-id pub-id-type="pmid">32903824</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Anumula</surname> <given-names>J.</given-names></name> <name><surname>Neil</surname> <given-names>D.</given-names></name> <name><surname>Delbruck</surname> <given-names>T.</given-names></name> <name><surname>Liu</surname> <given-names>S.-C.</given-names></name></person-group> (<year>2018</year>). <article-title>Feature representations for neuromorphic audio spike streams</article-title>. <source>Front. Neurosci</source>. <volume>12</volume>:<fpage>23</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2018.00023</pub-id><pub-id pub-id-type="pmid">29479300</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Banner</surname> <given-names>R.</given-names></name> <name><surname>Hubara</surname> <given-names>I.</given-names></name> <name><surname>Hoffer</surname> <given-names>E.</given-names></name> <name><surname>Soudry</surname> <given-names>D.</given-names></name></person-group> (<year>2018</year>). <article-title>Scalable methods for 8-bit training of neural networks</article-title>. <source>Adv. Neural Inf. Process. Syst</source>. 31. Available at: <ext-link ext-link-type="uri" xlink:href="https://proceedings.neurips.cc/paper_files/paper/2018/hash/82f2b308c3b01637c607ce05f52a2fed-Abstract.html">https://proceedings.neurips.cc/paper_files/paper/2018/hash/82f2b308c3b01637c607ce05f52a2fed-Abstract.html</ext-link><pub-id pub-id-type="pmid">29527533</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Biau</surname> <given-names>G.</given-names></name> <name><surname>Mason</surname> <given-names>D. M.</given-names></name></person-group> (<year>2015</year>). <article-title>&#x0201C;High-dimensional <italic>p</italic> <italic>p</italic>-norms,&#x0201D;</article-title> in <source>Mathematical Statistics and Limit Theorems</source>, eds. M. Hallin, D. Mason, D. Pfeifer, and J. Steinebach (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>21</fpage>&#x02013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-319-12442-1_3</pub-id></citation>
</ref>
<ref id="B6">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Bu</surname> <given-names>T.</given-names></name> <name><surname>Fang</surname> <given-names>W.</given-names></name> <name><surname>Ding</surname> <given-names>J.</given-names></name> <name><surname>Dai</surname> <given-names>P.</given-names></name> <name><surname>Yu</surname> <given-names>Z.</given-names></name> <name><surname>Huang</surname> <given-names>T.</given-names></name></person-group> (<year>2022</year>). <article-title>&#x0201C;Optimal ANN-SNN conversion for high-accuracy and ultra-low-latency spiking neural networks,&#x0201D;</article-title> in <source>International Conference on Learning Representations</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>).</citation>
</ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>J.</given-names></name> <name><surname>Park</surname> <given-names>S.</given-names></name> <name><surname>Simeone</surname> <given-names>O.</given-names></name></person-group> (<year>2023</year>). <article-title>Agreeing to stop: reliable latency-adaptive decision making via ensembles of spiking neural networks</article-title>. <source>arXiv</source> [Preprint]. arXiv:2310.16675. <pub-id pub-id-type="doi">10.48550/arXiv.2310.16675</pub-id><pub-id pub-id-type="pmid">38392381</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Cubuk</surname> <given-names>E. D.</given-names></name> <name><surname>Zoph</surname> <given-names>B.</given-names></name> <name><surname>Mane</surname> <given-names>D.</given-names></name> <name><surname>Vasudevan</surname> <given-names>V.</given-names></name> <name><surname>Le</surname> <given-names>Q. V.</given-names></name></person-group> (<year>2019</year>). <article-title>&#x0201C;Autoaugment: learning augmentation strategies from data,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition</source> (<publisher-loc>Long Beach, CA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>113</fpage>&#x02013;<lpage>123</lpage>. <pub-id pub-id-type="doi">10.1109/CVPR.2019.00020</pub-id><pub-id pub-id-type="pmid">35530170</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Davies</surname> <given-names>M.</given-names></name> <name><surname>Srinivasa</surname> <given-names>N.</given-names></name> <name><surname>Lin</surname> <given-names>T.-H.</given-names></name> <name><surname>Chinya</surname> <given-names>G.</given-names></name> <name><surname>Cao</surname> <given-names>Y.</given-names></name> <name><surname>Choday</surname> <given-names>S. H.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Loihi: a neuromorphic manycore processor with on-chip learning</article-title>. <source>IEEE Micro</source> <volume>38</volume>, <fpage>82</fpage>&#x02013;<lpage>99</lpage>. <pub-id pub-id-type="doi">10.1109/MM.2018.112130359</pub-id></citation>
</ref>
<ref id="B10">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Delbr&#x000FC;ck</surname> <given-names>T.</given-names></name> <name><surname>Linares-Barranco</surname> <given-names>B.</given-names></name> <name><surname>Culurciello</surname> <given-names>E.</given-names></name> <name><surname>Posch</surname> <given-names>C.</given-names></name></person-group> (<year>2010</year>). <article-title>&#x0201C;Activity-driven, event-based vision sensors,&#x0201D;</article-title> in <source>Proceedings of 2010 IEEE International Symposium on Circuits and Systems</source> (<publisher-loc>Paris</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2426</fpage>&#x02013;<lpage>2429</lpage>. <pub-id pub-id-type="doi">10.1109/ISCAS.2010.5537149</pub-id></citation>
</ref>
<ref id="B11">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Deng</surname> <given-names>S.</given-names></name> <name><surname>Gu</surname> <given-names>S.</given-names></name></person-group> (<year>2021</year>). <article-title>&#x0201C;Optimal conversion of conventional artificial neural networks to spiking neural networks,&#x0201D;</article-title> in <source>International Conference on Learning Representations</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>).<pub-id pub-id-type="pmid">38400487</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Deng</surname> <given-names>S.</given-names></name> <name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>S.</given-names></name> <name><surname>Gu</surname> <given-names>S.</given-names></name></person-group> (<year>2022</year>). <article-title>&#x0201C;Temporal efficient training of spiking neural network via gradient re-weighting,&#x0201D;</article-title> in <source>International Conference on Learning Representations</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>).</citation>
</ref>
<ref id="B13">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Diehl</surname> <given-names>P. U.</given-names></name> <name><surname>Neil</surname> <given-names>D.</given-names></name> <name><surname>Binas</surname> <given-names>J.</given-names></name> <name><surname>Cook</surname> <given-names>M.</given-names></name> <name><surname>Liu</surname> <given-names>S.-C.</given-names></name> <name><surname>Pfeiffer</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>&#x0201C;Fast-classifying, high-accuracy spiking deep networks through weight and threshold balancing,&#x0201D;</article-title> in <source>2015 International joint conference on neural networks (IJCNN)</source> (<publisher-loc>Killarney</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1109/IJCNN.2015.7280696</pub-id><pub-id pub-id-type="pmid">36968504</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ding</surname> <given-names>Y.</given-names></name> <name><surname>Zuo</surname> <given-names>L.</given-names></name> <name><surname>Jing</surname> <given-names>M.</given-names></name> <name><surname>He</surname> <given-names>P.</given-names></name> <name><surname>Xiao</surname> <given-names>Y.</given-names></name></person-group> (<year>2024</year>). <article-title>Shrinking your timestep: towards low-latency neuromorphic object recognition with spiking neural networks</article-title>. <source>Proc. AAAI Conf. Artif. Intell</source>. <volume>38</volume>, <fpage>11811</fpage>&#x02013;<lpage>11819</lpage>. <pub-id pub-id-type="doi">10.1609/aaai.v38i10.29066</pub-id></citation>
</ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Duan</surname> <given-names>C.</given-names></name> <name><surname>Ding</surname> <given-names>J.</given-names></name> <name><surname>Chen</surname> <given-names>S.</given-names></name> <name><surname>Yu</surname> <given-names>Z.</given-names></name> <name><surname>Huang</surname> <given-names>T.</given-names></name></person-group> (<year>2022</year>). <article-title>&#x0201C;Temporal effective batch normalization in spiking neural networks,&#x0201D;</article-title> in <source>Advances in Neural Information Processing Systems</source>, eds. A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho (Curran Associates, Inc.).</citation>
</ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fang</surname> <given-names>W.</given-names></name> <name><surname>Yu</surname> <given-names>Z.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Huang</surname> <given-names>T.</given-names></name> <name><surname>Masquelier</surname> <given-names>T.</given-names></name> <name><surname>Tian</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2021a</year>). <article-title>Deep residual learning in spiking neural networks</article-title>. <source>Adv. Neural Inf. Process. Syst</source>. <volume>34</volume>, <fpage>21056</fpage>&#x02013;<lpage>21069</lpage>.</citation>
</ref>
<ref id="B17">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Fang</surname> <given-names>W.</given-names></name> <name><surname>Yu</surname> <given-names>Z.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Masquelier</surname> <given-names>T.</given-names></name> <name><surname>Huang</surname> <given-names>T.</given-names></name> <name><surname>Tian</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2021b</year>). <article-title>&#x0201C;Incorporating learnable membrane time constant to enhance learning of spiking neural networks,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF International Conference on Computer Vision</source> (<publisher-loc>Montreal, QC</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2661</fpage>&#x02013;<lpage>2671</lpage>. <pub-id pub-id-type="doi">10.1109/ICCV48922.2021.00266</pub-id></citation>
</ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gallego</surname> <given-names>G.</given-names></name> <name><surname>Delbr&#x000FC;ck</surname> <given-names>T.</given-names></name> <name><surname>Orchard</surname> <given-names>G.</given-names></name> <name><surname>Bartolozzi</surname> <given-names>C.</given-names></name> <name><surname>Taba</surname> <given-names>B.</given-names></name> <name><surname>Censi</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Event-based vision: a survey</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell</source>. <volume>44</volume>, <fpage>154</fpage>&#x02013;<lpage>180</lpage>. <pub-id pub-id-type="doi">10.1109/TPAMI.2020.3008413</pub-id><pub-id pub-id-type="pmid">32750812</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Peng</surname> <given-names>W.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name> <name><surname>Huang</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2024</year>). <article-title>Ternary spike: learning ternary spikes for spiking neural networks</article-title>. <source>Proc. AAAI Conf. Artif. Intell</source>. <volume>38</volume>, <fpage>12244</fpage>&#x02013;<lpage>12252</lpage>. <pub-id pub-id-type="doi">10.1609/aaai.v38i11.29114</pub-id></citation>
</ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Peng</surname> <given-names>W.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>L.</given-names></name> <name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Huang</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2023a</year>). <article-title>Joint a-SNN: joint training of artificial and spiking neural networks via self-distillation and weight factorization</article-title>. <source>Pattern Recognit</source>. <volume>142</volume>:<fpage>109639</fpage>. <pub-id pub-id-type="doi">10.1016/j.patcog.2023.109639</pub-id></citation>
</ref>
<ref id="B21">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Peng</surname> <given-names>W.</given-names></name> <name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Zhang</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2023b</year>). <article-title>&#x0201C;Membrane potential batch normalization for spiking neural networks,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF International Conference on Computer Vision</source> (<publisher-loc>Paris</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>19420</fpage>&#x02013;<lpage>19430</lpage>. <pub-id pub-id-type="doi">10.1109/ICCV51070.2023.01779</pub-id></citation>
</ref>
<ref id="B22">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Han</surname> <given-names>B.</given-names></name> <name><surname>Srinivasan</surname> <given-names>G.</given-names></name> <name><surname>Roy</surname> <given-names>K.</given-names></name></person-group> (<year>2020</year>). <article-title>&#x0201C;RMP-SNN: residual membrane potential neuron for enabling deeper high-accuracy and low-latency spiking neural network,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition</source> (<publisher-loc>Seattle, WA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>13558</fpage>&#x02013;<lpage>13567</lpage>. <pub-id pub-id-type="doi">10.1109/CVPR42600.2020.01357</pub-id></citation>
</ref>
<ref id="B23">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>He</surname> <given-names>K.</given-names></name> <name><surname>Zhang</surname> <given-names>X.</given-names></name> <name><surname>Ren</surname> <given-names>S.</given-names></name> <name><surname>Sun</surname> <given-names>J.</given-names></name></person-group> (<year>2016</year>). <article-title>&#x0201C;Deep residual learning for image recognition,&#x0201D;</article-title> in <source>Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition</source> (<publisher-loc>Las Vegas, NV</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>770</fpage>&#x02013;<lpage>778</lpage>. <pub-id pub-id-type="doi">10.1109/CVPR.2016.90</pub-id></citation>
</ref>
<ref id="B24">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Jin</surname> <given-names>G.</given-names></name> <name><surname>Yi</surname> <given-names>X.</given-names></name> <name><surname>Yang</surname> <given-names>P.</given-names></name> <name><surname>Zhang</surname> <given-names>L.</given-names></name> <name><surname>Schewe</surname> <given-names>S.</given-names></name> <name><surname>Huang</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>&#x0201C;Weight expansion: a new perspective on dropout and generalization,&#x0201D;</article-title> in <source>Transactions on Machine Learning Research</source> (<publisher-loc>JMLR</publisher-loc>).</citation>
</ref>
<ref id="B25">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Kim</surname> <given-names>J.</given-names></name> <name><surname>Bae</surname> <given-names>J.</given-names></name> <name><surname>Park</surname> <given-names>G.</given-names></name> <name><surname>Zhang</surname> <given-names>D.</given-names></name> <name><surname>Kim</surname> <given-names>Y. M.</given-names></name></person-group> (<year>2021</year>). <article-title>&#x0201C;N-imagenet: towards robust, fine-grained object recognition with event cameras,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF International Conference on Computer Vision</source> (<publisher-loc>Montreal, QC</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2146</fpage>&#x02013;<lpage>2156</lpage>. <pub-id pub-id-type="doi">10.1109/ICCV48922.2021.00215</pub-id></citation>
</ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname> <given-names>Y.</given-names></name> <name><surname>Panda</surname> <given-names>P.</given-names></name></person-group> (<year>2021</year>). <article-title>Revisiting batch normalization for training low-latency deep spiking neural networks from scratch</article-title>. <source>Front. Neurosci</source>. <volume>15</volume>:<fpage>773954</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2021.773954</pub-id><pub-id pub-id-type="pmid">34955725</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krizhevsky</surname> <given-names>A.</given-names></name> <name><surname>Hinton</surname> <given-names>G.</given-names></name> <etal/></person-group>. (<year>2009</year>). <source>Learning Multiple Layers of Features from Tiny Images</source>. Toronto, ON.</citation>
</ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Le</surname> <given-names>Y.</given-names></name> <name><surname>Yang</surname> <given-names>X.</given-names></name></person-group> (<year>2015</year>). <source>Tiny imagenet visual recognition challenge</source>. CS 231N, 7, 3.</citation>
</ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>C.</given-names></name> <name><surname>Jones</surname> <given-names>E.</given-names></name> <name><surname>Furber</surname> <given-names>S.</given-names></name></person-group> (<year>2023a</year>). <article-title>Unleashing the potential of spiking neural networks by dynamic confidence</article-title>. <source>arXiv</source> [Preprint]. arXiv:2303.10276. <pub-id pub-id-type="doi">10.48550/arXiv.2303.10276</pub-id></citation>
</ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>H.</given-names></name> <name><surname>Liu</surname> <given-names>H.</given-names></name> <name><surname>Ji</surname> <given-names>X.</given-names></name> <name><surname>Li</surname> <given-names>G.</given-names></name> <name><surname>Shi</surname> <given-names>L.</given-names></name></person-group> (<year>2017</year>). <article-title>Cifar10-DVS: an event-stream dataset for object classification</article-title>. <source>Front. Neurosci</source>. <volume>11</volume>:<fpage>309</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2017.00309</pub-id><pub-id pub-id-type="pmid">28611582</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Deng</surname> <given-names>S.</given-names></name> <name><surname>Dong</surname> <given-names>X.</given-names></name> <name><surname>Gong</surname> <given-names>R.</given-names></name> <name><surname>Gu</surname> <given-names>S.</given-names></name></person-group> (<year>2021a</year>). <article-title>&#x0201C;A free lunch from ann: towards efficient, accurate spiking neural networks calibration,&#x0201D;</article-title> in <source>Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research</source>, eds. M. Meila, and T. Zhang (PMLR), <fpage>6316</fpage>&#x02013;<lpage>6325</lpage>.</citation>
</ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Geller</surname> <given-names>T.</given-names></name> <name><surname>Kim</surname> <given-names>Y.</given-names></name> <name><surname>Panda</surname> <given-names>P.</given-names></name></person-group> (<year>2023b</year>). <article-title>SEENN: towards temporal spiking early-exit neural networks</article-title>. <source>arXiv</source> [Preprint]. arXiv:2304.01230. <pub-id pub-id-type="doi">10.48550/arXiv.2304.01230</pub-id></citation>
</ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>S.</given-names></name> <name><surname>Deng</surname> <given-names>S.</given-names></name> <name><surname>Hai</surname> <given-names>Y.</given-names></name> <name><surname>Gu</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2021b</year>). <article-title>Differentiable spike: rethinking gradient-descent for training spiking neural networks</article-title>. <source>Adv. Neural Inf. Process. Syst</source>. <volume>34</volume>, <fpage>23426</fpage>&#x02013;<lpage>23439</lpage>.</citation>
</ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lichtsteiner</surname> <given-names>P.</given-names></name> <name><surname>Posch</surname> <given-names>C.</given-names></name> <name><surname>Delbruck</surname> <given-names>T.</given-names></name></person-group> (<year>2008</year>). <article-title>A 128 &#x000D7; 128 120 db 15&#x003BC;s latency asynchronous temporal contrast vision sensor</article-title>. <source>IEEE J. Solid-State Circuits</source> <volume>43</volume>, <fpage>566</fpage>&#x02013;<lpage>576</lpage>. <pub-id pub-id-type="doi">10.1109/JSSC.2007.914337</pub-id></citation>
</ref>
<ref id="B35">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Messikommer</surname> <given-names>N.</given-names></name> <name><surname>Gehrig</surname> <given-names>D.</given-names></name> <name><surname>Loquercio</surname> <given-names>A.</given-names></name> <name><surname>Scaramuzza</surname> <given-names>D.</given-names></name></person-group> (<year>2020</year>). <article-title>&#x0201C;Event-based asynchronous sparse convolutional networks,&#x0201D;</article-title> in <source>European Conference on Computer Vision</source> (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>415</fpage>&#x02013;<lpage>431</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-030-58598-3_25</pub-id></citation>
</ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Neftci</surname> <given-names>E. O.</given-names></name> <name><surname>Mostafa</surname> <given-names>H.</given-names></name> <name><surname>Zenke</surname> <given-names>F.</given-names></name></person-group> (<year>2019</year>). <article-title>Surrogate gradient learning in spiking neural networks: bringing the power of gradient-based optimization to spiking neural networks</article-title>. <source>IEEE Signal Process. Mag</source>. <volume>36</volume>, <fpage>51</fpage>&#x02013;<lpage>63</lpage>. <pub-id pub-id-type="doi">10.1109/MSP.2019.2931595</pub-id></citation>
</ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Orchard</surname> <given-names>G.</given-names></name> <name><surname>Jayawant</surname> <given-names>A.</given-names></name> <name><surname>Cohen</surname> <given-names>G. K.</given-names></name> <name><surname>Thakor</surname> <given-names>N.</given-names></name></person-group> (<year>2015</year>). <article-title>Converting static image datasets to spiking neuromorphic datasets using saccades</article-title>. <source>Front. Neurosci</source>. <volume>9</volume>:<fpage>437</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2015.00437</pub-id><pub-id pub-id-type="pmid">26635513</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rathi</surname> <given-names>N.</given-names></name> <name><surname>Roy</surname> <given-names>K.</given-names></name></person-group> (<year>2021</year>). <article-title>DIET-SNN: a low-latency spiking neural network with direct input encoding and leakage and threshold optimization</article-title>. <source>IEEE Trans. Neural Netw. Learn. Syst</source>. <volume>34</volume>, <fpage>3174</fpage>&#x02013;<lpage>3182</lpage>. <pub-id pub-id-type="doi">10.1109/TNNLS.2021.3111897</pub-id><pub-id pub-id-type="pmid">34596559</pub-id></citation></ref>
<ref id="B39">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Rathi</surname> <given-names>N.</given-names></name> <name><surname>Srinivasan</surname> <given-names>G.</given-names></name> <name><surname>Panda</surname> <given-names>P.</given-names></name> <name><surname>Roy</surname> <given-names>K.</given-names></name></person-group> (<year>2020</year>). <article-title>&#x0201C;Enabling deep spiking neural networks with hybrid conversion and spike timing dependent backpropagation,&#x0201D;</article-title> in <source>International Conference on Learning Representations</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>).</citation>
</ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>R&#x000FC;ckauer</surname> <given-names>B.</given-names></name> <name><surname>K&#x000E4;nzig</surname> <given-names>N.</given-names></name> <name><surname>Liu</surname> <given-names>S.-C.</given-names></name> <name><surname>Delbruck</surname> <given-names>T.</given-names></name> <name><surname>Sandamirskaya</surname> <given-names>Y.</given-names></name></person-group> (<year>2019</year>). <article-title>Closing the accuracy gap in an event-based visual recognition task</article-title>. <source>arXiv</source> [Preprint]. arXiv:1906.08859. <pub-id pub-id-type="doi">10.4855/arXiv.1906.08859</pub-id></citation>
</ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rueckauer</surname> <given-names>B.</given-names></name> <name><surname>Lungu</surname> <given-names>I.-A.</given-names></name> <name><surname>Hu</surname> <given-names>Y.</given-names></name> <name><surname>Pfeiffer</surname> <given-names>M.</given-names></name> <name><surname>Liu</surname> <given-names>S.-C.</given-names></name></person-group> (<year>2017</year>). <article-title>Conversion of continuous-valued deep networks to efficient event-driven networks for image classification</article-title>. <source>Front. Neurosci</source>. <volume>11</volume>:<fpage>682</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2017.00682</pub-id><pub-id pub-id-type="pmid">29375284</pub-id></citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sengupta</surname> <given-names>A.</given-names></name> <name><surname>Ye</surname> <given-names>Y.</given-names></name> <name><surname>Wang</surname> <given-names>R.</given-names></name> <name><surname>Liu</surname> <given-names>C.</given-names></name> <name><surname>Roy</surname> <given-names>K.</given-names></name></person-group> (<year>2019</year>). <article-title>Going deeper in spiking neural networks: VGG and residual architectures</article-title>. <source>Front. Neurosci</source>. <volume>13</volume>:<fpage>95</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2019.00095</pub-id><pub-id pub-id-type="pmid">30899212</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shafer</surname> <given-names>G.</given-names></name> <name><surname>Vovk</surname> <given-names>V.</given-names></name></person-group> (<year>2008</year>). <article-title>A tutorial on conformal prediction</article-title>. <source>J. Mach. Learn. Res</source>. <volume>9</volume>, <fpage>371</fpage>&#x02013;<lpage>421</lpage>.</citation>
</ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shrestha</surname> <given-names>S. B.</given-names></name> <name><surname>Orchard</surname> <given-names>G.</given-names></name></person-group> (<year>2018</year>). <article-title>Slayer: spike layer error reassignment in time</article-title>. <source>Adv. Neural Inf. Process. Syst</source>. 31.</citation>
</ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srivastava</surname> <given-names>N.</given-names></name> <name><surname>Hinton</surname> <given-names>G.</given-names></name> <name><surname>Krizhevsky</surname> <given-names>A.</given-names></name> <name><surname>Sutskever</surname> <given-names>I.</given-names></name> <name><surname>Salakhutdinov</surname> <given-names>R.</given-names></name></person-group> (<year>2014</year>). <article-title>Dropout: a simple way to prevent neural networks from overfitting</article-title>. <source>J. Mach. Learn. Res</source>. <volume>15</volume>, <fpage>1929</fpage>&#x02013;<lpage>1958</lpage>.<pub-id pub-id-type="pmid">33259321</pub-id></citation></ref>
<ref id="B46">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>Z.</given-names></name> <name><surname>Fang</surname> <given-names>Y.</given-names></name> <name><surname>Cao</surname> <given-names>J.</given-names></name> <name><surname>Zhang</surname> <given-names>Q.</given-names></name> <name><surname>Wang</surname> <given-names>Z.</given-names></name> <name><surname>Xu</surname> <given-names>R.</given-names></name> <etal/></person-group>. (<year>2023</year>). <article-title>&#x0201C;Masked spiking transformer,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF International Conference on Computer Vision</source> (<publisher-loc>Paris</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1761</fpage>&#x02013;<lpage>1771</lpage>. <pub-id pub-id-type="doi">10.1109/ICCV51070.2023.00169</pub-id><pub-id pub-id-type="pmid">37875104</pub-id></citation></ref>
<ref id="B47">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>D.</given-names></name> <name><surname>Yi</surname> <given-names>X.</given-names></name> <name><surname>Huang</surname> <given-names>X.</given-names></name></person-group> (<year>2022</year>). <article-title>A little energy goes a long way: build an energy-efficient, accurate spiking neural network from convolutional neural network</article-title>. <source>Front. Neurosci</source>. <volume>16</volume>:<fpage>759900</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2022.759900</pub-id><pub-id pub-id-type="pmid">35692427</pub-id></citation></ref>
<ref id="B48">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>J.</given-names></name> <name><surname>Xu</surname> <given-names>C.</given-names></name> <name><surname>Han</surname> <given-names>X.</given-names></name> <name><surname>Zhou</surname> <given-names>D.</given-names></name> <name><surname>Zhang</surname> <given-names>M.</given-names></name> <name><surname>Li</surname> <given-names>H.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>&#x0201C;Progressive tandem learning for pattern recognition with deep spiking neural networks,&#x0201D;</article-title> in <source>IEEE Trans. Pattern Anal. Mach. Intell</source>. <volume>44</volume>, <fpage>7824</fpage>&#x02013;<lpage>7840</lpage>. <pub-id pub-id-type="doi">10.1109/TPAMI.2021.3114196</pub-id><pub-id pub-id-type="pmid">34546918</pub-id></citation></ref>
<ref id="B49">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>Y.</given-names></name> <name><surname>Deng</surname> <given-names>L.</given-names></name> <name><surname>Li</surname> <given-names>G.</given-names></name> <name><surname>Zhu</surname> <given-names>J.</given-names></name> <name><surname>Shi</surname> <given-names>L.</given-names></name></person-group> (<year>2018</year>). <article-title>Spatio-temporal backpropagation for training high-performance spiking neural networks</article-title>. <source>Front. Neurosci</source>. <volume>12</volume>:<fpage>331</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2018.00331</pub-id><pub-id pub-id-type="pmid">29875621</pub-id></citation></ref>
<ref id="B50">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>Y.</given-names></name> <name><surname>Deng</surname> <given-names>L.</given-names></name> <name><surname>Li</surname> <given-names>G.</given-names></name> <name><surname>Zhu</surname> <given-names>J.</given-names></name> <name><surname>Xie</surname> <given-names>Y.</given-names></name> <name><surname>Shi</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>Direct training for spiking neural networks: faster, larger, better</article-title>. <source>Proc. AAAI Conf. Artif. Intell</source>. <volume>33</volume>, <fpage>1311</fpage>&#x02013;<lpage>1318</lpage>. <pub-id pub-id-type="doi">10.1609/aaai.v33i01.33011311</pub-id></citation>
</ref>
<ref id="B51">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Yao</surname> <given-names>M.</given-names></name> <name><surname>Gao</surname> <given-names>H.</given-names></name> <name><surname>Zhao</surname> <given-names>G.</given-names></name> <name><surname>Wang</surname> <given-names>D.</given-names></name> <name><surname>Lin</surname> <given-names>Y.</given-names></name> <name><surname>Yang</surname> <given-names>Z.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>&#x0201C;Temporal-wise attention spiking neural networks for event streams classification,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF International Conference on Computer Vision</source> (<publisher-loc>Montreal, QC</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>10221</fpage>&#x02013;<lpage>10230</lpage>. <pub-id pub-id-type="doi">10.1109/ICCV48922.2021.01006</pub-id></citation>
</ref>
<ref id="B52">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>J.</given-names></name> <name><surname>Dong</surname> <given-names>B.</given-names></name> <name><surname>Zhang</surname> <given-names>H.</given-names></name> <name><surname>Ding</surname> <given-names>J.</given-names></name> <name><surname>Heide</surname> <given-names>F.</given-names></name> <name><surname>Yin</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>&#x0201C;Spiking transformers for event-based single object tracking,&#x0201D;</article-title> in <source>Proceedings of the IEEE/CVF conference on Computer Vision and Pattern Recognition</source> (<publisher-loc>New Orleans, LA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>8801</fpage>&#x02013;<lpage>8810</lpage>. <pub-id pub-id-type="doi">10.1109/CVPR52688.2022.00860</pub-id><pub-id pub-id-type="pmid">38970946</pub-id></citation></ref>
<ref id="B53">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>Y.</given-names></name> <name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name> <name><surname>Peng</surname> <given-names>W.</given-names></name> <name><surname>Guo</surname> <given-names>Y.</given-names></name> <name><surname>Huang</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2024</year>). <article-title>Enhancing representation of spiking neural networks via similarity-sensitive contrastive learning</article-title>. <source>Proc. AAAI Conf. Artif. Intell</source>. <volume>38</volume>, <fpage>16926</fpage>&#x02013;<lpage>16934</lpage>. <pub-id pub-id-type="doi">10.1609/aaai.v38i15.29635</pub-id></citation>
</ref>
<ref id="B54">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Zhou</surname> <given-names>Z.</given-names></name> <name><surname>Zhu</surname> <given-names>Y.</given-names></name> <name><surname>He</surname> <given-names>C.</given-names></name> <name><surname>Wang</surname> <given-names>Y.</given-names></name> <name><surname>Yan</surname> <given-names>S.</given-names></name> <name><surname>Tian</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2023</year>). <article-title>&#x0201C;Spikformer: when spiking neural network meets transformer,&#x0201D;</article-title> in <source>The Eleventh International Conference on Learning Representations</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>).</citation>
</ref>
</ref-list>
</back>
</article>