Iterative Nash Policy Optimization: Aligning LLMs with General Preferences via No-Regret Learning

Yuheng Zhang, Dian Yu, Baolin Peng, Linfeng Song, Ye Tian, Mingyue Huo, Nan Jiang, Haitao Mi, Dong Yu

Abstract

Reinforcement Learning with Human Feedback (RLHF) has achieved great success in aligning large language models (LLMs) with human preferences. Prevalent RLHF approaches are reward-based, following the Bradley-Terry (BT) model assumption, which may not fully capture the complexity of human preferences. In this paper, we explore RLHF under a general preference framework and approach it from a game-theoretic perspective. Specifically, we formulate the problem as a two-player game and propose a novel online algorithm, iterative Nash policy optimization (INPO). The key idea is to let the policy play against itself via no-regret learning, thereby approximating the Nash policy. Unlike previous methods, INPO bypasses the need for estimating the expected win rate for individual responses, which typically incurs high computational or annotation costs. Instead, we introduce a new loss objective that is directly minimized over a preference dataset. We provide theoretical analysis for our approach and demonstrate its effectiveness through experiments on various representative benchmarks. With an LLaMA-3-8B-based SFT model, INPO achieves a 42.6% length-controlled win rate on AlpacaEval 2.0 and a 37.8% win rate on Arena-Hard, showing substantial improvement over the state-of-the-art online RLHF algorithms.

Introduction

Most current Reinforcement Learning from Human Feedback (RLHF) methods—including the popular Direct Preference Optimization (DPO)—rely on the Bradley-Terry (BT) model. This model assumes human preferences are transitive: if a person prefers response A over B, and B over C, they must prefer A over C. However, human taste is often non-transitive and complex. To capture the full spectrum of human preferences, researchers are shifting toward a game-theoretic view where the goal is to find the Nash policy—a strategy that is unbeatable against any other policy.

Methodology: Iterative Nash Policy Optimization (INPO)

The researchers propose INPO, an online algorithm rooted in No-Regret Learning. Specifically, they utilize Online Mirror Descent (OMD) with entropy regularization. The core workflow is iterative:

  1. Self-Play: The current model generates pairs of responses to prompts.
  2. Preference Labeling: An "oracle" (either a Reward Model or a more complex Preference Model) labels which response is better.
  3. No-Regret Update: Instead of just trying to "win" the current round, the model updates its policy to minimize "regret" over time. This ensures the model converges toward the Nash equilibrium.
  4. Novel Loss Objective: Unlike previous methods that require calculating the expected win rate (a high-variance and expensive task), the authors derived a new population loss function. This objective allows the model to learn directly from a preference dataset by incorporating the "self-play" history into a log-likelihood ratio update.

Experimental Setup

The researchers evaluated INPO using a variety of standard benchmarks:

  • Alignment Benchmarks: AlpacaEval 2.0 (length-controlled win rates), Arena-Hard v0.1, and MT-Bench.
  • Academic Benchmarks: To ensure the model maintained general intelligence, tests included IFEval, GPQA, MMLU, Hellaswag, TruthfulQA, and GSM8K.
  • Base Models: Primarily LLaMA-3-8B (both SFT and Instruct versions).

Key Results

INPO demonstrated substantial gains over existing online RLHF methods. Using a LLaMA-3-8B base, INPO (PM) achieved a 42.6% length-controlled win rate on AlpacaEval 2.0 and a 37.8% win rate on Arena-Hard. Remarkably, the 8B INPO model outperformed much larger models, including LLaMA-3-70B-Instruct and Mixtral-8x22B, on several alignment metrics.

Comparison of INPO against state-of-the-art models on alignment benchmarks.

Key insights from the results include:

  • Bypassing Win-Rate Estimation: The new loss function makes INPO much more computationally efficient than previous Nash-seeking methods like SPPO.
  • General Preference Superiority: Using a Preference Model (PM)—which can handle non-transitive relationships—leads to significantly better results than using a standard BT-based Reward Model (RM).
  • Stability: KL regularization proved essential for maintaining performance on reasoning and knowledge tasks like MMLU and GSM8K while optimizing for human preference.

Conclusion and Future Work

INPO provides a robust, efficient framework for aligning LLMs with general preferences by approximating the Nash equilibrium through no-regret learning. While the empirical results are strong, future work may involve extending the framework from contextual bandits to full Markov Decision Processes (MDP) to better handle multi-turn dialogues and conducting finite-sample analysis to further refine the theoretical guarantees.

Summary updated

BibTeX
@inproceedings{zhang2025iterative,
  author = {Yuheng Zhang and Dian Yu and Baolin Peng and Linfeng Song and Ye Tian and Mingyue Huo and Nan Jiang and Haitao Mi and Dong Yu},
  title = {{Iterative Nash Policy Optimization: Aligning LLMs with General Preferences via No-Regret Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Pujt3ADZgI},
}
Figure