CoDPO:用数据集诊断指标修复 DPO 训练中的约束漂移
When Scores Conflict with Preferences: Pre-Alignment Diagnosis and Adaptive Correction of Constraint Drift in DPO
做偏好优化训练的可以看看:给 DPO 打了个闭式诊断指标,能提前判断冲突数据会不会让安全分、长度这些约束越训越差。
论文刻画了 DPO 训练中的一种系统性失败模式:当偏好标签与响应长度、正确性等逐点准则冲突时,冲突对会持续推高约束成本,即约束漂移(constraint drift)。作者推导出可从数据集统计量直接计算的闭式诊断指标 ρ*_eq,用于判断数据集是自我修复还是需要干预。基于该指标提出的 Conflict-aware DPO(CoDPO)按 ρ*_eq 自动设定冲突对的降权强度,并加入自适应 margin 偏移处理残余漂移。在 4 个域的对比实验中,CoDPO 均降低漂移且基本保留 vanilla DPO 的偏好学习能力,相比硬过滤和多目标基线取得更好的漂移-偏好权衡。
When Scores Conflict with Preferences: Pre-Alignment Diagnosis and Adaptive Correction of Constraint Drift in DPO
Direct Preference Optimization (DPO) is increasingly used in settings where pairwise preferences coexist with pointwise criteria such as response length, answer correctness, or safety scores. When the two disagree, standard DPO treats pairs whose preferred output scores worse on the pointwise criterion (conflict pairs) in the same way as the remaining (matching) pairs. We characterize a systematic failure mode, constraint drift: for sufficiently small updates, conflict pairs tend to increase constraint cost while matching pairs tend to repair it, and the net change depends on their balance. This balance yields a closed-form pre-alignment diagnostic, $ρ^{*}_{\mathrm{eq}}$, computable from dataset statistics, that indicates whether a dataset is self-correcting or requires intervention. Building on this diagnostic, we propose Conflict-aware DPO (CoDPO), which down-weights conflict pairs with a strength set from $ρ^{*}_{\mathrm{eq}}$ rather than tuned, and adds an adaptive margin shift that addresses residual drift during training. Empirically, drift grows monotonically with conflict exposure on the conflict-dominated domains, and the intervention decision given by $ρ^{*}_{\mathrm{eq}}$ matches the observed drift on every domain, including one that it identifies as self-correcting. On all four domains of the main comparison, CoDPO reduces drift while largely preserving the preference learning of vanilla DPO. Compared with hard filtering and recent constrained and multi-objective baselines, CoDPO also achieves a more favorable drift-preference trade-off.