English

Designing Spatial Architectures for Sparse Attention: STAR Accelerator via Cross-Stage Tiling

Hardware Architecture 2025-12-25 v2 Signal Processing

Abstract

Large language models (LLMs) rely on self-attention for contextual understanding, demanding high-throughput inference and large-scale token parallelism (LTPP). Existing dynamic sparsity accelerators falter under LTPP scenarios due to stage-isolated optimizations. Revisiting the end-to-end sparsity acceleration flow, we identify an overlooked opportunity: cross-stage coordination can substantially reduce redundant computation and memory access. We propose STAR, a cross-stage compute- and memory-efficient algorithm-hardware co-design tailored for Transformer inference under LTPP. STAR introduces a leading-zero-based sparsity prediction using log-domain add-only operations to minimize prediction overhead. It further employs distributed sorting and a sorted updating FlashAttention mechanism, guided by a coordinated tiling strategy that enables fine-grained stage interaction for improved memory efficiency and latency. These optimizations are supported by a dedicated STAR accelerator architecture, achieving up to 9.2×\times speedup and 71.2×\times energy efficiency over A100, and surpassing SOTA accelerators by up to 16.1×\times energy and 27.1×\times area efficiency gains. Further, we deploy STAR onto a multi-core spatial architecture, optimizing dataflow and execution orchestration for ultra-long sequence processing. Architectural evaluation shows that, compared to the baseline design, Spatial-STAR achieves a 20.1×\times throughput improvement.

Keywords

Cite

@article{arxiv.2512.20198,
  title  = {Designing Spatial Architectures for Sparse Attention: STAR Accelerator via Cross-Stage Tiling},
  author = {Huizheng Wang and Taiquan Wei and Hongbin Wang and Zichuan Wang and Xinru Tang and Zhiheng Yue and Shaojun Wei and Yang Hu and Shouyi Yin},
  journal= {arXiv preprint arXiv:2512.20198},
  year   = {2025}
}

Comments

Accepted for publication in IEEE Transactions on Computers. In this version, we have corrected the missing author information in the references

R2 v1 2026-07-01T08:38:16.576Z