arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.12798cs.CLcs.IR
收藏

RRAML:强化检索增强机器学习

RRAML: Reinforced Retrieval Augmented Machine Learning

Sapienza University of Rome(罗马第一大学);University of Pisa(比萨大学)

Andrea Bacciu, Florin Cuconasu, Federico Siciliano, Fabrizio Silvestri, Nicola Tonellotto, Giovanni Trappolini

AI总结:

针对大语言模型传统调用方式的上下文限制等问题,提出RRAML框架,结合强化学习实现检索与推理的联动,无需模型梯度与重训练,可减少幻觉,助力大语言模型的普及应用。

摘要:

大语言模型(LLMs)的出现革新了机器学习及相关领域,展现出在理解、生成和处理人类语言方面的卓越能力。然而,传统上通过基于API的文本提示调用它们的方式存在上下文限制和外部源可用性方面的局限。为应对这些挑战,我们提出了名为Reinforced Retrieval Augmented Machine Learning(RRAML,强化检索增强机器学习)的新型框架。RRAML将LLMs的推理能力与专用检索器从用户提供的海量数据库中检索到的支撑信息相结合。借助强化学习领域的最新进展,我们的方法有效解决了若干关键难题。首先,它无需获取LLM的梯度。其次,我们的方法免去了为特定任务重新训练LLM的负担——由于模型访问受限及所需计算量巨大,这类重训练通常不切实际甚至无法实现。此外,我们将检索器的任务与推理器无缝关联,减少了幻觉现象,同时降低了检索到无关甚至可能有害文档的概率。我们认为本文提出的研究方向有望对AI领域产生深远影响,为各类主体普及LLM的访问与使用。

英文摘要:

The emergence of large language models (LLMs) has revolutionized machine learning and related fields, showcasing remarkable abilities in comprehending, generating, and manipulating human language. However, their conventional usage through API-based text prompt submissions imposes certain limitations in terms of context constraints and external source availability. To address these challenges, we propose a novel framework called Reinforced Retrieval Augmented Machine Learning (RRAML). RRAML integrates the reasoning capabilities of LLMs with supporting information retrieved by a purpose-built retriever from a vast user-provided database. By leveraging recent advancements in reinforcement learning, our method effectively addresses several critical challenges. Firstly, it circumvents the need for accessing LLM gradients. Secondly, our method alleviates the burden of retraining LLMs for specific tasks, as it is often impractical or impossible due to restricted access to the model and the computational intensity involved. Additionally we seamlessly link the retriever's task with the reasoner, mitigating hallucinations and reducing irrelevant, and potentially damaging retrieved documents. We believe that the research agenda outlined in this paper has the potential to profoundly impact the field of AI, democratizing access to and utilization of LLMs for a wide range of entities.

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

↑