GemS-T: Multi-Dimensional Grouping for Ultra-High Energy Efficiency in Spiking Transformer
Organizations: Peking University, School of Computer Science, State Key Laboratory for Multimedia Information Processing, Beijing, China · Peking University, School of Computer Science, Beijing Key Laboratory of Brain-inspired Spiking Large Models, Beijing, China
Abstract
Spiking Neural Networks (SNNs) offer superior energy efficiency over Artificial Neural Networks (ANNs). However, they encounter significant deficiencies in training and inference metrics when applied to Spiking Vision Transformers (S-ViTs). Existing paradigms including ANN-SNN Conversion and Spatial-Temporal Backpropagation (STBP) suffer from inherent limitations, precluding concurrent optimization of memory, accuracy and energy consumption. To address these issues, we propose GemS-T, a novel architecture implementing grouped computation across temporal, spatial and network structure dimensions. Specifically, we introduce the Grouped-Exponential-Coding-based IF (ExpG-IF) model, enabling lossless conversion with constant training overhead and precise regulation for spike patterns. Additionally, we develop Group-wise Spiking Self-Attention (GW-SSA) to reduce computational complexity via multi-scale token grouping and multiplication-free operations within a hybrid attention-convolution framework. Experiments confirm that our method can achieve superior performance with ultra-high energy efficiency on challenging benchmarks. To our best knowledge, this is the first work to systematically establish multi-dimensional grouped computation for resolving the triad of memory overhead, learning capability and energy budget in S-ViTs. Code is available at https://github.com/hzc1208/Ge2mST.
Figures & tables
| Learning Paradigm | Model | Train. Load | Train. Mem. | Inf. Latency | Inf. Acc. | SSA SOPs | SFFN SOPs |
| ANN-SNN Conversion | IF | High | High | ||||
| STBP Training | IF/LIF | Low | Low | ||||
| This Work | ExpG-IF | Low | High |
| Stage | Feature Size | Block Structure | Ge²mS-T Small | Ge²mS-T Base | Ge²mS-T Large |
| Stem | 224 224 | Convolution | Conv 7 7, stride 2 | ||
| Stage 1 | 112 112 | ExpG-IF | |||
| 56 56 | SConv, SFFN | ||||
| Stage 2 | 28 28 | ExpG-IF | |||
| GW-SSA | |||||
| Conv-SFFN | |||||
| Method | Type | Architecture | Param.(M) | T | SOPs(G) | Energy(mJ) | Acc.(%) |
| Spiking ResNet ( Hu et al., 2021 ) | ANN-SNN Conversion | ResNet-34 | 21.79 | 350 | 65.28 | 59.30 | 71.61 |
| ResNet-50 | 25.56 | 350 | 78.29 | 70.93 | 72.75 | ||
| STBP-tdBN ( Zheng et al., 2021 ) | STBP Training | Spiking ResNet-34 | 21.79 | 6 | 6.50 | 6.39 | 63.72 |
| SEW ResNet ( Fang et al., 2021a ) | STBP Training | SEW ResNet-34 | 21.79 | 4 | 3.88 | 4.04 | 67.04 |
| SEW ResNet-50 | 25.56 | 4 | 4.83 | 4.89 | 67.78 | ||
| SEW ResNet-101 | 44.55 | 4 | 9.30 | 8.91 | 68.76 |
| Method | Type | CIFAR-10 | CIFAR-100 | CIFAR10-DVS | |||
| Time-step | Acc.(%) | Time-step | Acc.(%) | Time-step | Acc.(%) | ||
| STBP-tdBN ( Zheng et al., 2021 ) | STBP Training | 4 | 92.92 | - | - | 10 | 67.8 |
| TET ( Deng et al., 2022 ) | STBP Training | 4 | 94.44 | 4 | 74.47 | 10 | 83.17 |
| SLTT ( Meng et al., 2023 ) | Online Training | 6 | 94.44 | 6 | 74.38 | 10 | 82.20 |
| GAC-SNN ( Qiu et al., 2024 ) | STBP Training | 4 | 96.24 | 4 | 79.83 | - | - |
| Spikformer ( Zhou et al., 2023 ) | STBP Training | 4 | 95.19 | 4 | 77.86 | 16 | 80.6 |
Spiking Transformers
Spiking Transformers combine attention-based architectures with event-driven spiking neurons to process information using sparse, temporally coded computation.
See all 42 papers