WARP:论权重平均奖励策略的优势
WARP: On the Benefits of Weight Averaged Rewarded Policies
AI总结:
针对RLHF中KL正则化与奖励优化的权衡问题,提出三阶段权重空间策略融合的WARP对齐方法,迭代优化帕累托前沿,在GEMMA上实验验证其效果优于其他开源LLM。
摘要:
基于人类反馈的强化学习(RLHF)通过在人类偏好数据上训练的奖励模型,鼓励大语言模型(LLM)生成高奖励内容,从而实现模型对齐。为防止预训练知识遗忘,RLHF通常引入KL正则化;这一机制迫使策略保持在其监督微调初始化附近,但会阻碍奖励优化。为解决KL与奖励之间的权衡问题,本文提出一种名为Weight Averaged Rewarded Policies(WARP,权重平均奖励策略)的新型对齐策略。WARP在三个不同阶段于权重空间融合策略:第一,将策略的指数移动平均作为KL正则化中的动态锚点;第二,采用球面插值将独立微调的策略融合为新的增强策略;第三,在该融合模型与初始化模型之间进行线性插值,以恢复预训练中的特征。该过程随后迭代执行,每次迭代的最终模型作为下一次迭代的高级初始化,逐步优化KL-奖励帕累托前沿,在固定KL值下实现更优的奖励。基于GEMMA策略的实验验证表明,WARP提升了模型质量与对齐效果,性能优于其他开源大语言模型。
英文摘要:
Reinforcement learning from human feedback (RLHF) aligns large language models (LLMs) by encouraging their generations to have high rewards, using a reward model trained on human preferences. To prevent the forgetting of pre-trained knowledge, RLHF usually incorporates a KL regularization; this forces the policy to remain close to its supervised fine-tuned initialization, though it hinders the reward optimization. To tackle the trade-off between KL and reward, in this paper we introduce a novel alignment strategy named Weight Averaged Rewarded Policies (WARP). WARP merges policies in the weight space at three distinct stages. First, it uses the exponential moving average of the policy as a dynamic anchor in the KL regularization. Second, it applies spherical interpolation to merge independently fine-tuned policies into a new enhanced one. Third, it linearly interpolates between this merged model and the initialization, to recover features from pre-training. This procedure is then applied iteratively, with each iteration's final model used as an advanced initialization for the next, progressively refining the KL-reward Pareto front, achieving superior rewards at fixed KL. Experiments with GEMMA policies validate that WARP improves their quality and alignment, outperforming other open-source LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。