FlashEVA: Accelerating LLM inference via Efficient Attention
Not on the map. Why?
Abstract (arXiv)
Transformer models have revolutionized natural language processing, achieving state-of-the-art performance and demonstrating remarkable scalability. However, their memory demands, particularly due to maintaining full context in memory, pose significant challenges for inference. In this paper, we present FlashEVA, an efficient implementation of EVA (Efficient Attention via Control Variates), and demonstrate how to finetune transformers to adapt to FlashEVA attention. Our method enables fine-tuning of Transformer models with as few as 1.5B tokens while preserving effectiveness across various downstream tasks. Notably, FlashEVA achieves up to 6.7x higher throughput and 5x lower peak GPU memory usage during inference compared to standard Transformer implementations. Despite these improvements, we observe limitations in retrieval-focused tasks. Our implementation offers control over the trade-off between throughput and accuracy through adjustable hyperparameters, providing flexibility for diverse use cases. This work represents a significant step towards more efficient and adaptable Transformer-based models for inference.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 56 of its 69 references that are in the map. First posted on arXiv 1 Nov 2025.
Builds on
56 of 69 references.
References · 56
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
38 more
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2021Random Feature Attentioncited by 354
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
- 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 272
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2024Chain-of-Thought Reasoning Without Promptingcited by 210
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2022Transformer Quality in Linear Timecited by 191
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024An Empirical Study of Mamba-based Language Modelscited by 186
- 2022Mega: Moving Average Equipped Gated Attentioncited by 179
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 124
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
- 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
- 2024WKVQuant: Quantizing Weight and Key/Value Cache for Large Language Models Gains Morecited by 69
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 67
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 64
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.