Deep Q-networks

Step 7 of 10 in Reinforcement Learning · Build · Hard

Replace the Q-table with a neural network. A replay buffer and a target network stop training from chasing its own tail.

Build it

  1. DQN

    DQN on CartPole then LunarLander; ablate the target network.

    Done when: LunarLander average ≥ 200; ablation breaks training.

Case study: DQN plays Atari (2013)

  • One network learned dozens of Atari games from raw pixels and score.
  • Superhuman on Breakout, hopeless on Montezuma's Revenge (sparse rewards).
  • Exploration remained the hard open problem.

Read the case study

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map