Skip to content

Enhancing spiking transformers with temporal feedback coding and global-local dynamic neurons.

Jul 2026 · Neural Networks · Vol 205 Pt A, pp. 109338 · 0 citations · 67 references
Medicine

TL;DR

This work introduces a Temporal Feedback Coding (TFC) scheme that leverages feedback at the encoding stage to diversify spike patterns and designs a Global-Local Dynamic LIF (GLD-LIF) neuron that enhances cross-step dependency modeling by integrating local aggregation and global initialization.

Abstract

Spiking Neural Networks (SNNs) have emerged as energy-efficient, biologically more plausible alternatives to Artificial Neural Networks (ANNs), and their recent integration with Transformer architectures has demonstrated impressive performance on vision tasks. However, most Transformer-based SNNs rely on direct coding and Leaky Integrate-and-Fire (LIF) neurons, which leads to spike pattern collapse and insufficient temporal modeling capacity, respectively. To overcome these limitations, we propose a complementary approach with two new components. First, we introduce a Temporal Feedback Coding (TFC) scheme that leverages feedback at the encoding stage to diversify spike patterns. Second, we design a Global-Local Dynamic LIF (GLD-LIF) neuron that enhances cross-step dependency modeling by integrating local aggregation and global initialization. Extensive experiments on three Transformer-based SNN backbones and five datasets across various time steps demonstrate consistent improvements. Our method achieves accuracy gains of up to 3.64% on N-Caltech101 and 1.02% on ImageNet-1K with an increase of 1.7% parameters and 5.01% additional energy consumption. Comprehensive analyses of spike pattern statistics, attention heatmaps, shuffle-time tests and corruption robustness evaluations further verify the effectiveness and broad compatibility of our approach.

View source

Similar papers

Preprint Aug 2026

Noisy group neurons with synchronous resetting for high-performance spiking neural networks

This work proposes a noisy group neuron (NGN) model, which incorporates population-level synchronous resetting and neural stochasticity as fundamental computational mechanisms, and develops the NGN method as a framework that combines the NGN model with backpropagation learning based on mean-field dynamics.

Yajie Zhai, Yanmei Kang, Meng Li et al. · 0 citations
Aug 2026

OT-SAN: One Timestep Spiking Actor Network With Mask-Adaptive Global Connection and Dynamic Thresholds

Spiking neural networks (SNNs) have garnered significant attention in reinforcement learning tasks for their low power consumption. However, traditional spiking reinforcement learning (SRL) methods, which rely on local-connected encoding and fixed-threshold learning, struggle to capture the inter-dimensional correlations of input information within short timesteps, limiting the network’s expressive capacity at low timesteps. While increasing timesteps can significantly enhance performance, excessive timesteps result in substantial delays. To address this contradiction and enhance the expressive and decision-making capabilities of SNNs within short timesteps, we propose Mask-Adaptive Global Connection (MAGC), a novel encoding method that efficiently captures long-range dependencies via sparse, adaptively masked connections—enabling global feature interaction in a single timestep. Additionally, dynamic-threshold spiking neurons are introduced to effectively capture and distinguish subtle changes in input signals at each timestep, thereby enhancing the spatial-temporal state representation during spike information transmission. Extensive experimental results demonstrate that the proposed method achieves performance comparable to state-of-the-art algorithms using only a single timestep, while significantly reducing inference latency and energy consumption. When extended to multiple timesteps, our approach consistently outperforms existing methods, showing substantial improvements across eight continuous control tasks from OpenAI Gym.

Rong Xiao, Zhiyuan Hu, Ping He et al. · 0 citations
Preprint Aug 2026

BASC : Behavior-Aligned Quantization and Pruning for Low-Bit Spiking Neural Networks

Extensive experiments on static and neuromorphic benchmarks show that lower-bit BASC models match or outperform higher-bit baselines and retain this accuracy advantage after structured pruning, while further reducing model storage and synaptic operations.

Linliang Chen, Yan Zhong, Xin Liu et al. · 0 citations
Open access Aug 2026

Why temporal spike order reversal drops spiking network accuracy and how to partially mitigate it

Spiking neural networks (SNNs) offer an energy-efficient alternative to traditional neural networks by utilizing discrete, temporally precise spike events. However, this study identifies a critical vulnerability in SNNs on recently established bit-based codes: consistent performance degradation when temporal spike encoding orders are reversed, such as using least-significant-bit ordering instead of most-significant-bit. We theoretically formalize this phenomenon as premature state annihilation, wherein early noisy spikes in information-discordant encodings trigger hard resets in leaky integrate-and-fire (LIF) neurons. These resets erase accumulated membrane state and, because the effective temporal influence of an input is largest for early timesteps, leave the backpropagated learning signal concentrated where the information is not. We measure the per-timestep class-mutual-information profile of six encodings directly, without reference to network accuracy, and show that the resulting concordance ordering predicts the observed degradation. While dense codes like weighted phase encoding suffer catastrophic drops (up to 48%), sparse codes like time-to-first-spike remain robust, and exchangeable rate codes are provably invariant to reversal. We evaluate several mitigation strategies, finding that parametric LIF (PLIF) neurons and aggressive membrane leakage significantly recover performance by adapting to or suppressing early noise.

Nhan Trong Luu, Duong Trung Luu, Nam Ngoc Pham et al. · 0 citations
Open access Jul 2026

Feedforward spiking neural networks are not transformers (yet): a learning-theoretic framework for long-range dependencies and biological efficiency

Spiking neural networks offer a promising route toward low-power sequence computation on neuromorphic hardware, but they continue to lag behind attention-based artificial neural networks on long-context tasks. A central open question is whether this gap reflects only implementation and optimization limitations, or whether architectural features of spiking computation impose unfavorable learnability constraints as sequence length increases. Here, we address this question using a covering-number analysis of feedforward non-leaky integrate-and-fire (nLIF) networks in the probably approximately correct framework. Building on causal-piece decompositions and local Lipschitz continuity, we derive a global sensitivity bound for feedforward nLIF networks and extend it from single-token inputs to multi-token spike sequences. For fixed architectures under stated boundedness and margin assumptions, the resulting sufficient worst-case sample requirement has leading quadratic dependence on sequence length. This dependence arises from cumulative causal participation across time and depth, which increases global sensitivity along active spike paths. We then test the mechanistic implications of this theory using finite-sample cue-recall and teacher–student benchmarks across spiking, recurrent, and attention-based model classes. In cue-recall, an early cue must be retained across distractors and reported at a final query token; in teacher–student, labels are generated by a fixed nLIF teacher, separating representability from finite-sample learnability. Unconstrained feedforward spiking models show sequence-length sensitivity, elevated hidden spike-participation density, and increased samples-to-threshold burden. Post-spike refractoriness, leak-mediated forgetting, learned lateral inhibition, and activity-constrained winner-take-all competition reduce hidden participation and improve empirical robustness in task- and regime-dependent ways. Together, these results identify diffuse causal-set growth as a fundamental architectural bottleneck for baseline feedforward spiking sequence models and suggest that scalable neuromorphic sequence architectures will require circuit mechanisms that explicitly constrain temporal accumulation and effective spike participation.

William Fishell, Gordon Fishell, Suraj Honnuraiah · 0 citations
Preprint Jul 2026

Burst Spiking Neural Networks

This work proposes Burst Spiking Neural Networks (BuSNNs), built upon Burst-enhanced Spiking Neurons and a Dynamic Weight Constraint (DWC) mechanism, which mitigates perturbation-induced transitions in activation states and thereby enhances robustness.

Jiahong Zhang, Sijun Shen, Man Yao et al. · 0 citations