A Layer-wise N:M Sparsity Aware Transformer Accelerator leveraging Temporal Locality with Butterfly Network
In recent years, Transformer-based neural networks have driven significant advancements across various fields. However, the attention mechanism results in high memory access and computational demands, making deployment on edge devices challenging. To address these issues, we propose a layer-wise N:M sparsity-aware Transformer accelerator with two key innovations: 1) a layer-wise N:M sparsity-based parallel dimension compression strategy that effectively leverages the temporal locality of feature values, and 2) a butterfly network-based scattering unit that ensures correct accumulation of partial products after multiplication. Experimental results demonstrate that the proposed accelerator achieves up to a 3.86× improvement in runtime cycles. When running Deit-s on Imagenet-1k dataset, the accelerator delivers an energy efficiency of up to 34.4 TOPS/W at 68.9% sparsity under an industrial 28-nm technology, with only a 0.39% accuracy loss, representing a 1.46~1.48× improvement over prior work.
Authors
- Qingwen Wei (ORCID: https://orcid.org/0009-0009-7047-7182)
- Hao Cai (ORCID: https://orcid.org/0000-0001-9251-0574)
- Bo Liu (ORCID: https://orcid.org/0000-0002-4250-6339)
- Yuan Song
- Xin Kang
- Qinfan Wang
Institutions
- Southeast University (CN)
Publication Details
- Published
- 2025-05-25
- DOI
- https://doi.org/10.1109/iscas56072.2025.11043724
- Primary Topic
- Magneto-Optical Properties and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00