自动化生成领域专用多跳问答数据集,提升RAG系统评估效果
Automating Multi-Hop RAG Evaluation via TRIAD: From Context Extraction to Validated Dataset Generation
- 三阶段自动化流程:生成问答对、人工验证反馈、添加相关文档标签
- 生成数据在不同RAG设置下表现趋势与基准数据集一致
- 适合需要评估私有领域RAG系统的研发团队使用
大型语言模型和检索增强生成(RAG)系统在工业界的广泛应用,催生了对特定领域问答数据集的需求,以评估RAG在专有数据上的表现。现有数据集如HotpotQA基于维基百科知识,难以直接迁移到特定领域。全面评估RAG性能需包含多跳查询和无答案问题。本文提出TRIAD,一种三阶段自动化数据集生成方法:首先为特定领域的知识库生成问答对;其次通过验证器进行反馈循环检查每个问答对;最后为问答对附加带相关性标签的上下文文档,用于下游评估。在MuSiQue和HotpotQA等基准数据集上进行评估,结果表明生成数据在不同RAG配置下表现出相似性能趋势,且经人工验证确认问题适合评估领域专用RAG系统。生成代码及所有验证结果均开源于GitHub(https://github.com/lorenzbrehme/triad)。
原文摘要 · Abstract (English)
Recent advances in LLMs and the adoption of RAG systems in industry have created a need for domain-specific question-answer datasets that can assess RAG performance on proprietary data. Existing datasets, such as HotpotQA, challenge current RAG systems on Wikipedia-based knowledge, but they cannot be transferred directly to domain-specific settings. A comprehensive evaluation of RAG system quality requires both multi-hop queries and unanswerable questions. This paper introduces TRIAD, a three-stage automated dataset generation approach. First, it generates question--answer (QA) pairs for the domain-specific knowledge base of a RAG system. Second, a validator checks each QA-pair in a feedback loop. Third, the QA pairs are extended with relevance-labeled context documents for downstream evaluation. We evaluate this approach against the established MuSiQue and HotpotQA datasets. The results show that the generated dataset exhibits similar performance trends across different RAG setups, while human validation indicates that the questions are suitable for evaluating a domain-specific RAG system. The code used to generate the dataset and all validation results are available in our GitHub repository(https://github.com/lorenzbrehme/triad).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。