SALO: An Efficient Spatial Accelerator Enabling Hybrid Sparse Attention Mechanisms for Long Sequences
Guan Shen, Jieru Zhao, Quan Chen, Jingwen Leng, Chao Li, Minyi Guo

TL;DR
SALO is a specialized hardware accelerator that efficiently implements hybrid sparse attention mechanisms, significantly reducing computation time for long sequence processing in transformer models.
Contribution
It introduces a novel spatial accelerator with a data scheduler for hybrid sparse attention, addressing performance issues in long sequence tasks.
Findings
Achieves 17.66x speedup over GPU
Achieves 89.33x speedup over CPU
Effective for Longformer and ViL workloads
Abstract
The attention mechanisms of transformers effectively extract pertinent information from the input sequence. However, the quadratic complexity of self-attention w.r.t the sequence length incurs heavy computational and memory burdens, especially for tasks with long sequences. Existing accelerators face performance degradation in these tasks. To this end, we propose SALO to enable hybrid sparse attention mechanisms for long sequences. SALO contains a data scheduler to map hybrid sparse attention patterns onto hardware and a spatial accelerator to perform the efficient attention computation. We show that SALO achieves 17.66x and 89.33x speedup on average compared to GPU and CPU implementations, respectively, on typical workloads, i.e., Longformer and ViL.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Advanced Neural Network Applications · Advanced Memory and Neural Computing
MethodsHow do I complain to Expedia?*ComplainByAgent · Attention Is All You Need · Linear Layer · Dense Connections · Refunds@Expedia|||How do I get a full refund from Expedia? · Weight Decay · AdamW · Linear Warmup With Linear Decay · WordPiece · Softmax
