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

拒绝提升可靠性:利用知识反馈的强化学习训练大语言模型拒绝未知问题

Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedback

Shanghai Jiao Tong University(上海交通大学);AISpeech Co., Ltd.(思必驰科技股份有限公司)

Hongshen Xu, Zichen Zhu, Situo Zhang, Da Ma, Shuai Fan, Lu Chen, Kai Yu

AI总结:

本文提出知识反馈强化学习框架RLKF,通过动态确定模型知识边界并训练可靠奖励模型,鼓励LLM拒绝超出知识范围的问题,从而显著提升模型可靠性并减少幻觉。

摘要:

大语言模型(LLMs)由于难以辨别超出其知识范围的问题,常常生成错误输出,即所谓的幻觉。虽然解决幻觉问题一直是研究的焦点,但以往的工作主要集中于提升正确性,而未充分考虑拒绝机制的重要性。本文对拒绝的作用进行了全面考察,引入了模型可靠性的概念及相应指标。这些指标衡量模型在提供准确回答的同时,能够恰当地拒绝超出其知识边界的问题,从而最大限度地减少幻觉。为提升LLMs的内在可靠性,我们提出了一种新颖的对齐框架,称为知识反馈强化学习(RLKF)。RLKF利用知识反馈动态确定模型的知识边界,并训练一个可靠的奖励模型以鼓励拒绝超出知识范围的问题。在数学问题上的实验结果证实了RLKF在显著提升LLM可靠性方面的显著效果。

英文摘要:

Large Language Models (LLMs) often generate erroneous outputs, known as hallucinations, due to their limitations in discerning questions beyond their knowledge scope. While addressing hallucination has been a focal point in research, previous efforts primarily concentrate on enhancing correctness without giving due consideration to the significance of rejection mechanisms. In this paper, we conduct a comprehensive examination of the role of rejection, introducing the notion of model reliability along with corresponding metrics. These metrics measure the model's ability to provide accurate responses while adeptly rejecting questions exceeding its knowledge boundaries, thereby minimizing hallucinations. To improve the inherent reliability of LLMs, we present a novel alignment framework called Reinforcement Learning from Knowledge Feedback (RLKF). RLKF leverages knowledge feedback to dynamically determine the model's knowledge boundary and trains a reliable reward model to encourage the refusal of out-of-knowledge questions. Experimental results on mathematical questions affirm the substantial efficacy of RLKF in significantly enhancing LLM reliability.

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

↑