Deep Reinforcement Learning in Action
Alexander Zai and Brandon Brown
  • MEAP began June 2018
  • Publication in November 2019 (estimated)
  • ISBN 9781617295430
  • 325 pages (estimated)
  • printed in black & white

I was curious about deep reinforcement learning for a while, but couldn't find anything that wasn't overloaded with math or just too simplistic. Your book is just what I was looking for!

Maxim Pankratov
Humans learn best from feedback—we are encouraged to take actions that lead to positive results while deterred by decisions with negative consequences. This reinforcement process can be applied to computer programs allowing them to solve more complex problems that classical programming cannot. Deep Reinforcement Learning in Action teaches you the fundamental concepts and terminology of deep reinforcement learning, along with the practical skills and techniques you’ll need to implement it into your own projects.
Table of Contents detailed table of contents

Part 1: Foundations

1 What is Reinforcement Learning?

1.1 The Journey Here

1.2 Supervised and Unsupervised Learning

1.3 Problem Structuring in Control Tasks

1.4 The Standard Model

1.5 What can I do with Reinforcement Learning?

1.6 Why Deep Reinforcement Learning?

1.7 Why this book?

1.8 What’s next?

1.9 Summary

References

2 Modeling Reinforcement Learning Problems: Markov Decision Processes

2.1 String Diagrams and our teaching methods

2.2 Solving the Multi-Arm Bandit

2.3 Applying Bandits to Optimize Ad Placements

2.4 Building Networks with PyTorch

2.5 Solving Contextual Bandits

2.6 The Markov Property

2.7 Predicting Future Rewards: Value and Policy Functions

2.8 Chapter Summary

2.9 What’s next?

3 Predicting the Best States and Actions: Deep Q-Networks

3.1 The Q-function

3.2 Navigating with Q-learning

3.3 Preventing Catastrophic Forgetting: Experience Replay

3.4 Improving Stability with a Target Network

3.5 Summary

3.6 What’s next?

4 Learning to Pick the Best Policy: Policy Gradient Methods

4.1 Policy Function using Neural Networks

4.2 Reinforcing Good Actions: The Policy Gradient Algorithm

4.3 Working with OpenAI Gym

4.4 The REINFORCE Algorithm

4.5 Summary and what’s next

5 Tackling more complex problems with Actor-Critic methods

5.1 Combining the value and policy function

5.2 Distributed Training

5.3 Advantage Actor-Critic

5.4 N-Step Actor-Critic

5.5 Summary and what’s next

Part 2: Above and beyond

6 Alternative Optimization Methods: Evolutionary Strategies

6.1 A Different Approach to Reinforcement Learning

6.2 Reinforcement Learning with Evolution Strategies

6.2.1 Fitness

6.2.2 Selecting for the Fittest Agents

6.2.3 Recombining Agents to Produce New Agents

6.2.4 Introducing Mutations

6.2.5 Evolution takes multiple generations

6.2.6 Full training loop

6.3 Pros and Cons of Evolutionary Algorithms

6.3.1 Evolutionary Algorithms Explore More

6.3.2 Evolutionary algorithms are incredibly sample intensive

6.3.3 Simulators

6.3.4 Gradient-Free Algorithms could faster to train

6.4 Evolutionary Strategies are Parallelizable

6.4.1 ES as a scalable alternative

6.4.2 Parallel vs Serial Processing

6.4.3 Scaling Efficiency

6.4.4 Communicating Between Nodes

6.4.5 Sending only two numbers

6.4.6 Seeding

6.4.7 Scaling Linearly

6.4.8 Scaling Gradient Based Approaches

6.5 Summary

7 Understanding the environment and making plans: Model-Based Learning

8 Curiosity-Driven Exploration

8.1 Tackling Sparse Rewards with Predictive Coding

8.2 Inverse Dynamics Prediction

8.3 Setting up Super Mario Bros.

8.4 Preprocessing and the Q-network

8.5 Setting up the Q-network and Policy Function

8.6 Intrinsic Curiosity Module

8.7 Alternative Intrinsic Reward Mechanisms

8.8 Summary

9 Playing at your level: Self-Play

10 Conclusion

Appendixes

Appendix A: Mathematics

Appendix B: Deep Learning

Appendix C: PyTorch

Appendix D: Glossary

About the Technology

Deep reinforcement learning is a form of machine learning in which AI agents learn optimal behavior from their own raw sensory input. The system perceives the environment, interprets the results of its past decisions, and uses this information to optimize its behavior for maximum long-term return. Deep reinforcement learning famously contributed to the success of AlphaGo but that’s not all it can do! More exciting applications wait to be discovered. Let’s get started.

About the book

Deep Reinforcement Learning in Action teaches you how to program agents that learn and improve based on direct feedback from their environment. You’ll build networks with the popular PyTorch deep learning framework to explore reinforcement learning algorithms ranging from Deep Q-Networks to Policy Gradients methods to Evolutionary Algorithms. As you go, you’ll apply what you know to hands-on projects like controlling simulated robots, automating stock market trades, and even building a bot to play Go.

What's inside

  • Structuring problems as Markov Decision Processes
  • Popular algorithms such Deep Q-Networks, Policy Gradient method and Evolutionary Algorithms and the intuitions that drive them
  • Applying reinforcement learning algorithms to real-world problems

About the reader

You’ll need intermediate Python skills and a basic understanding of deep learning.

About the author

Alexander Zai is a Machine Learning Engineer at Amazon AI working on MXNet that powers a suite of AWS machine learning products. Brandon Brown is a Machine Learning and Data Analysis blogger at outlace.com committed to providing clear teaching on difficult topics for newcomers.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks