Reinforcement Learning, Part i: Foundations and Learning Methods

On this page

Reinforcement Learning: i. Foundations and learning methods · ii. Partial observability, offline data, and DTRs.

Reinforcement learning studies how actions affect both immediate rewards and future decisions. We begin with a fully observed Markov decision process, derive the Bellman equations for expected return, and prove why exact value iteration converges. We then distinguish methods by the model, optimization target, and data they use. The setup follows Sutton–Barto, Chapter 3; the contraction argument follows Reinforcement Learning: Theory and Algorithms, Section 1.3.1.

1. A Markov decision process and its assumptions

Let S\mathcal S and A\mathcal A be nonempty finite state and action sets. At time t=0,1,…t=0,1,\ldots, the agent observes St∈SS_t\in\mathcal S, selects At∈AA_t\in\mathcal A, and receives Rt+1∈RR_{t+1}\in\mathbb R together with the next state St+1S_{t+1}. Fix an ordering of actions to resolve ties.

Write the full available history as

Ht=(S0,A0,R1,S1,…,At−1,Rt,St).H_t=(S_0,A_0,R_1,S_1,\ldots,A_{t-1},R_t,S_t).

The controlled Markov assumption is an equality of conditional distributions:

L(St+1,Rt+1∣Ht,At)=p( ⋅∣St,At).\mathcal L(S_{t+1},R_{t+1}\mid H_t,A_t) =p(\,\cdot\mid S_t,A_t).

Thus the current state and action determine the conditional distribution of the next state and reward; earlier history adds no further information. Writing pp without a time index also assumes time-homogeneous dynamics: the transition law does not change with time. Calling an observed variable a state does not establish either assumption.

We use the MDP specification

M=(S,A,p,ρ0,γ),S0∼ρ0,0≤γ<1,\mathcal M=(\mathcal S,\mathcal A,p,\rho_0,\gamma), \qquad S_0\sim\rho_0,\qquad 0\le\gamma<1,

and assume ∣Rt+1∣≤Rmax⁡<∞|R_{t+1}|\le R_{\max}<\infty almost surely under every state–action transition. Here p(s′,dr∣s,a)p(s',dr\mid s,a) is a probability kernel on next states and rewards. Its state marginal and conditional reward mean are

P(s′∣s,a)=∫Rp(s′,dr∣s,a),R(s,a,s′)=E[Rt+1∣St=s,At=a,St+1=s′],r(s,a)=∑s′P(s′∣s,a)R(s,a,s′).\begin{aligned} P(s'\mid s,a)&=\int_{\mathbb R}p(s',dr\mid s,a),\\ \mathcal R(s,a,s')&=\mathbb E[R_{t+1}\mid S_t=s,A_t=a,S_{t+1}=s'],\\ r(s,a)&=\sum_{s'}P(s'\mid s,a)\mathcal R(s,a,s'). \end{aligned}

For transitions with P(s′∣s,a)=0P(s'\mid s,a)=0, the value assigned to R(s,a,s′)\mathcal R(s,a,s') does not affect this sum. The joint kernel defines the reward distribution; (P,r)(P,r) is sufficient for the expected-return Bellman equations.

Original OpenAI Spinning Up diagram: an agent sends an action to the environment and receives an observation and reward in return.
Figure 1. Agent–environment interaction. Original figure from OpenAI, Spinning Up, Part 1: Key Concepts in RL. Full resolution ↗MIT License; © 2018 OpenAI

The model need not be known. The MDP describes the environment; a learning algorithm may have to estimate its consequences from sampled transitions. Temporal dependence within a trajectory is allowed. Independent one-step observations are not an MDP assumption.

2. Policies, returns, and the optimization target

A stationary Markov policy is a map π:S→Δ(A)\pi:\mathcal S\to\Delta(\mathcal A), where Δ(A)\Delta(\mathcal A) denotes the probability simplex:

π(a∣s)≥0,∑aπ(a∣s)=1.\pi(a\mid s)\ge0,\qquad \sum_a\pi(a\mid s)=1.

The agent samples At∼π(⋅∣St)A_t\sim\pi(\cdot\mid S_t) using fresh randomization. A deterministic policy d:S→Ad:\mathcal S\to\mathcal A is the special case π(a∣s)=1{a=d(s)}\pi(a\mid s)=\mathbf1\{a=d(s)\}. More generally, a policy can depend on time and the full history through πt(a∣Ht)\pi_t(a\mid H_t), but not on future information. Such policies are called nonanticipating; we include them in the optimality proof.

Write Pρ0π\mathbb P_{\rho_0}^{\pi} for the trajectory distribution generated by

S0∼ρ0,At∣Ht∼π(⋅∣St),(St+1,Rt+1)∣Ht,At∼p(⋅∣St,At).S_0\sim\rho_0,\qquad A_t\mid H_t\sim\pi(\cdot\mid S_t),\qquad (S_{t+1},R_{t+1})\mid H_t,A_t\sim p(\cdot\mid S_t,A_t).

Expectations Eρ0π\mathbb E_{\rho_0}^{\pi} average over all these draws, with the policy and environment fixed. The shorter Eπ\mathbb E^\pi uses this distribution, with any stated conditioning. A policy subscript therefore includes environment randomness, not just sampled actions. For a history-dependent policy μ\mu, replace the action distribution by μt(⋅∣Ht)\mu_t(\cdot\mid H_t). A one-transition expectation at fixed (s,a)(s,a) instead integrates only (S′,R)∼p(⋅∣s,a)(S',R)\sim p(\cdot\mid s,a).

Define the discounted return

Gt=∑k=0∞γkRt+k+1=Rt+1+γGt+1.G_t=\sum_{k=0}^{\infty}\gamma^kR_{t+k+1} =R_{t+1}+\gamma G_{t+1}.

Bounded rewards and γ<1\gamma<1 imply

∣Gt∣≤∑k=0∞γkRmax⁡=Rmax⁡1−γ.|G_t|\le\sum_{k=0}^{\infty}\gamma^kR_{\max} =\frac{R_{\max}}{1-\gamma}.

The return therefore exists absolutely. This bound also justifies the expectation and limit operations below by dominated convergence.

For a stationary Markov policy, define

Vπ(s)=Esπ[G0],Qπ(s,a)=Es,aπ[G0],Jρ0(π)=ES0∼ρ0[Vπ(S0)].\begin{aligned} V^\pi(s)&=\mathbb E_s^\pi[G_0],\\ Q^\pi(s,a)&=\mathbb E_{s,a}^\pi[G_0],\\ J_{\rho_0}(\pi)&=\mathbb E_{S_0\sim\rho_0}[V^\pi(S_0)]. \end{aligned}

Here Esπ\mathbb E_s^\pi uses the trajectory distribution above with S0=sS_0=s fixed, rather than drawn from ρ0\rho_0. The expectation Es,aπ\mathbb E_{s,a}^\pi also fixes A0=aA_0=a, then follows π\pi for later actions. This defines Qπ(s,a)Q^\pi(s,a) even if π(a∣s)=0\pi(a\mid s)=0. On events of positive probability, these definitions agree with the usual conditional expectations.

In Jρ0J_{\rho_0}, the value function VπV^\pi is fixed. The outer expectation averages only over the initial state S0∼ρ0S_0\sim\rho_0.

These are population value functions, not their fitted estimates. Policy evaluation determines VπV^\pi or QπQ^\pi for a fixed policy; control seeks a policy maximizing expected return.

3. Deriving the Bellman expectation equations

First, condition on the initial action. The law of total expectation gives

Vπ(s)=∑aπ(a∣s)Qπ(s,a).V^\pi(s)=\sum_a\pi(a\mid s)Q^\pi(s,a).

Next, substitute the return recursion into the action value:

Qπ(s,a)=Es,aπ[R1+γG1]=Es,aπ[R1+γEs,aπ[G1∣S0,A0,R1,S1]]=Es,aπ[R1+γVπ(S1)]=E(S′,R)∼p(⋅∣s,a)[R+γVπ(S′)]=∑s′P(s′∣s,a){R(s,a,s′)+γVπ(s′)}.\begin{aligned} Q^\pi(s,a) &=\mathbb E_{s,a}^\pi[R_1+\gamma G_1]\\ &=\mathbb E_{s,a}^\pi\left[ R_1+\gamma\mathbb E_{s,a}^\pi[G_1\mid S_0,A_0,R_1,S_1]\right]\\ &=\mathbb E_{s,a}^\pi[R_1+\gamma V^\pi(S_1)]\\ &=\mathbb E_{(S',R)\sim p(\cdot\mid s,a)}[R+\gamma V^\pi(S')]\\ &=\sum_{s'}P(s'\mid s,a) \{\mathcal R(s,a,s')+\gamma V^\pi(s')\}. \end{aligned}

The second equality is the tower property. The third uses both the controlled Markov dynamics and the stationary Markov policy: conditional on S1S_1, the continuation has the same law as a process newly started there. No independence between the immediate reward and next state is needed.

Combining the two identities gives

Vπ(s)=∑aπ(a∣s)∑s′P(s′∣s,a){R(s,a,s′)+γVπ(s′)}.\boxed{ V^\pi(s)=\sum_a\pi(a\mid s)\sum_{s'}P(s'\mid s,a) \{\mathcal R(s,a,s')+\gamma V^\pi(s')\}. }

Alternatively, substituting the action average for Vπ(s′)V^\pi(s') gives

Qπ(s,a)=r(s,a)+γ∑s′P(s′∣s,a)∑a′π(a′∣s′)Qπ(s′,a′).\boxed{ Q^\pi(s,a)=r(s,a)+\gamma\sum_{s'}P(s'\mid s,a) \sum_{a'}\pi(a'\mid s')Q^\pi(s',a'). }

A matrix form for policy evaluation

Let m=∣S∣m=|\mathcal S|. Regard Vπ,rπ∈RmV^\pi,r^\pi\in\mathbb R^m as vectors and Pπ∈Rm×mP^\pi\in\mathbb R^{m\times m} as a transition matrix, with

rπ(s)=∑aπ(a∣s)r(s,a),Pπ(s,s′)=∑aπ(a∣s)P(s′∣s,a).r^\pi(s)=\sum_a\pi(a\mid s)r(s,a),\qquad P^\pi(s,s')=\sum_a\pi(a\mid s)P(s'\mid s,a).

Then

Vπ=rπ+γPπVπ,Vπ=(I−γPπ)−1rπ.V^\pi=r^\pi+\gamma P^\pi V^\pi, \qquad V^\pi=(I-\gamma P^\pi)^{-1}r^\pi.

To justify the inverse, use ∥Pπ∥∞=1\|P^\pi\|_\infty=1 for the induced matrix norm. The convergent Neumann series gives

(I−γPπ)−1=∑k=0∞γk(Pπ)k,Vπ=∑k=0∞γk(Pπ)krπ.(I-\gamma P^\pi)^{-1} =\sum_{k=0}^{\infty}\gamma^k(P^\pi)^k, \qquad V^\pi=\sum_{k=0}^{\infty}\gamma^k(P^\pi)^k r^\pi.

The kkth term is the expected reward kk transitions into the future, discounted by γk\gamma^k.

The advantage function is

Aπ(s,a)=Qπ(s,a)−Vπ(s),∑aπ(a∣s)Aπ(s,a)=0.A^\pi(s,a)=Q^\pi(s,a)-V^\pi(s),\qquad \sum_a\pi(a\mid s)A^\pi(s,a)=0.

The advantage therefore measures how an action's expected return differs from the policy's average at that same state.

4. Optimality and the contraction argument

For U:S→RU:\mathcal S\to\mathbb R, define the Bellman operators

(TπU)(s)=∑aπ(a∣s){r(s,a)+γ∑s′P(s′∣s,a)U(s′)},(T∗U)(s)=max⁡a{r(s,a)+γ∑s′P(s′∣s,a)U(s′)}.\begin{aligned} (\mathcal T^\pi U)(s) &=\sum_a\pi(a\mid s) \left\{r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)U(s')\right\},\\ (\mathcal T^*U)(s) &=\max_a\left\{r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)U(s')\right\}. \end{aligned}

Theorem 1. Under the finite-space, bounded-reward, time-homogeneous assumptions in Section 1, T∗\mathcal T^* has a unique fixed point vv. It equals the optimal value V∗V^* over all nonanticipating policies. A deterministic policy greedy with respect to vv is optimal from every starting state.

First, establish the elementary maximum inequality. For real vectors (xa),(ya)(x_a),(y_a), choose ax∈arg⁡max⁡axaa_x\in\arg\max_a x_a. Then

max⁡axa−max⁡aya≤xax−yax≤max⁡a∣xa−ya∣.\max_a x_a-\max_a y_a \le x_{a_x}-y_{a_x} \le\max_a|x_a-y_a|.

Interchanging xx and yy yields the absolute-value version. Apply it inside T∗\mathcal T^*:

∣(T∗U)(s)−(T∗V)(s)∣≤γmax⁡a∣∑s′P(s′∣s,a)(U−V)(s′)∣≤γmax⁡a∑s′P(s′∣s,a)∣(U−V)(s′)∣≤γ∥U−V∥∞.\begin{aligned} |(\mathcal T^*U)(s)-(\mathcal T^*V)(s)| &\le\gamma\max_a\left|\sum_{s'}P(s'\mid s,a)(U-V)(s')\right|\\ &\le\gamma\max_a\sum_{s'}P(s'\mid s,a)|(U-V)(s')|\\ &\le\gamma\|U-V\|_\infty. \end{aligned}

Because transition probabilities are nonnegative and sum to one, their weighted average cannot exceed the largest value difference. Taking the maximum over states proves

∥T∗U−T∗V∥∞≤γ∥U−V∥∞.\boxed{\|\mathcal T^*U-\mathcal T^*V\|_\infty \le\gamma\|U-V\|_\infty.}

Because Rm\mathbb R^m is complete and γ<1\gamma<1, the Banach fixed-point theorem supplies a unique fixed point vv. The same averaging argument makes Tπ\mathcal T^\pi a contraction, whose fixed point is VπV^\pi.

Next, select the first maximizing action in the fixed ordering:

dv(s)=first⁡arg⁡max⁡a{r(s,a)+γ∑s′P(s′∣s,a)v(s′)}.d_v(s)=\operatorname{first}\arg\max_a \left\{r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)v(s')\right\}.

By construction Tdvv=T∗v=v\mathcal T^{d_v}v=\mathcal T^*v=v. Uniqueness of the policy-evaluation fixed point implies v=Vdvv=V^{d_v}. In particular vv is an attained policy value and ∥v∥∞≤Rmax⁡/(1−γ)\|v\|_\infty\le R_{\max}/(1-\gamma).

Finally, compare it with any history-dependent randomized policy μ\mu. Since a maximum dominates every action mixture, the Markov assumption gives

v(St)≥Eμ[Rt+1+γv(St+1)∣Ht].v(S_t)\ge\mathbb E^\mu[R_{t+1}+\gamma v(S_{t+1})\mid H_t].

Repeated substitution and the tower property yield, for every integer M≥1M\ge1,

v(s)≥Esμ[∑t=0M−1γtRt+1+γMv(SM)].v(s)\ge\mathbb E_s^\mu\left[ \sum_{t=0}^{M-1}\gamma^tR_{t+1}+\gamma^M v(S_M)\right].

The terminal term tends to zero because vv is bounded. Dominated convergence therefore gives v(s)≥Vμ(s)v(s)\ge V^\mu(s). Together with v=Vdvv=V^{d_v}, this proves v=V∗v=V^* and optimality of dvd_v even against nonstationary, history-dependent competitors.

Consequently,

Q∗(s,a)=r(s,a)+γ∑s′P(s′∣s,a)V∗(s′),V∗(s)=max⁡aQ∗(s,a),Q∗(s,a)=r(s,a)+γ∑s′P(s′∣s,a)max⁡a′Q∗(s′,a′).\begin{aligned} Q^*(s,a)&=r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V^*(s'),\\ V^*(s)&=\max_a Q^*(s,a),\\ Q^*(s,a)&=r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)\max_{a'}Q^*(s',a'). \end{aligned}

The optimal action is d∗(s)∈arg⁡max⁡aQ∗(s,a)d^*(s)\in\arg\max_a Q^*(s,a); a policy and an action are different mathematical objects.

5. Value iteration and a worked example

Starting from any finite vector V0V_0, iterate Vk+1=T∗VkV_{k+1}=\mathcal T^*V_k. Contraction gives

∥Vk−V∗∥∞≤γk∥V0−V∗∥∞.\|V_k-V^*\|_\infty \le\gamma^k\|V_0-V^*\|_\infty.

There is also a computable residual bound. Adding and subtracting T∗Vk\mathcal T^*V_k, then applying contraction, gives

∥V∗−Vk∥∞≤γ∥V∗−Vk∥∞+∥Vk+1−Vk∥∞,∥V∗−Vk∥∞≤∥Vk+1−Vk∥∞1−γ.\begin{aligned} \|V^*-V_k\|_\infty &\le\gamma\|V^*-V_k\|_\infty +\|V_{k+1}-V_k\|_\infty,\\ \|V^*-V_k\|_\infty &\le\frac{\|V_{k+1}-V_k\|_\infty}{1-\gamma}. \end{aligned}
Algorithm 1 Exact synchronous value iteration

Input: Finite S,A\mathcal S,\mathcal A; known P,rP,r; 0≤γ<10\le\gamma<1; initial V0V_0; iteration count K≥1K\ge1; fixed action ordering.

Output: Value approximation VKV_K and a policy dKd_K greedy with respect to VKV_K.

  1. for k=0,…,K−1k=0,\ldots,K-1 do
  2. for each s∈Ss\in\mathcal S do
  3. Set U(s)←max⁡a{r(s,a)+γ∑s′P(s′∣s,a)Vk(s′)}U(s)\gets\max_a\{r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V_k(s')\}.
  4. end for
  5. Set Vk+1←UV_{k+1}\gets U simultaneously for all states.
  6. end for
  7. Set dK(s)←first⁡arg⁡max⁡a{r(s,a)+γ∑s′P(s′∣s,a)VK(s′)}d_K(s)\gets\operatorname{first}\arg\max_a\{r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V_K(s')\}.
  8. return (VK,dK)(V_K,d_K).

This algorithm plans with a known model. Estimating PP or approximating its Bellman updates introduces additional errors, so those procedures need more than the exact-iteration theorem.

Immediate reward can favor the wrong action

Take S={0,1}\mathcal S=\{0,1\}, actions {wait,move}\{\mathrm{wait},\mathrm{move}\}, and γ=0.9\gamma=0.9. The transitions and rewards are deterministic:

StateActionImmediate rewardNext state
0wait10
0move01
1either21

State 1 gives V∗(1)=2+0.9V∗(1)=20V^*(1)=2+0.9V^*(1)=20. At state 0, the candidate V∗(0)=18V^*(0)=18 satisfies

Q∗(0,move)=0+0.9(20)=18,Q∗(0,wait)=1+0.9(18)=17.2.\begin{aligned} Q^*(0,\mathrm{move})&=0+0.9(20)=18,\\ Q^*(0,\mathrm{wait})&=1+0.9(18)=17.2. \end{aligned}

Thus the fixed point is (18,20)(18,20) and moving is optimal at state 0. Waiting forever instead gives 1/(1−0.9)=101/(1-0.9)=10 there. Starting value iteration from zero produces

V0=(0,0),V1=(1,2),V2=(1.9,3.8),V3=(3.42,5.42).V_0=(0,0),\quad V_1=(1,2),\quad V_2=(1.9,3.8),\quad V_3=(3.42,5.42).

As the updates propagate future rewards back to state 0, moving becomes preferable to the immediately rewarding loop. The example illustrates the convergence established by the fixed-point proof.

6. Classifying learning methods without mixing categories

The original Spinning Up taxonomy places familiar algorithms in a broader map. The table below then separates design choices that can overlap; they are not mutually exclusive branches of one tree. These distinctions also follow the learning/planning discussion in Sutton–Barto and Levine et al., Section 2.1.

Original Spinning Up taxonomy branches from reinforcement learning into model-free and model-based methods. Model-free methods include policy optimization, Q-learning, and their overlap, with PPO, TRPO, DDPG, TD3, SAC and DQN among the examples.
Figure 2. A taxonomy of reinforcement-learning algorithms. Original figure from OpenAI, Spinning Up, Part 2: Kinds of RL Algorithms. This is the source's non-exhaustive map, not an exclusive partition: actor–critic methods and data-access choices can cross its branches. Full resolution ↗MIT License; © 2018 OpenAI
QuestionMain distinctionsExamples or interpretation
Is an environment model used for planning?Model-based, model-free, hybridA learned transition model; Q-learning without one; Dyna combining real and simulated transitions
What is learned or optimized?Value-based, direct policy search, actor–criticA greedy rule from QQ; optimize πθ\pi_\theta; combine a parameterized policy with a critic
How is a value target formed?Monte Carlo, temporal-difference, multistepRealized returns; bootstrapped continuation values; combinations over several transitions
Which policy generated the data?On-policy, off-policyEvaluate or improve the sampling policy; learn about a different target policy
How are functions represented?Tabular, function approximationOne entry per state/action; linear models or neural networks

For example, actor–critic methods can be on-policy or off-policy. Policy optimization can use a learned dynamics model. A neural network is a representation choice, not a new definition of the decision problem.

Sampled value updates

Monte Carlo evaluation uses a realized return as a target. In finite episodes this is the return through termination; an infinite-horizon implementation must truncate or otherwise estimate the tail. One-step temporal-difference evaluation instead uses

YtTD=Rt+1+γV^(St+1).Y_t^{\mathrm{TD}}=R_{t+1}+\gamma\widehat V(S_{t+1}).

For action values, two familiar targets are

YtSARSA=Rt+1+γQ^(St+1,At+1),At+1∼π(⋅∣St+1),YtQ=Rt+1+γmax⁡a′Q^(St+1,a′).\begin{aligned} Y_t^{\mathrm{SARSA}} &=R_{t+1}+\gamma\widehat Q(S_{t+1},A_{t+1}), \quad A_{t+1}\sim\pi(\cdot\mid S_{t+1}),\\ Y_t^{\mathrm{Q}} &=R_{t+1}+\gamma\max_{a'}\widehat Q(S_{t+1},a'). \end{aligned}

A tabular update at the visited pair takes the form

Q^new(St,At)=Q^(St,At)+αt{Yt−Q^(St,At)}.\widehat Q_{\mathrm{new}}(S_t,A_t) =\widehat Q(S_t,A_t) +\alpha_t\{Y_t-\widehat Q(S_t,A_t)\}.

Other entries are unchanged. SARSA uses the next action sampled under its policy. Q-learning instead uses the best estimated continuation action, even when the behavior policy explores. It is therefore an off-policy control method.

Convergence of these sampled updates requires conditions on how often state–action pairs are visited, the learning rates, and any function approximation. The contraction proof for exact Bellman updates does not establish convergence for every sampled implementation.

Direct policy search and actor–critic

For a differentiable stochastic policy πθ\pi_\theta, direct policy optimization targets Jρ0(πθ)J_{\rho_0}(\pi_\theta). To state the discounted policy-gradient identity, define the normalized state occupancy

dρ0π(s)=(1−γ)∑t=0∞γtPρ0π(St=s).d_{\rho_0}^{\pi}(s) =(1-\gamma)\sum_{t=0}^{\infty}\gamma^t \mathbb P_{\rho_0}^{\pi}(S_t=s).

Under positive differentiable action probabilities and conditions permitting differentiation under the expectation, the identity is

∇θJρ0(πθ)=11−γES∼dρ0πθA∼πθ(⋅∣S)[∇θlog⁡πθ(A∣S)Qπθ(S,A)].\nabla_\theta J_{\rho_0}(\pi_\theta) =\frac1{1-\gamma}\mathbb E_{\substack{S\sim d_{\rho_0}^{\pi_\theta}\\A\sim\pi_\theta(\cdot\mid S)}} \left[\nabla_\theta\log\pi_\theta(A\mid S)Q^{\pi_\theta}(S,A)\right].

This is the policy-gradient theorem in Agarwal et al., Theorem 9.4, stated here rather than proved. A Monte Carlo method estimates the return from trajectories; an actor–critic method uses a fitted value function to estimate the policy update. The latter separates an actor πθ\pi_\theta from a critic such as Q^w\widehat Q_w or V^w\widehat V_w. The policy-gradient note derives the identity and compares these methods in detail.

7. Which assumptions will change next?

The discounted stationary MDP is one baseline, not the definition of every RL problem. A finite horizon allows γ=1\gamma=1 with bounded rewards and generally requires stage-specific Pt,rt,πt,VtP_t,r_t,\pi_t,V_t. A partially observed problem distinguishes the hidden state from the information available to the policy. Offline learning changes access to data, not necessarily the Markov dynamics.

Part ii redefines these settings explicitly and ends with their connection to the history-based DTR formulation.

References