Why do we use a discount factor in reinforcement learning?
Reinforcement learning, Markov decision processes
Level L1 Beginner. Length One-liner. Nature Th Theoretical.
What's being asked
Whether you know both the mathematical reason and the modelling reason for discounting.
Key idea
With rewards bounded by , , so the return stays finite in tasks that never end. also sets an effective horizon of about steps and expresses a preference for sooner reward.
Steps
- Say that it keeps the infinite sum of rewards finite, by the geometric-series bound .
- Say that it sets the planning horizon: looks roughly 100 steps ahead; is purely greedy.
- If asked for more: makes the Bellman operator a contraction, which is why value iteration converges.
Common mistakes
- Saying it is only about "reward now is worth more than reward later". In RL the convergence reason matters as much.
- Thinking is never allowed. It is fine in episodic tasks that are guaranteed to terminate.
How long your answer should be
One sentence; add the horizon if asked to expand.
Last checked on 4 December 2026.
Read this
- Sutton and Barto, Reinforcement Learning: An Introduction (2nd ed.), Section 3.3: Free PDF. Section 3.3, Returns and Episodes (pp. 54–56): the discounted return, why γ < 1 keeps continuing-task returns finite, and the 1/(1 − γ) geometric sum.
- David Silver, UCL RL Course, Lecture 2: Markov Decision Processes: Slide 13, ‘Why discount?’: the mathematical, uncertainty and preference reasons for discounting, listed on one slide.
- NPTEL: Reinforcement Learning (IIT Madras, Prof. Balaraman Ravindran): Week 3, Returns, Value Functions and MDPs, which covers discounted returns and why they are used.
Previous in Reinforcement learning: What is the exploration–exploitation dilemma, and why can a purely greedy agent get stuck choosing a poor action?
Next in Reinforcement learning: What is a Markov decision process, what are its components, and what objective does an agent optimise?