From Sutton & Barto to modern methods, structured along David Silver's course.

Reinforcement Learning, Lecture 1: The RL Problem

2020-09-19 · 12 min read

David Silver’s lecture 1. What sets reinforcement learning apart from other kinds of learning, reward and state, and the three pieces that make up an agent (policy, value function, model).

Reinforcement Learning Lecture 2: Markov Decision Processes

2020-10-17 · 6 min read

David Silver’s Lecture 2. The Markov decision process is the container that holds the reinforcement learning problem, built up one layer at a time, from the Markov chain through the reward process to the decision process, alongside Silver’s ‘student’ example.

Reinforcement Learning Lecture 3: Dynamic Programming

2020-11-14 · 6 min read

David Silver’s Lecture 3. When the MDP is fully known, solve the Bellman equations by iteration to compute the optimal policy. Policy evaluation, policy iteration, and value iteration through a small grid world example.

Reinforcement Learning Lecture 4: Model-Free Prediction

2020-12-12 · 6 min read

David Silver’s Lecture 4. Estimate the value of a policy from experience alone, with no model of the environment. Monte-Carlo in Blackjack, temporal-difference learning on the drive home, the unified view of bootstrapping and sampling, and TD(λ) with eligibility traces.

Reinforcement Learning Lecture 5: Model-Free Control

2021-01-16 · 14 min read

David Silver’s Lecture 5. Finding the optimal policy without a model. Why action values rather than state values, the two doors and ε-greedy and GLIE, Sarsa and Sarsa(λ) on the windy gridworld, importance sampling and off-policy learning, Q-learning through cliff walking, and the correspondence between DP and TD.

Reinforcement Learning Lecture 6: Value Function Approximation

2021-02-13 · 13 min read

David Silver’s Lecture 6. When states are too many to write down in a table, approximate the value with a handful of parameters. The incremental methods that learn features by gradient descent, mountain car and the bootstrapping debate, Baird’s counterexample where off-policy diverges, and the batch methods and DQN that pool experience.

Reinforcement Learning Lecture 7: Policy Gradient

2021-03-13 · 6 min read

David Silver’s Lecture 7. Optimize the policy directly, without going through value. The likelihood-ratio trick and the score function, REINFORCE, baselines and advantage, actor-critic, natural policy gradient, and a summary that ties six faces into one.

Reinforcement Learning Lecture 9: Exploration and Exploitation

2021-05-15 · 19 min read

David Silver’s Lecture 9. Use what you know now (exploitation), or find out more (exploration)? This note ties that dilemma into five principles, then follows the multi-armed bandit through regret and lower bounds, UCB, Thompson sampling, and information-state search, and on to contextual bandits and the extension to MDPs.

Reinforcement Learning Lecture 10: RL in Games

2021-06-19 · 16 min read

David Silver’s Lecture 10. A case study. Best response and Nash equilibrium seen through game theory, minimax search with a binary-linear value function, self-play reinforcement learning, combining minimax with RL, and imperfect-information games like poker. One recipe running through Chinook, Deep Blue, Logistello, TD-Gammon, and Maven.