Lune

DAC2022Top-tier venue

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

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling cites Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling cites SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cambricon-LLM: A Chiplet-Based Hybrid Architecture for On-Device Inference of 70B LLM cites Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • Cambricon-LLM: A Chiplet-Based Hybrid Architecture for On-Device Inference of 70B LLM cites SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • Cambricon-LLM: A Chiplet-Based Hybrid Architecture for On-Device Inference of 70B LLM cites Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping cites Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs cites Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs cites Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encoding
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention cites Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention cites SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encoding cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor AttentionJyotikrishna Dass, Shang Wu, Huihong Shi, Chaojian Li et al.HPCA 2023 · 65 citations
  2. SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated TilingHuizheng Wang, Jiahao Fang, Xinru Tang, Zhiheng Yue et al.MICRO 2024 · 31 citations
  3. Cambricon-LLM: A Chiplet-Based Hybrid Architecture for On-Device Inference of 70B LLMZhongkai Yu, Shengwen Liang, Tianyun Ma, Yunke Cai et al.MICRO 2024 · 29 citations
  4. UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel MappingCheng Wang, Mingyu GaoASPLOS 2025 · 12 citations
  5. SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAsZhenyu Bai, Pranav Dangi, Huize Li, Tulika MitraDAC 2024 · 12 citations

Builds on6

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head PruningHanrui Wang, Zhekai Zhang, Song HanHPCA 2021 · 412 citations
  4. Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image EncodingPengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao et al.ICCV 2021 · 384 citations
  5. Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable ArchitectureLiqiang Lu, Yicheng Jin, Hangrui Bi, Zizhang Luo et al.MICRO 2021 · 221 citations

Related papers

  1. SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM PrefillingXiaodong Ji, Hailin Zhang, Fangcheng Fu, Bin CuiICML 2026 · 3 citations
  2. DynaX: Sparse Attention Acceleration with Dynamic X: M Fine-Grained Structured PruningXiao Xiong, Zhaorui Chen, Yue Liang, Minghao Tian et al.ASPLOS 2025 · 3 citations
  3. SpARC: Token Similarity-Aware Sparse Attention Transformer Accelerator via Row-wise ClusteringHan Cho, Dongjun Kim, Seung-Eon Hwang, Jongsun ParkDAC 2024 · 7 citations
  4. A length adaptive algorithm-hardware co-design of transformer on FPGA through sparse attention and dynamic pipeliningHongwu Peng, Shaoyi Huang, Shiyang Chen, Bingbing Li et al.DAC 2022 · 49 citations
  5. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
Dusk over the sea between two cliffs drawn in fine vertical lines