# Deep reinforcement learning from human preferences

Date: 12 June 2017 · Era: V · Transformers · Category: theory · Significance: 4/5
People: Paul Christiano, Jan Leike, Tom Brown, Dario Amodei
Organisations: OpenAI, DeepMind

Canonical: https://shapeofintelligence.com/timeline/2017-rl-from-human-preferences/ · Dataset and text CC BY 4.0

> Christiano and colleagues train agents from a human's choices between pairs of video clips instead of a coded reward; the method that will align chatbots is born.

## What had to happen

30 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/)
- [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/)
- [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/)
- [2013 · Deep Q-networks play Atari](https://shapeofintelligence.com/md/timeline/2013-dqn/) *direct*

Reinforcement learning needs a reward, and for most things people want, no one can write the reward down. Paul Christiano's paper, a collaboration between OpenAI and DeepMind posted on 12 June 2017, the same day as the transformer, proposed getting it from people a different way. Show a human two short clips of an agent's behaviour and ask which is better. Train a reward model to predict those judgements. Train the agent against the reward model. Repeat, asking the human about the cases the reward model is least sure of. With about an hour of a person's time, a simulated robot learned to do a backflip, a behaviour that nobody had managed to specify as a formula.

The paper was a safety paper. Its authors, several of whom later founded Anthropic, were looking for a way to make systems do what people meant rather than what they had literally been told, the problem Bostrom had made famous.

Three years later the same recipe was applied to language: a model writes two summaries, a person picks the better one, and the model is trained towards the preference. That became reinforcement learning from human feedback, the step that turned GPT-3 into InstructGPT and InstructGPT into ChatGPT. The chatbot that talks to you politely was tuned by the method in this paper.

## What it led to

32 events downstream, through 2026.

Built on it directly:

- [2020 · Learning to summarise from human feedback](https://shapeofintelligence.com/md/timeline/2020-rlhf-summarisation/)
- [2022 · InstructGPT](https://shapeofintelligence.com/md/timeline/2022-instructgpt/)
- [2026 · A model escapes its sandbox](https://shapeofintelligence.com/md/timeline/2026-sol-sandbox-escape/)

And, through them, by era:

- VI · Everyone: 16 events
- VII · Agents: 13 events

## Sources

- [Deep Reinforcement Learning from Human Preferences (arXiv:1706.03741)](https://arxiv.org/abs/1706.03741) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2017-rl-from-human-preferences/

Before: [2017 · Attention is all you need](https://shapeofintelligence.com/md/timeline/2017-attention-is-all-you-need/) · After: [2017 · AlphaGo Zero learns from nothing](https://shapeofintelligence.com/md/timeline/2017-alphago-zero/)
