Abstract
Aligning Large Language Models (LLMs) with human values typically relies on pairwise preference models, such as the Bradley-Terry model used in Direct Preference Optimization (DPO). However, pairwise comparisons often fail to capture the nuances of global ranking across multiple potential responses. We introduce Permutative Preference Alignment (PPA), a novel offline alignment method that treats preference as a listwise ranking problem. By optimizing a differentiable surrogate of Normalized Discounted Cumulative Gain (NDCG), PPA ensures that the model learns to prioritize high-quality responses across an entire set. Our results on benchmarks like AlpacaEval 2.0 and MT-Bench demonstrate that PPA consistently outperforms state-of-the-art pairwise and listwise baselines.
Introduction
The "last mile" of LLM training involves aligning model outputs with human preferences. Standard techniques like Reinforcement Learning from Human Feedback (RLHF) and DPO have standardized the use of pairwise comparisons. While effective, these methods have a fundamental limitation: they do not guarantee an accurate global ranking when more than two responses are available for a single prompt. This "pairwise blind spot" can lead to suboptimal performance in scenarios requiring fine-grained distinction between multiple high-quality outputs.
Methodology: Permutative Preference Alignment (PPA)
PPA shifts the alignment paradigm from pairwise margins to listwise ranking. The objective is to maximize the NDCG of $K$ responses simultaneously. NDCG is a standard Information Retrieval metric that rewards the correct placement of top-tier items more heavily than those lower in the list.
To overcome the non-differentiable nature of ranking, PPA utilizes NeuralNDCG, a differentiable surrogate loss. The framework incorporates NeuralSort, a soft sorting operator, and Sinkhorn scaling to ensure the resulting permutation matrices are doubly stochastic and balanced. This allows the model to learn reward scores that align with ground-truth rankings provided by human labels or high-quality reward models.
Experimental Setup
The researchers introduced ListUltraFeedback, a multi-response dataset derived from UltraFeedback and augmented with Llama3-8B generations. Each prompt is associated with 8 responses, labeled using ArmoRM, a top-tier open-source reward model. Evaluation was conducted on Mistral-7B and Llama3.1-8B backbones using AlpacaEval 2.0, MT-Bench, and human validation.
Key Results and Discussion
PPA demonstrates superior efficiency in "rank flipping"—the ability to correct misordered responses during training. Theoretical analysis suggests that NDCG-based objectives provide a stronger gradient signal for reordering than pairwise losses.
Empirically, PPA achieved a 61.32% win rate on AlpacaEval using a Llama3.1-8B backbone, surpassing the "All Pairs" DPO variant (59.64%). Human evaluations confirmed these findings, with raters consistently preferring PPA-aligned models over those trained with DPO or LiPO. Furthermore, experiments indicated that increasing the list size ($K$) during training provides a more robust signal for generalization than increasing the volume of independent pairwise samples.
Conclusion
Permutative Preference Alignment (PPA) offers a more comprehensive approach to LLM alignment by leveraging listwise ranking. While the method is dependent on the quality of the underlying reward model and introduces some computational complexity due to sorting operations, its ability to capture global preference structures marks a significant advancement over traditional pairwise methods. Future work will explore the integration of PPA with safety guardrails and its application to even larger-scale datasets.
Summary updated