An Energy-Efficient High-Utilization Hardware Architecture for Attention Mechanism in Transformer using Balanced Systolic Array and Multi-Row Interleaved Operation Ordering
Transformer-based neural networks have achieved remarkable performance. Designing energy-efficient and high-speed accelerators for the attention mechanism, which dominates the energy and latency in Transformers, has become increasingly significant. Existing attention accelerators commonly use algorithm-hardware co-design to achieve higher energy efficiency and speed. However, deeply customized algorithms make these accelerators dependent on a particular application. Therefore, optimizing hardware architecture is crucial for achieving general-purpose acceleration. We observe two limitations in the hardware architecture of existing attention accelerators. First, the widely used input stationary, weight stationary, and output stationary systolic arrays (SAs) can’t balance data reuse, register saving, and utilization, which hinders to build more energy-efficient and faster SA-based accelerators. Second, layer-by-layer operation ordering introduces high SRAM access overhead of intermediate results. To address the first limitation, we propose the “Balanced Systolic Array”, which improves energy efficiency by 40% compared to conventional systolic arrays and achieves a utilization rate of 99.5%. To address the second limitation, we propose “Multi-Row Interleaved” operation ordering, which reduces the SRAM energy by 31.7% By integrating two techniques, the proposed attention accelerator achieves a 39% improvement in energy efficiency and a 38% enhancement in throughput×energy efficiency compared to previous works.
Authors
- Xiaoxin Xu (ORCID: https://orcid.org/0000-0002-0277-1314)
- Jinshan Yue (ORCID: https://orcid.org/0000-0001-8234-7400)
- Chunmeng Dou (ORCID: https://orcid.org/0000-0003-2192-9655)
- Hanghang Gao (ORCID: https://orcid.org/0009-0006-3434-5682)
- Ming Liu (ORCID: https://orcid.org/0000-0002-0937-7547)
- Yuanlu Xie
- Haiyang Zhou
- Hongyang Hu (ORCID: https://orcid.org/0000-0003-2291-9598)
Institutions
- Fudan University (CN)
- Institute of Microelectronics (SG)
- Institute of Microelectronics (CN)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11133317
- Primary Topic
- Islanding Detection in Power Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00