Offline Preference Optimization via Maximum Marginal Likelihood Estimation
Saeed Najafi, Alona Fyshe
TL;DR
The paper addresses instability in RLHF-based alignment by introducing MMPO, an offline preference optimization method grounded in Maximum Marginal Likelihood. MMPO recasts alignment as maximizing the marginal likelihood of a preferred output using two-sample scores and a numerically stable log-sum-exp gradient, thereby achieving implicit preference optimization without an explicit reward function or entropy term. Theoretical analysis connects MMPO's gradient to preference amplification via a sigmoid of the score difference, and extensive experiments across 135M–8B parameter models show MMPO is stable to the hyperparameter $β$ and better preserves general language capabilities while delivering competitive AlpacaEval-2 win-rates. Ablation studies confirm the core mechanism, and the results suggest MMPO as a simpler, robust alternative for offline preference alignment with potential for online extension and broader applicability.
Abstract
Aligning Large Language Models (LLMs) with human preferences is crucial, but standard methods like Reinforcement Learning from Human Feedback (RLHF) are often complex and unstable. In this work, we propose a new, simpler approach that recasts alignment through the lens of Maximum Marginal Likelihood (MML) estimation. Our new MML based Preference Optimization (MMPO) maximizes the marginal log-likelihood of a preferred text output, using the preference pair as samples for approximation, and forgoes the need for both an explicit reward model and entropy maximization. We theoretically demonstrate that MMPO implicitly performs preference optimization, producing a weighted gradient that naturally up-weights chosen responses over rejected ones. Across models ranging from 135M to 8B parameters, we empirically show that MMPO: 1) is more stable with respect to the hyperparameter $β$ compared to alternative baselines, and 2) achieves competitive or superior preference alignment while better preserving the base model's general language capabilities. Through a series of ablation experiments, we show that this improved performance is indeed attributable to MMPO's implicit preference optimization within the gradient updates.
