cs.NEOct 12, 2026

FidLIF: Parallel Training of High-Fidelity Spiking Neurons with Exact BPTT

Authors: Kaixiang He, Yujie Wu

Organizations: Department of Computing, The Hong Kong Polytechnic University

Abstract

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(log⁡T)O(\log T) 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−710^{-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.

Figures & tables

Explore similar work

CardsList
  1. Bullet Trains: Parallelizing Training of Temporally Precise Spiking Neural Networks

    Feb 27, 2026Todd Morrill, Christian Pehle, Anthony ZadorSpiking Neural NetworksNeuromorphic Computing

  2. LongSpike: Fractional Order Spiking State Space Models for Efficient Long Sequence Learning

    Jun 11, 2026Xinrui He, Qiyu Kang, Xuhao Li +1Long-Context ModelingSpiking Neural Networks