Research

The ideas behind the agent.

Four concepts explain most of what reinforcement learning does. Choose one to read a short explanation, then try the discount slider.

Concepts

Rewards

A reward is a number the environment returns after each action. The agent's only goal is to collect as much reward as possible over time, so the reward design is the real specification.

  • Reward the outcome you want, not a shortcut that happens to correlate with it.
  • Small step costs encourage efficient behaviour.
  • Badly designed rewards get "gamed": the agent finds loopholes you did not intend.

0.90

Move the slider to see how much a future reward is worth today.