mlsanityData to 7 Oct 2026

SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs

arXiv 2405.17025 ↗First posted 27 May 2024cs.AR cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Efficiently supporting long context length is crucial for Transformer models. The quadratic complexity of the self-attention computation plagues traditional Transformers. Sliding window-based static sparse attention mitigates the problem by limiting the attention scope of the input tokens, reducing the theoretical complexity from quadratic to linear. Although the sparsity induced by window attention is highly structured, it does not align perfectly with the microarchitecture of the conventional accelerators, leading to suboptimal implementation. In response, we propose a dataflow-aware FPGA-based accelerator design, SWAT, that efficiently leverages the sparsity to achieve scalable performance for long input. The proposed microarchitecture is based on a design that maximizes data reuse by using a combination of row-wise dataflow, kernel fusion optimization, and an input-stationary design considering the distributed memory and computation resources of FPGA. Consequently, it achieves up to 22× and 5.7× improvement in latency and energy efficiency compared to the baseline FPGA-based accelerator and 15× energy efficiency compared to GPU-based solution.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 27 May 2024.

Builds on

13 of 20 references.

References · 13

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2020Longformer: The Long-Document Transformercited by 3,362
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  6. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  7. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  8. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  9. 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 75
  10. 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 73
  11. 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
  12. 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 29
1 more
  1. 2022SALO: An Efficient Spatial Accelerator Enabling Hybrid Sparse Attention Mechanisms for Long Sequencescited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.