The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
hands-on with PyTorch
Whether you're a technical leader, engineering manager, software developer, data scientist, or machine learning engineer, this book provides both the theoretical depth and the practical implementation skills essential for working with reinforcement learning—from robotics and control to finetuning language models.
Minimum price
$25.00
$50.00
About the Book
Understand how intelligent agents learn from experience—and build your own from scratch!
The Hundred-Page Deep Reinforcement Learning Book by Andriy Burkov, author of The Hundred-Page Machine Learning Book and The Hundred-Page Language Models Book, offers a concise yet rigorous introduction to the mathematical foundations and practical implementation of deep reinforcement learning.
Within Burkov’s signature hundred-page format, readers follow the ideas behind modern reinforcement learning algorithms, understand why each improvement is needed, and turn the mathematics into working Python code.
The Hundred-Page Deep Reinforcement Learning Book allows you to:
Clear explanations, mathematical derivations, illustrations, and complete implementations connect theory with practice. By using the same rocket-landing task across algorithms, the book lets you compare how different methods learn, behave, and perform.
About the technology
Deep reinforcement learning combines neural networks with learning through interaction. An agent takes actions, observes their consequences, and improves its decisions to maximize reward over time.
These methods help robots learn to move, control systems adapt to changing conditions, and language models improve their responses. Understanding the underlying algorithms gives engineers the foundation to build, evaluate, and troubleshoot systems that learn from experience.
About the book
The Hundred-Page Deep Reinforcement Learning Book builds the subject step by step, beginning with reinforcement learning fundamentals and the Policy Gradient Theorem before developing REINFORCE, actor-critic methods, Generalized Advantage Estimation, and PPO. It then introduces off-policy learning and derives DQN from first principles.
Each new method addresses a limitation of the ideas that came before it. Readers learn why baselines reduce variance, how bootstrapping changes learning, and what makes practical policy optimization possible.
The book also connects these foundations to reinforcement learning for language models, explaining how generated responses become trajectories and how rewards guide training.
What’s inside
Chapters, code, and additional learning resources are available at thedrlbook.com, with companion material at thedrlbook.com/wiki.
About the reader
For software developers, data scientists, machine learning engineers, and technical leaders who want to understand how reinforcement learning works under the hood.
Readers will benefit from Python programming experience and familiarity with basic calculus, probability, linear algebra, and neural networks. Mathematical appendices and companion resources help refresh the foundations along the way.
Endorsements from tech and AI leaders
Stephen Balaban, Co-founder and CTO at Lambda: "Deep reinforcement learning is one of the most important techniques for training frontier models. In this book, Andriy will walk you through the fundamentals of RL and build up to modern applications such as RLHF."
Long Ouyang, Researcher on InstructGPT and ChatGPT at OpenAI: “A cogent and helpful introduction to RL and also a great reference. Read this book!”
More endorsements from AI leaders at thedrlbook.com.
About the Author
Andriy Burkov holds a PhD in Artificial Intelligence. He works as a machine learning team leader at TalentNeuron.
Podcast Episode
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.