mlsanityData to 14 Oct 2026

VEXP: A Low-Cost RISC-V ISA Extension for Accelerated Softmax Computation in Transformers

arXiv 2504.11227 ↗First posted 15 Apr 2025cs.AR cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

While Transformers are dominated by Floating-Point (FP) Matrix-Multiplications, their aggressive acceleration through dedicated hardware or many-core programmable systems has shifted the performance bottleneck to non-linear functions like Softmax. Accelerating Softmax is challenging due to its non-pointwise, non-linear nature, with exponentiation as the most demanding step. To address this, we design a custom arithmetic block for Bfloat16 exponentiation leveraging a novel approximation algorithm based on Schraudolph's method, and we integrate it into the Floating-Point Unit (FPU) of the RISC-V cores of a compute cluster, through custom Instruction Set Architecture (ISA) extensions, with a negligible area overhead of 1%. By optimizing the software kernels to leverage the extension, we execute Softmax with 162.7× less latency and 74.3× less energy compared to the baseline cluster, achieving an 8.2× performance improvement and 4.1× higher energy efficiency for the FlashAttention-2 kernel in GPT-2 configuration. Moreover, the proposed approach enables a multi-cluster system to efficiently execute end-to-end inference of pre-trained Transformer models, such as GPT-2, GPT-3 and ViT, achieving up to 5.8× and 3.6× reduction in latency and energy consumption, respectively, without requiring re-training and with negligible accuracy loss.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 17 of its 28 references that are in the map. First posted on arXiv 15 Apr 2025.

Builds on

17 of 28 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  4. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  5. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  6. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
  7. 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inferencecited by 25
  8. 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
  9. 2023ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformerscited by 12
  10. 2020Snitch: A tiny Pseudo Dual-Issue Processor for Area and Energy Efficient Execution of Floating-Point Intensive Workloadscited by 11
  11. 2019Stream Semantic Registers: A Lightweight RISC-V ISA Extension Achieving Full Compute Utilization in Single-Issue Corescited by 7
  12. 2023Hyft: A Reconfigurable Softmax Accelerator with Hybrid Numeric Format for both Training and Inferencecited by 4
5 more
  1. 2024GPTQT: Quantize Large Language Models Twice to Push the Efficiencycited by 4
  2. 2022MiniFloat-NN and ExSdotp: An ISA Extension and a Modular Open Hardware Unit for Low-Precision Training on RISC-V corescited by 3
  3. 2024A Flexible Template for Edge Generative AI with High-Accuracy Accelerated Softmax & GELUcited by 2
  4. 2024Optimizing Foundation Model Inference on a Many-tiny-core Open-source RISC-V Platformcited by 1
  5. 2024Occamy: A 432-Core 28.1 DP-GFLOP/s/W 83% FPU Utilization Dual-Chiplet, Dual-HBM2E RISC-V-based Accelerator for Stencil and Sparse Linear Algebra Computations with 8-to-64-bit Floating-Point Support in 12nm FinFETcited by 1

Built on by

Cited by year (2026 to 14 Oct)

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

4 papers.