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

评估RAG-Fusion与RAGElo:一种基于Elo的自动化框架

Evaluating RAG-Fusion with RAGElo: an Automated Elo-based Framework

Columbia University(哥伦比亚大学);Zeta Alpha(泽塔阿尔法)

Zackary Rackauckas, Arthur Câmara, Jakub Zavrel

AI总结:

针对RAG问答系统评估难题,提出基于LLM合成数据、LLM裁判和RAGElo自动Elo竞赛的框架,验证RAGF在完整性和总体答案质量上优于RAG。

摘要:

在检索增强生成(RAG)问答系统的自动化评估中,挑战包括领域特定知识中的幻觉问题以及公司内部任务缺乏金标准基准。这导致在英飞凌科技的产品问答任务背景下,评估RAG变体(如RAG-Fusion,简称RAGF)存在困难。为解决这些问题,我们提出一个全面的评估框架,该框架利用大型语言模型(LLMs)基于真实用户查询和领域内文档生成大规模合成查询数据集,使用LLM作为裁判对检索到的文档和答案进行评分,评估答案质量,并通过RAGElo的自动化基于Elo的竞赛对不同检索增强生成(RAG)代理变体进行排名。对随机抽样的合成查询进行LLM作为裁判的评分显示,与领域专家在相关性、准确性、完整性和精确性方面的评分存在中度正相关。虽然RAGF在Elo得分上优于RAG,但针对专家注释的显著性分析也表明,RAGF在完整性上显著优于RAG,但在精确性上表现不佳。此外,基于MRR@5得分,英飞凌的RAGF助手在文档相关性方面表现出略高的性能。我们发现RAGElo与人类注释者的偏好正向一致,但仍需谨慎。最后,基于专家注释,RAGF的方法导致更完整的答案,并且根据RAGElo的评估标准,总体上提供更好的答案。

英文摘要:

Challenges in the automated evaluation of Retrieval-Augmented Generation (RAG) Question-Answering (QA) systems include hallucination problems in domain-specific knowledge and the lack of gold standard benchmarks for company internal tasks. This results in difficulties in evaluating RAG variations, like RAG-Fusion (RAGF), in the context of a product QA task at Infineon Technologies. To solve these problems, we propose a comprehensive evaluation framework, which leverages Large Language Models (LLMs) to generate large datasets of synthetic queries based on real user queries and in-domain documents, uses LLM-as-a-judge to rate retrieved documents and answers, evaluates the quality of answers, and ranks different variants of Retrieval-Augmented Generation (RAG) agents with RAGElo's automated Elo-based competition. LLM-as-a-judge rating of a random sample of synthetic queries shows a moderate, positive correlation with domain expert scoring in relevance, accuracy, completeness, and precision. While RAGF outperformed RAG in Elo score, a significance analysis against expert annotations also shows that RAGF significantly outperforms RAG in completeness, but underperforms in precision. In addition, Infineon's RAGF assistant demonstrated slightly higher performance in document relevance based on MRR@5 scores. We find that RAGElo positively aligns with the preferences of human annotators, though due caution is still required. Finally, RAGF's approach leads to more complete answers based on expert annotations and better answers overall based on RAGElo's evaluation criteria.

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

↑