Skip to content
StackDecode
AI & ML Atlas
Deep LearningtechniqueAnimated walkthrough

Deep Reinforcement Learning

Reinforcement learning where deep networks represent the policy or value function.

The idea

Classic RL tables cannot cover huge state spaces such as game screens. A neural network takes the raw state and outputs action values (DQN) or action probabilities (policy gradients), generalising across similar states. Tricks such as experience replay and target networks keep training stable.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1The agent observes the state (for example pixels).
  2. 2The network outputs action values or a policy.
  3. 3Act, receive a reward and the next state.
  4. 4Store the experience and train the network on batches of it.
1/4

Step by step

  1. 1The agent observes the state (for example pixels).
  2. 2The network outputs action values or a policy.
  3. 3Act, receive a reward and the next state.
  4. 4Store the experience and train the network on batches of it.

Where it is used

Game-playing agents, robotics, data-centre cooling, RLHF for language models.

Watch out for

Sample-hungry and unstable; results vary a lot between runs.

Related