mlsanityData to 7 Oct 2026

Investigating the performance of Retrieval-Augmented Generation and fine-tuning for the development of AI-driven knowledge-based systems

arXiv 2403.09727 ↗First posted 12 Mar 2024cs.CL cs.AI cs.LGcited by 4

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

Abstract (arXiv)

The development of generative large language models (G-LLM) opened up new opportunities for the development of new types of knowledge-based systems similar to ChatGPT, Bing, or Gemini. Fine-tuning (FN) and Retrieval-Augmented Generation (RAG) are the techniques that can be used to implement domain adaptation for the development of G-LLM-based knowledge systems. In our study, using ROUGE, BLEU, METEOR scores, and cosine similarity, we compare and examine the performance of RAG and FN for the GPT-J-6B, OPT-6.7B, LlaMA, LlaMA-2 language models. Based on measurements shown on different datasets, we demonstrate that RAG-based constructions are more efficient than models produced with FN. We point out that connecting RAG and FN is not trivial, because connecting FN models with RAG can cause a decrease in performance. Furthermore, we outline a simple RAG-based architecture which, on average, outperforms the FN models by 16% in terms of the ROGUE score, 15% in the case of the BLEU score, and 53% based on the cosine similarity. This shows the significant advantage of RAG over FN in terms of hallucination, which is not offset by the fact that the average 8% better METEOR score of FN models indicates greater creativity compared to RAG.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 5 of its 23 references that are in the map. First posted on arXiv 12 Mar 2024.

Builds on

5 of 23 references.

References · 5

  1. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  2. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  3. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  4. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  5. 2019A Question-Entailment Approach to Question Answeringcited by 133

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
  2. 2023Retrieval-Augmented Generation for Large Language Models: A Survey
  3. 2024Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge
  4. 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs
  5. 2024Developing Retrieval Augmented Generation (RAG) based LLM Systems from PDFs: An Experience Report
  6. 2024Enhancing Large Language Model Performance To Answer Questions and Extract Information More Accurately
  7. 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation
  8. 2024Deploying Large Language Models With Retrieval Augmented Generation