Comparing the Performance of LLMs in RAG-based Question-Answering: A Case Study in Computer Science Literature
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval Augmented Generation (RAG) is emerging as a powerful technique to enhance the capabilities of Generative AI models by reducing hallucination. Thus, the increasing prominence of RAG alongside Large Language Models (LLMs) has sparked interest in comparing the performance of different LLMs in question-answering (QA) in diverse domains. This study compares the performance of four open-source LLMs, Mistral-7b-instruct, LLaMa2-7b-chat, Falcon-7b-instruct and Orca-mini-v3-7b, and OpenAI's trending GPT-3.5 over QA tasks within the computer science literature leveraging RAG support. Evaluation metrics employed in the study include accuracy and precision for binary questions and ranking by a human expert, ranking by Google's AI model Gemini, alongside cosine similarity for long-answer questions. GPT-3.5, when paired with RAG, effectively answers binary and long-answer questions, reaffirming its status as an advanced LLM. Regarding open-source LLMs, Mistral AI's Mistral-7b-instruct paired with RAG surpasses the rest in answering both binary and long-answer questions. However, among the open-source LLMs, Orca-mini-v3-7b reports the shortest average latency in generating responses, whereas LLaMa2-7b-chat by Meta reports the highest average latency. This research underscores the fact that open-source LLMs, too, can go hand in hand with proprietary models like GPT-3.5 with better infrastructure.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 17 of its 42 references that are in the map. First posted on arXiv 5 Nov 2025.
Builds on
17 of 42 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Mistral 7Bcited by 3,065
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2023The Falcon Series of Open Language Modelscited by 526
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 329
- 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
- 2023PaperQA: Retrieval-Augmented Generative Agent for Scientific Researchcited by 143
- 2023Towards Mitigating Hallucination in Large Language Models via Self-Reflectioncited by 81
- 2024CBR-RAG: Case-Based Reasoning for Retrieval Augmented Generation in LLMs for Legal Question Answeringcited by 70
5 more
- 2023Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Modelscited by 67
- 2024When Do LLMs Need Retrieval Augmentation? Mitigating LLMs' Overconfidence Helps Retrieval Augmentationcited by 59
- 2023Retrieval Augmented Chest X-Ray Report Generation using OpenAI GPT modelscited by 27
- 2024What Makes Quantization for Large Language Models Hard? An Empirical Study from the Lens of Perturbationcited by 22
- 2024LexDrafter: Terminology Drafting for Legislative Documents using Retrieval Augmented Generationcited by 6
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Evaluation of RAG Metrics for Question Answering in the Telecom Domain
- 2024Adversarial Databases Improve Success in Retrieval-based Large Language Models
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
- 2024ERATTA: Extreme RAG for Table To Answers with Large Language Models
- 2025Multiple Abstraction Level Retrieve Augment Generation
- 2024Developing Retrieval Augmented Generation (RAG) based LLM Systems from PDFs: An Experience Report
- 2024Evaluating the Retrieval Component in LLM-Based Question Answering Systems
- 2024Know Your RAG: Dataset Taxonomy and Generation Strategies for Evaluating RAG Systems