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

Probing-RAG:自我探测引导语言模型进行选择性文档检索

Probing-RAG: Self-Probing to Guide Language Models in Selective Document Retrieval

Chung-Ang University(中央大学)

Ingeol Baek, Hwan Chang, Byeongjeong Kim, Jimin Lee, Hwanhee Lee

AI总结:

本文提出Probing-RAG,利用语言模型中间层隐藏状态进行自我探测,自适应判断是否需要额外检索,在五个开放域QA数据集上减少冗余检索并提升性能。

摘要:

检索增强生成(RAG)通过检索并整合相关外部知识来增强语言模型。然而,传统的检索-生成流程可能并未针对现实场景进行优化,在现实场景中,查询可能需要多次检索步骤或根本不需要检索。在本文中,我们提出了Probing-RAG,它利用语言模型中间层的隐藏状态表示,自适应地确定给定查询是否需要额外的检索。通过使用预训练的探测器,Probing-RAG有效捕获模型的内部认知,从而能够可靠地决定是否检索外部文档。在五个开放域问答数据集上的实验结果表明,Probing-RAG在减少冗余检索步骤数量的同时,优于以往的方法。

英文摘要:

Retrieval-Augmented Generation (RAG) enhances language models by retrieving and incorporating relevant external knowledge. However, traditional retrieve-and-generate processes may not be optimized for real-world scenarios, where queries might require multiple retrieval steps or none at all. In this paper, we propose a Probing-RAG, which utilizes the hidden state representations from the intermediate layers of language models to adaptively determine the necessity of additional retrievals for a given query. By employing a pre-trained prober, Probing-RAG effectively captures the model's internal cognition, enabling reliable decision-making about retrieving external documents. Experimental results across five open-domain QA datasets demonstrate that Probing-RAG outperforms previous methods while reducing the number of redundant retrieval steps.

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

↑