arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.03995cs.LGcs.CVcs.IRcs.ITmath.IT
收藏

RAG-Check:评估多模态检索增强生成性能

RAG-Check: Evaluating Multimodal Retrieval Augmented Generation Performance

University of Maryland(马里兰大学);NEC Laboratories America(美国NEC实验室)

Matin Mortaheb, Mohammad A. Amir Khojastepour, Srimat T. Chakradhar, Sennur Ulukus

AI总结:

本文提出RAG-Check框架,通过相关性分数RS和正确性分数CS评估多模态RAG可靠性,并构建5000条人工标注数据验证其接近人类判断。

摘要:

检索增强生成(RAG)通过利用外部知识指导响应生成来改进大型语言模型(LLM),从而减少幻觉。然而,RAG,尤其是多模态RAG,可能引入新的幻觉来源:(i)检索过程可能从数据库中选择不相关的片段(例如文档、图像)作为原始上下文;(ii)检索到的图像通过视觉语言模型(VLM)处理为基于文本的上下文,或由GPT-4o等多模态语言模型(MLLM)直接使用,而这些模型可能产生幻觉。为解决这一问题,我们提出一种新颖框架,使用两项性能指标评估多模态RAG的可靠性:(i)相关性分数(RS),评估检索条目与查询的相关性;(ii)正确性分数(CS),评估生成响应的准确性。我们使用源自ChatGPT的数据库和人类评估者样本训练RS与CS模型。结果表明,两个模型在测试数据上均达到约88%的准确率。此外,我们构建了一个包含5000个样本的人工标注数据库,用于评估检索片段的相关性和响应陈述的正确性。我们的RS模型在检索中与人类偏好的一致性比CLIP高20%,而CS模型约91%的时间与人类偏好匹配。最后,我们使用RS和CS评估了各种RAG系统的选择与生成性能。

英文摘要:

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.

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

↑