CausalSmith · seminar slides

Long-Run Policy Evaluation with Binary Hidden States

Seven short weighted reward histories let us recover a policy’s long-run reward from one logged trajectory with inverse-length mean-squared error.

Motivation

We observe one trajectory of length TT: recorded states XtX_t, actions AtA_t, and rewards YtY_t.

  • A hidden state affects rewards and transitions.
  • The behavior policy bb generated the actions.
  • The target policy ee specifies the action probabilities we want to evaluate.
  • Both policies are known and depend only on the recorded state.

Our target is the stationary mean reward: expected reward per period after the target policy’s state distribution has settled.

Changing the policy changes both actions and long-run state frequencies. How can we account for state frequencies we never observe?

Standard Approach

Partial-history importance weighting multiplies a reward by target-to-behavior action probabilities over a preceding window.

  • Longer windows move the state distribution closer to target stationarity.
  • Longer products of action ratios increase sampling variability.
  • Window choice balances initialization bias against weighting variance.

Hu and Wager (2023) obtain the matched mean-squared-error rate T−2/(2+t0ζ)T^{-2/(2+t_0\zeta)}, where t0>0t_0>0 measures mixing and ζ≥0\zeta\geq0 bounds logarithmic action ratios. Their minimax class permits hidden-state cardinality to grow with TT.

Can fixed binary recorded states, hidden states, and actions support faster estimation?

Key Idea

Binary recorded and hidden states give only four joint states.

Their expected reward sequence obeys a fixed linear recurrence: later rewards are constrained by finitely many earlier rewards.

Seven short weighted moments determine the stationary reward stably, even when they do not determine the hidden dynamics uniquely.

With known observed-state randomization, stationary behavior sampling, bounded rewards and action ratios, and fixed strict contraction under both policies, we obtain minimax mean-squared error of order T−1T^{-1}.

The method fits a contracting four-state model to those seven moments and reports its stationary reward.

Example

Consider equal fair policies:

b(a∣x)=e(a∣x)=12,x,a∈{0,1}. b(a\mid x)=e(a\mid x)=\frac12, \qquad x,a\in\{0,1\}.

Each action has probability one half at either recorded state. Every target-to-behavior action ratio is one.

m0=Eb[Yt]=θ,t=1,…,T, m_0=\mathbb E_b[Y_t]=\theta, \qquad t=1,\ldots,T,

Here m0m_0 is the reward moment using only the current action weight, Eb\mathbb E_b is expectation under behavior sampling, and θ\theta is the stationary target reward.

The behavior stationary distribution is already the target distribution. Under stationary sampling and contracting dynamics, ordinary reward averaging is unbiased and has inverse-length mean-squared error.

When policies differ, the short moments instead start from the wrong state distribution. That is the discrepancy the moment fit must remove.

Model

The joint state is St=(Xt,Ht)S_t=(X_t,H_t), where the recorded state XtX_t and hidden state HtH_t are binary. The joint-state space S\mathcal S has four points; actions are binary and rewards lie in [0,1][0,1].

L(Yt,St+1∣Ft−,At)=K(⋅∣St,At),t=1,…,T, \mathcal L(Y_t,S_{t+1}\mid\mathcal F_t^-,A_t) = K(\cdot\mid S_t,A_t), \qquad t=1,\ldots,T,

The full pre-action history is Ft−\mathcal F_t^-. The law KK makes the current joint state and action sufficient for the reward and successor state; reward and successor state may be dependent.

Averaging successor probabilities under the two policies gives transition matrices Pb,PeP_b,P_e, with stationary distributions db,ded_b,d_e. The vector rer_e contains each joint state’s target-policy mean reward.

θ(K,e):=dere=∑s=(x,h)∈Sde(s)∑a∈Ae(a∣x)∑s′∈S∫Yy K(dy,s′∣s,a), \theta(K,e) := d_e r_e = \sum_{s=(x,h)\in\mathcal S} d_e(s) \sum_{a\in\mathcal A} e(a\mid x) \sum_{s'\in\mathcal S} \int_{\mathcal Y} y\,K(dy,s'\mid s,a),

This averages target conditional rewards under target stationary frequencies. Here A\mathcal A is the binary action space, Y=[0,1]\mathcal Y=[0,1] is the reward space, and s′s' is the successor joint state.

Sampling and Overlap

  • Observed-state randomization: Pr⁡(At=a∣Ft−)=b(a∣Xt)\Pr(A_t=a\mid\mathcal F_t^-)=b(a\mid X_t). Even conditional on hidden history, assignment uses only the recorded state.
  • Stationary start: S1∼dbS_1\sim d_b. Every sampled joint state has the behavior stationary distribution.
  • Action overlap: e(a∣x)≤Lb(a∣x)e(a\mid x)\le Lb(a\mid x). Every target action is supported by behavior sampling, with target-to-behavior ratio at most LL.

Randomization makes action weighting valid. Stationarity gives a common starting distribution for every weighted window. Overlap controls the size of the weights.

In the equal-policy example, all weights are one and the starting distribution is already the desired one.

Contraction

Both behavior and target transitions shrink differences between state distributions by at most α<1\alpha<1 per step.

For the target transition:

∥μPe−μ′Pe∥TV≤α∥μ−μ′∥TV,μ,μ′∈Δ(S), \|\mu P_e-\mu'P_e\|_{\mathrm{TV}} \le \alpha\|\mu-\mu'\|_{\mathrm{TV}}, \qquad \mu,\mu'\in\Delta(\mathcal S),

Here μ,μ′\mu,\mu' are probability distributions, Δ(S)\Delta(\mathcal S) is their simplex, and total variation is half the sum of absolute probability differences. The same condition holds for PbP_b.

  • Behavior contraction controls dependence in the observed trajectory.
  • Target contraction controls convergence to the reward we want and the stability of extrapolating to it.

Keep α=exp⁡(−1/t0)\alpha=\exp(-1/t_0) and L=exp⁡(ζ)L=\exp(\zeta) fixed, with t0>0,ζ≥0t_0>0,\zeta\geq0.

Write MT(2)(t0,ζ)\mathcal M_T^{(2)}(t_0,\zeta) for the binary experiments satisfying the model, randomization, stationary-start, overlap, and two contraction conditions.

Main Result

The minimax risk RT(2)(t0,ζ)R_T^{(2)}(t_0,\zeta) is the smallest worst-case mean-squared error among estimators using the recorded trajectory and supplied policies and bounds.

informal · Theorem T-2 For the binary class MT(2)(t0,ζ)\mathcal M_T^{(2)}(t_0,\zeta), fixed t0>0,ζ≥0t_0>0,\zeta\geq0 and T≥12T\geq12 give minimax mean-squared error of order T−1T^{-1}, attained by a finite contracting moment fit.

11024T≤RT(2)(t0,ζ)≤Bα2(112Vα,L+2)T. \frac{1}{1024T} \leq R_T^{(2)}(t_0,\zeta) \leq \frac{B_\alpha^2(112V_{\alpha,L}+2)}{T}.

Every estimator faces the lower bound; our moment fit attains the upper bound. The constants are

Bα=(1+α1−α)6,Vα,L=13L7+21−α. B_\alpha=\left(\frac{1+\alpha}{1-\alpha}\right)^6, \qquad V_{\alpha,L}=13L^7+\frac{2}{1-\alpha}.

BαB_\alpha controls amplification of moment errors; Vα,LV_{\alpha,L} controls their sampling error.

The order matches ordinary reward averaging in the equal-policy example. With different policies, fitting replaces the growing weighting window. Slow contraction or large action ratios can still make the constants large.

Observable Moments

For each recorded action, compute the likelihood ratio ρj=e(Aj∣Xj)/b(Aj∣Xj)\rho_j=e(A_j\mid X_j)/b(A_j\mid X_j).

For depths k=0,…,6k=0,\ldots,6:

Zt(k):=Yt∏j=t−ktρj,mk:=Eb[Zt(k)],m^k:=1T−6∑t=7TZt(k). Z_t(k) := Y_t\prod_{j=t-k}^{t}\rho_j, \qquad m_k := \mathbb E_b[Z_t(k)], \qquad \widehat m_k := \frac{1}{T-6} \sum_{t=7}^{T}Z_t(k).

The score Zt(k)Z_t(k) weights a reward using the current action and kk preceding actions. Its population mean is mkm_k; its observed average is m^k\widehat m_k.

All seven averages use the same terminal observations. The longest window contains seven action weights, regardless of trajectory length.

What policy intervention does each weighted moment represent?

Intervention Identity

Observed-state randomization lets each action ratio replace a behavior action probability with its target counterpart.

mk=dbPekre,k=0,…,6, m_k=d_bP_e^k r_e,\qquad k=0,\ldots,6,

This computes the expected target reward after kk target transitions, starting from behavior stationary frequencies dbd_b.

  • The current action weight supplies the target reward vector rer_e.
  • The preceding kk weights supply kk target transitions PeP_e.
  • The starting distribution remains dbd_b, rather than ded_e.

Thus m0=dbrem_0=d_b r_e corrects the reward rule but generally retains a state-distribution mismatch.

Longer windows reduce that mismatch through contraction. Our method instead uses the structure shared by seven short moments to extract their stationary limit.

Finite Dimension

A contracting four-state transition matrix has one stationary eigenvalue, equal to one, and three remaining eigenvalues, counted with multiplicity.

The remaining eigenvalues describe transient behavior: dependence on the starting distribution that disappears over time. Their absolute values are at most α\alpha.

Comparing two four-state reward sequences requires cancelling the transient behavior of both matrices. A polynomial of degree six does this, using moments at depths zero through six.

This is why seven moments suffice for stationary-value comparison.

Nair and Jiang (2021) use observable matrices with rank equal to hidden-state cardinality for finite-horizon evaluation. Here the stationary-value comparison remains stable even when fewer transient components are present.

Stationary Extraction

Compare two four-state models with initial distributions ν,ν′\nu,\nu', contracting transitions P,P′P,P', and reward vectors r,r′r,r' in [0,1][0,1]. Their stationary distributions are π,π′\pi,\pi'.

Their moments are νPkr\nu P^k r and ν′P′kr′\nu'P'^k r'; their stationary rewards are πr\pi r and π′r′\pi'r'.

Let QP,P′Q_{P,P'} be the degree-six polynomial containing both matrices’ transient eigenvalues as roots, with multiplicities. Its coefficients are QkQ_k.

QP,P′(1)(πr−π′r′)=∑k=06Qk(νPkr−ν′P′kr′) Q_{P,P'}(1)(\pi r-\pi'r') =\sum_{k=0}^{6}Q_k\bigl(\nu P^k r-\nu'P'^k r'\bigr)

The right-hand combination cancels the dependence on both starting distributions. Only the stationary reward difference remains, multiplied by QP,P′(1)Q_{P,P'}(1).

For policy evaluation, one model is (db,Pe,re)(d_b,P_e,r_e); the other is our fitted model. This cancellation removes the behavior-start discrepancy even when db≠ded_b\ne d_e.

In the equal-policy example, that discrepancy is absent from the outset.

Stable Extrapolation

Cancellation must also resist sampling error. For any two four-state models with probability initial distributions, rewards in [0,1][0,1], and contraction at most α\alpha:

∣πr−π′r′∣≤Bαmax⁡0≤k≤6∣νPkr−ν′P′kr′∣. |\pi r-\pi'r'| \le B_\alpha \max_{0\le k\le6}\bigl|\nu P^k r-\nu'P'^k r'\bigr|.

The largest discrepancy among the seven moments bounds the stationary reward discrepancy, multiplied by the previously defined BαB_\alpha.

Contraction keeps every transient root away from one. The stationary component can therefore be separated without arbitrarily amplifying moment errors.

  • Exact moment agreement gives exact stationary-value agreement.
  • Approximate agreement gives a proportional value bound.
  • Repeated eigenvalues and disappearing transient components are covered by the same bound.

We can estimate the stationary reward accurately even when the fitted hidden dynamics are ambiguous.

Stable Candidates

Search a finite grid of initial distributions ν\nu, transition matrices RR, and reward vectors r∈[0,1]4r\in[0,1]^4. The grid becomes finer as TT increases.

Rounding a contracting transition matrix can slightly weaken its contraction. Repair each retained candidate by mixing it with a common uniform transition:

P(R):=λR+(1−λ)U. P(R):=\lambda R+(1-\lambda)U.

Here UU sends every state to the uniform four-state distribution. The weight λ\lambda is chosen close to one to restore contraction at most α\alpha.

Because all rows of UU agree, mixing with UU shrinks differences between the rows of RR. The finer grid requires a smaller correction.

The candidate moments approximate the target moments while every candidate remains eligible for the stable-extrapolation bound.

Estimator

Let CM\mathcal C_M be the finite candidate set at grid resolution MM. Choose the candidate minimizing its largest discrepancy from the seven empirical moments:

(ν∗,R∗,r∗)∈arg min⁡(ν,R,r)∈CMmax⁡0≤k≤6∣m^k−νP(R)kr∣. (\nu_*,R_*,r_*) \in \operatorname*{arg\,min}_{(\nu,R,r)\in\mathcal C_M} \max_{0\le k\le6} \left|\widehat m_k-\nu P(R)^k r\right|.

The candidate prediction νP(R)kr\nu P(R)^k r is its reward after kk transitions. Stars denote the selected candidate; a fixed ordering resolves ties.

P∗:=P(R∗),θ^T:=π(P∗)r∗, P_*:=P(R_*), \qquad \widehat\theta_T:=\pi(P_*)r_*,

The estimate θ^T\widehat\theta_T is the fitted stationary reward; π(P∗)\pi(P_*) is the selected transition matrix’s stationary distribution.

A close grid approximation ensures that a good fit exists. Minimization finds a fit at least as good. Stable extrapolation then transfers moment accuracy to stationary-value accuracy.

Risk Guarantee

Action overlap gives Eb[Zt(k)2]≤Lk+1\mathbb E_b[Z_t(k)^2]\le L^{k+1}. Since k≤6k\le6, the weighting cost stays fixed as TT grows.

Windows overlap locally. Once they separate, behavior contraction makes their covariance decay geometrically.

Consequently, empirical moment mean-squared errors have inverse-length order. Grid approximation contributes a smaller error; stable extrapolation converts the combined moment error into value error.

informal · Theorem T-1 For every experiment in MT(2)(t0,ζ)\mathcal M_T^{(2)}(t_0,\zeta), fixed t0>0,ζ≥0t_0>0,\zeta\geq0 and T≥12T\geq12 give the stable-grid estimator mean-squared error at most Bα2(112Vα,L+2)/TB_\alpha^2(112V_{\alpha,L}+2)/T.

EM ⁣[(θ^T−θ)2]≤Bα2(112Vα,L+2)T, \mathbb E_M\!\left[(\widehat\theta_T-\theta)^2\right] \leq \frac{B_\alpha^2\bigl(112V_{\alpha,L}+2\bigr)}{T},

Here EM\mathbb E_M is expectation under any experiment MM in the binary class.

The fixed windows estimate biased intervention moments accurately; the moment fit removes their initialization discrepancy.

Lower Bound

Return to equal fair policies. Two experiments share transitions and noisy observations but perturb hidden-state reward probabilities.

Their Bernoulli reward probabilities are qv(h)=12+2h−18+vq_v(h)=\frac12+\frac{2h-1}{8}+v, where hh is the hidden state and v=±vTv=\pm v_T, with vT=116Tv_T=\frac{1}{16\sqrt T}.

The stationary rewards are 1/2+v1/2+v. Writing Kv(T)K_v^{(T)} for the corresponding joint reward and transition law:

∣θ(K+vT(T),e)−θ(K−vT(T),e)∣=18T. \left|\theta(K_{+v_T}^{(T)},e)-\theta(K_{-v_T}^{(T)},e)\right| =\frac{1}{8\sqrt T}.

The values differ at the ordinary sampling scale, while the recorded-trajectory laws remain close:

KL⁡ ⁣(P+OT∥P−OT)≤112. \operatorname{KL}\!\left( \mathbb P_{+}^{\mathsf O_T}\Vert\mathbb P_{-}^{\mathsf O_T} \right)\leq\frac1{12}.

Here OT\mathsf O_T is the recorded trajectory, P±OT\mathbb P_\pm^{\mathsf O_T} are its two laws, and relative entropy KL⁡\operatorname{KL} measures statistical distinguishability.

Both experiments satisfy all class conditions. Two-point testing forces every estimator to incur mean-squared error at least 1/(1024T)1/(1024T) in one of them.

Further Results

  • Stationary occupancy restriction: for any fixed C>1C>1, adding de(s)≤C db(s)d_e(s)\leq C\,d_b(s) preserves the matched T−1T^{-1} order; the lower-bound pair has identical stationary laws.
  • Candidate count: at fixed t0>0t_0>0, the finite fitting list has size O(T19)O(T^{19}), quantifying the search space.

The occupancy restriction bounds target-to-behavior long-run state frequencies. It is distinct from the action-ratio bound used to weight rewards.

Open Questions

  • Can fitting certify a global objective gap within T−1T^{-1} with explicit runtime and precision guarantees, including when transient components disappear?
  • What is the minimal sufficient observable window, and how can we obtain limit distributions and confidence intervals?
  • How should mixing and overlap bounds be calibrated in applications, and how do the required moments and risk change with larger hidden-state alphabets?

Takeaways

  • Under known observed-state randomization, stationary behavior sampling, bounded rewards and action ratios, and fixed contraction under both policies, the binary experiment has minimax mean-squared error of order T−1T^{-1}.
  • Seven short weighted moments describe target transitions from the behavior stationary distribution. Four-state structure cancels the starting-distribution discrepancy; contraction makes that cancellation stable.
  • Fitting contracting candidates attains the upper bound. Ordinary reward uncertainty under equal policies supplies the matching lower bound.

Appendix: Uniform Stable-grid Risk Bound

The stable-grid estimator has a uniform inverse-length mean-squared-error bound over the specified binary experiment.

Theorem T-1 (Uniform stable-grid risk bound)

Let the mixing-scale parameter t0t_0, logarithmic action likelihood-ratio bound ζ\zeta, and trajectory length TT satisfy:

  • (Mixing scale.) t0∈Rt_0\in\mathbb R and t0>0t_0>0.
  • (Overlap bound.) ζ∈R\zeta\in\mathbb R and ζ≥0\zeta\geq0.
  • (Horizon.) T∈NT\in\mathbb N and T≥12T\geq12.

Define the contraction bound α\alpha, action likelihood-ratio bound LL, stationary-value modulus constant BαB_\alpha, and moment variance constant Vα,LV_{\alpha,L} by α=exp⁡(−1/t0),L=exp⁡(ζ),Bα=(1+α1−α)6,Vα,L=13L7+21−α. \alpha=\exp(-1/t_0),\qquad L=\exp(\zeta),\qquad B_\alpha=\left(\frac{1+\alpha}{1-\alpha}\right)^6,\qquad V_{\alpha,L}=13L^7+\frac{2}{1-\alpha}. For every binary-state, binary-action experiment M∈MT(2)(t0,ζ)M\in\mathcal M_T^{(2)}(t_0,\zeta), the stable-grid estimator θ^T\widehat\theta_T of Definition P-4, using that experiment's behavior and target policies, and the stationary target value θ\theta of Definition P-2 satisfy EM ⁣[(θ^T−θ)2]≤Bα2(112Vα,L+2)T, \mathbb E_M\!\left[(\widehat\theta_T-\theta)^2\right] \leq \frac{B_\alpha^2\bigl(112V_{\alpha,L}+2\bigr)}{T}, where EM\mathbb E_M denotes expectation under the experiment's observed trajectory law.

Appendix: Fixed Binary Minimax Rate

The fixed-binary bounds match; the growing-cardinality comparison uses CausalSmith (2026), a nonarchival public manuscript, as an external premise.

Theorem T-2 (Fixed binary minimax rate)

Let t0t_0 be the mixing-scale parameter, ζ\zeta the logarithmic action likelihood-ratio bound, and TT the observed trajectory length, with

  • (Positive mixing scale.) t0>0t_0>0.
  • (Nonnegative overlap exponent.) ζ≥0\zeta\geq0.
  • (Horizon range.) T∈NT\in\mathbb N and T≥12T\geq12.

Define the contraction and action-overlap bounds, and the associated modulus and variance constants, by α=exp⁡(−1/t0),L=exp⁡(ζ),Bα=(1+α1−α)6,Vα,L=13L7+21−α. \alpha=\exp(-1/t_0),\qquad L=\exp(\zeta),\qquad B_\alpha=\left(\frac{1+\alpha}{1-\alpha}\right)^6,\qquad V_{\alpha,L}=13L^7+\frac{2}{1-\alpha}. The observable-data minimax mean-squared risk in Definition P-5 satisfies 11024T≤RT(2)(t0,ζ)≤Bα2(112Vα,L+2)T. \frac{1}{1024T} \leq R_T^{(2)}(t_0,\zeta) \leq \frac{B_\alpha^2(112V_{\alpha,L}+2)}{T}. Define the testing perturbation amplitude by vT=116T. v_T=\frac{1}{16\sqrt T}. Both experiments in Definition P-6 with perturbations v=+vTv=+v_T and v=−vTv=-v_T belong to the binary class MT(2)(t0,ζ)\mathcal M_T^{(2)}(t_0,\zeta) of Definition P-1. In each experiment the behavior and target policies are equal fair policies, and their stationary joint-state laws coincide: e(a∣x)=b(a∣x)=12,de=db. e(a\mid x)=b(a\mid x)=\frac12,\qquad d_e=d_b. For every stationary occupancy-ratio bound C>1C>1, both experiments satisfy de(s)≤C db(s)for every joint state s. d_e(s)\leq C\,d_b(s) \qquad\text{for every joint state }s. For every observable-data estimator θ~\widetilde\theta taking values in [0,1][0,1], the maximum of its mean-squared risks over these two experiments is at least 1/(1024T)1/(1024T). If additionally ζ>0\zeta>0, then for every C>1C>1, define the cardinality-uniform rate exponent and stationary-overlap radius by β=22+t0ζ,qC=C−1C. \beta=\frac{2}{2+t_0\zeta},\qquad q_C=\frac{C-1}{C}. Then 0<β<1,lim⁡n→∞n∈Nn−1n−βqC 2(1−β)=0. 0<\beta<1,\qquad \lim_{\substack{n\to\infty\\ n\in\mathbb N}} \frac{n^{-1}}{n^{-\beta}q_C^{\,2(1-\beta)}}=0. There exist a positive reset lower-bound constant cReset>0c_{\mathrm{Reset}}>0 and a depth schedule Q:N→NQ:\mathbb N\to\mathbb N, together with constants a1,a2>0a_1,a_2>0, such that, for every sufficiently large nn, a1log⁡n≤Q(n)≤a2log⁡n. a_1\log n\leq Q(n)\leq a_2\log n. For every sufficiently large nn, one has n≥1n\geq1 and Q(n)≥1Q(n)\geq1, and the two signed depth-Q(n)Q(n) reset experiments of CausalSmithLatentOverlap2026 each have exactly 2(Q(n)+1)2(Q(n)+1) hidden states. For every observable-data estimator taking values in [−1,1][-1,1] in that cardinality-uniform decision problem, the maximum of its mean-squared risks over these two reset experiments is at least cReset n−β. c_{\mathrm{Reset}}\,n^{-\beta}. For every sufficiently large nn, the negative-sign reset experiment has hidden-state cardinality 2(Q(n)+1)>2. 2\bigl(Q(n)+1\bigr)>2.

Appendix: Stable-grid Estimator

This procedure specifies the numerical grid, rounding allowance, uniform-mixture weight, fitting criterion, and stationary-reward output.

Definition P-4 (Stable grid estimator $\widehat\theta_T$)

The inputs are the empirical moments m^0,…,m^6\widehat m_0,\ldots,\widehat m_6, the trajectory length TT, and the contraction bound α\alpha.

  1. Set the grid resolution, probability grid, uniform transition matrix, and stabilization weight to M:=⌈(22+36/α)T⌉,GM:={u∈[0,1]4:∑i=14ui=1, ui∈M−1Z for all i}, M:=\left\lceil(22+36/\alpha)T\right\rceil, \qquad \mathcal G_M := \left\{ u\in[0,1]^4: \sum_{i=1}^{4}u_i=1,\ u_i\in M^{-1}\mathbb Z\ \text{for all }i \right\}, U:=11T4,λ:=αα+6/M, U:=\frac{\mathbf1\mathbf1^{\mathsf T}}{4}, \qquad \lambda:=\frac{\alpha}{\alpha+6/M}, where 1\mathbf1 is the four-dimensional vector of ones.
  2. Enumerate the candidate triples in CM:={(ν,R,r):ν∈GM,Ri,⋅∈GM for i=1,…,4,δ(R)≤α+6/M,r∈{0,1/M,…,1}4}, \mathcal C_M := \left\{ (\nu,R,r): \begin{gathered} \nu\in\mathcal G_M,\quad R_{i,\cdot}\in\mathcal G_M\ \text{for }i=1,\ldots,4,\\ \delta(R)\le\alpha+6/M,\quad r\in\{0,1/M,\ldots,1\}^{4} \end{gathered} \right\}, where δ(R)\delta(R) is the Dobrushin contraction coefficient. For each candidate, form P(R):=λR+(1−λ)U. P(R):=\lambda R+(1-\lambda)U.
  3. Select the lexicographically first triple (ν∗,R∗,r∗)(\nu_*,R_*,r_*) among the minimizers (ν∗,R∗,r∗)∈arg min⁡(ν,R,r)∈CMmax⁡0≤k≤6∣m^k−νP(R)kr∣. (\nu_*,R_*,r_*) \in \operatorname*{arg\,min}_{(\nu,R,r)\in\mathcal C_M} \max_{0\le k\le6} \left|\widehat m_k-\nu P(R)^k r\right|.
  4. Form the selected transition matrix and output its stationary reward: P∗:=P(R∗),θ^T:=π(P∗)r∗, P_*:=P(R_*), \qquad \widehat\theta_T:=\pi(P_*)r_*, where π(P∗)\pi(P_*) is the stationary probability vector satisfying π(P∗)P∗=π(P∗). \pi(P_*)P_*=\pi(P_*).