arXiv:2510.11978cs.LGcs.AI2025-10被引 16

通过动态感知优化提升视觉语言模型对齐稳定性

Learning Dynamics of VLM Finetuning

  • 分两阶段训练:先用温和负样本正则化模型,再用冷却加权DPO抑制无效梯度
  • 相比基线方法,收敛更快、校准更好,配对胜率提升显著
  • 适合追求稳定训练和高鲁棒性对齐的视觉语言模型研究者

基于偏好的视觉-语言模型(VLM)微调存在脆弱性:无关紧要的负样本会引入无信息梯度,导致训练不稳定。本文将对齐重新定义为学习动态感知的优化,提出冷却加权DPO(CW-DPO),一种两阶段方案,显式建模并利用训练轨迹。第一阶段采用温和负样本进行监督微调,通过低权重平滑监督来正则化基础策略,抑制过自信但无需显式惩罚。第二阶段应用DPO目标,其中负项按每个负样本的平均标记对数概率计算的冷却权重进行缩放,抑制来自简单或分布外样本的无效梯度,同时保留硬负样本信号。实践中强调使用在线负样本,并通过可控比例混合数据集负样本来保持对比新鲜度。全程以Δlog p探针监控正负样本,作为早期停止、课程设计与故障诊断的首要信号。在多种VLM任务中,CW-DPO展现出更稳定的优化、更好的校准性和更高的配对胜率,且收敛步数更少。消融实验表明,冷却权重机制是主要贡献因素,混合在线与数据集负样本亦具互补优势。结果表明,在冷却偏好前平滑学习动态是一种简单而通用的鲁棒VLM对齐原则。

原文摘要 · Abstract (English)

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.

视觉语言模型微调优化对齐训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。