arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.15217cs.CL
收藏

Ragas:检索增强生成的自动化评估

Ragas: Automated Evaluation of Retrieval Augmented Generation

Exploding Gradients;CardiffNLP, Cardiff University, United Kingdom(卡迪夫大学);AMPLYFI, United Kingdom(英国AMPLYFI)

Shahul Es, Jithin James, Luis Espinosa-Anke, Steven Schockaert

AI总结:

本文提出Ragas框架,通过无需人工标注的多维度指标,自动化评估检索增强生成(RAG)系统的检索能力与生成质量,加速LLM时代的RAG架构评估周期。

摘要:

我们介绍了Ragas(Retrieval Augmented Generation Assessment,检索增强生成评估),这是一个用于无参考评估检索增强生成(RAG)流水线的框架。RAG系统由检索模块和基于LLM的生成模块组成,通过参考文本数据库为LLM提供知识,使其充当用户与文本数据库间的自然语言层,从而降低幻觉风险。然而,评估RAG架构具有挑战性,因为需考虑多个维度:检索系统识别相关且聚焦的上下文段落的能力,LLM忠实利用这些段落的能力,或生成内容本身的质量。借助Ragas,我们提出了一套指标,可用于评估这些不同维度,无需依赖真实人类标注。我们认为,鉴于LLM的快速普及,这样的框架能关键性地加速RAG架构的评估周期。

英文摘要:

We introduce Ragas (Retrieval Augmented Generation Assessment), a framework for reference-free evaluation of Retrieval Augmented Generation (RAG) pipelines. RAG systems are composed of a retrieval and an LLM based generation module, and provide LLMs with knowledge from a reference textual database, which enables them to act as a natural language layer between a user and textual databases, reducing the risk of hallucinations. Evaluating RAG architectures is, however, challenging because there are several dimensions to consider: the ability of the retrieval system to identify relevant and focused context passages, the ability of the LLM to exploit such passages in a faithful way, or the quality of the generation itself. With Ragas, we put forward a suite of metrics which can be used to evaluate these different dimensions \textit{without having to rely on ground truth human annotations}. We posit that such a framework can crucially contribute to faster evaluation cycles of RAG architectures, which is especially important given the fast adoption of LLMs.

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

↑