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

ZYN:面向RLAIF的带是非问题的零样本奖励模型

ZYN: Zero-Shot Reward Models with Yes-No Questions for RLAIF

Komorebi AI(Komorebi人工智能公司)

Victor Gallego

AI总结:

针对语言模型文本生成与人类偏好对齐问题,提出基于是非问题提示的零样本奖励模型ZYN,可用于RLAIF微调及多场景文本生成优化,在多领域验证了有效性并开源代码。

摘要:

在本研究中,我们解决了引导语言模型(LM)的文本生成向期望行为发展、使生成文本与人类操作者偏好对齐的问题。我们提出将另一个经过指令微调的语言模型作为批评者奖励模型,以零样本方式运行,这得益于代表用户偏好的是非问题提示,无需额外标注数据。该零样本奖励模型提供学习信号,用于通过AI反馈强化学习(RLAIF)进一步微调基础LM;同时我们的方法也适用于质量-多样性搜索等其他场景。我们在文本生成相关的不同领域开展实验,为所提出的ZYN框架的能力提供了充分证据,实验领域包括去毒化、优化影评情感或其他任意属性、引导模型对特定主题可能持有的观点,以及为文生图任务个性化提示生成器。代码可在https://github.com/vicgalle/zero-shot-reward-models/ 获取。

英文摘要:

In this work, we address the problem of directing the text generation of a language model (LM) towards a desired behavior, aligning the generated text with the preferences of the human operator. We propose using another, instruction-tuned language model as a critic reward model in a zero-shot way thanks to the prompt of a Yes-No question that represents the user preferences, without requiring further labeled data. This zero-shot reward model provides the learning signal to further fine-tune the base LM using Reinforcement Learning from AI Feedback (RLAIF); yet our approach is also compatible in other contexts such as quality-diversity search. Extensive evidence of the capabilities of the proposed ZYN framework is provided through experiments in different domains related to text generation, including detoxification; optimizing sentiment of movie reviews, or any other attribute; steering the opinion about a particular topic the model may have; and personalizing prompt generators for text-to-image tasks. Code available at \url{https://github.com/vicgalle/zero-shot-reward-models/}.

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

↑