提出全流程评估框架,解决RAG系统评测数据单一、问题定位难、检索不稳难题。
CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity
- 用多粒度关键词替代人工标注,评估检索阶段效果
- 构建覆盖多种文档格式与查询类型的综合数据集
- 可精准定位RAG各环节问题,适合模型优化与评测人员使用
检索增强生成(RAG)通过引入外部知识源提升大语言模型生成答案的准确性与可靠性,降低幻觉现象。然而,当前评估仍面临三大挑战:(1)数据多样性不足,知识源与查询类型有限;(2)问题定位模糊,难以确定故障发生在哪个阶段;(3)检索评估不稳定,尤其在不同分块策略下表现波动。为此,我们提出全面的全链路评估框架CoFE-RAG,覆盖分块、检索、重排序与生成全过程。为有效评估前三个阶段,引入粗粒度与细粒度关键词,以评估检索内容质量,无需依赖黄金片段标注。同时发布一个涵盖广泛文档格式和查询类型的综合性基准数据集。通过实验验证了该框架对RAG各阶段的评估能力,揭示其在多样化场景下的实际表现,提供更精细的能力与局限性理解。
原文摘要 · Abstract (English)
Retrieval-Augmented Generation (RAG) aims to enhance large language models (LLMs) to generate more accurate and reliable answers with the help of the retrieved context from external knowledge sources, thereby reducing the incidence of hallucinations. Despite the advancements, evaluating these systems remains a crucial research area due to the following issues: (1) Limited data diversity: The insufficient diversity of knowledge sources and query types constrains the applicability of RAG systems; (2) Obscure problems location: Existing evaluation methods have difficulty in locating the stage of the RAG pipeline where problems occur; (3) Unstable retrieval evaluation: These methods often fail to effectively assess retrieval performance, particularly when the chunking strategy changes. To tackle these challenges, we propose a Comprehensive Full-chain Evaluation (CoFE-RAG) framework to facilitate thorough evaluation across the entire RAG pipeline, including chunking, retrieval, reranking, and generation. To effectively evaluate the first three phases, we introduce multi-granularity keywords, including coarse-grained and fine-grained keywords, to assess the retrieved context instead of relying on the annotation of golden chunks. Moreover, we release a holistic benchmark dataset tailored for diverse data scenarios covering a wide range of document formats and query types. We demonstrate the utility of the CoFE-RAG framework by conducting experiments to evaluate each stage of RAG systems. Our evaluation method provides unique insights into the effectiveness of RAG systems in handling diverse data scenarios, offering a more nuanced understanding of their capabilities and limitations.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。