Introduction Existing preference optimization methods, such as Direct Preference Optimization (DPO), have become standard for aligning Large Language Models (LLMs) and training complex policies. However, these methods typically assume the availability of paired preference feedback—specifically, a preferred (positive) and a dis-preferred (negative) example for the same prompt or state. This requirement severely limits their applicability in real-world scenarios where only unpaired feedback is available, such as a dataset of "gold standard" successes or a mountain of isolated failures (e.g., code that doesn't compile or safety violations).
Researchers at Google DeepMind have introduced a novel approach to address this limitation: PMPO (Preference-based Maximum a Posteriori Policy Optimization). PMPO decouples learning from positive and negative feedback, enabling models to learn effectively from just positive examples, just negative examples, or any unbalanced mix of both.
PMPO: Decoupling Positive and Negative Feedback Building upon the "RL as Inference" framework, which treats reinforcement learning as a probabilistic inference problem, PMPO introduces a new objective function that separates the influence of accepted and rejected data.
The PMPO objective operates through three key mechanisms:
- Positive Feedback: The model performs a weighted maximum likelihood update to increase the probability of "accepted" samples.
- Negative Feedback: The model minimizes the likelihood of "rejected" samples.
- KL Regularization: A critical mathematical insight from the paper is that learning from negative feedback requires a Kullback–Leibler (KL) divergence penalty to keep the model close to a reference policy. Without this anchor, attempting to avoid a "bad" action can push the policy into unknown, potentially worse territory, leading to mathematical collapse.
By adjusting a trade-off parameter ($\alpha$), PMPO can seamlessly transition between a "success-only" learner, a "failure-only" learner, or a balanced hybrid.
Empirical Results and Key Insights The authors evaluated PMPO across diverse domains, including synthetic bandits, continuous control (DeepMind Control Suite), robotics (RGB Stacking), and language modeling (fine-tuning Gemma 2B).
A striking finding is the ability to achieve stable learning from "no." PMPO demonstrated that a model can solve complex, high-dimensional tasks using only negative feedback. By penalizing incorrect actions while anchoring to a reference policy, the model successfully navigates toward the correct behavior through elimination.
In continuous control tasks like Humanoid locomotion, PMPO matched or outperformed baselines like MPO and DPO. In the RGB Stacking robotics task, incorporating unpaired negative feedback to mask bad data boosted the reward from 27 (using only positive data) to 93. Furthermore, in LLM alignment, PMPO proved highly competitive with DPO, showing strong optimization pressure and significantly outperforming the base model when evaluated by GPT-4.
Limitations and Future Work While highly versatile, PMPO presents a few challenges for future research:
- KL Estimation: Effective learning from negative feedback requires accurate estimation of the KL divergence. While closed-form solutions work for categorical and Gaussian distributions, more complex distributions may require advanced estimators.
- Reference Policy Quality: The method relies on a reference policy broad enough to cover the state-action space. A narrow reference policy restricts the model's ability to move away from negative examples.
- Hyperparameter Sensitivity: While the $\alpha$ parameter is intuitive, the KL weight ($\beta$) requires careful tuning, especially when learning exclusively from negative data, to prevent policy collapse.
Ultimately, PMPO provides a theoretically grounded and highly flexible framework for preference optimization, freeing researchers from the strict requirements of paired datasets.
Summary updated