Reinforcement learning
A way of training AI by trial and error: the system tries actions and is rewarded when they work, so it learns to do more of what pays.
Reinforcement learning is one of the three basic ways machines learn, alongside learning from labelled examples and finding patterns on their own. Instead of being shown the right answer, an agent acts in an environment, receives a number called a reward, and gradually changes its behaviour to collect as much reward as possible.
It is much like training a dog with treats, or the reward experiments of behavioural psychology. Reinforcement learning taught computers to play backgammon, Atari games and Go, where DeepMind's AlphaGo beat the world's top players. Modern chatbots and reasoning models are also fine-tuned with it: they try many answers to maths and coding problems and are rewarded when the answer checks out.
A common misconception is that the system learns what its designers want. It learns what is rewarded. If the reward is badly designed, the agent can find unexpected shortcuts: in 2016 an OpenAI boat-racing agent scored about 20 percent more points than human players by circling a lagoon instead of finishing the race.
See it in action
Coming up in future stories
- The Boat That Won by Going Round in Circles 21 Dec 2016 · OpenAI, San Francisco
- The Chinese AI That Wiped $593 Billion Off Nvidia 20–27 Jan 2025 · Hangzhou, China, and Wall Street