Improving Safety Alignment via Balanced Direct Preference Optimization

arXiv cs.AI / 3/25/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper examines why Direct Preference Optimization (DPO), a popular alternative to RLHF for safety alignment, can still suffer from severe overfitting that harms real-world safety performance.
  • It identifies an “Imbalanced Preference Comprehension” issue in preference pairs, where the model’s understanding of preferred vs. dispreferred responses becomes uneven and degrades safety.
  • To mitigate this, the authors propose Balanced Direct Preference Optimization (B-DPO), which adaptively adjusts optimization strength between preferred and dispreferred responses using mutual information.
  • Experiments report improved safety capability from B-DPO while preserving competitive general language abilities on mainstream benchmarks relative to state-of-the-art approaches.
  • The work includes harmful-text examples, underscoring the safety-focused nature of the analysis and results.

Abstract

With the rapid development and widespread application of Large Language Models (LLMs), their potential safety risks have attracted widespread attention. Reinforcement Learning from Human Feedback (RLHF) has been adopted to enhance the safety performance of LLMs. As a simple and effective alternative to RLHF, Direct Preference Optimization (DPO) is widely used for safety alignment. However, safety alignment still suffers from severe overfitting, which limits its actual performance. This paper revisits the overfitting phenomenon from the perspective of the model's comprehension of the training data. We find that the Imbalanced Preference Comprehension phenomenon exists between responses in preference pairs, which compromises the model's safety performance. To address this, we propose Balanced Direct Preference Optimization (B-DPO), which adaptively modulates optimization strength between preferred and dispreferred responses based on mutual information. A series of experimental results show that B-DPO can enhance the safety capability while maintaining the competitive general capabilities of LLMs on various mainstream benchmarks compared to state-of-the-art methods. \color{red}{Warning: This paper contains examples of harmful texts, and reader discretion is recommended.