# Deep Q-networks play Atari

Date: 19 December 2013 · Era: IV · Deep learning · Category: model · Significance: 4/5
People: Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Demis Hassabis
Organisations: DeepMind

Canonical: https://shapeofintelligence.com/timeline/2013-dqn/ · Dataset and text CC BY 4.0

> DeepMind's network learns to play Atari games from raw pixels and the score alone, using Watkins's Q-learning with a convolutional network as the value table.

## What had to happen

29 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1948 · A mathematical theory of communication](https://shapeofintelligence.com/md/timeline/1948-shannon-information-theory/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1950 · Programming a computer for playing chess](https://shapeofintelligence.com/md/timeline/1950-shannon-chess/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1959 · Samuel's checkers program coins 'machine learning'](https://shapeofintelligence.com/md/timeline/1959-samuel-machine-learning/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1965 · Moore's law](https://shapeofintelligence.com/md/timeline/1965-moores-law/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1980 · The Neocognitron](https://shapeofintelligence.com/md/timeline/1980-neocognitron/)
- [1982 · The Hopfield network](https://shapeofintelligence.com/md/timeline/1982-hopfield-network/)
- [1985 · The Boltzmann machine](https://shapeofintelligence.com/md/timeline/1985-boltzmann-machine/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/)
- [1988 · Temporal-difference learning](https://shapeofintelligence.com/md/timeline/1988-temporal-difference-learning/)
- [1989 · Q-learning](https://shapeofintelligence.com/md/timeline/1989-q-learning/) *direct*
- [1989 · LeNet reads handwritten postcodes](https://shapeofintelligence.com/md/timeline/1989-lenet/)
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/)
- [1991 · The vanishing gradient problem](https://shapeofintelligence.com/md/timeline/1991-vanishing-gradient/)
- [1992 · TD-Gammon reaches world-class backgammon](https://shapeofintelligence.com/md/timeline/1992-td-gammon/) *direct*
- [1998 · MNIST and LeNet-5](https://shapeofintelligence.com/md/timeline/1998-mnist-lenet5/)
- [1999 · The first GPU](https://shapeofintelligence.com/md/timeline/1999-geforce-256/)
- [2006 · Deep belief networks and the word 'deep'](https://shapeofintelligence.com/md/timeline/2006-deep-belief-nets/)
- [2007 · CUDA](https://shapeofintelligence.com/md/timeline/2007-cuda/)
- [2009 · ImageNet](https://shapeofintelligence.com/md/timeline/2009-imagenet/)
- [2010 · Rectified linear units](https://shapeofintelligence.com/md/timeline/2010-relu/)
- [2012 · Dropout](https://shapeofintelligence.com/md/timeline/2012-dropout/)
- [2012 · AlexNet wins ImageNet](https://shapeofintelligence.com/md/timeline/2012-alexnet/) *direct*

Watkins's Q-learning stored a value for every state and action in a table, which was why it had never scaled. DeepMind's paper, posted on 19 December 2013 and published in Nature in February 2015, replaced the table with a convolutional network that took the last four frames of an Atari 2600 screen as input and produced a value for each joystick action. The network was trained on Watkins's update rule, with two additions that made it stable: a replay memory that shuffled past experiences so consecutive updates were not correlated, and a slowly updated copy of the network to provide the targets.

The same program, with the same settings, learned 49 games from nothing but the pixels and the score. On 29 of them it matched or beat a professional human tester. It discovered, in Breakout, the trick of tunnelling through the wall to bounce the ball behind it, which nobody had told it about.

The paper is the origin of deep reinforcement learning as a field and the reason Google bought DeepMind a month after the preprint appeared. Its recipe, a deep network trained by temporal-difference error from experience, scaled to AlphaGo two years later and to the agents of the 2020s that learn to use computers.

## What it led to

43 events downstream, through 2026.

Built on it directly:

- [2014 · Google buys DeepMind](https://shapeofintelligence.com/md/timeline/2014-deepmind-acquired/)
- [2016 · AlphaGo beats Lee Sedol](https://shapeofintelligence.com/md/timeline/2016-alphago/)
- [2017 · Deep reinforcement learning from human preferences](https://shapeofintelligence.com/md/timeline/2017-rl-from-human-preferences/)

And, through them, by era:

- IV · Deep learning: 1 events
- V · Transformers: 6 events
- VI · Everyone: 19 events
- VII · Agents: 14 events

## Sources

- [Playing Atari with Deep Reinforcement Learning (arXiv:1312.5602)](https://arxiv.org/abs/1312.5602) — paper
- [Human-level control through deep reinforcement learning (Nature, 2015)](https://doi.org/10.1038/nature14236) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2013-dqn/

Before: [2013 · Word2vec](https://shapeofintelligence.com/md/timeline/2013-word2vec/) · After: [2014 · Google buys DeepMind](https://shapeofintelligence.com/md/timeline/2014-deepmind-acquired/)
