arXiv:2502.15025cs.IR2025-02中稿 · ECIR'25 as a full …被引 25

探究检索文档相关性是否能提升生成效果,发现相关性影响有限且随上下文增多而减弱。

Is Relevance Propagated from Retriever to Generator in RAG?

  • 用信息检索数据集实证验证检索文档与查询的领域重合度对生成任务的影响。
  • 相关性与实用性的正相关较弱,且在多文档上下文中逐渐下降。
  • 更优的检索模型能更好提升生成性能,说明检索质量关键。

检索增强生成(RAG)通过将外部文档作为大语言模型提示的一部分来提升下游任务表现,如问答。不同于传统检索以最大化文档相关性为目标,RAG关注的是文档集合的总效用,即是否有助于提升任务性能。现有研究聚焦于答案包含性相关性,而本文关注信息检索任务中的主题重合度。基于标准信息检索测试集,我们实证研究了由主题相关文档构成的RAG上下文是否能提升下游表现。结果表明:(a) 相关性与实用性存在微弱正相关;(b) 该相关性随上下文规模增大(k值升高)而下降;(c) 更有效的检索模型通常带来更好的下游性能。

原文摘要 · Abstract (English)

Retrieval Augmented Generation (RAG) is a framework for incorporating external knowledge, usually in the form of a set of documents retrieved from a collection, as a part of a prompt to a large language model (LLM) to potentially improve the performance of a downstream task, such as question answering. Different from a standard retrieval task's objective of maximising the relevance of a set of top-ranked documents, a RAG system's objective is rather to maximise their total utility, where the utility of a document indicates whether including it as a part of the additional contextual information in an LLM prompt improves a downstream task. Existing studies investigate the role of the relevance of a RAG context for knowledge-intensive language tasks (KILT), where relevance essentially takes the form of answer containment. In contrast, in our work, relevance corresponds to that of topical overlap between a query and a document for an information seeking task. Specifically, we make use of an IR test collection to empirically investigate whether a RAG context comprised of topically relevant documents leads to improved downstream performance. Our experiments lead to the following findings: (a) there is a small positive correlation between relevance and utility; (b) this correlation decreases with increasing context sizes (higher values of k in k-shot); and (c) a more effective retrieval model generally leads to better downstream RAG performance.

RAG检索增强相关性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。