LiPO: Listwise Preference Optimization through Learning-to-Rank

Tianqi Liu, Zhen Qin, Junru Wu, Jiaming Shen, Misha Khalman, Rishabh Joshi, Yao Zhao, Mohammad Saleh, Simon Baumgartner, Jialu Liu, Peter J. Liu, Xuanhui Wang

Introduction

Aligning Large Language Models (LLMs) with human values is a critical final stage in model development. While Reinforcement Learning from Human Feedback (RLHF) was the initial standard, Direct Preference Optimization (DPO) has gained popularity due to its stability and ease of training. However, these methods typically rely on pairwise comparisons (e.g., response A is better than response B), which fails to capture the richer context available in ranked lists of multiple responses.

In "LiPO: Listwise Preference Optimization through Learning-to-Rank," researchers from Google DeepMind propose a framework that treats LLM alignment as a Learning-to-Rank (LTR) problem. By optimizing over entire lists rather than isolated pairs, their flagship method, LiPO-λ, achieves superior alignment performance and scales more effectively with the amount of feedback data.

The LiPO Framework

The core innovation of LiPO is the transition from pairwise to listwise optimization. Current techniques like DPO often decompose a ranked list of $K$ responses into $K(K-1)/2$ independent pairs. This approach suffers from two main drawbacks: it ignores the global list structure and fails to account for the magnitude of preference between responses.

LiPO addresses these issues by adapting the LambdaLoss algorithm from the LTR literature. The resulting method, LiPO-λ, introduces several key enhancements:

  • Lambda Weights: Pairs are weighted based on their impact on ranking metrics like Discounted Cumulative Gain (DCG), prioritizing the correct placement of the highest-quality responses.
  • Label Awareness: Unlike standard DPO, LiPO-λ utilizes the actual relevance scores of responses, allowing the model to distinguish between clear winners and closely matched alternatives.
  • Dynamic Permutation: The model re-ranks items during training based on its current predictions, ensuring a smoother optimization process.

Experimental Results

The researchers evaluated LiPO-λ against several baselines, including DPO and its listwise variant $DPO_{PL}$, across three datasets: Reddit TL;DR (summarization), AnthropicHH (helpfulness and harmlessness), and OpenAssistant (human-ranked conversations).

Performance and Scalability

A significant finding is that LiPO-λ's performance improves consistently as the list size increases. While pairwise methods like DPO see diminishing returns or plateaus beyond small list sizes, LiPO-λ continues to gain a competitive edge as more responses are included in the ranking context.

Figure 1: Proxy Reward Win Rate (%) as a function of list size. LiPO-λ consistently outperforms DPO variants and shows better scalability as list size increases.

Comparative Analysis

As shown in the performance summary below, LiPO-λ sets new benchmarks for both proxy reward win rates and side-by-side evaluations (AutoSxS). On the Reddit TL;DR task, LiPO-λ achieved a 90.60% proxy reward win rate, significantly outperforming DPO's 88.52%. Similar gains were observed in the AnthropicHH dataset, where LiPO-λ reached a 92.60% win rate.

Table 1: Comparison of alignment approaches across Reddit TL;DR and AnthropicHH datasets. LiPO-λ (using lambda-loss) achieves the highest performance across all metrics.

Conclusion

LiPO demonstrates that moving beyond pairwise comparisons to a listwise ranking framework significantly enhances LLM alignment. By leveraging established Learning-to-Rank principles, LiPO-λ more effectively utilizes human feedback, particularly as the complexity and size of ranked lists grow. This approach not only improves win rates but also aligns more closely with human preferences in side-by-side evaluations.

Summary updated

BibTeX
@inproceedings{liu2025lipo,
  author = {Tianqi Liu and Zhen Qin and Junru Wu and Jiaming Shen and Misha Khalman and Rishabh Joshi and Yao Zhao and Mohammad Saleh and Simon Baumgartner and Jialu Liu and Peter J. Liu and Xuanhui Wang},
  title = {{LiPO: Listwise Preference Optimization through Learning-to-Rank}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.121},
}
Figure