Understanding how spiking neural networks (SNNs) efficiently process data streams is key to (i) studying how biological brains conserve energy for lifelong predictions and (ii) enabling efficient continuous AI inference. In this work, we propose a theory on how an SNN incrementally tracks its corresponding firing-rate network, a continuous-valued neural network (ANN). We prove that the output of a discrete SNN continuously tracks the instantaneous ANN output implicitly determined by the SNN input. Based on this principle, we develop LIF-Stream, a conversion framework for efficient SNN inference over unbounded data streams. It enables the converted SNN to reuse its prior activation state and compute only the activation updates between frames, thereby reducing the average number of time steps needed per frame. Specifically, LIF-Stream controls the SNN to continuously track the reference ANN output, which gives a high-accuracy prediction for every frame. Evaluation on three large-scale streaming inference benchmarks with distinct modalities shows that LIF-Stream achieves the best efficiency-accuracy trade-off compared to high-accuracy SNN techniques.
Figures & tables
Figure 1: Conceptual overview and empirical validation of theoretical findings. (b) LIF-SNNs are continuously attracted to instantaneous ReLU1-ANN outputs, tracking the ANN trajectory through time. (c) Basin of attraction: trajectories starting from arbitrary initial states and histories converge toward the same target trajectory given identical inputs afterwards. (d) Trade-offs in step size ( τ ): larger step sizes (smaller τ ) achieve faster convergence with larger oscillation, while smaller step sizes (larger τ ) reduce oscillation at the expense of convergence speed.
Figure 2: Conceptual overview and empirical trajectory analysis of LIF-Stream . (Left) Conceptual diagram of our LIF-Stream framework for streaming SNN inference. (Right) Empirical validation on MOT17 video sequences ( Milan et al., 2016 ) evaluated as a streaming pedestrian detection task. LIF-Stream efficiently tracks the continuous ANN output by updating only inter-frame delta, whereas standard reset-based IF and LIF-SNNs suffer from re-convergence latency overhead for every frame.
Table 1: Comparison of high-accuracy SNN techniques across ANN-to-SNN conversion and direct training approaches. Calibration-Free : requires no data-driven post-training calibration. Binary Spike : inter-neuron communication only with a single binary spike per tick; No burst or multi-precision spikes. Standard neurons : utilizes basic neuronal dynamics (e.g., IF/LIF) supported by conventional neuromorphic chips. ANN Accuracy : accuracy of the dense ANN each conversion starts from. Bold and underline denote the best accuracy within the same time-step, across all methods and among conversion methods, respectively.
Figure 4
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5
Figure 7: Stream encoders ( τ=8 ). (a,b) The decoded input x~ of one coordinate on a staircase of six frames with T=8 ticks each (grey lines mark frame boundaries). (c) Input readout error ∣x−x~∣ at the last tick of each frame against the tick budget, on a correlated random stream; values are clipped at 10−6 . (d) AP50 of the converted detector streaming one Argoverse-HD sequence ( 901 frames) against the tick budget; the dotted line is the dense ANN.
Spiking neural networks process information through discrete, time-dependent neural events, aiming for efficient computation and biologically inspired learning.
Spiking Neural Networks (SNNs) are promising for energy-efficient neuromorphic computing, but they still suffer from catastrophic forgetting when learning tasks sequentially. This work investigates the integration of Experience Packing and Replay (EPR) as a memory-efficient continual learning strategy for deep SNNs under low-latency constraints. The proposed framework combines Batch Normalization Through Time stabilized VGG9 SNNs with Spike Activation Maps (SAM), which provide forward-only explanations based on spike activity. These explanations are temporally aggregated into spatial attention maps and used to select the most informative image patches for replay, instead of storing full images. Experiments on Split CIFAR10 and Split CIFAR100 show that SAM-guided EPR improves the accuracy-memory trade-off under tight memory budgets, and remains competitive while requiring substantially less storage.
Francesco Panetta, Federico Di Valerio, Michela Proietti
Sapienza University of Rome, Italy · Goethe University Frankfurt, Germany
Although spiking neural networks (SNNs) show promise in energy-efficient computing through event-driven computation and stateful temporal processing, their recurrent membrane dynamics render their training inherently sequential and inefficient for long sequences. Existing methods achieve full-sequence parallelism in SNNs through two main strategies: redesigning or approximating spiking dynamics to avoid reset-coupled temporal dependencies, or relying on iterative relaxed fixed-point solvers that suffer from excessive memory costs and iteration-dependent backward overhead. To address these limitations, we present FidLIF, a novel framework that reconciles the incremental update and hard-reset behavior of standard spiking LIF neurons with parallel forward propagation and BPTT-equivalent backward propagation. FidLIF iteratively recovers the full-sequence membrane-potential trajectory in parallel. By exploiting the lower bidiagonal structure induced by the local recurrence of LIF neurons, FidLIF formulates each forward trajectory correction and backward adjoint propagation as associative scans with an O(logT) temporal depth. This formulation also supports input-dependent neuronal parameters and allows the same neuron to perform full-sequence parallel training and incremental step-by-step inference at deployment. In our numerical convergence evaluation, FidLIF achieves a mean absolute error below 10−7 relative to the matched serial relaxed LIF dynamics, while yielding gradients numerically equivalent to exact BPTT. Our Triton implementation delivers favorable long-sequence latency and memory scaling, while achieving competitive performance on four sequential classification benchmarks. By reconciling parallel training with step-by-step execution, FidLIF enables high-fidelity spiking dynamics to benefit from parallel hardware without compromising incremental inference at deployment.
Kaixiang He, Yujie Wu
Department of Computing, The Hong Kong Polytechnic University
Spiking Neural Networks (SNNs) provide a naturally temporal machine-learning framework. Their neurons maintain an internal state and propagate information through discrete spikes, enabling low-latency temporal inference. Although SNNs are often associated with asynchronous neuromorphic processors, many scientific real-time inference systems rely on conventional synchronous field-programmable gate arrays (FPGAs) and high-level synthesis (HLS) workflows. In this paper we present an extension of hls4ml that enables clock-driven deployment of SNNs trained in pytorch onto FPGA firmware. We demonstrate the workflow using a dense quantised SNN trained on the Heidelberg Spiking Digits dataset where it achieves inference latencies of approximately 34μs. We validate the generated design through software reference comparisons, HLS C simulation, HLS synthesis, export, and Vivado synthesis reports. This work opens up the hls4ml toolkit to neuromorphic computing, allowing streamlined optimisation, synthesis, and deployment of SNN models for real-time inference.