arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04696cs.CLcs.AIcs.IR
收藏

EncouRAGe:本地、快速且可靠地评估 RAG

EncouRAGe: Evaluating RAG Local, Fast, and Reliable

Jan Strich, Adeline Scharfenberg, Chris Biemann, Martin Semmann

AI总结:

本文提出 EncouRAGe 框架,用于在本地高效、可复现地评估 RAG 系统,并通过多基准实验表明 Hybrid BM25 效果最佳,而重排序仅带来有限提升。

摘要:

我们介绍 EncouRAGe,一个全面的 Python 框架,旨在简化使用大型语言模型(LLMs)和嵌入模型的检索增强生成(RAG)系统的开发与评估。EncouRAGe 由五个模块化且可扩展的组件组成:Type Manifest、RAG Factory、Inference、Vector Store 和 Metrics,促进灵活的实验和可扩展的开发。该框架强调科学可复现性、多样化的评估指标和本地部署,使研究人员能够在 RAG 工作流中高效评估数据集。本文介绍了实现细节,并在多个基准数据集上进行了广泛评估,包括 25k 个问答对和超过 51k 篇文档。我们的结果表明,与 Oracle Context 相比,RAG 仍然表现不佳,而 Hybrid BM25 在所有四个数据集上始终取得最佳结果。我们进一步考察了重排序的影响,观察到仅带来边际性能提升,同时伴随更高的响应延迟。

英文摘要:

We introduce EncouRAGe, a comprehensive Python framework designed to streamline the development and evaluation of Retrieval-Augmented Generation (RAG) systems using Large Language Models (LLMs) and Embedding Models. EncouRAGe comprises five modular and extensible components: Type Manifest, RAG Factory, Inference, Vector Store, and Metrics, facilitating flexible experimentation and extensible development. The framework emphasizes scientific reproducibility, diverse evaluation metrics, and local deployment, enabling researchers to efficiently assess datasets within RAG workflows. This paper presents implementation details and an extensive evaluation across multiple benchmark datasets, including 25k QA pairs and over 51k documents. Our results show that RAG still underperforms compared to the Oracle Context, while Hybrid BM25 consistently achieves the best results across all four datasets. We further examine the effects of reranking, observing only marginal performance improvements accompanied by higher response latency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑