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 Lab

Deep RL

DQN, Double, Dueling, prioritised replay and a simplified Rainbow on the real CartPole dynamics, plus an explanation of DRQN.

  • 5Experiments
  • 4Lessons
  • 6Algorithms

Algorithms marked “Real” are genuinely trained in your browser with real networks and tables, but in small teaching configurations; their results do not represent research or production performance. The application models (energy, traffic, health, finance…) are educational simulations with synthetic parameters, not medical or financial advice.

Loading experiments…

Lessons

deep

Function approximation and why neural networks

In CartPole the state is four real numbers, so the number of states is infinite and a table cannot work.

Read the lesson
deep

DQN: replay and the target network

Consecutive samples are strongly correlated, so training on them directly breaks the independence assumption.

Read the lesson
deep

Double, Dueling, PER and Rainbow

Double DQN separates action selection (online network) from evaluation (target network) to reduce max-bias.

Read the lesson
deep

Instability and reproducibility

Deep-RL results are sensitive to seeds, hyper-parameters and implementation details.

Read the lesson

Algorithms in this lab

Algorithms library
AlgorithmFamilyStatus in the labNote
DQNValue-basedReal, runs in the browser
Double DQNValue-basedReal, runs in the browser
Dueling DQNValue-basedReal, runs in the browser
Prioritised experience replayValue-basedReal, runs in the browser
Rainbow-liteValue-basedReal, concurrency emulatedA reduced version for teaching, not the full Rainbow.
DRQNValue-basedExplained only (not implemented)Explained only: not implemented because the lab engine has no recurrent networks.

Environments of this lab

Environments library

Test yourself on this lab · Projects and challenges · My saved experiments