Introduction
Aligning Large Language Models (LLMs) with human preferences is a critical step in making them useful and safe. While Reinforcement Learning from Human Feedback (RLHF) has been the standard, Direct Preference Optimization (DPO) simplified the process by reframing alignment as a binary classification task using Maximum Likelihood Estimation (MLE). However, DPO introduces a subtle flaw known as the "squeezing effect," where the model loses confidence in high-quality responses to widen the relative gap between winning and losing pairs.
This paper introduces MaPPO (Maximum a Posteriori Preference Optimization), which treats preference learning as a Bayesian inference problem. By incorporating prior reward knowledge, MaPPO prevents the squeezing effect, resulting in better-calibrated and higher-performing models.
The "Squeezing Effect" in DPO
DPO focuses purely on the relative log-probability gap between a "winning" ($y_w$) and "losing" ($y_l$) response. Because it lacks a global anchor for absolute quality, the training objective often forces the model to decrease the probability of both responses just to maximize the difference between them. This is particularly damaging in "near-tie" cases where both responses are excellent; the model ends up "squeezing" probability mass out of high-quality regions, leading to unstable generation.
MaPPO: A Bayesian Approach
MaPPO shifts the paradigm from MLE to Maximum a Posteriori (MaP) estimation. It utilizes a pre-trained reward model to estimate a "reward gap" ($\Delta_r$) between responses, which is then integrated into the objective function as a log-prior term.
Key features of MaPPO include:
- Dynamic Weighting: The log-prior acts as a dynamic weight. If the reward model is confident in a large gap, the update is stronger; for near-ties, the update is gentler, preserving the model's existing knowledge.
- Universal Plugin: MaPPO is a drop-in regularization module that can be integrated into other DPO variants like SimPO, IPO, and CPO without adding new hyperparameters.
- Theoretical Stability: The authors demonstrate that MaPPO has a smaller Lipschitz constant than DPO, leading to more stable gradients and less risk of over-optimization.
Empirical Evidence of Calibration
Empirical results confirm that MaPPO successfully anchors the model to high-quality outputs. While DPO causes the log-probability of winning responses to plummet, MaPPO maintains or even improves them relative to the initial instruction-tuned (IT) model.
Key Results
MaPPO was evaluated across models like Qwen2.5, Mistral, and Llama-3 (1.5B to 8B parameters) on benchmarks including AlpacaEval 2.0, Arena-Hard, and MT-Bench.
- Performance Gains: Mistral-7B-Instruct saw absolute win-rate gains of 94.3% on AlpacaEval 2.0 and 37.1% on Arena-Hard compared to standard DPO.
- Synergy with Variants: When added to SimPO, MaPPO increased the Arena-Hard score by 5.3 points.
- No "Alignment Tax": Unlike many methods that degrade reasoning capabilities during alignment, MaPPO maintained or improved scores on academic benchmarks like MMLU and GSM8K.
Conclusion and Future Work
MaPPO offers a robust solution to the calibration issues inherent in DPO by leveraging Bayesian priors. While highly effective on models up to 8B parameters, future research is needed to explore its behavior on frontier models (70B+) and the impact of potentially biased reward models. The authors also suggest that domain-specific priors (e.g., for coding or math) could further refine performance in specialized tasks.
Summary updated