What is discount?
In reinforcement learning, the factor between 0 and 1 by which a reward is multiplied for every step of delay.
Where it is taught
Reinforcement learning. An agent tries things, receives a reward now and then, and works out which of its earlier actions deserve the credit. One update rule is enough to learn a maze.
What the lesson leaves you with
- An agent learns from rewards, which can come long after the actions that earned them.
- A Q-value is the expected discounted reward of taking an action in a state.
- The update moves each estimate a little towards the reward plus the discounted value of the next state.
Questions
- What is discount?
- In reinforcement learning, the factor gamma between 0 and 1 by which a reward is multiplied for every step of delay.
- Where is discount used in AI?
- An agent tries things, receives a reward now and then, and works out which of its earlier actions deserve the credit. One update rule is enough to learn a maze.
- What is the key idea to remember about discount?
- An agent learns from rewards, which can come long after the actions that earned them.
- Where can I learn discount step by step?
- In the lesson “Reinforcement learning” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.