Reinforcement Learning Methods and Optimization Strategies in Preference Alignment Techniques for Large Language Models
Abstract
The growing pre-training scale has improved large language models' performance in language generation and knowledge representation. However, their training objectives remain limited to fitting data distributions, thus making it difficult to guarantee that the output satisfies human intentions and safety constraints. Therefore, the utilization of preference information to optimize model behavior and align generated content with human expectations has become a key challenge in the post-training phase of large language models. This paper investigates the development path of large language model preference alignment techniques, focusing on the training mechanism of Reinforcement Learning from Human Feedback (RLHF) and its three-stage process, including supervised fine-tuning, reward model training, and PPO-based policy optimization. On this basis, it compares the characteristics of Direct Preference Optimization (DPO), Reinforcement Learning from AI Feedback (RLAIF), and other methods in terms of training stability, data dependence, computational cost, and generalization ability. It further analyzes the alignment tax, which reflects the trade-off between improving model safety and preserving general capabilities during preference alignment. The results show that RLHF still possesses a higher upper bound for alignment in complex interactive scenarios, but its multi-stage training process brings high data and computational costs. In contrast, offline preference optimization methods such as DPO reduce training complexity and improve resource efficiency, but their performance remains constrained by preference data distribution and limited policy exploration capabilities.
References
- Bai, Y., et al. (2022). Training a helpful and harmless assistant with reinforcement learning from human feedback.arXiv. https://arxiv.org/abs/2204.05862
- Ouyang, L., et al. (2022). Training language models to follow instructions with human feedback.Advances in Neural Information Processing Systems, 35, 27730–27744.
- Ji, J., et al. (2023). AI alignment: A comprehensive survey.arXiv. https://arxiv.org/abs/2310.19852
- Wang, Y., et al. (2023). Aligning large language models with human preferences: Methods and advancements.arXiv. https://arxiv.org/abs/2308.05374
- Christiano, P. F., et al. (2017). Deep reinforcement learning from human preferences.Advances in Neural Information Processing Systems, 30.
- Ziegler, D. M., et al. (2019). Fine-tuning language models from human preferences.arXiv preprint arXiv:1909.08593.
- Stiennon, N., et al. (2020). Learning to summarize with human feedback.Advances in Neural Information Processing Systems, 33, 3008-3021.
- Schulman, J., et al. (2017). Proximal policy optimization algorithms.arXiv. https://arxiv.org/abs/1707.06347
- Zheng, C., et al. (2023). Secrets of RLHF in large language models Part I: PPO.arXiv. https://arxiv.org/abs/2307.04964
- Casper, S., et al. (2023). Open problems and fundamental limitations of reinforcement learning from human feedback.arXiv. https://arxiv.org/abs/2307.15217
- Rafailov, R., et al. (2023). Direct preference optimization: Your language model is secretly a reward model.Advances in Neural Information Processing Systems, 36.
- Azar, M. G., et al. (2023). A general theoretical framework for robust direct preference optimization.arXiv. https://arxiv.org/abs/2310.12036
- Ethayarajh, K., et al. (2024). KTO: Model alignment as prospect theoretic optimization.arXiv preprint. arXiv:2402.01306.
- Li, Z., et al. (2023). ReMax: A simple, effective, and efficient alternative to PPO for language model alignment.arXiv. https://arxiv.org/abs/2310.10505
- Dong, H., et al. (2023). RAFT: Rewarded action filtered fine-tuning for aligning large language models.arXiv. https://arxiv.org/abs/2304.06767
- Bai, Y., et al. (2022). Constitutional AI: Harmlessness from AI feedback.arXiv. https://arxiv.org/abs/2212.08073
- Lee, H., et al. (2023). RLAIF: Scaling reinforcement learning from AI feedback with AI feedback.arXiv. https://arxiv.org/abs/2309.00267
- Yuan, W., et al. (2024). Self-reward language models.arXiv. https://arxiv.org/abs/2401.10020
- Touvron, H., et al. (2023). Llama 2: Open foundation and fine-tuned chat models.arXiv. https://arxiv.org/abs/2307.09288
- Team, G., Mesnard, T., Hardin, C., et al. (2024). Gemma: Open models based on gemini research and technology.arXivpreprint arXiv:2403.08295.