When Scores Conflict with Preferences: Pre-Alignment Diagnosis and Adaptive Correction of Constraint Drift in DPO

Ping Liu, Yan Yan

TL;DR

Standard Direct Preference Optimization (DPO) often causes "constraint drift," where a model improves at following human preferences but degrades on specific criteria like accuracy, safety, or brevity. This paper introduces a closed-form diagnostic, $\rho^*_{\mathrm{eq}}$, to predict this drift before training begins and proposes Conflict-aware DPO (CoDPO), a two-level method that adaptively weights training pairs and shifts margins to preserve preference learning while keeping constraints in check.

What Problem Does This Paper Address?

Aligning Large Language Models (LLMs) typically involves preference optimization (like DPO), where the model learns from pairs of responses (e.g., "Response A is better than Response B"). However, we often have heterogeneous supervision: pairwise preferences alongside pointwise scores (like a safety score or a correctness label).

A conflict arises when the "preferred" response actually performs worse on the pointwise criterion—for example, a user might prefer a longer, more conversational answer that is factually incorrect. Standard DPO treats these "conflict pairs" the same as "matching pairs," leading to constraint drift. The model gets better at being "preferred" but starts failing on the underlying constraints (becoming less safe, less accurate, or excessively wordy).

The challenge is twofold:

  1. How do we know if a dataset will cause drift before we waste compute on training?
  2. How do we intervene to stop drift without destroying the model's ability to learn preferences?

Methods

The authors characterize DPO training as a balance between pressure (conflict pairs pushing constraint costs up) and repair (matching pairs pulling costs down).

1. Pre-Alignment Diagnosis ($\rho^*_{\mathrm{eq}}$)

They derive a closed-form diagnostic, $\rho^*_{\mathrm{eq}}$, computable from simple dataset statistics (conflict rates and average cost differences).

  • If $\rho^*_{\mathrm{eq}} \geq 1$, the dataset is "self-correcting," and plain DPO is fine.
  • If $\rho^*_{\mathrm{eq}} < 1$, the dataset requires intervention to prevent drift.

2. Conflict-aware DPO (CoDPO)

When intervention is needed, CoDPO applies two levels of control:

  • Coarse Level (Weighting): It down-weights conflict pairs based on their severity. Unlike previous methods that require manual tuning, CoDPO automatically sets the weighting strength using the $\rho^*_{\mathrm{eq}}$ diagnostic.
  • Fine Level (Adaptive Margin): Because the balance between pressure and repair shifts as the model learns, CoDPO introduces an adaptive margin shift ($\hat{r} \to \hat{r} + \lambda \Delta c$). If the estimated constraint cost rises during training, the system increases $\lambda$, pushing the model harder to satisfy constraints on matching pairs and easing off on conflict pairs.
Overview of CoDPO: (a) The balance of pressure vs repair, (b) Coarse weighting by severity, and (c) Fine-grained adaptive margin shifting.

Datasets

The authors evaluated their method across six domains representing different types of constraints:

  • HelpSteer2 & TL;DR: Preference vs. Response Length (preventing verbosity).
  • GSM8K, ARC, & Math-Calc: Preference vs. Answer Correctness.
  • PKU-SafeRLHF: Helpfulness vs. Safety (used as a "self-correcting" control).

Key Insights and Ideas

  • The Tug-of-War: The most critical insight is that drift isn't just about how many conflicts exist, but the balance of signal between pairs that help the constraint and pairs that hurt it.
  • Zero-Crossing Point: There is a specific average conflict weight where drift flips from negative to positive. The $\rho^*_{\mathrm{eq}}$ diagnostic is remarkably accurate at predicting this "zero-crossing" point before a single gradient step is taken.
  • Self-Correction is Real: Some datasets, like safety-aligned ones, naturally pull the model toward better constraint satisfaction. The diagnostic correctly identifies these, preventing unnecessary intervention that could hamper learning.
  • Beyond Hard Filtering: Simply removing all conflict pairs (hard filtering) is a common baseline, but the authors show this "throws the baby out with the bathwater," significantly weakening the model's ability to learn preferences. CoDPO finds a much better Pareto frontier.

Key Results

  • Diagnostic Accuracy: The diagnostic $\rho^*_{\mathrm{eq}}$ correctly identified the intervention regime for all six domains. In conflict-dominated domains like GSM8K, it was within 0.05 to 0.30 of the actual observed "zero-crossing" weight.
  • Drift Reduction: On GSM8K, vanilla DPO caused a drift of +0.129 (increase in incorrectness). CoDPO reduced this to +0.082 while actually improving preference learning ($P(chosen)$ rose from 0.453 to 0.551).
  • Superior Trade-offs: Compared to Lagrangian methods (like SafeDPO) which often collapse preference learning to satisfy constraints, CoDPO maintained high win rates. In LLM-as-judge evaluations, CoDPO won or tied against vanilla DPO while significantly outperforming other constrained baselines.
Table 1: Experimental domains showing conflict rates ($p_c$) and the diagnostic ($\rho^*_{\mathrm{eq}}$). Note how $\rho^*_{\mathrm{eq}}$ is low for conflict-heavy tasks but 1.0 for the self-correcting safety task.

Limitations and Future Work

  • First-Order Approximation: The diagnostic is based on a first-order analysis at initialization. While the "fine" adaptive level helps, the initial estimate might become less accurate as the policy moves far from the reference model.
  • Pointwise Scorer Dependency: The method relies on having a reliable pointwise scorer (e.g., a reward model or correctness checker). If the scorer is biased or noisy, the intervention will be too.
  • Future Directions: The authors suggest extending this analysis to "online" settings where preference pairs are generated by the model itself during training, rather than using a fixed offline dataset.

Summary updated

Abstract

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.
BibTeX
@inproceedings{liu2026when,
  author = {Ping Liu and Yan Yan},
  title = {{When Scores Conflict with Preferences: Pre-Alignment Diagnosis and Adaptive Correction of Constraint Drift in DPO}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bFc8A2Irjf},
}
Figure