mlsanityData to 14 Oct 2026

REFRAG: Rethinking RAG based Decoding

arXiv 2509.01092 ↗First posted 1 Sep 2025cs.CL cs.AI cs.LGcited by 9

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

also in 2 more
Abstract (arXiv)

Large Language Models (LLMs) have demonstrated remarkable capabilities in leveraging extensive external knowledge to enhance responses in multi-turn and agentic applications, such as retrieval-augmented generation (RAG). However, processing long-context inputs introduces significant system latency and demands substantial memory for the key-value cache, resulting in reduced throughput and a fundamental trade-off between knowledge enrichment and system efficiency. While minimizing latency for long-context inputs is a primary objective for LLMs, we contend that RAG require specialized consideration. In RAG, much of the LLM context consists of concatenated passages from retrieval, with only a small subset directly relevant to the query. These passages often exhibit low semantic similarity due to diversity or deduplication during re-ranking, leading to block-diagonal attention patterns that differ from those in standard LLM generation tasks. Based on this observation, we argue that most computations over the RAG context during decoding are unnecessary and can be eliminated with minimal impact on performance. To this end, we propose REFRAG, an efficient decoding framework that compresses, senses, and expands to improve latency in RAG applications. By exploiting the sparsity structure, we demonstrate a 30.85 the time-to-first-token acceleration (3.75 improvement to previous work) without loss in perplexity. In addition, our optimization framework for large context enables REFRAG to extend the context size of LLMs by 16. We provide rigorous validation of REFRAG across diverse long-context tasks, including RAG, multi-turn conversations, and long document summarization, spanning a wide range of datasets. Experimental results confirm that REFRAG delivers substantial speedup with no loss in accuracy compared to LLaMA models and other state-of-the-art baselines across various context sizes.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 37 of its 45 references that are in the map. First posted on arXiv 1 Sep 2025.

Builds on

37 of 45 references.

References · 37

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  9. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  10. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  11. 2020Rethinking Attention with Performerscited by 1,601
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
25 more
  1. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  2. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  3. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  4. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  5. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  6. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  7. 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
  8. 2020Recipes for building an open-domain chatbotcited by 593
  9. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
  10. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
  11. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
  12. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  13. 2023Adapting Language Models to Compress Contextscited by 356
  14. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
  15. 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 195
  16. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  17. 2020Open-Domain Question Answering Goes Conversational via Question Rewritingcited by 148
  18. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
  19. 2020Open-Retrieval Conversational Question Answeringcited by 99
  20. 2021TopiOCQA: Open-domain Conversational Question Answering with Topic Switchingcited by 96
  21. 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
  22. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inferencecited by 53
  23. 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 28
  24. 2025Speculative Prefill: Turbocharging TTFT with Lightweight and Training-Free Token Importance Estimationcited by 14
  25. 2024Are Bigger Encoders Always Better in Vision Large Models?cited by 9

Built on by

Cited by year (2026 to 14 Oct)

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

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG
  2. 2025RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding
  3. 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
  4. 2025Optimizing Retrieval-Augmented Generation: Analysis of Hyperparameter Impact on Performance and Efficiency
  5. 2025Relevance Isn't All You Need: Scaling RAG Systems With Inference-Time Compute Via Multi-Criteria Reranking
  6. 2024RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
  7. 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey
  8. 2024Toward Optimal Search and Retrieval for RAG