SALSA:基于汤的对齐学习在RLHF中实现更强适应
SALSA: Soup-based Alignment Learning for Stronger Adaptation in RLHF
AI总结:
SALSA通过平均两个SFT模型权重构建灵活参考模型,允许更大KL偏差,促进RLHF中更深探索,在多个基准上超越PPO,提升对齐与性能。
摘要:
在大语言模型(LLM)开发中,基于人类反馈的强化学习(RLHF)对于使模型与人类价值观和偏好对齐至关重要。传统上,RLHF依赖于当前策略与冻结的初始策略之间的Kullback-Leibler(KL)散度作为参考,该散度作为惩罚项添加到诸如近端策略优化(PPO)之类的策略优化算法中。虽然这种约束防止模型偏离初始检查点过远,但它限制了对奖励景观的探索,降低了模型发现更高质量解决方案的能力。因此,策略优化常常被困在参数空间的狭窄区域,导致次优的对齐和性能。本文提出了SALSA(基于汤的对齐学习以实现更强适应),一种新颖的方法,通过将两个独立的监督微调(SFT)模型的权重空间平均来创建更灵活且定位更好的参考模型,从而克服这些限制。这种模型汤允许更大的KL散度偏差,并在不牺牲稳定性的情况下探索解空间中有前景的区域。通过利用这一更稳健的参考模型,SALSA促进了更好的探索,实现了更高的奖励,并提高了模型的鲁棒性、分布外泛化能力和性能。我们通过在流行的开源模型(Llama2-7B、Mistral-7B和Gemma-2B)上,跨多个基准(MT-Bench、Arena-Hard、UltraFeedback)进行广泛实验验证了SALSA的有效性,结果表明它通过促进更深层次的探索并实现LLM中更优的对齐,始终优于PPO。
英文摘要:
In Large Language Model (LLM) development, Reinforcement Learning from Human Feedback (RLHF) is crucial for aligning models with human values and preferences. RLHF traditionally relies on the Kullback-Leibler (KL) divergence between the current policy and a frozen initial policy as a reference, which is added as a penalty in policy optimization algorithms like Proximal Policy Optimization (PPO). While this constraint prevents models from deviating too far from the initial checkpoint, it limits exploration of the reward landscape, reducing the model's ability to discover higher-quality solutions. As a result, policy optimization is often trapped in a narrow region of the parameter space, leading to suboptimal alignment and performance. This paper presents SALSA (Soup-based Alignment Learning for Stronger Adaptation), a novel approach designed to overcome these limitations by creating a more flexible and better located reference model through weight-space averaging of two independent supervised fine-tuned (SFT) models. This model soup allows for larger deviation in KL divergence and exploring a promising region of the solution space without sacrificing stability. By leveraging this more robust reference model, SALSA fosters better exploration, achieving higher rewards and improving model robustness, out-of-distribution generalization, and performance. We validate the effectiveness of SALSA through extensive experiments on popular open models (Llama2-7B, Mistral-7B, and Gemma-2B) across various benchmarks (MT-Bench, Arena-Hard, UltraFeedback), where it consistently surpasses PPO by fostering deeper exploration and achieving superior alignment in LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。