用大模型自动提取事实并评估RAG系统,省时且效果接近人工。
The Great Nugget Recall: Automating Fact Extraction and RAG Evaluation with Large Language Models
- 用大模型自动生成答案中应包含的原子事实(nuggets)
- 在TREC 2024 RAG评测中,自动评估与人工评分高度一致
- 适合需要高效、可扩展评估的RAG系统研发团队
大型语言模型(LLMs)显著提升了信息获取系统的性能,尤其在检索增强生成(RAG)方面。然而,RAG系统的评估仍是制约发展的障碍。本文提出一种全自动评估框架,基于2003年TREC问答赛道提出的“nugget”方法,该方法通过评估答案中应包含的原子事实来衡量系统表现。我们设计了AutoNuggetizer框架,利用LLMs自动创建nuggets并将其分配给系统生成的答案。在TREC 2024 RAG Track的社区级评估中,全自动方法与人工构建nuggets并手动标注的方案在运行级别得分上表现出强一致性。当各组件独立自动化时,一致性更高,表明该框架在效率与质量间提供了可调节的权衡,有助于未来RAG系统开发。但仍需进一步研究以提升每题层面的一致性,从而更精准诊断系统失败原因。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have significantly enhanced the capabilities of information access systems, especially with retrieval-augmented generation (RAG). Nevertheless, the evaluation of RAG systems remains a barrier to continued progress, a challenge we tackle in this work by proposing an automatic evaluation framework that is validated against human annotations. We believe that the nugget evaluation methodology provides a solid foundation for evaluating RAG systems. This approach, originally developed for the TREC Question Answering (QA) Track in 2003, evaluates systems based on atomic facts that should be present in good answers. Our efforts focus on "refactoring" this methodology, where we describe the AutoNuggetizer framework that specifically applies LLMs to both automatically create nuggets and automatically assign nuggets to system answers. In the context of the TREC 2024 RAG Track, we calibrate a fully automatic approach against strategies where nuggets are created manually or semi-manually by human assessors and then assigned manually to system answers. Based on results from a community-wide evaluation, we observe strong agreement at the run level between scores derived from fully automatic nugget evaluation and human-based variants. The agreement is stronger when individual framework components such as nugget assignment are automated independently. This suggests that our evaluation framework provides tradeoffs between effort and quality that can be used to guide the development of future RAG systems. However, further research is necessary to refine our approach, particularly in establishing robust per-topic agreement to diagnose system failures effectively.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。