arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00778cs.LG
收藏

偏好优化在做什么,为什么这样做?

Understanding Negative Learning in Large Language Model Fine-tuning

TMLR Group, Department of Computer Science, Hong Kong Baptist University(香港 Baptist 大学计算机科学系 TMLR 组);RIKEN AIP(理化学研究所 AIP 分室);The University of Tokyo(东京大学)

Yue Wang, Qizhou Wang, Zizhuo Zhang, Gang Niu, Bo Han, Masashi Sugiyama

AI总结:

本文分析了偏好优化中DPO和PPO的优化动态,揭示了其算法行为差异及根本原因,探讨了正学习、负学习和损失再加权的作用,并通过消融研究验证了这些动态对优化效率和性能的影响。

摘要:

偏好优化(PO)是大语言模型(LLMs)不可或缺的组成部分,直接偏好优化(DPO)和近端策略优化(PPO)等方法取得了巨大成功。一种普遍的观点是DPO是监督学习而PPO是强化学习,但对这些差异背后原因的深入分析仍然缺乏。为填补这一空白,我们分析了它们的优化动态,揭示了不同的算法行为并理解了其根本原因。首先,我们检查了梯度更新的目标方向,发现DPO遵循稳定的靶向,而PPO平衡探索与利用,验证了普遍观点但从这一新视角。其次,我们检查了正学习、负学习和损失再加权的作用,这三种关键但很少讨论的组件在PO方法中。我们的分析揭示了这些组件扮演着相对不同的角色。在DPO中,正学习和负学习共同塑造了目标。然而,DPO中的损失再加权在较少作为奖励信号,而是作为正则化器以减轻过拟合。在PPO中,负学习主要支持探索而不是确定目标。同时,损失再加权,与绝对优势相关,表明了token组在更新目标中的不同作用。鉴于这些发现,我们进行了精心设计的消融研究,进一步检验了控制这些动态如何影响优化效率和实际性能。从我们的分析中获得的见解不仅加深了对PO方法的理解,还启发了开发更符合偏好的LLMs。

英文摘要:

Negative learning has never been more important than it is today, particularly in large language model (LLM) fine-tuning, where it underpins machine unlearning, preference- and reward-based optimization, and exploratory data generation. Yet its functional role remains a subject of ongoing debate, with existing work variously characterizing it as forgetting, regularization, or target shaping. However, analytical support focuses primarily on the single-update scale, while empirical results at the trajectory scale are typically obtained under negative-only training and may not extend to composite objectives in which it interacts with other components. To develop a deeper understanding, we introduce a gradient-based endpoint probing framework that can examine negative updates separately throughout training. Our analysis reveals that negative learning plays different roles across algorithms and training phases. For example, in off-policy DPO, it acts more like a regularizer early in training and shows evidence of target shaping only toward out-of-distribution endpoints and only in later phases. In on-policy PPO and GRPO, by contrast, negative updates offset endpoint-aligned positive learning without stable target shaping, consistent with a role in sustaining exploration. Guided by these findings, we develop a family of stage-aware methods that modulate the strength of negative updates throughout training, improving fine-tuning performance across tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑