arXiv:2401.10020 · 中英对照阅读
自我奖励语言模型
Self-Rewarding Language Models
中文速览
为了摆脱模型训练过度依赖人类偏好、奖励模型又一成不变的限制,研究者让语言模型既回答问题,也给自己的回答打分。具体做法是让模型生成多个候选答案,用“语言模型裁判”方式评估优劣,再把高分和低分答案组成偏好数据,通过直接偏好优化(DPO)反复训练模型。实验中,Llama 2 70B 经过三轮训练后,回答质量和自我评分能力都提高了,在 AlpacaEval 2.0 上超过了 Claude 2、Gemini Pro 和 GPT-4 0613 等系统。这项工作的重要之处在于,它展示了模型或许能一边提升做题能力、一边提升评判能力,为持续自我改进打开了可能性。
摘要
我们提出,要实现超人类智能体,未来的模型需要超人类反馈,以提供充分的训练信号。目前的方法通常基于人类偏好训练奖励模型,这可能会受到人类表现水平的限制;其次,这些彼此独立且冻结的奖励模型无法在大语言模型训练过程中继续学习和改进。在本研究中,我们探讨了自我奖励语言模型:通过 LLM-as-a-Judge(大语言模型评审)提示,直接使用语言模型本身在训练过程中为自身提供奖励。我们表明,在迭代式 DPO 训练过程中,指令遵循能力不仅有所提升,为自身提供高质量奖励的能力也有所增强。采用我们的方法进行三轮微调后,Llama 2 70B 在 AlpacaEval 2.0 排行榜上的表现超过了许多现有系统,包括 Claude 2、Gemini Pro 和 GPT-4 0613。尽管仍有许多方面有待探索,这项工作为模型在这两个维度上持续改进的可能性打开了大门。
We posit that to achieve superhuman agents, future models require superhuman feedback in order to provide an adequate training signal. Current approaches commonly train reward models from human preferences, which may then be bottlenecked by human performance level, and secondly these separate frozen reward models cannot then learn to improve during LLM training. In this work, we study Self-Rewarding Language Models, where the language model itself is used via LLM-as-a-Judge prompting to provide its own rewards during training. We show that during Iterative DPO training that not only does instruction following ability improve, but also the ability to provide high-quality rewards to itself. Fine-tuning Llama 2 70B on three iterations of our approach yields a model that outperforms many existing systems on the AlpacaEval 2.0 leaderboard, including Claude 2, Gemini Pro, and GPT-4 0613. While there is much left still to explore, this work opens the door to the possibility of models that can continually improve in both axes.
术语表
- superhuman agents
- 超人类智能体
- superhuman feedback
- 超人类反馈
- reward model
- 奖励模型
- Self-Rewarding Language Models
- 自我奖励语言模型
- LLM-as-a-Judge
- LLM-as-a-Judge(大语言模型评审)
- Iterative DPO
- 迭代式 DPO
- instruction following
- 指令遵循
- AlpacaEval 2.0
- AlpacaEval 2.0
- Large Language Models (LLMs)
- 大语言模型(LLM)
- human preference data
- 人类偏好数据
- Reinforcement Learning from Human Feedback (RLHF)
- 基于人类反馈的强化学习(RLHF)
- Proximal Policy Optimization (PPO)
- 近端策略优化(PPO)
- Direct Preference Optimization (DPO)
- 直接偏好优化(DPO)
- self-improving reward model
- 自我改进奖励模型
- task transfer
- 任务迁移
- Self-Instruction creation
- 自指令生成
- preference dataset
- 偏好数据集
- Llama 2 70B
- Llama 2 70B
- Open Assistant
- Open Assistant
- AI Feedback (AIF)
- AI 反馈(AIF)
- self-alignment
- 自对齐
- base pretrained language model
- 基础预训练语言模型
- human-annotated seed data
- 人工标注种子数据
- chain-of-thought reasoning
- 思维链推理
- Instruction Fine-Tuning (IFT)
- 指令微调(IFT)
- Evaluation Fine-Tuning (EFT)
- 评估微调(EFT)
- few-shot prompting
- 少样本提示
- AI Feedback Training (AIFT)
- AI 反馈训练(AIFT)