[论文解读] HRLAIF: Improvements in Helpfulness and Harmlessness in Open-domain Reinforcement Learning From AI Feedback
该论文提出HRLAIF,一种混合强化学习框架,通过类别特定标注和AI驱动的红队测试,提升AI反馈的准确性,从而在大语言模型对齐中同时改善帮助性与无害性。其人类响应满意度提升2.08%,优于基础RLAIF的4.58%下降,同时保持较高的偏好胜率。
Reinforcement Learning from AI Feedback (RLAIF) has the advantages of shorter annotation cycles and lower costs over Reinforcement Learning from Human Feedback (RLHF), making it highly efficient during the rapid strategy iteration periods of large language model (LLM) training. Using ChatGPT as a labeler to provide feedback on open-domain prompts in RLAIF training, we observe an increase in human evaluators' preference win ratio for model responses, but a decrease in evaluators' satisfaction rate. Analysis suggests that the decrease in satisfaction rate is mainly due to some responses becoming less helpful, particularly in terms of correctness and truthfulness, highlighting practical limitations of basic RLAIF. In this paper, we propose Hybrid Reinforcement Learning from AI Feedback (HRLAIF). This method enhances the accuracy of AI annotations for responses, making the model's helpfulness more robust in training process. Additionally, it employs AI for Red Teaming, further improving the model's harmlessness. Human evaluation results show that HRLAIF inherits the ability of RLAIF to enhance human preference for outcomes at a low cost while also improving the satisfaction rate of responses. Compared to the policy model before Reinforcement Learning (RL), it achieves an increase of 2.08\% in satisfaction rate, effectively addressing the issue of a decrease of 4.58\% in satisfaction rate after basic RLAIF.
研究动机与目标
- 为解决基础RLAIF中响应帮助性与真实性下降的问题,尽管偏好胜率有所提升。
- 提升针对数学、多选题和安全任务等特定提示类别中AI生成反馈的可靠性。
- 通过使用有毒提示的AI驱动红队测试,提升模型的无害性。
- 在大语言模型对齐中实现成本效率与响应质量之间的平衡。
- 证明混合AI反馈可在保持RLAIF偏好收益的同时,维持或提升满意度。
提出的方法
- 引入分阶段、类别特定的AI偏好标注,以提升数学计算和多选题等任务的标注准确性。
- 利用AI助手为特定领域中的响应生成单元测试或正确性检查,实现更可靠的反馈。
- 使用精心筛选的有毒提示集合进行AI红队测试,以在强化学习微调过程中提升模型无害性。
- 采用近端策略优化(PPO)算法,结合基于混合AI反馈训练的奖励模型,微调策略模型。
- 结合SFT初始对齐与基于混合AI反馈的强化学习微调,以保持基础模型质量。
- 在12种提示类别上进行人类评估,以验证满意度和偏好胜率的提升。
实验结果
研究问题
- RQ1混合AI反馈能否通过提升特定提示类别的偏好标注准确性,从而增强模型帮助性?
- RQ2AI驱动的红队测试是否能在无需人工标注的情况下,有效提升RLAIF中模型的无害性?
- RQ3HRLAIF能否在逆转基础RLAIF中观察到的响应满意度下降的同时,维持较高的偏好胜率?
- RQ4HRLAIF框架在多样化提示类别上的泛化能力如何?
- RQ5AI反馈的质量在多大程度上影响模型在正确性、真实性与用户满意度方面的表现?
主要发现
- 与基线模型相比,HRLAIF将响应满意度提升2.08%,逆转了基础RLAIF中观察到的4.58%下降。
- 基础RLAIF在SFT模型基础上将偏好胜率提升58.13%,但因AI错误标注正确性而降低满意度。
- HRLAIF在SFT模型基础上实现56.87%的偏好胜率,表明其在提升满意度的同时具备强大的偏好对齐能力。
- 在安全子集上,HRLAIF满意度提升10%,优于基础RLAIF的5%,表明其在无害性方面取得更强增益。
- 该方法有效缓解了标准RLAIF中因低准确率AI反馈引入的模型幻觉与错误推理。
- HRLAIF在12种提示类别中均保持稳健性能,表明其泛化能力超越初始的数学与多选题任务范围。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。