Reinforcement Learning

How an agent learns to make sequential decisions through trial and reward: from Markov processes and multi-armed bandit exploration to Q-learning, DQN, policy gradients, PPO and learning from human preferences.

  • 12 lessons
  • 3 levels
  • about 2.7 hours
  • 5 quizzes
Your progress in the track 0%

About the track

Reinforcement learning is the third paradigm of machine learning alongside supervised and unsupervised learning. There are no ready-made correct answers, only a delayed and noisy reward signal from which the agent must learn a good policy. The track starts from the mathematical formulation, goes through tabular algorithms, and ends with modern deep methods and their applications in aligning language models.

1

Formulation and Concepts

Beginner · 53 minutes · 4 lessons

0%

The mathematical language of reinforcement learning: Markov decision processes, the discounted return, policies, value functions and the exploration-exploitation dilemma.

Learning objectives

  • Define the agent, environment, state, action and reward
  • Formulate the problem as an MDP
  • Understand the return, value functions and the Bellman equation

Prerequisites

  • Complete the Machine Learning track or equivalent
  1. Agent, Environment and Reward 12 minutes
  2. Markov Decision Processes 14 minutes
  3. Multi-Armed Bandits and Exploration 12 minutes
  4. Policies, Value Functions and the Bellman Equation 15 minutes
Short quiz: Formulation and Concepts — Reinforcement Learning6 questions · instant grading
2

Tabular Methods and Approximation

Intermediate · 53 minutes · 4 lessons

0%

Algorithms that work when there are few enough states for a table, then moving to value function approximation when the state space grows.

Learning objectives

  • Apply dynamic programming when the model is known
  • Learn from experience with Monte Carlo and temporal-difference methods
  • Apply Q-learning and SARSA
  • Move on to function approximation

Prerequisites

  • Complete the beginner level
  1. Dynamic Programming: Value and Policy Iteration 13 minutes
  2. Learning from Experience: Monte Carlo and Temporal Difference 14 minutes
  3. Q-learning and SARSA 14 minutes
  4. Function Approximation in RL 12 minutes
Short quiz: Tabular Methods and Approximation — Reinforcement Learning6 questions · instant grading
3

Deep Reinforcement Learning

Advanced · 56 minutes · 4 lessons

0%

Neural networks as approximators of value and policy, and the algorithms behind video games, robotics and the alignment of large language models.

Learning objectives

  • Understand DQN and its key tricks
  • Derive the policy gradient and actor-critic methods
  • Understand PPO and why it is so widely used
  • Understand RLHF, DPO and the risks of reward hacking

Prerequisites

  • Complete the two previous levels
  • Basics of deep learning
  1. Deep Q-Networks 14 minutes
  2. Policy Gradients and Actor-Critic Methods 15 minutes
  3. Proximal Policy Optimization 13 minutes
  4. Reinforcement Learning from Human Feedback 14 minutes
Short quiz: Deep Reinforcement Learning — Reinforcement Learning6 questions · instant grading

Final quiz: Reinforcement Learning

15 questions from all the levels of the track · passing score 70% · passing it unlocks the exam certificate.

Start the final exam