Ultra-DPO:将大语言模型对齐重新构想为半监督任务
Ultra-DPO: Reimagining LLM Alignment as a Semi-Supervised Task
AI总结:
该研究针对DPO和RLHF的结构缺陷,提出半监督对齐目标,结合DPO的奖励重参数化得到Ultra-DPO,其在多基准测试中性能优于DPO、RLHF等方法。
摘要:
直接偏好优化(DPO)为人类反馈强化学习(RLHF)提供了简化的单阶段替代方案。然而,我们的理论分析揭示了两者的结构差异:DPO和RLHF在不同数据分布上优化对齐,且采用不同的监督源。具体而言,DPO从真实人类偏好中学习,但局限于离线数据集的离策略支持范围内;而RLHF在在线策略 rollout(策略生成序列)上优化,但从奖励代理生成的伪标签中学习。这种差异解释了两种方法的失效原因:当策略偏离离线数据集支持范围时,DPO的对齐会崩溃;而由于奖励代理对分布外 rollout 的外推误差,RLHF的对齐存在偏差。为缓解这两种失效模式,我们提出半监督对齐目标:真实偏好将对齐锚定在数据集支持范围内,在线 rollout 的伪标签则将其扩展到范围之外。将DPO的奖励重参数化应用于该目标,得到Ultra-DPO,这是一种单阶段算法,它将直接人类对齐与在线自对齐机制相结合。在多个基准测试中,Ultra-DPO的性能始终优于DPO、RLHF及在线偏好学习方法。我们的实现可在该https URL获取。
英文摘要:
Direct Preference Optimization (DPO) offers a streamlined one-stage alternative to Reinforcement Learning from Human Feedback (RLHF). However, our theoretical analysis reveals a structural distinction between the two: DPO and RLHF optimize alignment on different data distributions with different supervision sources. Specifically, DPO learns from ground-truth human preferences but within the off-policy support of an offline dataset, while RLHF optimizes on the on-policy rollouts but learns from pseudo-labels produced by a reward proxy. This distinction explains how each method may fail: DPO alignment collapses when the policy drifts away from the offline dataset support, and RLHF alignment is biased due to the extrapolation error of the reward proxy on out-of-distribution rollouts. To mitigate both failure modes, we propose a semi-supervised alignment objective: ground-truth preferences anchor alignment within the dataset support, and pseudo-labels on online rollouts extend it beyond. Applying DPO's reward reparameterization to this objective yields Ultra-DPO, a one-stage algorithm that augments direct human alignment with an online self-alignment mechanism. Across multiple benchmarks, Ultra-DPO consistently outperforms DPO, RLHF, and online preference learning methods. Our implementation is available at https://github.com/heli-stand/Ultra-DPO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。