Simple Algorithm
Artificial Intelligence · Deep Layer · 28 min

Bellman Equations & Contraction

Why value iteration converges.

Every reinforcement learning algorithm iterates some Bellman operator, exactly or from samples. The classical facts, a γ\gamma-contraction in the sup norm with a unique fixed point and optimal stationary policies, are proved in MDPs: Value & Policy Iteration. This lesson asks the questions that decide what happens beyond tabular planning: which backups contract and which do not, in which norms, what a value or model error costs, and what changes when you back up whole return distributions instead of their means.

What you’ll learn

  • Prove a contraction criterion for Bellman-type backups, apply it to the log-sum-exp and mellowmax operators, and show that the Boltzmann-weighted average fails it.
  • Prove that TπT^\pi is a γ\gamma-contraction in the L2L_2 norm weighted by its stationary distribution, and derive the 1/1−γ21/\sqrt{1-\gamma^2} bound on the error of the TD fixed point.
  • Prove the performance-difference and simulation lemmas, and use them to price policy changes and model errors.
  • Explain why the distributional Bellman operator contracts in the maximal Wasserstein metric, and why its control version does not.

One proof, many backups

DerivationProof, and which aggregators qualify
  1. ∣(TMQ)(s,a)−(TMQ′)(s,a)∣≤γ∑s′P(s′∣s,a) ∣M(Q(s′,⋅))−M(Q′(s′,⋅))∣≤γ∥Q−Q′∥∞\abs{(T_MQ)(s,a)-(T_MQ')(s,a)}\le\gamma\sum_{s'}P(s'\mid s,a)\,\Big|M\big(Q(s',\cdot)\big)-M\big(Q'(s',\cdot)\big)\Big|\le\gamma\norm{Q-Q'}_\infty

    For each (s,a)(s,a) the reward cancels and the transition probabilities average the aggregator's differences, each at most ∥Q−Q′∥∞\norm{Q-Q'}_\infty:

  2. ∣lseβ(q)−lseβ(q′)∣=∣∑apa (qa−qa′)∣≤∥q−q′∥∞,p=softmax⁡(βξ)\abs{\mathrm{lse}_\beta(q)-\mathrm{lse}_\beta(q')}=\Big|\sum_ap_a\,(q_a-q'_a)\Big|\le\norm{q-q'}_\infty,\qquad p=\softmax(\beta\xi)

    Max and fixed averages are non-expansions. So is lseβ\mathrm{lse}_\beta: its gradient is softmax⁡(βq)\softmax(\beta q), a probability vector, so the mean value theorem on the segment from q′q' to qq gives, for some point ξ\xi on it,

  3. q=(0, 2),q′=(−0.5, 2.5):∥q−q′∥∞=0.5,boltz1(q′)−boltz1(q)=2.358−1.762=0.596q=(0,\,2),\quad q'=(-0.5,\,2.5):\qquad\norm{q-q'}_\infty=0.5,\qquad\mathrm{boltz}_1(q')-\mathrm{boltz}_1(q)=2.358-1.762=0.596

    The mellowmax mmω(q)=1ωlog⁡(1∣A∣∑aeωqa)\mathrm{mm}_\omega(q)=\frac1\omega\log\big(\frac{1}{|\mathcal A|}\sum_ae^{\omega q_a}\big) of Asadi and Littman (2017) differs from lseω\mathrm{lse}_\omega by the constant log⁡∣A∣/ω\log|\mathcal A|/\omega, so it qualifies too. The Boltzmann average boltzβ(q)=∑asoftmax⁡(βq)a qa\mathrm{boltz}_\beta(q)=\sum_a\softmax(\beta q)_a\,q_a does not. With β=1\beta=1 and two actions:

  4. Its weights shift toward whichever entries grow, amplifying the change. Asadi and Littman built an MDP on which value iteration with the Boltzmann average has several fixed points, so there it is not a contraction in any norm, and SARSA with Boltzmann exploration can fail to converge.

The soft operator matters because entropy-regularized RL maximizes E[∑tγt(rt+β−1H(π(⋅∣St)))]\E\big[\sum_t\gamma^t\big(r_t+\beta^{-1}\mathcal H(\pi(\cdot\mid S_t))\big)\big], whose optimal action values are the fixed point QβQ_\beta of the soft operator and whose optimal policy is πβ(a∣s)∝eβQβ(s,a)\pi_\beta(a\mid s)\propto e^{\beta Q_\beta(s,a)} (Ziebart, 2010; Haarnoja et al., 2017). Soft actor–critic builds on it (Actor–Critic & Soft Actor–Critic). Since 0≤lseβ(q)−max⁡aqa≤log⁡∣A∣/β0\le\mathrm{lse}_\beta(q)-\max_aq_a\le\log|\mathcal A|/\beta, comparing the two fixed points prices the softness:

∥Qβ−Q∗∥∞≤∥TlseQβ−TQβ∥∞+∥TQβ−TQ∗∥∞≤γlog⁡∣A∣β+γ∥Qβ−Q∗∥∞ ⟹ ∥Qβ−Q∗∥∞≤γlog⁡∣A∣β (1−γ)\norm{Q_\beta-Q^*}_\infty\le\norm{T_{\mathrm{lse}}Q_\beta-TQ_\beta}_\infty+\norm{TQ_\beta-TQ^*}_\infty\le\frac{\gamma\log|\mathcal A|}{\beta}+\gamma\norm{Q_\beta-Q^*}_\infty\ \Longrightarrow\ \norm{Q_\beta-Q^*}_\infty\le\frac{\gamma\log|\mathcal A|}{\beta\,(1-\gamma)}
At most log⁡∣A∣/β\log|\mathcal A|/\beta of extra value per step, accumulated over the effective horizon; as β→∞\beta\to\infty the soft values converge to Q∗Q^*.
Check your understanding

Which aggregator MM can make the backup TMT_M fail to be a sup-norm contraction?

  1. M(q)=max⁡aqaM(q)=\max_aq_a
  2. M(q)=1βlog⁡∑aeβqaM(q)=\frac1\beta\log\sum_ae^{\beta q_a}
  3. M(q)=∑asoftmax⁡(βq)a qaM(q)=\sum_a\softmax(\beta q)_a\,q_a
  4. M(q)=∑aπ(a) qaM(q)=\sum_a\pi(a)\,q_a for a fixed distribution π\pi
Show the answer

C. M(q)=∑asoftmax⁡(βq)a qaM(q)=\sum_a\softmax(\beta q)_a\,q_a

The Boltzmann average is not a non-expansion: its weights move toward whichever entries grow, so a change of size δ\delta can move it by more than δ\delta (0.596 for a change of 0.5 in the example). Max, log-sum-exp and fixed averages all satisfy ∣M(q)−M(q′)∣≤∥q−q′∥∞\abs{M(q)-M(q')}\le\norm{q-q'}_\infty.

Which norm? On-policy weighting and the TD fixed point

With function approximation, values live in a subspace F={Φθ}\mathcal F=\{\Phi\theta\} spanned by the columns of a feature matrix Φ∈R∣S∣×k\Phi\in\R^{|\mathcal S|\times k}, and each iteration projects back onto it. The least-squares projection Πμ\Pi_\mu with weights μ\mu is a non-expansion in ∥V∥μ=(∑sμ(s)V(s)2)1/2\norm V_\mu=\big(\sum_s\mu(s)V(s)^2\big)^{1/2} but not in the sup norm, so the classical argument says nothing about ΠμTπ\Pi_\mu T^\pi. The rescue is a contraction in the right norm.

DerivationProof
  1. ∥PπV∥μ2=∑sμ(s)(∑s′Pπ(s,s′)V(s′))2≤∑sμ(s)∑s′Pπ(s,s′)V(s′)2=∑s′μ(s′)V(s′)2=∥V∥μ2\norm{P^\pi V}_\mu^2=\sum_s\mu(s)\Big(\sum_{s'}P^\pi(s,s')V(s')\Big)^2\le\sum_s\mu(s)\sum_{s'}P^\pi(s,s')V(s')^2=\sum_{s'}\mu(s')V(s')^2=\norm V_\mu^2

    Jensen's inequality inside each row, then stationarity of μ\mu:

  2. ∥Vπ−Vˉ∥μ2=∥Vπ−ΠμVπ∥μ2+∥ΠμVπ−Vˉ∥μ2\norm{V^\pi-\bar V}_\mu^2=\norm{V^\pi-\Pi_\mu V^\pi}_\mu^2+\norm{\Pi_\mu V^\pi-\bar V}_\mu^2

    So TπT^\pi contracts in ∥⋅∥μ\norm\cdot_\mu, and composing with the non-expansion Πμ\Pi_\mu keeps the contraction. For the error bound, let Vˉ=ΦθTD=ΠμTπVˉ\bar V=\Phi\theta_{\mathrm{TD}}=\Pi_\mu T^\pi\bar V. Because Πμ\Pi_\mu is an orthogonal projection for ⟨⋅,⋅⟩μ\langle\cdot,\cdot\rangle_\mu, Pythagoras splits the error:

  3. ∥ΠμVπ−Vˉ∥μ=∥ΠμTπVπ−ΠμTπVˉ∥μ≤γ∥Vπ−Vˉ∥μ\norm{\Pi_\mu V^\pi-\bar V}_\mu=\norm{\Pi_\mu T^\pi V^\pi-\Pi_\mu T^\pi\bar V}_\mu\le\gamma\norm{V^\pi-\bar V}_\mu

    The second term is a difference of projected backups, because Vπ=TπVπV^\pi=T^\pi V^\pi:

  4. (1−γ2) ∥Vπ−Vˉ∥μ2≤∥Vπ−ΠμVπ∥μ2■(1-\gamma^2)\,\norm{V^\pi-\bar V}_\mu^2\le\norm{V^\pi-\Pi_\mu V^\pi}_\mu^2\qquad\blacksquare

    Substitute and rearrange. The square root comes from Pythagoras; a sup-norm argument would lose a full 1/(1−γ)1/(1-\gamma):

Predict before you look

At γ=0.99\gamma=0.99, by what factor can the TD fixed point's μ\mu-weighted error exceed that of the best approximation in the feature space, according to the bound?

Show the answer

7.1

1/1−0.992=1/0.0199≈7.091/\sqrt{1-0.99^2}=1/\sqrt{0.0199}\approx7.09, against 1/(1−γ)=1001/(1-\gamma)=100 for a sup-norm style bound. The guarantee is worst-case and holds in the stationary norm only: states the policy rarely visits can still be badly wrong.

Everything hinges on μ\mu being stationary for the policy evaluated. Under off-policy sampling PπP^\pi need not be a non-expansion in ∥⋅∥μ\norm\cdot_\mu, and linear TD can diverge. The smallest example (Sutton & Barto, §11.2) has two states with features 1 and 2, so their estimates are ww and 2w2w, and a transition from the first to the second with reward 0 that is the only one updated. The semi-gradient TD update is w←w+α(γ⋅2w−w)=(1+α(2γ−1))ww\leftarrow w+\alpha(\gamma\cdot2w-w)=\big(1+\alpha(2\gamma-1)\big)w, which grows without bound for γ>12\gamma>\tfrac12, although w=0w=0 is exact. Function approximation, bootstrapping and off-policy data together form the deadly triad (Convergence of Q-Learning). No comparable guarantee holds for the optimality operator, whose greedy policy, and with it the relevant distribution, changes with QQ; this is one reason Q-learning with function approximation lacks the guarantees of on-policy linear TD.

What errors cost: performance difference and simulation

DerivationProof by telescoping
  1. J(π′)−J(π)=Eπ′[∑t≥0γtRt+1]−E[Vπ(S0)]=Eπ′[∑t≥0γt(Rt+1+γVπ(St+1)−Vπ(St))]J(\pi')-J(\pi)=\E_{\pi'}\Big[\sum_{t\ge0}\gamma^tR_{t+1}\Big]-\E\big[V^\pi(S_0)\big]=\E_{\pi'}\Big[\sum_{t\ge0}\gamma^t\big(R_{t+1}+\gamma V^\pi(S_{t+1})-V^\pi(S_t)\big)\Big]

    Run π′\pi' from S0∼ρS_0\sim\rho and add a telescoping sum of π\pi's values, which collapses to −Vπ(S0)-V^\pi(S_0) because γtVπ(St)→0\gamma^tV^\pi(S_t)\to0:

  2. Eπ′[Rt+1+γVπ(St+1) ∣ St,At]−Vπ(St)=Qπ(St,At)−Vπ(St)=Aπ(St,At)\E_{\pi'}\big[R_{t+1}+\gamma V^\pi(S_{t+1})\,\big|\,S_t,A_t\big]-V^\pi(S_t)=Q^\pi(S_t,A_t)-V^\pi(S_t)=A^\pi(S_t,A_t)

    Condition each term on (St,At)(S_t,A_t). The expected reward plus discounted next value is Qπ(St,At)Q^\pi(S_t,A_t), so each bracket averages to an advantage:

  3. J(π′)−J(π)=∑t≥0γt Eπ′[Aπ(St,At)]=11−γ∑s,adρπ′(s,a) Aπ(s,a)■J(\pi')-J(\pi)=\sum_{t\ge0}\gamma^t\,\E_{\pi'}\big[A^\pi(S_t,A_t)\big]=\frac{1}{1-\gamma}\sum_{s,a}d^{\pi'}_\rho(s,a)\,A^\pi(s,a)\qquad\blacksquare

    Sum with weights γt\gamma^t and regroup by state–action pair, exactly as in the occupancy derivation of RL Foundations:

Three uses follow. Policy improvement in one line: if π′\pi' is greedy for QπQ^\pi, then ∑aπ′(a∣s)Aπ(s,a)≥0\sum_a\pi'(a\mid s)A^\pi(s,a)\ge0 in every state, so J(π′)≥J(π)J(\pi')\ge J(\pi) for every ρ\rho. The trust-region problem: the expectation is under dπ′d^{\pi'}, unknown until π′\pi' is deployed. Replacing it by dπd^\pi gives a surrogate that is accurate only while π′\pi' stays close to π\pi; conservative policy iteration (Kakade & Langford, 2002) and TRPO bound the discrepancy (Trust Regions: TRPO & PPO). Policy gradients: differentiate at π′=πθ\pi'=\pi_\theta; the term from differentiating dπ′d^{\pi'} multiplies ∑aπθ(a∣s)Aπθ(s,a)=0\sum_a\pi_\theta(a\mid s)A^{\pi_\theta}(s,a)=0 and drops out, leaving the policy gradient theorem ∇J=11−γEs∼dπθ[∑a∇πθ(a∣s) Aπθ(s,a)]\nabla J=\frac{1}{1-\gamma}\E_{s\sim d^{\pi_\theta}}\big[\sum_a\nabla\pi_\theta(a\mid s)\,A^{\pi_\theta}(s,a)\big] (The Policy Gradient Theorem).

DerivationProof
  1. V^π−Vπ=(I−γP^π)−1[(r^π−rπ)+γ(P^π−Pπ)Vπ]\hat V^\pi-V^\pi=\big(I-\gamma\hat P^\pi\big)^{-1}\Big[\big(\hat r^\pi-r^\pi\big)+\gamma\big(\hat P^\pi-P^\pi\big)V^\pi\Big]

    Subtract the Bellman equations V^π=r^π+γP^πV^π\hat V^\pi=\hat r^\pi+\gamma\hat P^\pi\hat V^\pi and Vπ=rπ+γPπVπV^\pi=r^\pi+\gamma P^\pi V^\pi, adding and subtracting γP^πVπ\gamma\hat P^\pi V^\pi:

  2. ∥V^π−Vπ∥∞≤11−γ(εr+γ εP Rmax⁡1−γ)\norm{\hat V^\pi-V^\pi}_\infty\le\frac{1}{1-\gamma}\Big(\varepsilon_r+\gamma\,\varepsilon_P\,\frac{R_{\max}}{1-\gamma}\Big)

    (I−γP^π)−1=∑kγk(P^π)k(I-\gamma\hat P^\pi)^{-1}=\sum_k\gamma^k(\hat P^\pi)^k has sup-norm at most 1/(1−γ)1/(1-\gamma), each row of P^π−Pπ\hat P^\pi-P^\pi has L1L_1 norm at most εP\varepsilon_P, and ∥Vπ∥∞≤Rmax⁡/(1−γ)\norm{V^\pi}_\infty\le R_{\max}/(1-\gamma). (The rows sum to zero, so centering VπV^\pi first would halve the second term.)

  3. J(π∗)−J(π^)=J(π∗)−J^(π∗)⏟≤ ϵ+J^(π∗)−J^(π^)⏟≤ 0+J^(π^)−J(π^)⏟≤ ϵ ≤ 2ϵJ(\pi^*)-J(\hat\pi)=\underbrace{J(\pi^*)-\hat J(\pi^*)}_{\le\,\epsilon}+\underbrace{\hat J(\pi^*)-\hat J(\hat\pi)}_{\le\,0}+\underbrace{\hat J(\hat\pi)-J(\hat\pi)}_{\le\,\epsilon}\ \le\ 2\epsilon

    For planning in the model, write J^\hat J for values in M^\hat M and use that π^\hat\pi is optimal there:

The (1−γ)−2(1-\gamma)^{-2} is the compounding of model error: a small error per step shifts the state distribution a little more at every step, and the value sums over the whole effective horizon. It is the formal reason why long imagined rollouts drift (World Models & Video Generation). Plugging in an empirical model with nn samples per pair, εP≈∣S∣/n\varepsilon_P\approx\sqrt{|\mathcal S|/n}, gives a crude sample complexity of order ∣S∣2∣A∣/((1−γ)4ε2)|\mathcal S|^2|\mathcal A|/\big((1-\gamma)^4\varepsilon^2\big) for ε\varepsilon-accurate values. Sharper variance arguments show that the same plug-in approach attains the minimax order ∣S∣∣A∣/((1−γ)3ε2)|\mathcal S||\mathcal A|/\big((1-\gamma)^3\varepsilon^2\big), up to logarithms and for small enough ε\varepsilon (Agarwal, Kakade & Yang, 2020).

Backing up whole distributions

DerivationProof sketch for the evaluation operator
  1. Wp(a+γU, a+γV)=γ Wp(U,V)W_p\big(a+\gamma U,\ a+\gamma V\big)=\gamma\,W_p(U,V)

    Wp(U,V)W_p(U,V) is the infimum of ∥U−V∥Lp\norm{U-V}_{L^p} over couplings, joint laws with the given marginals. A shared shift and a scaling act simply, because the same coupling serves both sides:

  2. Wpp((TπZ1)(s,a),(TπZ2)(s,a))≤γp ES′,A′[Wpp(Z1(S′,A′),Z2(S′,A′))]≤γp dˉp(Z1,Z2)pW_p^p\big((\mathcal T^\pi Z_1)(s,a),(\mathcal T^\pi Z_2)(s,a)\big)\le\gamma^p\,\E_{S',A'}\Big[W_p^p\big(Z_1(S',A'),Z_2(S',A')\big)\Big]\le\gamma^p\,\bar d_p(Z_1,Z_2)^p

    Couple the two right-hand sides through the same reward and the same next pair (S′,A′)(S',A'), with an optimal coupling of Z1(S′,A′)Z_1(S',A') and Z2(S′,A′)Z_2(S',A') for each value of the pair. For p<∞p<\infty, averaging over (S′,A′)(S',A') gives

  3. dˉp(TπZ1,TπZ2)≤γ dˉp(Z1,Z2)\bar d_p\big(\mathcal T^\pi Z_1,\mathcal T^\pi Z_2\big)\le\gamma\,\bar d_p(Z_1,Z_2)

    Take the supremum over (s,a)(s,a) and a pp-th root; p=∞p=\infty follows as a limit. Only couplings were used, which is why Wasserstein metrics fit: between point masses at two nearby returns, total variation is 1 and KL divergence infinite however close the returns are, so neither can say that two return distributions are almost the same.

Practical agents parametrize the distributions. C51 (Bellemare et al., 2017) puts mass on 51 fixed atoms, projects the backed-up distribution onto them and minimizes a KL divergence, a combination the contraction theory does not cover. Quantile regression (QR-DQN; Dabney et al., 2018) learns NN quantiles with the quantile (pinball) loss instead, which matches the theory: the backup followed by projection onto NN quantiles is a γ\gamma-contraction in dˉ∞\bar d_\infty. Distributional agents improved Atari performance markedly, yet in tabular settings, and in linear ones with suitable projections, their mean estimates evolve exactly as expected-value methods' do (Lyle, Castro & Bellemare, 2019). The gains are therefore attributed to better representation learning, a hypothesis without a complete theory.

Key takeaways

  • Any backup r+γP M(Q)r+\gamma P\,M(Q) with a non-expansive aggregator MM is a sup-norm γ\gamma-contraction: max, fixed averages, log-sum-exp and mellowmax qualify, while the Boltzmann-weighted average does not and can have several fixed points.
  • Soft values approximate optimal ones: ∥Qβ−Q∗∥∞≤γlog⁡∣A∣/(β(1−γ))\norm{Q_\beta-Q^*}_\infty\le\gamma\log|\mathcal A|/\big(\beta(1-\gamma)\big).
  • TπT^\pi also contracts in the L2L_2 norm of its stationary distribution, so on-policy linear TD converges to a fixed point within 1/1−γ21/\sqrt{1-\gamma^2} of the best approximation; off-policy weighting breaks the argument.
  • The performance-difference lemma, J(π′)−J(π)=11−γEdπ′[Aπ]J(\pi')-J(\pi)=\frac{1}{1-\gamma}\E_{d^{\pi'}}[A^\pi], underlies policy improvement, trust regions and policy gradients; the simulation lemma prices model error at order γεPRmax⁡/(1−γ)2\gamma\varepsilon_PR_{\max}/(1-\gamma)^2.
  • The distributional evaluation operator contracts in the maximal Wasserstein metric, so return distributions, not just means, can be learned by backups; the control operator is not a contraction.

Check yourself

In the interactive lesson these are scored with your confidence, and what you miss comes back for review.

Question 1

A soft Bellman operator uses inverse temperature β=10\beta=10, with ∣A∣=4|\mathcal A|=4 actions and γ=0.9\gamma=0.9. What does the bound give for ∥Qβ−Q∗∥∞\norm{Q_\beta-Q^*}_\infty?

  1. About 0.140.14
  2. About 1.251.25
  3. About 12.512.5
  4. 00: soft and hard values coincide
Show the answer

B. About 1.251.25

γlog⁡∣A∣β(1−γ)=0.9×1.38610×0.1≈1.25\frac{\gamma\log|\mathcal A|}{\beta(1-\gamma)}=\frac{0.9\times1.386}{10\times0.1}\approx1.25. Each backup adds at most log⁡4/10≈0.14\log4/10\approx0.14 of extra value, and the discounted sum over the effective horizon of 10 steps multiplies that by γ/(1−γ)=9\gamma/(1-\gamma)=9.

Question 2

The bound ∥ΦθTD−Vπ∥μ≤∥ΠμVπ−Vπ∥μ/1−γ2\norm{\Phi\theta_{\mathrm{TD}}-V^\pi}_\mu\le\norm{\Pi_\mu V^\pi-V^\pi}_\mu/\sqrt{1-\gamma^2} holds when the weighting μ\mu is what?

  1. Any distribution with full support
  2. The uniform distribution over states
  3. The distribution of a different behavior policy that explores more
  4. A stationary distribution of the evaluated policy's transition matrix PπP^\pi
Show the answer

D. A stationary distribution of the evaluated policy's transition matrix PπP^\pi

Stationarity is exactly what makes ∥PπV∥μ≤∥V∥μ\norm{P^\pi V}_\mu\le\norm V_\mu through Jensen's inequality, hence ΠμTπ\Pi_\mu T^\pi a contraction in ∥⋅∥μ\norm\cdot_\mu. With other weightings, as in off-policy learning, the composition can expand and linear TD can diverge.

Question 3

In the performance-difference lemma J(π′)−J(π)=11−γE(s,a)∼d[A(s,a)]J(\pi')-J(\pi)=\frac{1}{1-\gamma}\E_{(s,a)\sim d}[A(s,a)], which policies supply AA and dd?

  1. A=AπA=A^{\pi} (old policy) and d=dπ′d=d^{\pi'} (new policy)
  2. A=Aπ′A=A^{\pi'} and d=dπd=d^{\pi}
  3. Both from the old policy π\pi
  4. Both from the new policy π′\pi'
Show the answer

A. A=AπA=A^{\pi} (old policy) and d=dπ′d=d^{\pi'} (new policy)

The telescoping sum uses π\pi's values along trajectories of π′\pi'. That is why the lemma is easy to use for greedy improvement (old advantages are known) and hard for large policy changes (the new occupancy is not), the problem trust-region methods address.

Question 4

Why is the distributional Bellman operator analyzed in a Wasserstein metric rather than in KL divergence or total variation?

  1. Wasserstein distances are cheaper to compute
  2. KL and total variation ignore how far apart returns are, so two point masses at nearly equal returns are maximally distant, while the backup's shift-and-scale structure is captured by couplings
  3. The operator is a contraction in every metric on distributions
  4. Only Wasserstein metrics are defined for continuous returns
Show the answer

B. KL and total variation ignore how far apart returns are, so two point masses at nearly equal returns are maximally distant, while the backup's shift-and-scale structure is captured by couplings

WpW_p measures how far mass must move, so scaling all returns by γ\gamma shrinks it by γ\gamma, which is the contraction. Between δ0\delta_0 and δ0.001\delta_{0.001}, total variation is 1 and KL is infinite, so neither metric can register that γ\gamma-scaling brings distributions closer.

Further reading

  • J. N. Tsitsiklis & B. Van Roy, "An analysis of temporal-difference learning with function approximation," IEEE Transactions on Automatic Control 42(5), 674–690 (1997).
  • S. Kakade & J. Langford, "Approximately optimal approximate reinforcement learning," ICML (2002).
  • K. Asadi & M. L. Littman, "An alternative softmax operator for reinforcement learning," ICML (2017).
  • M. G. Bellemare, W. Dabney & R. Munos, "A distributional perspective on reinforcement learning," ICML (2017).
  • M. G. Bellemare, W. Dabney & M. Rowland, Distributional Reinforcement Learning (MIT Press, 2023).