Lune

DAC2022顶会

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling 引用了 Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling 引用了 SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • SOFA: A Compute-Memory Optimized Sparsity Accelerator via Cross-Stage Coordinated Tiling 引用了 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 引用了 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 引用了 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 引用了 Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • UniZK: Accelerating Zero-Knowledge Proof with Unified Hardware and Flexible Kernel Mapping 引用了 Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs 引用了 Sanger: A Co-Design Framework for Enabling Sparse Attention using Reconfigurable Architecture
  • SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs 引用了 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 引用了 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 引用了 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 引用了 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 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

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

它引用的 Paper6

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

相关 Paper

  1. SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM PrefillingXiaodong Ji, Hailin Zhang, Fangcheng Fu, Bin CuiICML 2026 · 3 次引用
  2. DynaX: Sparse Attention Acceleration with Dynamic X: M Fine-Grained Structured PruningXiao Xiong, Zhaorui Chen, Yue Liang, Minghao Tian 等ASPLOS 2025 · 3 次引用
  3. SpARC: Token Similarity-Aware Sparse Attention Transformer Accelerator via Row-wise ClusteringHan Cho, Dongjun Kim, Seung-Eon Hwang, Jongsun ParkDAC 2024 · 7 次引用
  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 等DAC 2022 · 49 次引用
  5. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
黄昏的海面,两侧是细线勾勒的悬崖