Skip to content
The Shape of Intelligence

Q-learning

Chris Watkins's thesis gives an algorithm that learns the value of every action in every state from experience alone, with a proof that it converges to the best policy.

category
theory
significance
4 of 5
people
Chris Watkins, Peter Dayan
organisations
University of Cambridge

what had to happen · 4 events back to 1943

Every event this one built on, transitively, in order. Direct influences are marked.

Temporal-difference learning told you how good a situation was. Chris Watkins's 1989 Cambridge thesis told you what to do about it. Q-learning keeps a table of values, one for each state and each action available in it, and updates each entry towards the reward received plus the best value available from the next state. The agent can behave however it likes while learning, exploring, making mistakes, and the table still converges to the values of the optimal policy. Watkins and Peter Dayan published the convergence proof in 1992.

The algorithm is simple enough to write on an index card and general enough to apply to anything that can be described as states, actions and rewards. Through the 1990s it was used on small problems, elevators, network routing, games with a few thousand states, because the table grew with the world.

Replacing the table with a neural network was the obvious extension and the unstable one, and it took until 2013 for DeepMind to make it work. Their deep Q-network learned to play Atari games from pixels using Watkins's update rule with a convolutional network as the table, and the paper that described it was the founding document of deep reinforcement learning.

what it led to · 45 events downstream, through 2026

Built on it directly:

  1. 2010DeepMind is foundedIII
  2. 2013Deep Q-networks play AtariIV

And, through them, by era:

sources · 2

See this era in the exhibition →Back to the timeline