mlsanityData to 14 Oct 2026

Tuning LLMs by RAG Principles: Towards LLM-native Memory

arXiv 2503.16071 ↗First posted 20 Mar 2025cs.CL cs.AI cs.IRcited by 2

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

Abstract (arXiv)

Memory, additional information beyond the training of large language models (LLMs), is crucial to various real-world applications, such as personal assistant. The two mainstream solutions to incorporate memory into the generation process are long-context LLMs and retrieval-augmented generation (RAG). In this paper, we first systematically compare these two types of solutions on three renovated/new datasets and show that (1) long-context solutions, although more expensive, shall be easier to capture the big picture and better answer queries which require considering the memory as a whole; and (2) when the queries concern specific information, RAG solutions shall be more competitive especially when the keywords can be explicitly matched. Therefore, we propose a novel method RAG-Tuned-LLM which fine-tunes a relative small (e.g., 7B) LLM using the data generated following the RAG principles, so it can combine the advantages of both solutions. Extensive experiments on three datasets demonstrate that RAG-Tuned-LLM can beat long-context LLMs and RAG methods across a wide range of query types.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 28 of its 32 references that are in the map. First posted on arXiv 20 Mar 2025.

Builds on

28 of 32 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024MultiHop-RAG: Benchmarking Retrieval-Augmented Generation for Multi-Hop Queries27 Jan

Other references · 27

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  11. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  12. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
15 more
  1. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  2. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  4. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  5. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  6. 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
  7. 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
  8. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
  9. 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
  10. 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 130
  11. 2024Make Your LLM Fully Utilize the Contextcited by 119
  12. 2023Attention Sorting Combats Recency Bias In Long Context Language Modelscited by 90
  13. 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 55
  14. 2023LLM as A Robotic Brain: Unifying Egocentric Memory and Controlcited by 33
  15. 2024AI-native Memory: A Pathway from LLMs Towards AGIcited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 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. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approach
  3. 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely
  4. 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
  5. 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference
  6. 2023Retrieval-Augmented Generation for Large Language Models: A Survey
  7. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
  8. 2024Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge