SATurbine: A Multicore Transformer Accelerator With Gated Broadcast for Efficient Dynamic Sparse Attention
Abstract
Transformer models have shown outstanding performance in natural language processing and computer vision. However, their attention mechanism incurs substantial computation and memory overhead that grows rapidly with sequence length. Although studies have shown that attention distributions are often sparse, dynamically exploiting this sparsity remains an enormous challenge due to the limitations coming from accurately identifying important interactions and handling inefficient hardware behavior caused by zero-value operations and irregular memory accesses. To resolve these issues, this work presents SATurbine, a software–hardware codesigned accelerator for dynamic sparse attention. At the algorithm level, SATurbine introduces a hardware-friendly sparsity prediction method that combines interval-based quantization with Top-K selection to identify and eliminate redundant attention links. Evaluations on the long-range arena (LRA) benchmark demonstrate that the proposed method maintains competitive accuracy across five tasks while pruning up to 95% of attention connections. At the hardware level, SATurbine integrates a dedicated prediction unit and a sparse-attention computation engine to support operator fusion and data reuse, thereby reducing the overhead of zero-value computations. Moreover, a multicore architecture with a gated broadcasting mechanism is employed to improve token-level parallelism and limit irregular sparse memory accesses. Simulation and synthesis results demonstrate that SATurbine achieves speedups of <inline-formula> <tex-math notation="LaTeX">$3.84\times $ </tex-math></inline-formula>, <inline-formula> <tex-math notation="LaTeX">$2.36\times $ </tex-math></inline-formula>, and <inline-formula> <tex-math notation="LaTeX">$1.61\times $ </tex-math></inline-formula> compared with A3, SpAtten, and Sanger, respectively. Relative to general-purpose computing platforms, average speedups of <inline-formula> <tex-math notation="LaTeX">$7.01\times $ </tex-math></inline-formula> over an Intel Core i5-14600KF CPU and <inline-formula> <tex-math notation="LaTeX">$2.64\times $ </tex-math></inline-formula> over an NVIDIA GeForce RTX 3060 Laptop GPU are achieved.