TL;DR
This paper introduces C2-DPO, a novel method for aligning AI models with human preferences. It addresses a counter-intuitive behavior in Direct Preference Optimization (DPO) where both preferred and rejected responses can decrease in probability, leading to "likelihood displacement." C2-DPO introduces constraints to control this phenomenon, improving alignment quality and offering a clearer theoretical interpretation.
What Problem Does This Paper Address?
The core problem this paper tackles is the "alignment problem" in AI, specifically how to ensure AI systems behave according to human preferences. Reinforcement Learning from Human Feedback (RLHF) is a common approach, but it's complex. Direct Preference Optimization (DPO) emerged as a simpler, single-stage alternative by directly optimizing a policy based on preference data, bypassing the need for an explicit reward model.
However, the authors identify a surprising and counter-intuitive behavior in DPO: during training, both the preferred and rejected responses tend to decrease in probability. This phenomenon, termed "likelihood displacement," can lead to suboptimal alignment. The paper aims to understand the theoretical underpinnings of this behavior and propose a method to mitigate it, thereby improving the robustness and interpretability of DPO-style alignment.
Methods
The paper's key contribution is the development of Constrained Controlled DPO (C2-DPO). The authors first analyze DPO's loss function and discover it can be derived from an optimization problem that only applies KL divergence constraints to in-sample responses, not the entire output distribution. This leads to the counter-intuitive observation that both preferred and rejected responses can decrease in probability.
To address this "likelihood displacement," C2-DPO introduces a set of constraints. These constraints are designed to limit how probability mass shifts between preferred and rejected responses in the target policy relative to the reference policy. The paper proposes two specific constraint functions: a logarithmic constraint and an identity constraint. These constraints are incorporated as regularizers into the DPO loss, creating the C2-DPO algorithm. This approach retains DPO's computational efficiency while providing a more meaningful RLHF interpretation and better control over the alignment process.
Datasets
The paper uses standard preference datasets for training and evaluation:
- UltraFeedback: A large-scale dataset for preference tuning.
- Reddit TL;DR: A dataset for summarization tasks, used to evaluate alignment on a specific application.
The authors also mention using the MT-Bench dataset for holistic evaluation of the final models.
Key Insights and Ideas
- DPO's KL Guardrail is In-Sample Only: The DPO loss can be derived from an optimization problem where the KL divergence penalty is applied only to the responses present in the training data, not the entire output distribution. This is a departure from traditional RLHF.
- Likelihood Displacement is Inherent to DPO: Under the optimal policy of this in-sample-constrained optimization, both preferred and rejected responses tend to decrease in probability. This is a surprising theoretical finding that explains the observed "likelihood displacement" in practice.
- DPO is Under-constrained: The paper shows that the standard DPO objective can have multiple optimal solutions where probabilities can move arbitrarily, even collapsing to zero, while still satisfying the objective. This highlights a potential instability or lack of fine-grained control.
- C2-DPO Offers Control: By introducing explicit constraints on probability mass redistribution, C2-DPO effectively controls likelihood displacement, leading to more stable and higher-quality alignment.
- Unified Framework for DPO Variants: The authors propose a classification framework that unifies various DPO-style algorithms, showing how they can be viewed as classification problems with different label types and loss functions.
Key Results
- Improved Alignment: C2-DPO consistently outperforms vanilla DPO across various experiments and datasets, demonstrating better alignment quality. For instance, in head-to-head win-rate comparisons, C2-DPO variants showed improvements over DPO.
- Scaling: The paper shows that C2-DPO's improvements can scale to larger models, as demonstrated with the Olmo-13B-SFT model.
- Holistic Evaluation: On the MT-Bench benchmark, C2-DPO emerged as a competitive algorithm among those designed to address probability collapse issues in DPO.
- Theoretical Explanation: The paper provides a theoretical explanation for the likelihood displacement phenomenon observed in DPO, offering a deeper understanding of its behavior.
Limitations and Future Work
- Local Optima: The authors acknowledge that their theoretical analysis focuses on optimal solutions, whereas practical gradient descent optimizers find locally-optimal solutions. This is a simplification.
- Experimental Scope: The experiments were conducted on models up to 13B parameters and two datasets. While promising, a broader range of models and datasets could further validate the findings.
- Unseen Response Behavior: While C2-DPO controls the displacement of probability mass between preferred and rejected responses, the paper notes that the behavior of probabilities for unseen responses is not fully understood. Future work could systematically study which unseen responses see increased probability.
- Code Release: The authors state they are unable to release code due to institutional IP constraints, which limits direct reproducibility.
Summary updated