Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fan, Wang, Cao, Wei, Zha, Xi, Ma, Kedi, Sun, MingQian, Chen, Jialin, Zhang, Fengzhe, Zhang, Fan
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914512558358528
author Fan, Wang
Cao, Wei
Zha, Xi
Ma, Kedi
Sun, MingQian
Chen, Jialin
Zhang, Fengzhe
Zhang, Fan
author_facet Fan, Wang
Cao, Wei
Zha, Xi
Ma, Kedi
Sun, MingQian
Chen, Jialin
Zhang, Fengzhe
Zhang, Fan
contents Long contexts improve capabilities of large language models but pose serious hardware challenges: compute and memory footprints grow linearly with sequence length. Particularly, the decoding phase continuously accesses massive KV cache, dramatically increasing bandwidth and computing pressure. Existing accelerators are primarily designed and evaluated for short contexts. They suffer from significant performance degradation when processing long contexts. To bridge this gap, we identify the major bottleneck and present a hardware accelerator for long context attention decoding via hardware-software co-design. On the software side, we propose dual-compression dynamic sparse attention. It combines ultra-low-precision quantization with feature sparsity to minimize prediction overhead. A hardware-friendly approximate Top-K selection further reduces filter complexity from $O(n \log k)$ to $O(n)$. On the hardware side, we deeply optimize compute and memory access to tackle bottlenecks from intricate interplay between sparse attention and long contexts, and establish a performance model to derive the optimal co-design scheme. The resulting hardware adopts a fully pipelined parallel architecture and achieves $O(n)$ efficiency even for long sequences. Experiments show that our design delivers $3.82\times$ speedup and $74.19\times$ energy efficiency over A100. Compared to SOTA accelerators, this is the first ASIC accelerator that efficiently supports long context inference, with at least $3.5\times$ higher throughput and $2.08\times$ better energy efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2604_24820
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding
Fan, Wang
Cao, Wei
Zha, Xi
Ma, Kedi
Sun, MingQian
Chen, Jialin
Zhang, Fengzhe
Zhang, Fan
Hardware Architecture
Artificial Intelligence
Long contexts improve capabilities of large language models but pose serious hardware challenges: compute and memory footprints grow linearly with sequence length. Particularly, the decoding phase continuously accesses massive KV cache, dramatically increasing bandwidth and computing pressure. Existing accelerators are primarily designed and evaluated for short contexts. They suffer from significant performance degradation when processing long contexts. To bridge this gap, we identify the major bottleneck and present a hardware accelerator for long context attention decoding via hardware-software co-design. On the software side, we propose dual-compression dynamic sparse attention. It combines ultra-low-precision quantization with feature sparsity to minimize prediction overhead. A hardware-friendly approximate Top-K selection further reduces filter complexity from $O(n \log k)$ to $O(n)$. On the hardware side, we deeply optimize compute and memory access to tackle bottlenecks from intricate interplay between sparse attention and long contexts, and establish a performance model to derive the optimal co-design scheme. The resulting hardware adopts a fully pipelined parallel architecture and achieves $O(n)$ efficiency even for long sequences. Experiments show that our design delivers $3.82\times$ speedup and $74.19\times$ energy efficiency over A100. Compared to SOTA accelerators, this is the first ASIC accelerator that efficiently supports long context inference, with at least $3.5\times$ higher throughput and $2.08\times$ better energy efficiency.
title Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding
topic Hardware Architecture
Artificial Intelligence
url https://arxiv.org/abs/2604.24820