Abstract
We study Reinforcement Learning from Human Feedback (RLHF) under a general preference oracle. In particular, we do not assume that there exists a reward function and the preference signal is drawn from the Bradley-Terry model as most of the prior works do. We consider a standard mathematical formulation, the reverse-KL regularized minimax game between two LLMs for RLHF under general preference oracle. The learning objective of this formulation is to find a policy so that it is consistently preferred by the KL-regularized preference oracle over any competing LLMs. We show that this framework is strictly more general than the reward-based one, and propose sample-efficient algorithms for both the offline learning from a pre-collected preference dataset and online learning where we can query the preference oracle along the way of training. Empirical studies verify the effectiveness of the proposed framework.
Introduction
Aligning Large Language Models (LLMs) with human values typically relies on Reinforcement Learning from Human Feedback (RLHF). Most current pipelines assume human preferences follow the Bradley-Terry (BT) model, which posits that preferences can be reduced to a scalar reward function. However, human taste is often complex, intransitive, and non-linear. This paper introduces a shift toward a "General Preference Oracle" that captures these nuances by framing alignment as a minimax game between competing models.
The Problem with Transitivity
The standard BT model assumes transitivity: if a human prefers response A to B, and B to C, they must prefer A to C. In reality, human preferences are often messy. Furthermore, offline RLHF often suffers from "reward over-optimization," where models exploit flaws in a static reward model rather than improving helpfulness. This is largely due to a distribution shift between the training data and the model's generated responses.
Methodology
The authors propose two primary algorithmic frameworks to address these limitations:
- Minimax Formulation: RLHF is framed as a reverse-KL regularized minimax game to find a "Nash Equilibrium" policy that is consistently preferred over any competitor.
- Pessimistic Equilibrium Learning (PELHF): Designed for offline learning, this method uses the principle of pessimism to avoid over-optimizing on uncertain prompt-response pairs.
- Online Iterative RLHF: This approach utilizes a "Main Agent" and an "Enhancer." The Enhancer identifies responses where the preference model is most uncertain, allowing for targeted exploration. By querying a preference oracle on these "hard" cases, the model explores the policy space more effectively than static methods.
Empirical Results
The effectiveness of the general preference framework is most evident in complex reasoning and chat tasks. By moving beyond the scalar reward constraint, the models achieve significant performance gains.
As shown in the table above, the preference-based approach consistently outperforms the BT-based reward model. Notably, on the LLaMA3-8B-it base model, the reasoning accuracy improved from 87.8% with BT to 94.8% using the general preference method. General chat performance also saw improvements, particularly in the "Chat Hard" category.
Additional benchmarks further validate the approach:
- Online-ELHF-IPO: Achieved a 0.78 win rate against the offline IPO baseline on the Ultra-feedback test set.
- AlpacaEval2: The online iterative approach nearly doubled the performance of the offline baseline, increasing the win rate from 9.36 to 17.67.
Conclusion
This work demonstrates that preference models are more efficient and accurate than traditional reward models. By accounting for intransitive preferences and utilizing online exploration via an enhancer, the proposed framework mitigates distribution shift and reward hacking. While iterative online training introduces computational overhead, the gains in reasoning and instruction-following suggest it is a vital path forward for robust LLM alignment.
Summary updated