SpikePool: Event-driven Spiking Transformer with Pooling Attention
Donghyun Lee, Alex Sima, Yuhang Li, Panos Stinis, Priyadarshini Panda
TL;DR
This work reveals that spiking transformers inherently behave as high-pass filters when processing event-based data, in contrast to Vision Transformers which act as low-pass filters. Leveraging this insight, the authors introduce SpikePool, which replaces self-attention with max-pooling-based pooling attention to yield a balanced band-pass frequency response that preserves meaningful high-frequency content while suppressing noise. Empirically, SpikePool achieves competitive classification and object-detection performance on neuromorphic datasets while delivering significant reductions in training and inference time, up to 42.5% and 32.8% respectively. The study also demonstrates the method’s generalizability across related spiking architectures, providing a principled frequency-domain framework to guide efficient neuromorphic transformer design for event-based vision.
Abstract
Building on the success of transformers, Spiking Neural Networks (SNNs) have increasingly been integrated with transformer architectures, leading to spiking transformers that demonstrate promising performance on event-based vision tasks. However, despite these empirical successes, there remains limited understanding of how spiking transformers fundamentally process event-based data. Current approaches primarily focus on architectural modifications without analyzing the underlying signal processing characteristics. In this work, we analyze spiking transformers through the frequency spectrum domain and discover that they behave as high-pass filters, contrasting with Vision Transformers (ViTs) that act as low-pass filters. This frequency domain analysis reveals why certain designs work well for event-based data, which contains valuable high-frequency information but is also sparse and noisy. Based on this observation, we propose SpikePool, which replaces spike-based self-attention with max pooling attention, a low-pass filtering operation, to create a selective band-pass filtering effect. This design preserves meaningful high-frequency content while capturing critical features and suppressing noise, achieving a better balance for event-based data processing. Our approach demonstrates competitive results on event-based datasets for both classification and object detection tasks while significantly reducing training and inference time by up to 42.5% and 32.8%, respectively.
