A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Simon, Sebastian, Mailach, Alina, Dorn, Johannes, Siegmund, Norbert
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909345689632768
author Simon, Sebastian
Mailach, Alina
Dorn, Johannes
Siegmund, Norbert
author_facet Simon, Sebastian
Mailach, Alina
Dorn, Johannes
Siegmund, Norbert
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08801
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation
Simon, Sebastian
Mailach, Alina
Dorn, Johannes
Siegmund, Norbert
Software Engineering
Information Retrieval
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.
title A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation
topic Software Engineering
Information Retrieval
url https://arxiv.org/abs/2410.08801