Low-Cost FlashAttention with Fused Exponential and Multiplication Hardware Operators
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
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2022Transformers in Time Series: A Surveycited by 497
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
10 more
- 2018Online normalizer calculation for softmaxcited by 162
- 2021Self-attention Does Not Need O(n2) Memorycited by 154
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
- 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
- 2023PromptBench: A Unified Library for Evaluation of Large Language Modelscited by 44
- 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 43
- 2023X-Former: In-Memory Acceleration of Transformerscited by 25
- 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformerscited by 18
- 2024PEANO-ViT: Power-Efficient Approximations of Non-Linearities in Vision Transformerscited by 13
- 2024Online Alignment and Addition in Multi-Term Floating-Point Adderscited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Arraycited by 3
- 2026BAPS: A Fine-Grained Low-Precision Scheme for Softmax in Attention via Block-Aware Precision reScalingcited by 1
- 2025Vectorized FlashAttention with Low-cost Exponential Computation in RISC-V Vector Processorscited by 0
- 2025Can We Go Beyond Visual Features? Neural Tissue Relation Modeling for Relational Graph Analysis in Non-Melanoma Skin Histologycited by 0
- 2026Fast Polynomial Transcendentals for LLMscited by 0
- 2026Fast Polynomial Transcendentals for LLMs3 Sep 2026
- 2026BAPS: A Fine-Grained Low-Precision Scheme for Softmax in Attention via Block-Aware Precision reScaling2 Feb 2026
- 2025Can We Go Beyond Visual Features? Neural Tissue Relation Modeling for Relational Graph Analysis in Non-Melanoma Skin Histology7 Dec 2025
- 2025Vectorized FlashAttention with Low-cost Exponential Computation in RISC-V Vector Processors8 Oct 2025
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Array15 Jul 2025