ESACT: An End-to-End Sparse Accelerator for Compute-Intensive Transformers via Local Similarity
2512.02403v2
cs.LG, cs.AR
2025-12-05
Авторы:
Hongxiang Liu, Zhifang Deng, Tong Pu, Shengli Lu
Abstract
Transformers, composed of QKV generation, attention computation, and FFNs,
have become the dominant model across various domains due to their outstanding performance.
However, their high computational cost hinders efficient hardware deployment.
Sparsity offers a promising solution,
yet most existing accelerators exploit only intra-row sparsity in attention,
while few consider inter-row sparsity.
Approaches leveraging inter-row sparsity often rely on costly global similarity estimation,
which diminishes the acceleration benefits of sparsity,
and typically apply sparsity to only one or two transformer components.
Through careful analysis of the attention distribution and computation flow,
we observe that local similarity allows end-to-end sparse acceleration with lower computational overhead.
Motivated by this observation, we propose ESACT,
an end-to-end sparse accelerator for compute-intensive Transformers.
ESACT centers on the Sparsity Prediction with Local Similarity (SPLS) mechanism,
which leverages HLog quantization to accurately predict local attention sparsity prior to QK generation,
achieving efficient sparsity across all transformer components.
To support efficient hardware realization, we introduce three architectural innovations.
Experimental results on 26 benchmarks demonstrate that
SPLS reduces total computation by 52.03% with less than 1% accuracy loss.
ESACT achieves an end-to-end energy efficiency of 3.29 TOPS/W,
and improves attention-level energy efficiency by 2.95x and 2.26x over
SOTA attention accelerators SpAtten and Sanger, respectively.
Ссылки и действия
Дополнительные ресурсы: