Spiking Wavelet Transformer
Authors:
Preprint
Abstract
Spiking neural networks (SNNs) offer an energy-efficient alternative to conventional deep learning by mimicking the event-driven processing of the brain. Incorporating the Transformers with SNNs has shown promise for accuracy, yet it is incompetent to capture high-frequency patterns like moving edge and pixel-level brightness changes due to their reliance on global self-attention operations. Porting frequency representations in SNN is challenging yet crucial for event-driven vision. To address this issue, we propose the Spiking Wavelet Transformer (SWformer), an attention-free architecture that effectively learns comprehensive spatial-frequency features in a spike-driven manner by leveraging the sparse wavelet transform. The critical component is a Frequency-Aware Token Mixer (FATM) with three branches: 1) spiking wavelet learner for spatial-frequency domain learning, 2) convolution-based learner for spatial feature extraction, and 3) spiking pointwise convolution for cross-channel information aggregation. We also adopt negative spike dynamics to strengthen the frequency representation further. This enables the SWformer to outperform vanilla Spiking Transformers in capturing high-frequency visual components, as evidenced by our empirical results. Experiments on both static and neuromorphic datasets demonstrate SWformer's effectiveness in capturing spatial-frequency patterns in a multiplication-free, event-driven fashion, outperforming state-of-the-art SNNs. SWformer achieves an over 50% reduction in energy consumption, a 21.1% reduction in parameter count, and a 2.40% performance improvement on the ImageNet dataset compared to vanilla Spiking Transformers.Keywords
All Related Versions
This publication has 36 references indexed in Scilit:
- Wavelet Neural Operator for solving parametric partial differential equations in computational mechanics problemsComputer Methods in Applied Mechanics and Engineering, 2022
- LaCERA: Layer-centric event-routing architectureNeurocomputing, 2022
- Neuromorphic Data Augmentation for Training Spiking Neural Networks2022
- Training much deeper spiking neural networks with a small number of time-stepsNeural Networks, 2022
- Optimizing Deeper Spiking Neural Networks for Dynamic Vision SensingNeural Networks, 2021
- Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based LocalizationInternational Journal of Computer Vision, 2019
- Towards artificial general intelligence with hybrid Tianjic chip architectureNature, 2019
- Spiking Deep Convolutional Neural Networks for Energy-Efficient Object RecognitionInternational Journal of Computer Vision, 2014
- A Review of the Integrate-and-fire Neuron Model: I. Homogeneous Synaptic InputBiological Cybernetics, 2006
- Networks of spiking neurons: The third generation of neural network modelsNeural Networks, 1997