[Paper Review] Self-Play Preference Optimization for Language Model Alignment
The paper proposes Self-Play Preference Optimization (SPPO), an algorithm to align language models by solving a two-player constant-sum game over general preference probabilities, with convergence guarantees and strong empirical results using minimal external supervision.
Standard reinforcement learning from human feedback (RLHF) approaches relying on parametric models like the Bradley-Terry model fall short in capturing the intransitivity and irrationality in human preferences. Recent advancements suggest that directly working with preference probabilities can yield a more accurate reflection of human preferences, enabling more flexible and accurate language model alignment. In this paper, we propose a self-play-based method for language model alignment, which treats the problem as a constant-sum two-player game aimed at identifying the Nash equilibrium policy. Our approach, dubbed Self-Play Preference Optimization (SPPO), utilizes iterative policy updates to provably approximate the Nash equilibrium. Additionally, we propose a new SPPO objective which is both strongly motivated by theory and is simple and effective in practice. In our experiments, using only 60k prompts (without responses) from the UltraFeedback dataset and without any prompt augmentation, by leveraging a pre-trained preference model PairRM with only 0.4B parameters, SPPO can obtain a model from fine-tuning Mistral-7B-Instruct-v0.2 that achieves the state-of-the-art length-controlled win-rate of 28.53% against GPT-4-Turbo on AlpacaEval 2.0. It also outperforms the (iterative) DPO and IPO on MT-Bench, Arena-Hard, and the Open LLM Leaderboard. Starting from a stronger base model Llama-3-8B-Instruct, we are able to achieve a length-controlled win rate of 38.77%. Notably, the strong performance of SPPO is achieved without additional external supervision (e.g., responses, preferences, etc.) from GPT-4 or other stronger language models. Codes are available at https://github.com/uclaml/SPPO.
Motivation & Objective
- Address irrationallities in human preferences that limit parametric reward models like Bradley–Terry.
- Formulate LLM alignment as a two-player constant-sum game to identify a Nash equilibrium policy.
- Develop a scalable SPPO algorithm with convergence guarantees for large-scale LLM fine-tuning.
- Demonstrate SPPO’s effectiveness using limited data and a small preference model against strong baselines.
Proposed method
- Formulate RLHF as a constant-sum two-player game and aim for the von Neumann winner (Nash equilibrium).
- Adopt an online adaptive multiplicative-weights framework updating policies iteratively (equation 4.1).
- Approximate the exponential update by minimizing a squared loss over sampled data (equation 4.4/4.5).
- Estimate winning probabilities using a small synthetic data set generated by the current policy and annotated by a preference model.
- Provide a practical SPPO loss (equation 4.6/4.7) that allows easy optimization without relying on explicit reward models.
- Compare SPPO to DPO, IPO, and KTO, highlighting SPPO’s ability to raise the preferred response likelihood and lower the rejected one.
Experimental results
Research questions
- RQ1Can SPPO converge to a Nash equilibrium policy for LLM alignment under general preference models?
- RQ2Does SPPO outperform iterative DPO and IPO on standard alignment benchmarks without heavy external supervision?
- RQ3Is SPPO scalable to large language models using limited prompts and a small preference model?
- RQ4How does SPPO’s loss formulation compare with existing pairwise loss approaches in handling data sparsity?
Key findings
- SPPO converges to an approximate Nash equilibrium with a provable convergence rate for the average policy.
- SPPO’s loss increases the log-likelihood of the chosen response while decreasing that of the rejected one, outperforming DPO and IPO in experiments.
- Using only 60k prompts from UltraFeedback and a 0.4B PairRM-based preference model, SPPO fine-tunes Mistral-7B-Instruct-v0.2 to achieve state-of-the-art length-controlled win-rate against GPT-4-Turbo on AlpacaEval 2.0 (28.53% win-rate).
- SPPO outperforms iterative DPO and IPO on MT-Bench and the Open LLM Leaderboard.
- SPPO achieves strong generalist performance across tasks including MT-Bench, Open LLM Leaderboard, and PairRM, without external supervision from GPT-4 or stronger models.
- The approach does not require responses or preferences from GPT-4 or similar models, relying instead on a small reward model for annotation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.