Reinforcement Learning

We cannot always provide the correct answer before an action is taken. Reinforcement learning uses the rewards that follow actions to improve a policy, including decisions whose consequences appear several steps later.

13 sections · 14 questions · 4 coding challenges

1 / 13

How Do We Learn When the Consequence Arrives Later?

BOTIE

Suppose an agent is moving through a maze. We may know when it reaches the exit without having a labelled correct move for every location. Some useful moves initially take it away from the exit, so judging each action only by its immediate reward can be misleading.

Reinforcement learning brings together ideas from trial-and-error learning and the study of sequential decisions. Watkins' Q-learning, analysed with Dayan in 1992, gave an agent a way to improve estimates of action quality from experience without first learning a complete model of the environment.

The agent observes a state, chooses an action, receives a reward and a new state, and updates what it expects from similar choices. A value estimate includes possible later rewards, allowing useful outcomes to inform earlier decisions. Exploration supplies experience beyond the current favourite action. The learned behaviour depends on what the reward measures, which may differ from what we actually hoped the agent would accomplish.

Sources for this history