VPO: Leveraging the Number of Votes in Preference Optimization

Jae Hyeon Cho, Minkyung Park, Byung-Jun LeearXiv 2024

Abstract

Direct Preference Optimization (DPO) trains a language model using human preference data, bypassing the explicit reward modeling phase of Reinforcement Learning from Human Feedback (RLHF). By iterating over sentence pairs in a preference dataset, DPO enhances generation quality by increasing the likelihood of producing preferred sentences over less favored ones. Preference datasets are typically created by selecting preferred sentences through a voting process involving multiple individuals, as opinions can vary due to the subjective nature of human preferences. While the number of votes offers insight into whether a sentence pair is clearly preferable or controversial, current methods do not fully leverage this information. In this paper, we introduce a technique that leverages user voting data to better align with diverse subjective preferences. We employ the Bayesian Minimum Mean Square Error (Bayesian MMSE) estimator to model the probability that one generation is preferable to another. Using this estimated probability as a target, we develop the Vote-based Preference Optimization (VPO) framework, which incorporates the number of votes on both sides to distinguish between controversial and obvious generation pairs. We show that previous algorithms, such as DPO and Identity Preference Optimization (IPO), can be extended using the proposed framework, termed VDPO and VIPO. Our experiments demonstrate that these proposed algorithms outperform various existing methods, including their base algorithms.

Introduction

Aligning Large Language Models (LLMs) with human values typically relies on pairwise preference data, where a human or AI judge selects a winner between two responses. Popular methods like Direct Preference Optimization (DPO) treat these selections as absolute truths, assigning a target probability of 1.0 to the winner. However, human preference is inherently subjective. In real-world scenarios, one response might win by a landslide (e.g., 100 votes to 1), while another pair might be nearly tied (e.g., 51 votes to 49). Standard DPO treats both cases identically, forcing the model to find a massive reward gap even for controversial pairs where no clear consensus exists. This "hard labeling" often leads to reward divergence and length bias, where the model learns to produce longer, more flowery responses rather than better ones.

The VPO Framework

To address these limitations, we introduce Vote-based Preference Optimization (VPO), a framework that incorporates the number of votes as "side information" into the training objective. Instead of assuming the winner is 100% correct, we use a Bayesian Minimum Mean Square Error (MMSE) estimator with a Beta distribution prior to calculate a "soft" target probability:

$$\hat{\theta}_{MMSE} = \frac{v_1 + c}{v_1 + v_2 + 2c}$$

Where $v_1$ and $v_2$ are the votes for each response, and $c$ is a hyperparameter. For example, a clear win (101:9 votes) results in a target probability of approximately 0.91, while a controversial pair (15:14 votes) results in a target of approximately 0.52.

Figure 1: VPO shifts from hard binary targets to soft targets based on the strength of human consensus.

We extend existing algorithms into "Vote-based" versions:

  • VDPO (Vote-based DPO): Modifies the DPO loss function to use these soft targets. It includes the "less preferred" response in the loss calculation, acting as a natural stabilizer against reward divergence.
  • VIPO (Vote-based IPO): Adjusts the reward margin to be proportional to the strength of the human consensus.

Experimental Results

We evaluated VPO on two major benchmarks: Stanford Human Preferences (SHP), which uses Reddit upvotes as a natural voting signal, and UltraFeedback Binarized (UFB), where GPT-4 scores were converted into vote-like signals. Performance was measured using AlpacaEval 2.0 with GPT-4-Turbo as an automated judge.

Performance and Stability

Our experiments demonstrate that VPO significantly outperforms standard preference optimization techniques. On the LLaMA-7B model trained on SHP, VDPO achieved a 55.42% win rate, a substantial improvement over standard DPO's 32.66%.

Figure 6: Win rates and Length-Controlled (LC) win rates across different models and datasets, showing VPO variants consistently outperforming baselines.

Key insights from our results include:

  • Adaptive Label Smoothing: VPO acts as data-driven label smoothing, signaling the model to learn intensely from high-consensus examples while remaining flexible on controversial ones.
  • Curbing Over-Optimization: By avoiding forced margins on controversial pairs, VPO prevents the model from drifting too far from its original reference policy, solving stability issues that often plague DPO.
  • Conciseness and Calibration: VPO models produce more concise and calibrated responses. While standard DPO often produces overfitted, excessively long text, VPO recognizes when a simpler answer is preferred by the consensus.

Conclusion and Future Work

VPO offers a robust framework for leveraging the nuance of human voting data in LLM alignment. While it requires vote counts or scores—metadata not present in all datasets—it provides a significant boost in stability and performance where available. Future work includes applying VPO logic to other emerging alignment techniques such as KTO or ORPO.

Summary updated

BibTeX
@misc{cho2024vpo,
  author = {Jae Hyeon Cho and Minkyung Park and Byung-Jun Lee},
  title = {{VPO: Leveraging the Number of Votes in Preference Optimization}},
  year = {2024},
  eprint = {2410.22891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.22891},
}
Figure