Robust Preference Optimization via Dynamic Target Margins

Jie Sun, Junkang Wu, Jiancan Wu, Zhibo Zhu, Xingyu Lu, Jun Zhou, Lintao Ma, Xiang Wang

Introduction: The Challenge of Noisy Preference Data

Aligning Large Language Models (LLMs) with human values typically involves Direct Preference Optimization (DPO), which trains models to distinguish between preferred and non-preferred responses. However, real-world preference datasets are inherently noisy. Often, the quality difference between two responses is negligible, or labels are inconsistent. Standard DPO treats all pairs with equal weight, forcing a hard preference even for "ambiguous pairs" where the difference in quality is tiny. This leads to overfitting on noise rather than learning robust human values.

Empirical analysis of common preference datasets reveals that a vast majority of training pairs fall into this ambiguous zone, with reward margins concentrated heavily around zero. Treating these as "hard" preferences is a primary source of model instability.

Reward margin distribution showing the prevalence of ambiguous pairs near zero.

Methodology: Dynamic Target Margins ($\gamma$-PO)

To address the limitations of fixed margins, the authors propose $\gamma$-PO, a "plug-and-play" enhancement that introduces Dynamic Target Margins. Instead of a uniform margin, $\gamma$-PO calculates an instance-specific margin ($\gamma_i$) that adapts to the confidence of the reward signal.

Key Components

  • Adaptive Margin Scaling: The algorithm identifies unambiguous pairs with high reward gaps and increases their margin to strengthen the learning signal. Conversely, for ambiguous pairs with low confidence, the margin is reduced to mitigate the influence of uncertain labels.
  • Dual-Objective Optimization: The margin is guided by two principles: prioritizing high-reward-gap pairs and utilizing a KL-divergence regularization term to ensure the distribution of these dynamic margins remains stable and does not collapse.
  • Compatibility: $\gamma$-PO is designed as a module that can be integrated into existing objectives, resulting in variants like $\gamma$-DPO and $\gamma$-SimPO. Mathematically, this approach functions as a form of dynamic label smoothing, where the "softness" of the target label adapts based on the confidence of the reward signal.

Experimental Setup

The models were trained on the Ultrafeedback Binarized dataset, which the authors re-annotated using a state-of-the-art reward model (ArmoRM-Llama3-8B-v0.1) to ensure high-quality signals. Evaluation was conducted across three major LLM benchmarks: AlpacaEval 2 (measuring win rate against GPT-4 Turbo), Arena-Hard (real-world chatbot interactions), and MT-Bench (multi-turn conversation capabilities). The approach was tested on four base models: LLaMA-3-8B, Mistral-7B, Gemma-2-9B, and Qwen-2.5-7B.

Key Results and Discussion

$\gamma$-PO demonstrated consistent performance gains across all tested models and benchmarks, achieving an average improvement of 4.4% over standard baselines.

Performance comparison of $\gamma$-SimPO against various preference optimization baselines on Gemma2 and Qwen2.5 models.

On AlpacaEval 2, $\gamma$-SimPO significantly boosted the length-controlled win rate for Qwen-2.5-7B from 34.1% to 39.0%. The method also showed remarkable resilience to intentional label noise; in experiments where 10-20% of preferences were flipped, $\gamma$-PO significantly outperformed standard SimPO and other robust variants like rDPO. On MT-Bench, $\gamma$-SimPO achieved the highest average rank among all tested methods, indicating superior performance in complex, multi-turn dialogues.

Conclusion and Future Work

$\gamma$-PO offers a computationally efficient solution for robust LLM alignment, adding less than 1% to training time while requiring only minimal code changes. By acknowledging the uncertainty in preference data through dynamic margins, it prevents overfitting and improves generalizability. Future research will focus on the automatic computation of the regularization hyperparameter $\tau$ and extending dynamic margins to multimodal preference learning environments.

Summary updated

BibTeX
@inproceedings{sun2025robust,
  author = {Jie Sun and Junkang Wu and Jiancan Wu and Zhibo Zhu and Xingyu Lu and Jun Zhou and Lintao Ma and Xiang Wang},
  title = {{Robust Preference Optimization via Dynamic Target Margins}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure