Abstract
We introduce Simultaneous Weighted Preference Optimization (SWEPO), a novel extension of Direct Preference Optimization (DPO) designed to accommodate multiple dynamically chosen positive and negative responses for each query. SWEPO employs a weighted group contrastive loss, assigning weights to responses based on their deviation from the mean reward score. This approach effectively prioritizes responses that are significantly better or worse than the average, enhancing optimization. Our theoretical analysis demonstrates that simultaneously considering multiple preferences reduces alignment bias, resulting in more robust alignment. Additionally, we provide insights into the training dynamics of our loss function and a related function, InfoNCA. Empirical validation on the UltraFeedback dataset establishes SWEPO as state-of-the-art, with superior performance in downstream evaluations using the AlpacaEval dataset.
Introduction
Aligning Large Language Models (LLMs) with human preferences is a critical step in post-training. The standard approach, Direct Preference Optimization (DPO), typically relies on pairwise comparisons between a single "preferred" response and a "dispreferred" one. However, modern alignment pipelines—such as on-policy generation or self-play—often generate multiple candidate responses for a single prompt.
Standard DPO is inherently limited in these scenarios, as it discards all but the extreme ends of the response distribution, ignoring the rich supervisory signal present in intermediate responses. While alternative methods like PPO or GRPO can handle multiple responses, they often necessitate complex, well-calibrated reward models or computationally expensive full rankings. This work introduces Multi-Preference Optimization (MPO), also referred to as SWEPO, to bridge this gap by utilizing multiple responses per query efficiently while maintaining the robust, contrastive nature of the DPO framework.
Methodology
MPO generalizes the Bradley-Terry model—the mathematical foundation of DPO—from simple pairs to sets of responses. The core of the method lies in the Group-Contrastive Loss, which maximizes the probability that an entire set of "accepted" responses is preferred over a set of "rejected" responses.
A key innovation is Weighted MPO (W-MPO), which introduces deviation-based weighting. Recognizing that not all responses are equally informative, the influence of a response on the loss is scaled by its reward score's deviation from the mean reward of all responses for that specific query. This creates a Self-Paced Curriculum, naturally prioritizing "informative outliers"—responses that are exceptionally good or bad—and focusing the model's learning on the most distinct examples of desired behavior.
Theoretically, the paper proves that using $n$ responses per query reduces alignment bias at a rate of $O(1/\sqrt{n})$, providing a mathematical justification for the transition from pairwise to groupwise alignment.
Experimental Setup
The effectiveness of MPO was evaluated across several high-profile benchmarks:
- UltraFeedback: Used for initial training and offline comparison.
- AlpacaEval 2.0: The primary metric for "win rate" (WR) and "length-controlled win rate" (LC-WR) against GPT-4 Turbo.
- Arena-Hard v0.1: Focused on technical and complex problem-solving queries.
- MT-Bench: A multi-turn conversation benchmark.
- UltraChat-200k: Utilized for the initial Supervised Fine-Tuning (SFT) phase.
Results and Discussion
MPO/W-MPO consistently outperformed established baselines such as DPO, IPO, and KTO across both Mistral-7B and Llama-3-8B models.
Key Performance Metrics
- State-of-the-Art Alignment: On Llama-3-8B-Instruct, MPO achieved a 50.6% win rate on AlpacaEval 2.0, nearly matching GPT-4o and representing a significant improvement over the standard DPO baseline (~37.9%).
- Sample Efficiency: MPO demonstrates remarkable efficiency; models trained on only 25% of a dataset using MPO could outperform standard DPO trained on 50% of the same data.
- Iterative Success: In iterative training loops where the model generates its own data, MPO significantly outperformed SPPO, indicating high effectiveness for self-improvement.
- Computational Robustness: Under fixed wall-clock training budgets, MPO outperformed DPO at every checkpoint, proving that the increased computation per step is offset by faster convergence and superior sample utilization.
Insights
The success of MPO stems from the "Power of the Group." Learning from collective contrasts is more stable and prevents overfitting to the quirks of a single "best" response. By up-weighting outliers, W-MPO focuses gradient updates where the signal is strongest. Furthermore, at its stationary point, the MPO loss encourages the model to assign near-zero probability to rejected responses, creating a sharper distinction than previous methods like InfoNCA.
Conclusion
While MPO offers significant advantages, it remains dependent on the quality of the underlying reward model for initial partitioning. Additionally, processing all $N$ responses per query increases memory requirements, which may become a bottleneck for extremely large response sets. Future work could explore multi-level preference structures (e.g., Great > Good > Average > Bad) beyond the current binary partitioning. Despite these limitations, MPO establishes a new state-of-the-art for preference alignment in LLMs.
Summary updated