Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Discount

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 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.
Open the lesson

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.

Related terms

  • Clustering
  • Matrix factorisation
  • Precision and recall
  • Q-value
  • Reinforcement learning
  • Self-supervised learning