Unveiling the Spatial-temporal Effective Receptive Fields of Spiking Neural Networks
Jieyuan Zhang, Xiaolong Zhou, Shuai Wang, Wenjie Wei, Hanwen Liu, Qian Sun, Malu Zhang, Yang Yang, Haizhou Li
TL;DR
This paper addresses the challenge of modeling long-range spatio-temporal dependencies in visual tasks with Transformer-based SNNs by introducing the Spatial-Temporal Effective Receptive Field (ST-ERF). It analyzes existing SNN architectures and identifies a global ST-ERF deficiency caused by locality-biased channel mixers, then proposes two channel-mixer designs, MLPixer and SRB, to enlarge the ST-ERF across timesteps. Through theoretical ST-ERF formulation and loss-based gradient analysis, the authors validate that the proposed mixers produce more global receptive fields and deliver improved performance on COCO and ADE20K, as well as on event-based tracking benchmarks. The ST-ERF framework and these architectural innovations offer practical guidance for designing SNNs capable of robust long-range spatio-temporal modeling with potential broad applicability beyond the reported tasks.
Abstract
Spiking Neural Networks (SNNs) demonstrate significant potential for energy-efficient neuromorphic computing through an event-driven paradigm. While training methods and computational models have greatly advanced, SNNs struggle to achieve competitive performance in visual long-sequence modeling tasks. In artificial neural networks, the effective receptive field (ERF) serves as a valuable tool for analyzing feature extraction capabilities in visual long-sequence modeling. Inspired by this, we introduce the Spatio-Temporal Effective Receptive Field (ST-ERF) to analyze the ERF distributions across various Transformer-based SNNs. Based on the proposed ST-ERF, we reveal that these models suffer from establishing a robust global ST-ERF, thereby limiting their visual feature modeling capabilities. To overcome this issue, we propose two novel channel-mixer architectures: \underline{m}ulti-\underline{l}ayer-\underline{p}erceptron-based m\underline{ixer} (MLPixer) and \underline{s}plash-and-\underline{r}econstruct \underline{b}lock (SRB). These architectures enhance global spatial ERF through all timesteps in early network stages of Transformer-based SNNs, improving performance on challenging visual long-sequence modeling tasks. Extensive experiments conducted on the Meta-SDT variants and across object detection and semantic segmentation tasks further validate the effectiveness of our proposed method. Beyond these specific applications, we believe the proposed ST-ERF framework can provide valuable insights for designing and optimizing SNN architectures across a broader range of tasks. The code is available at \href{https://github.com/EricZhang1412/Spatial-temporal-ERF}{\faGithub~EricZhang1412/Spatial-temporal-ERF}.
