arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.11978cs.LGcs.AI
收藏

VLM微调的学习动力学

Learning Dynamics of VLM Finetuning

Sun Yat-sen University(中山大学);X-Era AI Lab(X-Era人工智能实验室)

Jusheng Zhang, Kaitong Cai, Jing Yang, Keze Wang

AI总结:

针对VLM偏好微调的不稳定性,提出冷却加权DPO两阶段方法,通过平滑学习动力学并冷却负样本梯度,实现更稳定优化、更好校准和更高胜率。

摘要:

基于偏好的视觉-语言模型(VLM)微调是脆弱的:简单错误的负样本会注入无信息的梯度,从而破坏训练的稳定性。我们将对齐重新定义为“学习动力学感知的优化”,并引入“冷却加权DPO(CW-DPO)”,这是一种两阶段的方法,显式地建模并利用训练轨迹。第一阶段使用“温和负样本”进行监督微调:低权重的平滑监督,正则化基础策略并抑制过度自信,而无需显式惩罚。第二阶段应用DPO目标,其中负样本项通过基于模型在每个负样本上的平均token对数概率计算的冷却权重进行缩放,抑制来自简单或分布外样本的无信息梯度,同时保留来自困难负样本的信号。在实践中,我们强调“策略内负样本”,并允许通过混合可控比例的数据集负样本实现“混合负样本”,以保持对比的新鲜度。在整个过程中,我们使用正负样本上的$\Delta\\!\log p$探针作为早停、课程设计和失败诊断的一等信号。在多种VLM任务中,CW-DPO相比仅SFT和普通DPO,实现了更稳定的优化、更好的校准和更高的成对胜率,同时以更少的步骤收敛。消融实验将冷却权重机制隔离为主要驱动因素,并显示混合策略内和数据集负样本的互补益处。综合来看,我们的结果表明,在冷却偏好之前平滑学习动力学是稳健VLM对齐的一个简单、通用的原则。

英文摘要:

Preference-based finetuning of vision--language models (VLMs) is brittle: trivially wrong negatives inject uninformative gradients that destabilize training. We recast alignment as \textbf{learning-dynamics--aware optimization} and introduce \textbf{Cooling-Weighted DPO (CW-DPO)}, a two-stage recipe that explicitly models and exploits the training trajectory. \textbf{Stage 1} performs supervised finetuning with \textbf{gentle negatives}: \textbf{low-weight smoothed supervision} that regularizes the base policy and curbs overconfidence without explicit penalties. \textbf{Stage 2} applies a DPO objective in which the \textbf{negative term is scaled by a cooling weight} computed from the model's \textbf{average token log-probability} on each negative, suppressing uninformative gradients from easy or off-distribution samples while preserving signal from hard negatives. In practice, we emphasize \textbf{on-policy negatives} and allow \textbf{mixed negatives} by blending a controllable fraction of dataset negatives to maintain contrast freshness. Throughout, we instrument training with $Δ\!\log p$ probes on positives and negatives as first-class signals for early stopping, curriculum design, and failure diagnosis. Across diverse VLM tasks, CW-DPO yields \textbf{more stable optimization}, \textbf{better calibration}, and \textbf{higher pairwise win-rates} than SFT-only and vanilla DPO, while \textbf{converging in fewer steps}. Ablations isolate the \textbf{cooling-weight mechanism} as the primary driver of these gains and show complementary benefits from mixing on-policy and dataset negatives. Taken together, our results show that \textbf{smoothing learning dynamics before cooling preferences} is a simple, general principle for robust VLM alignment.

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

↑