arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.13622cs.CLcs.IR
收藏

基于任务特定考试生成的检索增强语言模型自动化评估

Automated Evaluation of Retrieval-Augmented Language Models with Task-Specific Exam Generation

AWS AI Labs(亚马逊云科技人工智能实验室)

Gauthier Guinet, Behrooz Omidvar-Tehrani, Anoop Deoras, Laurent Callot

AI总结:

提出基于任务特定考试生成的RAG自动化评估方法,利用IRT优化考试,发现检索算法选择比模型规模更影响性能。

摘要:

我们提出了一种新方法,用于衡量检索增强大型语言模型(RAG)的任务特定准确性。评估通过在一个自动生成的合成考试上对RAG进行评分来完成,该考试由与任务相关的文档语料库生成的多选题组成。我们的方法是一种自动化、成本高效、可解释且稳健的策略,用于为RAG系统选择最优组件。我们利用项目反应理论(IRT)来估计考试的质量及其对任务特定准确性的信息量。IRT还提供了一种自然的方式来迭代改进考试,通过消除那些对模型能力信息量不足的考试问题。我们在四个新的开放式问答任务上展示了我们的方法,这些任务基于Arxiv摘要、StackExchange问题、AWS DevOps故障排除指南和SEC文件。此外,我们的实验揭示了对影响RAG性能的因素(如规模、检索机制、提示和微调)的更普遍见解。最值得注意的是,我们的研究结果表明,选择正确的检索算法往往比简单地使用更大的语言模型带来更大的性能提升。

英文摘要:

We propose a new method to measure the task-specific accuracy of Retrieval-Augmented Large Language Models (RAG). Evaluation is performed by scoring the RAG on an automatically-generated synthetic exam composed of multiple choice questions based on the corpus of documents associated with the task. Our method is an automated, cost-efficient, interpretable, and robust strategy to select the optimal components for a RAG system. We leverage Item Response Theory (IRT) to estimate the quality of an exam and its informativeness on task-specific accuracy. IRT also provides a natural way to iteratively improve the exam by eliminating the exam questions that are not sufficiently informative about a model's ability. We demonstrate our approach on four new open-ended Question-Answering tasks based on Arxiv abstracts, StackExchange questions, AWS DevOps troubleshooting guides, and SEC filings. In addition, our experiments reveal more general insights into factors impacting RAG performance like size, retrieval mechanism, prompting and fine-tuning. Most notably, our findings show that choosing the right retrieval algorithms often leads to bigger performance gains than simply using a larger language model.

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

↑