Abstract
Aligning Large Language Models (LLMs) with human preferences typically relies on expensive human annotations and unstable reinforcement learning techniques. This paper presents a fully automated method for LLM alignment by constructing "preference pairs" from models of varying strengths (e.g., GPT-4 vs. InstructGPT). By employing Direct Preference Optimization (DPO) alongside a curriculum learning strategy—transitioning from clear-cut "easy" pairs to more nuanced "hard" ones—the researchers demonstrate that models like Orca-13B can be boosted to outperform ChatGPT on standard benchmarks without human-in-the-loop feedback.
Introduction
The alignment of Large Language Models (LLMs) is a critical step in ensuring they follow instructions and adhere to human values. While Supervised Fine-Tuning (SFT) provides a strong baseline, it often plateaus. Reinforcement Learning from Human Feedback (RLHF) is the standard for further improvement but faces challenges such as high annotation costs, noisy labels, and the instability of Proximal Policy Optimization (PPO). This work explores an automated alternative: Contrastive Post-training using synthetic preference signals.
Problem Statement
Traditional RLHF is prone to "reward hacking," where models exploit the reward function to generate high-scoring but nonsensical outputs. Furthermore, the reliance on human feedback limits the scalability of alignment. The authors aim to overcome these hurdles by leveraging the performance gap between existing proprietary models to generate training data automatically, bypassing the need for human judges or complex reward modeling.
Methodology
The proposed approach, Automatic Pair Construction for Contrastive Post-training, utilizes a hierarchy of existing models (GPT-4 ≻ ChatGPT ≻ InstructGPT) to create preference pairs. For any given prompt, the output from a stronger model is treated as the preferred response ($y^+$), while the output from a weaker model serves as the rejected response ($y^-$).
The core technical components include:
- Direct Preference Optimization (DPO): A contrastive objective that optimizes the model to favor $y^+$ over $y^-$ directly, avoiding the need for a separate reward model and the instabilities of PPO.
- Curriculum Learning: A structured training regime where the model first learns from "EasyPairs" (e.g., GPT-4 vs. InstructGPT) before tackling "HardPairs" (e.g., ChatGPT vs. InstructGPT). This pedagogical approach helps the model refine its understanding of subtle quality differences.
Results and Discussion
The experimental results indicate that contrastive post-training significantly outperforms extended SFT. Even when SFT on high-quality GPT-4 data reaches a performance ceiling, applying DPO using the same data contrasted against weaker models yields a "step-function" improvement.
Key findings include:
- Performance Gains: Applying DPO to the Orca-13B model resulted in a 55% win rate against ChatGPT on Alpaca Eval. On the WizardLM benchmark, DPO trained on GPT-4 vs. InstructGPT pairs achieved a relative score of 121.1% compared to the SFT baseline.
- Curriculum Impact: The Easy-to-Hard curriculum pushed the Alpaca win rate to 72.5%, compared to 70.4% for the best non-curriculum DPO model.
- Robustness: Unlike RLAIF/PPO, which often succumbed to reward hacking (generating nonsensical text for high rewards), DPO remained stable and produced coherent, high-quality responses. The authors noted a specific failure case where an RLAIF model generated gibberish about "BBC Red pepper" to maximize rewards.
Conclusion
Automatic Pair Construction offers a scalable and robust path for LLM alignment. By leveraging the existing intelligence of proprietary models and employing contrastive objectives like DPO with curriculum learning, researchers can push open-source models beyond the limits of supervised learning. Future work will focus on scaling these methods to larger models and exploring self-improving loops where models generate and select their own preference pairs.
Summary updated