Three independent reasons, all pointing the same way:
Mathematical convergence. In tasks that never end (continuing tasks), ∑R could be infinite. Discounting with γ<1 keeps the sum finite (proved below).
Uncertainty about the future. Think of γ as a "survival probability" — at each step there's a chance the process stops. Reward you might never live to collect should count less.
Preference / economics. Like interest rates: money (reward) now can be reinvested, so it is genuinely worth more than the same amount later.
Claim: If every reward is bounded, ∣R∣≤Rmax, and 0≤γ<1, then Gt is finite.
Step 1 — Bound each term.∣Gt∣=∑k=0∞γkRt+k+1≤∑k=0∞γk∣Rt+k+1∣≤∑k=0∞γkRmaxWhy this step? Triangle inequality moves the absolute value inside, then we replace every reward by its worst case Rmax.
Step 2 — Sum the geometric series.
Let S=∑k=0∞γk=1+γ+γ2+⋯. Multiply by γ:
γS=γ+γ2+⋯⟹S−γS=1⟹S=1−γ1Why this step? Subtracting a shifted copy telescopes all the middle terms — the classic geometric-series trick, valid because γ<1 makes γk→0.
Step 3 — Combine.∣Gt∣≤1−γRmax
So the return is finite. Notice: as γ→1, this bound blows up — long horizons need care.
The weights γk shrink geometrically. Two related "horizon" numbers show up — don't confuse them:
1. The 1−γ1 scale. This is the value of ∑k=0∞γk (total weight) and the characteristic scale over which weights decay to 1/e-ish. It's the number usually quoted as the rough planning horizon.
2. The true mean step you look at. Normalize the weights into a probability distribution P(k)=(1−γ)γk (they sum to 1). Its mean index is
E[k]=∑k=0∞k(1−γ)γk=1−γγ.Why this step? Using ∑kkγk=(1−γ)2γ and multiplying by the normalizer (1−γ) gives 1−γγ — note the extra γ in the numerator, so the mean is one less than 1−γ1.
The total discounted future reward from step t: Gt=∑k=0∞γkRt+k+1.
Which reward index does Gt start from, and why?
From Rt+1 — the reward is received after the action taken at time t.
What is the discount factor γ and its range?
A weight in [0,1] that scales how much future rewards count; each future step multiplies by an extra γ.
What does γ=0 produce?
A myopic agent that cares only about the immediate reward Rt+1.
What does γ→1 produce?
A far-sighted agent that weights distant rewards almost as much as near ones.
Recursive form of the return?
Gt=Rt+1+γGt+1.
What terminal condition does the return recursion need in an episodic task?
GT=0 after the final reward (nothing comes after termination).
Upper bound on ∣Gt∣ with bounded reward?
1−γRmax.
Sum of the geometric series ∑k=0∞γk?
1−γ1 for ∣γ∣<1.
Return of a constant reward +1 forever with γ=0.9?
1/(1−0.9)=10.
What is the decay-scale horizon for a given γ?
1−γ1 (total weight / characteristic scale).
What is the mean step index under normalized discount weights?
1−γγ (one less than the decay scale; they agree as γ→1).
Why discount in continuing tasks?
To keep the infinite reward sum finite (convergent).
Does larger γ always increase the return?
No — it amplifies the future, so with net-negative future rewards it decreases the return.
Recall Feynman: explain to a 12-year-old
Imagine you're collecting candies. A candy you get right now you can enjoy for sure. A candy someone promises you next week is worth a bit less — maybe you'll move away, maybe they'll forget. So you decide "a next-week candy is worth 90% of a today candy." The week after that, 90% of 90%, and so on. The return is just adding up all your future candies after shrinking the far-away ones. γ (like 0.9) is your "how much do I trust the future" number.
Reinforcement Learning mein agent sirf abhi ka reward nahi, balki apne poore future ka reward maximize karna chahta hai. Is total future reward ko returnGt kehte hain. Lekin problem yeh hai ki future ka reward utna "pakka" nahi hota jitna aaj ka. Isiliye hum ek discount factorγ (0 se 1 ke beech) lagate hain — har ek step aage jaane par reward ko γ se multiply kar dete hain. Matlab Gt=Rt+1+γRt+2+γ2Rt+3+…. Yaad rakho: reward action ke baad milta hai, isliye counting Rt+1 se start hoti hai — yeh off-by-one bahut students galat karte hain.
γ ka intuition simple hai: yeh "future par kitna bharosa" ka dial hai. γ=0 matlab agent bilkul lalchi (myopic) — sirf agla reward dekhta hai. γ ko 1 ke paas le jao to agent door ke reward ki bhi utni hi keemat samajhta hai — patient, long-term planner ban jaata hai. Ek dhyan dene wali baat: log aksar 1−γ1 ko "horizon" bolte hain, par yeh actually total weight / decay scale hai. Normalized weights ka asli mean step1−γγ hota hai — bilkul ek kam. γ→1 par dono barabar ho jaate hain, isliye loose version chalta rehta hai.
Discount kyu zaroori hai? Kyunki continuing (kabhi na khatam hone wale) tasks mein agar γ=1 rakhoge to reward ka sum infinite ho sakta hai. Geometric series ki madad se prove hota hai ki ∑γk=1−γ1, aur isse ∣Gt∣≤1−γRmax — yaani return finite reh jaata hai. Example: har step +1 reward aur γ=0.9 ho to return =10, infinity nahi!
Sabse important baat jo aage kaam aayegi: return ko recursive form mein likh sakte hain — Gt=Rt+1+γGt+1. Yeh recursion ek terminal condition (G=0 episode khatam hone ke baad) se start hoti hai. Yehi chhoti si equation aage chalke Bellman equation aur value functions ki neev banti hai. Isko dil se samajh lo, baaki RL aasan ho jaayega.