Investigating the performance of Retrieval-Augmented Generation and fine-tuning for the development of AI-driven knowledge-based systems
Robert LakatosPPPeter PollnerAndras HajduTamas Joo
Robert Lakatos
PPPeter Pollner
Andras Hajdu
Tamas Joo
+4
This study compares Retrieval-Augmented Generation (RAG) and fine-tuning (FN) for domain adaptation of GPT-J-6B, OPT-6.7B, LLaMA, and LLaMA-2. Using ROUGE, BLEU, METEOR, and cosine similarity, they find RAG-based systems are more efficient, with average gains of 16% in ROUGE, 15% in BLEU, and 53% in cosine similarity over FN, indicating reduced hallucination. However, FN yields 8% better METEOR scores, suggesting greater creativity. Combining RAG with FN can degrade performance.

arXiv ·
· March 12, 2024