提出双指标评估多模态RAG可靠性,有效检测检索与生成中的幻觉。
RAG-Check: Evaluating Multimodal Retrieval Augmented Generation Performance
- 设计相关性得分与正确性得分双指标评估框架
- 模型在测试集上准确率达88%,生成结果与人类判断匹配91%
- 构建5000样本人工标注库,适用于多模态RAG系统评测
检索增强生成(RAG)通过引入外部知识改善大语言模型(LLM)的生成质量,降低幻觉。然而,多模态RAG可能引入新幻觉源:(i)检索过程可能选取无关文档或图像作为上下文;(ii)通过视觉-语言模型(VLM)将图像转为文本,或直接由多模态语言模型(MLLM)如GPT-4o处理,仍可能导致幻觉。为此,我们提出一种新评估框架,采用两个性能指标:(i)相关性得分(RS),衡量检索项与查询的相关性;(ii)正确性得分(CS),评估生成回答的准确性。使用ChatGPT衍生数据库和人工标注样本训练这两个模型,测试结果显示两者准确率均达约88%。此外,构建了一个包含5000样本的人工标注数据库,用于评估检索项相关性和生成陈述的正确性。我们的RS模型在检索中与人类偏好一致度比CLIP高20%,而CS模型与人类判断匹配率约为91%。最后,利用RS和CS评估多个RAG系统的选段与生成性能。
原文摘要 · Abstract (English)
Retrieval-augmented generation (RAG) improves large language models (LLMs) by using external knowledge to guide response generation, reducing hallucinations. However, RAG, particularly multi-modal RAG, can introduce new hallucination sources: (i) the retrieval process may select irrelevant pieces (e.g., documents, images) as raw context from the database, and (ii) retrieved images are processed into text-based context via vision-language models (VLMs) or directly used by multi-modal language models (MLLMs) like GPT-4o, which may hallucinate. To address this, we propose a novel framework to evaluate the reliability of multi-modal RAG using two performance measures: (i) the relevancy score (RS), assessing the relevance of retrieved entries to the query, and (ii) the correctness score (CS), evaluating the accuracy of the generated response. We train RS and CS models using a ChatGPT-derived database and human evaluator samples. Results show that both models achieve ~88% accuracy on test data. Additionally, we construct a 5000-sample human-annotated database evaluating the relevancy of retrieved pieces and the correctness of response statements. Our RS model aligns with human preferences 20% more often than CLIP in retrieval, and our CS model matches human preferences ~91% of the time. Finally, we assess various RAG systems' selection and generation performances using RS and CS.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。