A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-augmented generation (RAG) is an umbrella of different components, design decisions, and domain-specific adaptations to enhance the capabilities of large language models and counter their limitations regarding hallucination and outdated and missing knowledge. Since it is unclear which design decisions lead to a satisfactory performance, developing RAG systems is often experimental and needs to follow a systematic and sound methodology to gain sound and reliable results. However, there is currently no generally accepted methodology for RAG evaluation despite a growing interest in this technology. In this paper, we propose a first blueprint of a methodology for a sound and reliable evaluation of RAG systems and demonstrate its applicability on a real-world software engineering research task: the validation of configuration dependencies across software technologies. In summary, we make two novel contributions: (i) A novel, reusable methodological design for evaluating RAG systems, including a demonstration that represents a guideline, and (ii) a RAG system, which has been developed following this methodology, that achieves the highest accuracy in the field of dependency validation. For the blueprint's demonstration, the key insights are the crucial role of choosing appropriate baselines and metrics, the necessity for systematic RAG refinements derived from qualitative failure analysis, as well as the reporting practices of key design decision to foster replication and evaluation.
Key facts. Cited by 6 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 20 of its 51 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
20 of 51 references.
Closest ancestors · 4
Same direction, newest first
- 2024Evaluation of Retrieval-Augmented Generation: A Survey13 May
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation System11 Jan
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
Other references · 16
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 274
- 2023Knowledge Editing for Large Language Models: A Surveycited by 194
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 107
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2023GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimizationcited by 29
4 more
- 2022RACE: Retrieval-Augmented Commit Message Generationcited by 27
- 2024On Mitigating Code LLM Hallucinations with API Documentationcited by 21
- 2017Easy over Hard: A Case Study on Deep Learningcited by 20
- 2024Automated Commit Message Generation with Large Language Models: An Empirical Study and Beyondcited by 10
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptationcited by 17
- 2025Can LLMs Be Trusted for Evaluating RAG Systems? A Survey of Methods and Datasetscited by 7
- 2025Mitigating Bias in RAG: Controlling the Embeddercited by 6
- 2025MHTS: Multi-Hop Tree Structure Framework for Generating Difficulty-Controllable QA Datasets for RAG Evaluationcited by 3
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systemscited by 2
- 2026The Coverage Illusion: From Pre-retrieval Routing Failure to Post-retrieval Cascades in a Production RAG Systemcited by 0
- 2026The Coverage Illusion: From Pre-retrieval Routing Failure to Post-retrieval Cascades in a Production RAG System26 May 2026
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systems19 Jan 2026
- 2025Can LLMs Be Trusted for Evaluating RAG Systems? A Survey of Methods and Datasets28 Apr 2025
- 2025MHTS: Multi-Hop Tree Structure Framework for Generating Difficulty-Controllable QA Datasets for RAG Evaluation29 Mar 2025
- 2025Mitigating Bias in RAG: Controlling the Embedder24 Feb 2025
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation13 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2026Configuring RAG Systems: What Breaks, Where Originates, and How to Fix
- 2025A System for Comprehensive Assessment of RAG Frameworks
- 2026Not All RAGs Are Created Equal: A Component-Wise Empirical Study for Software Engineering Tasks
- 2024InspectorRAGet: An Introspection Platform for RAG Evaluation
- 2026Overcoming the "Impracticality" of RAG: Proposing a Real-World Benchmark and Multi-Dimensional Diagnostic Framework
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systems
- 2025Retrieval-Augmented Generation in Industry: An Interview Study on Use Cases, Requirements, Challenges, and Evaluation
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation