什么坏了以及为什么:强化学习后训练中的实践教训 What Broke & Why: Practical Lessons from Reinforcement Learning Post-Training 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-07
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
这本书讲的是如何用强化学习(特别是基于可验证奖励的RLVR)来提升语言模型的推理和工具使用能力,但实践中常遇到训练失败、奖励作弊、探索停止等问题。作者从基础讲起,逐步解释GRPO和训练循环,并通过五个实际训练项目(数学推理、搜索智能体、训练稳定性、混合专家模型、软件工程任务)展示遇到的问题、所做的修改和得到的教训。书中还分析了强化学习在模型内部到底改变了什么,并提供了奖励设计、评估、调试、可复现性等方面的实用参考。
领域自然语言处理 / 强化学习与语言模型训练
适合谁读需要一定专业背景的研究者和实践者
核心贡献1. 通过五个真实训练项目系统总结强化学习后训练中的常见失败模式与应对策略;2. 深入分析强化学习对模型内部表征的实际影响,并提供奖励设计、评估、调试等实用指南。
关键数据暂无显著硬数据
推荐理由如果你正在或准备用强化学习训练语言模型,这本书能帮你少踩坑,从失败案例中学到真本事。
关键词["强化学习", "后训练", "语言模型", "GRPO", "训练稳定性", "奖励设计"]

原文摘要

查看英文原文摘要

Reinforcement learning with verifiable rewards (RLVR) has become an important way to improve how language models reason, solve problems, and use tools. But getting it to work in practice is not always straightforward. Training can fail because a model receives no useful reward, learns to exploit the reward system, stops exploring, or appears to improve when the evaluation itself is misleading. In this book, we give a practical introduction to reinforcement learning post-training for language models, focusing on what works, what fails, and why. We begin with the foundations of post-training, explain GRPO and the training loop step by step, and then follow five training programs covering math reasoning, search agents, training stability, mixture-of-experts models, and software engineering tasks. Each program shows the problems encountered, the changes made, and the lessons learned. The book also examines what reinforcement learning actually changes inside a model. The remaining chapters provide a practical reference for reward design, evaluation, training tool-using agents, debugging common failures, reproducibility, rollout engines, and hardware. Written for researchers and practitioners working with open models, the book aims to help readers understand how to train models, recognize when something goes wrong, and decide what to try next.