PRCA:通过可插拔奖励驱动上下文适配器将黑盒大语言模型适配于检索式问答
PRCA: Fitting Black-Box Large Language Models for Retrieval Question Answering via Pluggable Reward-Driven Contextual Adapter
AI总结:
本文提出可插拔奖励驱动上下文适配器PRCA,以黑盒方式将大语言模型适配到检索式问答框架中,通过强化学习精炼检索信息,在三个数据集上实现最高20%的性能提升。
摘要:
检索式问答(ReQA)任务采用由检索器和生成器组成的检索增强框架。生成器基于检索器检索到的文档来生成答案。将大语言模型(LLMs)作为生成器因其先进的问答能力而具有优势,但在预算约束下它们通常规模过大而难以微调,且其中一些只能通过API访问。为解决这一问题并进一步提升ReQA性能,我们提出了一种可训练的可插拔奖励驱动上下文适配器(PRCA),将生成器保持为黑盒。PRCA以可插拔方式位于检索器与生成器之间,通过在强化学习阶段最大化奖励,以逐token自回归策略精炼检索到的信息。我们的实验在三个数据集上验证了PRCA在提升ReQA性能方面的有效性,性能提升最高达20%,从而将黑盒LLMs适配到现有框架中,展示了其在LLMs时代的巨大潜力。
英文摘要:
The Retrieval Question Answering (ReQA) task employs the retrieval-augmented framework, composed of a retriever and generator. The generator formulates the answer based on the documents retrieved by the retriever. Incorporating Large Language Models (LLMs) as generators is beneficial due to their advanced QA capabilities, but they are typically too large to be fine-tuned with budget constraints while some of them are only accessible via APIs. To tackle this issue and further improve ReQA performance, we propose a trainable Pluggable Reward-Driven Contextual Adapter (PRCA), keeping the generator as a black box. Positioned between the retriever and generator in a Pluggable manner, PRCA refines the retrieved information by operating in a token-autoregressive strategy via maximizing rewards of the reinforcement learning phase. Our experiments validate PRCA's effectiveness in enhancing ReQA performance on three datasets by up to 20% improvement to fit black-box LLMs into existing frameworks, demonstrating its considerable potential in the LLMs era.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。