基于可验证奖励的强化学习(电子书)
Reinforcement Learning from Verifiable Rewards (eBook)

原始链接: https://rlvrbook.com/

这篇序言介绍了一本关于基于可验证奖励的强化学习(RLVR)的教材。该书研究如何使用以可核查结果、可执行反馈、形式化验证及其他可靠验证为依据的奖励来训练模型。本书旨在解释哪些奖励可以被验证、它们教会模型什么、RLVR 在哪些场景最有效,以及它在哪些场景会失效。 作者披露了大量大语言模型(LLM)协助:各章先由作者口述,再由 Claude 根据笔记起草,随后由作者重写和编辑;约一半的正文最初由模型录入,但每一句都经过人工编辑。Codex/Claude 还协助了结构安排、模板化内容、示意图和公式。本书面向广泛读者,难度随章节递增:初学者可从第 1、2、7 章开始;实践者可从第 4、5、10 章开始;研究者可阅读第 9–11 章。各章可独立阅读,参考文献便于进一步深入探索。 更新日志记录了从 v0 到 v1 的快速迭代,包括扩展了关于 OLMo 3 Think、智能体框架、多模态验证器、环境合成、奖励黑客、优化压力以及研究议程的内容。作者还致谢来自 Nathan Lambert 的 RLHF 著作、Excalidraw 和 Quarto 等工具、M.C. Escher 的画作,以及 Simon Boehm 和 Colah 等人在教育上的启发。

黑客新闻 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 投稿 登录 基于可验证奖励的强化学习(电子书) ( rlvrbook.com ) 6 分 由 jonbaer 2 小时前 | 往期 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

M. C. Escher, Corsica Corte (1929).

Abstract

Reinforcement learning from verifiable rewards (RLVR) studies how models can improve by learning from reward signals derived from checkable task outcomes, executable feedback, formal validation, or other reliable forms of verification. This book’s purpose is to explain what kinds of rewards can be made verifiable, what those rewards train, where the paradigm has been most successful, and where it breaks.

LLM Use

Fortunately, we live in a world where AI slop writing is as intelligible as black from white. This remark is incidentally paramount in the context of this book as the more verifiable a task, the more we can improve it, and writing is extremely unverifiable. It is knowing this fact, and also knowing that a textbook is still a human-led endeavor, that I dictated Chapters 1 to 7 and edited every chapter, while Chapters 8, 10, and 11 and Appendix D started from drafts assembled by Claude from my notes and sources and then went through many rounds of my rewriting; by token count about half of the prose was first typed by a model, and every sentence has been edited by me. Beyond those drafts, the main contributions of Codex/Claude to this project were:

  • helping me plan out the structure
  • giving me the initial boilerplate/skeleton scaffold of the textbook itself
  • creating the diagrams and equations, since this is much more efficient, and does not require the same human creativity as writing English (lower-entropy)

Target Audience

I wrote this book with the intent to cater to the largest audience possible. With that in mind, I increase difficulty as a function of the chapters such that if you are new to RLVR, you are best served in the beginning. If you are already experienced, you will gain the most from the later chapters.

How to Use This Book

Although the chapters do minimally build off of each other, they can still be read alone. Feel free to use the search function on the web version or Command F on the PDF to find what you wish directly. If you are new to RLVR, start with Chapter 1, Chapter 2, and Chapter 7; if you build training systems, Chapters 4, 5, and 10; and for frontier research, Chapters 9 to 11. The citations are plentiful to facilitate further research if there’s a specific theme which captivates you :).

Changelog

  • 2026-04-16: Officially announced v0 of the book!
  • 2026-04-19: Used my ML review textbook skill to refine each chapter and fix erratum.
  • 2026-05-29: Expanded Chapter 9 with an end-to-end OLMo 3 Think training walkthrough.
  • 2026-06-10: Reframed Chapter 10 around agentic harnesses and corrected the DeepSWE case study.
  • 2026-07-18: Rebuilt Chapter 11 as an explicit RLVR research agenda.
  • 2026-08-15: Added the ML textbook review skill used for the second review pass.
  • 2026-09-04: Revised Chapters 1 and 2 and normalized citation placement across the book.
  • 2026-09-05: Revised Chapter 3’s process reward explanations.
  • 2026-09-22: Revised Chapter 4’s verifier explanations and Chapter 5’s reward shaping.
  • 2026-09-23: Revised Chapter 6’s test time verification and Chapter 7’s reward hacking claims, and added Chapter 8 on optimization pressure in the wild.
  • 2026-09-24: Revised Chapter 9’s frontier recipe, expanded Chapter 10 with multimodal verifiers, agent scaffolds, and environment synthesis, rebuilt Chapter 11 around verification, and added Appendix D with research ideas.
  • 2026-09-25: Replaced ten Escher openers with higher-resolution scans and fixed PDF figure placement.
  • 2026-09-26: Released v1 after a full-book audit and figure updates.
  • 2026-10-09: Revised Chapter 1 and removed the domain map.

Acknowledgments

I shamelessly take inspiration from Nathan Lambert’s RLHF book, and I am well aware that his textbook treats the subject of RLVR in detail; notwithstanding, as he notes himself, this particular sub-field of ML is evolving so fast that much of the RLHF book’s RLVR content will become outdated, and this book is intended to maintain pace with progress.

I also acknowledge the wonderful developers of Excalidraw, which I used for this book’s figures. Thanks to M.C. Escher for being the artistic soul of the book. Thanks to Simon Boehm for creating amazing educational content and establishing the target I strive to reach (same for Colah from distillpub)! Lastly, thanks to the quarto devs for making the software this book uses!

Citation

You can cite this book directly with this BibTeX.