RAGProbe: Breaking RAG Pipelines with Evaluation Scenarios
Retrieval Augmented Generation (RAG) is increasingly employed in building Generative AI applications, yet their evaluation often relies on manual, trial-and-error processes. Automating this evaluation process involves generating test data to trigger failures involving context comprehension, data formatting, specificity, and content completeness. Random question-answer generation is insufficient. However, prior works rely on standard QA datasets, benchmarks and tactics that are not tailored to the specific domain requirements. Hence, current approaches and datasets do not trigger sufficiently broad and context-specific failures. In this paper, we introduce evaluation scenarios that describe the process of generating question-answer pairs from content indexed by RAG pipelines, and they are designed to trigger a wider range of failures and to simplify automation. This enables developers to identify and address weaknesses more effectively. We validate our approach on five open-source RAG pipelines using three datasets. Our approach triggers high failure rates, by generating prompts that combine multiple questions (up to 91% failure rate) highlighting the need for developers to prioritize handling such queries. We generated failure rates of 60% in an academic domain dataset and 53% and 64% in open-domain datasets. Compared to existing state-of-the-art methods, our approach triggers 77% more failures on average per RAG pipeline and 53% more failures on average per dataset, offering a mechanism to support developers to improve the RAG pipeline quality.
Authors
- Scott Barnett (ORCID: https://orcid.org/0000-0002-3187-4937)
- Rajesh Vasa (ORCID: https://orcid.org/0000-0003-4805-1467)
- Stefanus Kurniawan (ORCID: https://orcid.org/0009-0001-4469-1056)
- Shangeetha Sivasothy (ORCID: https://orcid.org/0000-0001-9204-4614)
- Zafaryab Rasool (ORCID: https://orcid.org/0000-0002-3603-3125)
Institutions
- Deakin University (AU)
Publication Details
- Published
- 2025-04-27
- DOI
- https://doi.org/10.1109/cain66642.2025.00015
- Primary Topic
- Particle accelerators and beam dynamics
- Type
- article
- Field-Weighted Citation Impact
- 0.00