Reinforcement Learning Lab

Eight reinforcement-learning labs: classical, deep, policy optimisation, bandits, planning and multi-agent, with experiments trained for real in your browser.

39interactive experiments

Reinforcement Learning Roadmap

Six stages from the basics to research level. Each has objectives, lessons, terms, experiments, assessments, projects and a gate to the next stage. Your progress is kept in this browser only (no account, no server) and can be exported and imported.

  • 6Stages

1

Stage 1: Foundations

Learning objectives

  • Understand agent, environment, reward, policy, value and the Bellman equation.
  • Agent and environment
  • Reward and discounted return
  • Markov decision processes
  • Value functions and the Bellman equation

Lessons

Experiments

Projects

Assessments

Terms

Agent Environment State Observation Action Reward Return Discount factor γ Policy Value function Q-function (action-value) Bellman equation Markov decision process (MDP) Episode Termination vs truncation Model-based Credit assignment

Gate to the next stage: You can explain the loop, compute a discounted return and build a small MDP.

2

Stage 2: Classical methods

Learning objectives

  • Implement Q-learning, SARSA, Monte Carlo and temporal differences, and understand exploration versus exploitation.
  • Temporal differences
  • Q-learning and SARSA
  • Monte Carlo
  • Exploration: ε-greedy and bandits

Lessons

Experiments

Projects

Assessments

Terms

Exploration Exploitation ε-greedy On-policy Off-policy Bootstrapping TD error Eligibility trace Model-free Regret Arm

Gate to the next stage: You can perform a Q-learning update by hand and compare Q-learning with SARSA over several seeds.

3

Stage 3: Deep RL

Learning objectives

  • Understand why networks are needed and how DQN, replay and target networks work.
  • Function approximation
  • DQN, replay and the target network
  • Double, Dueling, PER
  • Instability and collapse

Lessons

Experiments

Projects

Assessments

Terms

Replay buffer Target network Over-estimation Deadly triad Sample efficiency

Gate to the next stage: You can explain the target network and replay, and analyse a DQN experiment over several seeds.

4

Stage 4: Policy optimisation

Learning objectives

  • Learn policy gradients, actor-critic, PPO and TRPO, and when to prefer them over DQN.
  • The policy-gradient theorem
  • Baselines and advantage
  • A2C and A3C
  • PPO, TRPO and continuous actions

Lessons

Experiments

Projects

Assessments

Terms

Advantage Baseline Policy gradient Actor-critic GAE Entropy regularisation KL divergence Trust region

Gate to the next stage: You can write the policy gradient and explain clipping in PPO and the KL constraint in TRPO.

5

Stage 5: Multi-agent and planning

Learning objectives

  • Understand non-stationarity in multi-agent settings, centralised training with decentralised execution, and planning with models.
  • Non-stationarity
  • IQL, VDN and CTDE
  • Cooperation and competition
  • Planning with a model

Lessons

Experiments

Projects

Assessments

Terms

Model-based Non-stationarity CTDE

Gate to the next stage: You can tell what is implemented from what is only explained in MARL, and solve an MDP two ways.

6

Stage 6: Research and applications

Learning objectives

  • Design reproducible experiments, read results fairly, and pick a well-posed research topic.
  • Multiple seeds and statistics
  • Reward design and shaping
  • Offline RL
  • Application ethics

Lessons

Experiments

Projects

Assessments

Terms

Reward shaping Offline RL Sim-to-real gap

Gate to the next stage: You can design a reproducible multi-seed experiment and read its results fairly.