SATA: Sparsity-Aware Scheduling for Selective Token Attention
Zhenkun Fan, Zishen Wan, Che-Kai Liu, Ashwin Sanjay Lele, Win-San Khwa, Bo Zhang, Meng-Fan Chang, Arijit Raychowdhury
TL;DR
SATA tackles the data- and energy-intensive bottleneck of Transformer attention by introducing sparsity-aware, locality-centric scheduling for selective Q-K attention. By sorting intra-head masks and orchestrating inter-head Q-K operations through a lightweight finite-state scheduler, SATA increases hardware utilization and reduces operand retention without sacrificing model accuracy. The approach, validated with a silicon-validated CIM simulator and four selective-transformer models, achieves up to 1.76× throughput and up to 2.94× energy efficiency gains, with overheads typically below 5%. This work demonstrates how algorithmic sparsity and data locality can be harnessed to make selective-token transformers more scalable and energy-efficient on CIM- and SOTA-based accelerators, enabling nearer-edge deployment and broader practical impact.
Abstract
Transformers have become the foundation of numerous state-of-the-art AI models across diverse domains, thanks to their powerful attention mechanism for modeling long-range dependencies. However, the quadratic scaling complexity of attention poses significant challenges for efficient hardware implementation. While techniques such as quantization and pruning help mitigate this issue, selective token attention offers a promising alternative by narrowing the attention scope to only the most relevant tokens, reducing computation and filtering out noise. In this work, we propose SATA, a locality-centric dynamic scheduling scheme that proactively manages sparsely distributed access patterns from selective Query-Key operations. By reordering operand flow and exploiting data locality, our approach enables early fetch and retirement of intermediate Query/Key vectors, improving system utilization. We implement and evaluate our token management strategy in a control and compute system, using runtime traces from selective-attention-based models. Experimental results show that our method improves system throughput by up to 1.76x and boosts energy efficiency by 2.94x, while incurring minimal scheduling overhead.
