arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.14002cs.CL
收藏

通过即插即用检索反馈改进语言模型

Improving Language Models via Plug-and-Play Retrieval Feedback

University of Notre Dame(圣母大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Wenhao Yu, Zhihan Zhang, Zhenwen Liang, Meng Jiang, Ashish Sabharwal

AI总结:

本文提出即插即用的检索反馈流水线ReFeed,通过检索文档信息优化初始输出以解决LLMs幻觉问题,无需微调即在四个基准上实现零样本+6.0%、少样本+2.5%的提升。

摘要:

大型语言模型(LLMs)在各种NLP任务中表现出色。然而,它们经常生成错误或幻觉信息,这阻碍了其在实际场景中的适用性。人类反馈已被证明能有效提升生成内容的事实性和质量,解决部分局限。但该方法资源密集,需人工输入与监督,耗时且昂贵。此外,推理期间无法提供反馈,进一步限制其在动态交互应用中的实用性。本文提出ReFeed,一种通过即插即用框架提供自动检索反馈以增强LLMs的新颖流水线,无需昂贵微调。ReFeed先生成初始输出,再利用检索模型从大规模文档集合获取相关信息,最后将检索信息融入上下文示例进行输出优化,从而以更高效、低成本的方式解决LLMs局限。在四个知识密集型基准数据集上的实验表明,与不使用检索反馈的基线相比,ReFeed在零样本设置下提升+6.0%,少样本设置下提升+2.5%。

英文摘要:

Large language models (LLMs) exhibit remarkable performance across various NLP tasks. However, they often generate incorrect or hallucinated information, which hinders their practical applicability in real-world scenarios. Human feedback has been shown to effectively enhance the factuality and quality of generated content, addressing some of these limitations. However, this approach is resource-intensive, involving manual input and supervision, which can be time-consuming and expensive. Moreover, it cannot be provided during inference, further limiting its practical utility in dynamic and interactive applications. In this paper, we introduce ReFeed, a novel pipeline designed to enhance LLMs by providing automatic retrieval feedback in a plug-and-play framework without the need for expensive fine-tuning. ReFeed first generates initial outputs, then utilizes a retrieval model to acquire relevant information from large document collections, and finally incorporates the retrieved information into the in-context demonstration for output refinement, thereby addressing the limitations of LLMs in a more efficient and cost-effective manner. Experiments on four knowledge-intensive benchmark datasets demonstrate our proposed ReFeed could improve over +6.0% under zero-shot setting and +2.5% under few-shot setting, compared to baselines without using retrieval feedback.

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

↑