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

通过自然语言人类反馈实现大语言模型的数据高效对齐

Data-Efficient Alignment of Large Language Models with Human Feedback Through Natural Language

Amazon(亚马逊)

Di Jin, Shikib Mehri, Devamanyu Hazarika, Aishwarya Padmakumar, Sungjin Lee, Yang Liu, Mahdi Namazifar

AI总结:

本研究提出利用少量自然语言形式的人类反馈微调开源LLM,使其能通过批评与修订机制提升ChatGPT等强大模型的响应质量,验证了该方法在数据高效对齐方面的有效性。

摘要:

从人类反馈中学习是使大语言模型(LLM)输出与人类期望对齐的一种重要技术。基于人类反馈的强化学习(RLHF)利用以响应对排序形式呈现的人类偏好信号来执行此对齐过程。然而,人类对LLM输出的反馈可以采用更丰富的形式,包括自然语言,这能提供关于给定响应优缺点的详细反馈。在本研究中,我们探讨了以自然语言形式建模人类反馈的数据效率。具体而言,我们在相对少量(1000条记录甚至更少)以响应的批评和修订形式呈现的自然语言人类反馈上,微调了一个开源LLM,例如Falcon-40B-Instruct。我们表明,该模型能够通过对来自ChatGPT、BARD和Vicuna等部分最强大LLM的响应进行批评和修订,从而提升这些响应的质量。例如,经过一轮对ChatGPT响应的修订,修订后的响应相比原始响应具有56.6%的胜率,并且在应用五轮修订后,该胜率可进一步提升至65.9%。

英文摘要:

Learning from human feedback is a prominent technique to align the output of large language models (LLMs) with human expectations. Reinforcement learning from human feedback (RLHF) leverages human preference signals that are in the form of ranking of response pairs to perform this alignment. However, human preference on LLM outputs can come in much richer forms including natural language, which may provide detailed feedback on strengths and weaknesses of a given response. In this work we investigate data efficiency of modeling human feedback that is in natural language. Specifically, we fine-tune an open-source LLM, e.g., Falcon-40B-Instruct, on a relatively small amount (1000 records or even less) of human feedback in natural language in the form of critiques and revisions of responses. We show that this model is able to improve the quality of responses from even some of the strongest LLMs such as ChatGPT, BARD, and Vicuna, through critique and revision of those responses. For instance, through one iteration of revision of ChatGPT responses, the revised responses have 56.6% win rate over the original ones, and this win rate can be further improved to 65.9% after applying the revision for five iterations.

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

↑