E2ATST: A Temporal-Spatial Optimized Energy-Efficient Architecture for Training Spiking Transformer

Yunhao Ma, Yanyu Lin, Mingjing Li, Puli Quan, Chenlin Zhou, Wenyue Zhang, Zhiwei Zhong, Wanyi Jia, Xueke Zhu, Qingyan Meng, Huihui Zhou, Fengwei AnarXiv 2025 · DOI

Abstract

Modern deep learning faces a significant challenge in balancing the high performance of Transformer models with the energy efficiency required for edge and large-scale deployment. Spiking Neural Networks (SNNs) offer a promising neuromorphic alternative, yet training hybrid Spiking Transformers remains computationally prohibitive on conventional hardware. This paper introduces E2ATST, a specialized hardware architecture optimized for the training phase of Spiking Transformers. By implementing a reconfigurable temporal-spatial dataflow and a unified resource reuse framework, E2ATST achieves an energy efficiency of 2.36 TFLOPS/W and a peak throughput of 3.4 TFLOPS, significantly outperforming state-of-the-art accelerators.

Introduction

The evolution of AI is currently marked by a tension between the state-of-the-art accuracy of Transformers and the extreme energy efficiency of biological-inspired Spiking Neural Networks. While Transformers dominate complex tasks, their dense matrix multiplications and massive memory overhead lead to high power consumption. SNNs utilize sparse, asynchronous binary spikes to reduce energy, but they are notoriously difficult to train for high-precision tasks.

Hybrid models like the Spiking Transformer attempt to merge these paradigms. However, training such models introduces unique hardware challenges: tracking signals across temporal (time steps) and spatial dimensions, as well as managing internal membrane potentials. E2ATST addresses these bottlenecks by providing the first specialized architecture and simulation framework tailored specifically for training hybrid Spiking Transformers.

Spiking Transformer Architecture

The E2ATST architecture is designed to accelerate models like SpikingFormer. These models replace standard dense layers with spiking equivalents that operate on binary activations.

The Spiking Transformer Block architecture, featuring the Spiking Tokenizer, Spiking Self-Attention, and Spiking MLP components.

As shown in Figure 1, the Spiking Transformer Block consists of a Spiking Tokenizer followed by Spiking Self-Attention and Spiking MLP layers. The architecture exploits spike-driven computation; during the forward pass and weight gradient stages, the hardware leverages the binary nature of spikes (0 or 1) to replace expensive floating-point multiplications with simple additions, drastically lowering the energy footprint.

Hardware Innovations: Resource Reuse and Dataflow

A core innovation of E2ATST is the Unified Resource Reuse Framework. Training requires distinct operations for forward spike generation, backward gradient computation, and residual connections. Instead of dedicated hardware for each, the authors designed a modular unit that can be dynamically reconfigured.

The Resource Reuse Module, showing the reconfigurable paths for SOMA (forward), GRAD (backward), and RES (residual) modes.

The Resource Reuse Module (Figure 4) supports three primary modes:

  1. SOMA: For forward spike generation and membrane potential updates.
  2. GRAD: For backward gradient computation during the training phase.
  3. RES: For handling residual connections within the Transformer blocks.

This modularity maximizes hardware utilization (reaching an 83% array utilization rate) and reduces the total silicon area. Furthermore, the architecture maintains FP16 precision throughout training, ensuring model convergence and stability without the accuracy loss often associated with aggressive quantization in neuromorphic designs.

Performance Evaluation

The E2ATST architecture was evaluated on the ImageNet-1K dataset, modeled on a 28nm process at 500 MHz. Key results include:

  • Energy Efficiency: 2.36 TFLOPS/W, representing a 4.9× improvement over the Sigma accelerator and 1.7× over H2Learn.
  • Throughput: A peak throughput of 3.4 TFLOPS.
  • Latency: The optimized "Output Stationary" (OS_C) dataflow resulted in a 10%–28% reduction in cumulative latency compared to standard configurations.

Conclusion

E2ATST demonstrates that specialized hardware can effectively bridge the gap between high-performance Transformers and energy-efficient SNNs. By focusing on the training bottleneck and implementing a reconfigurable resource reuse strategy, the architecture provides a scalable path for developing advanced neuromorphic models. Future work will explore the architecture's versatility across non-vision tasks, such as natural language processing, and its scalability to more advanced semiconductor process nodes.

Summary updated

BibTeX
@misc{ma2025e,
  author = {Yunhao Ma and Yanyu Lin and Mingjing Li and Puli Quan and Chenlin Zhou and Wenyue Zhang and Zhiwei Zhong and Wanyi Jia and Xueke Zhu and Qingyan Meng and Huihui Zhou and Fengwei An},
  title = {{E2ATST: A Temporal-Spatial Optimized Energy-Efficient Architecture for Training Spiking Transformer}},
  year = {2025},
  eprint = {2508.00475},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.00475},
}
Figure