Quick Summary
Additional Context
This article appeared in Make: Vol. 99. Subscribe to Make: for the latest articles.
Reinforcement learning (RL) is a subfield within artificial intelligence (AI) that has made dramatic strides in tackling complex tasks. It involves training an agent to accomplish a task through trial and error. The agent is a computer program that observes its environment and decides what action to take next. The rule it uses to make that decision is called its policy.
The agent can also receive a reward from the environment, such as points in a video game, victory in a game of chess, or making a robot take a step without falling over. This reward is typically a numerical value. The agent uses this reward to improve its policy. Over time and with many interactions with the environment, the agent improves