A System for Comprehensive Assessment of RAG Frameworks

Mattia Rengo, Senad Beadini, Domenico Alfano, Roberto Abbruzzese
4/10/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: Eustema-S-p-A/SCARF (9 stars, AGPL-3.0, last commit 2025-04-17).

Abstract

Retrieval Augmented Generation (RAG) has emerged as a standard paradigm for enhancing the factual accuracy and contextual relevance of Large Language Models (LLMs) by integrating retrieval mechanisms. However, existing evaluation frameworks fail to provide a holistic black-box approach to assessing RAG systems, especially in real-world deployment scenarios. To address this gap, we introduce SCARF (System for Comprehensive Assessment of RAG Frameworks), a modular and flexible evaluation framework designed to benchmark deployed RAG applications systematically. SCARF provides an end-to-end, black-box evaluation methodology, enabling a limited-effort comparison across diverse RAG frameworks. Our framework supports multiple deployment configurations and facilitates automated testing across vector databases and LLM serving strategies, producing a detailed performance report. Moreover, SCARF integrates practical considerations such as response coherence, providing a scalable and adaptable solution for researchers and industry professionals evaluating RAG applications. Using the REST APIs interface, we demonstrate how SCARF can be applied to real-world scenarios, showcasing its flexibility in assessing different RAG frameworks and configurations. SCARF is available at GitHub repository.

View on arXivView PDF

Code Implementations(1)

Eustema-S-p-A/SCARFCommunity100%
AGPL-3.0

SCARF (System for Comprehensive Assessment of RAG Frameworks) is a modular evaluation framework for benchmarking deployed Retrieval Augmented Generation (RAG) applications. It offers end-to-end, black-box assessment across multiple configurations, supports automated testing with several vector databases and LLMs.

90PythonFeb 21, 20251 years agoAGPL-3.0
aibenchmarkingblack-box-benchmarkingevaluation-frameworkllm+6 more

Similar Papers

Cite this paper

@article{rengo2025system,
  title  = {A System for Comprehensive Assessment of RAG Frameworks},
  author = {Mattia Rengo and Senad Beadini and Domenico Alfano and Roberto Abbruzzese},
  year   = {2025},
  eprint = {2504.07803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.07803v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.07803.svg)](https://codeofpaper.com/paper/2504.07803)

Discussion