mlsanityData to 14 Oct 2026

Low-Cost FlashAttention with Fused Exponential and Multiplication Hardware Operators

arXiv 2505.14314 ↗First posted 20 May 2025cs.AR cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Attention mechanisms, particularly within Transformer architectures and large language models (LLMs), have revolutionized sequence modeling in machine learning and artificial intelligence applications. To compute attention for increasingly long sequences, specialized accelerators have been proposed to execute key attention steps directly in hardware. Among the various recently proposed architectures, those based on variants of the FlashAttention algorithm, originally designed for GPUs, stand out due to their optimized computation, tiling capabilities, and reduced memory traffic. In this work, we focus on optimizing the kernel of floating-point-based FlashAttention using new hardware operators that fuse the computation of exponentials and vector multiplications, e.g., e^x, V. The proposed ExpMul hardware operators significantly reduce the area and power costs of FlashAttention-based hardware accelerators. When implemented in a 28nm ASIC technology, they achieve improvements of 28.8% in area and 17.6% in power, on average, compared to state-of-the-art hardware architectures with separate exponentials and vector multiplications hardware operators.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

22 of 31 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2020Longformer: The Long-Document Transformercited by 3,413
  6. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  10. 2022Transformers in Time Series: A Surveycited by 497
  11. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  12. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
10 more
  1. 2018Online normalizer calculation for softmaxcited by 162
  2. 2021Self-attention Does Not Need O(n2) Memorycited by 154
  3. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
  4. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
  5. 2023PromptBench: A Unified Library for Evaluation of Large Language Modelscited by 44
  6. 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 43
  7. 2023X-Former: In-Memory Acceleration of Transformerscited by 25
  8. 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformerscited by 18
  9. 2024PEANO-ViT: Power-Efficient Approximations of Non-Linearities in Vision Transformerscited by 13
  10. 2024Online Alignment and Addition in Multi-Term Floating-Point Adderscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.