Aha.
正在载入中英对照阅读…

arXiv:2203.02155 · 中英对照阅读

Training language models to follow instructions with human feedback

Long Ouyang、Jeff Wu*、Xu Jiang*、Diogo Almeida*、Carroll L. Wainwright*、Pamela Mishkin*、Chong Zhang、Sandhini Agarwal、Katarina Slama、Alex Ray、John Schulman、Jacob Hilton、Fraser Kelton、Luke Miller、Maddie Simens、Amanda Askell、Peter Welinder、Paul Christiano*†、Jan Leike*、Ryan Lowe*、OpenAI

中文速览

语言模型常会编造事实、输出有害内容,或听不懂用户指令,单纯把模型做大并不能解决这些问题。研究者先让人类示范理想回答,再请标注者比较模型回答、训练出偏好评分,并用强化学习据此微调 GPT-3,得到 InstructGPT。评测中,人们更喜欢 InstructGPT 的回答,甚至 13 亿参数的版本也胜过 1750 亿参数的 GPT-3;它更少胡编、毒性输出也有所减少,但偏见改善不明显,仍会犯错。这个结果说明,让模型学习人类反馈有望比一味扩容更有效地提升指令遵循与安全性,也提醒我们模型学到的偏好取决于参与反馈的人群,离全面可靠还有距离。

摘要

Making language models bigger does not inherently make them better at following a user’s intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outputs, which we use to further fine-tune this supervised model using reinforcement learning from human feedback. We call the resulting models InstructGPT. In human evaluations on our prompt distribution, outputs from the 1.3B parameter InstructGPT model are preferred to outputs from the 175B GPT-3, despite having 100x fewer parameters. Moreover, InstructGPT models show improvements in truthfulness and reductions in toxic output generation while having minimal performance regressions on public NLP datasets. Even though InstructGPT still makes simple mistakes, our results show that fine-tuning with human feedback is a promising direction for aligning language models with human intent.

术语表

language model
语言模型
user intent
用户意图
alignment
对齐
fine-tuning
微调
human feedback
人类反馈
supervised learning
监督学习
reinforcement learning from human feedback (RLHF)
基于人类反馈的强化学习(RLHF)
InstructGPT
InstructGPT
GPT-3
GPT-3
labeler demonstration
标注员示范
human preference
人类偏好
reward signal
奖励信号
reward model (RM)
奖励模型(RM)
PPO algorithm
PPO 算法
Proximal Policy Optimization (PPO)
近端策略优化(PPO)
supervised fine-tuning (SFT)
监督微调(SFT)
helpful, honest, and harmless
有帮助、诚实且无害
truthfulness
真实性
toxicity
毒性
bias
偏见
hallucination
幻觉
alignment tax
对齐税
PPO-ptx
PPO-ptx
TruthfulQA
TruthfulQA
RealToxicityPrompts
RealToxicityPrompts
Winogender
Winogender
CrowSPairs
CrowSPairs
FLAN
FLAN
T0
T0