Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Offline reinforcement learning and off-policy evaluation — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Full action support permits reweighting while missing support does not

Example

Assume AC and take horizon H=1, discount γ=12, states s0,z, actions a,b at s0, and action c at z. Every action moves to z; action a gives reward 0, action b gives reward 1, and action c gives reward 0. The target policy chooses b at s0, and both policies choose c at z. With behavior probabilities μ(a∣s0)=μ(b∣s0)=12, full trajectory coverage holds: the single-trajectory ordinary importance-sampling score is 2 when action b is observed and 0 when action a is observed, and its expectation is the target value 1. If instead μ(a∣s0)=1, the target action has no behavior support. Two processes that agree on the logged action a and its reward 0, but give action b rewards 1 and −1, respectively, have identical logged-data laws and different target values; the behavior data cannot identify which value is correct.

Facts & Assumptions

Given: AC, the horizon-one MDP and policies in the Example, one behavior trajectory at a time, and the corresponding target value.

[F1]

Finite-horizon offline reinforcement-learning dataset and coverage: PHσ is the finite-horizon path law and the target value is the expectation of the discounted return.

[F2]

Ordinary, per-decision, and weighted trajectory importance sampling: for H=1, the ordinary score is the observed return multiplied by π(A0∣s0)/μ(A0∣s0).

[F3]

Without trajectory coverage, logged data need not identify policy value: two behavior-indistinguishable finite MDPs can have different target values when the target action is absent from behavior support.

Verification

1.1givenF1F2algebra

Under μ(b∣s0)=12, the ratio for an observed b is 1/(12)=2; its return is 1. The ratio for an observed a is 0/(12)=0; its return is 0. Thus the OIS score is 2 with probability 12 and 0 with probability 12, so its expectation is 1, equal to the target value. Since H=1, PDIS has the same score.

2.1givenF1F3algebra∎

Under μ(a∣s0)=1, the target trajectory taking b has target probability 1 and behavior probability 0, so the full-coverage premise fails and its likelihood ratio is undefined. The two reward choices r(b)=1 and r(b)=−1 yield the same deterministic logged trajectory but target values 1 and −1.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Trajectory importance weights can grow exponentially with horizon

Example

Assume AC. Fix a finite horizon H≥1 and a number 0<ε<1. Consider one state s, actions a,b, rewards 0,1, and a transition back to s after either action; action a gives reward 0 and action b gives reward 1. Let γ=1, let the target policy choose b with probability 1, and let the behavior policy choose b with probability ε and a with probability 1−ε. Full trajectory coverage holds because the only target action has positive behavior probability. The target return is H. For one behavior trajectory, the ordinary trajectory importance-sampling score is Hε−H if all H actions are b, an event of probability εH, and is 0 otherwise. Thus the score has mean H, second moment H2ε−H, and variance H2(ε−H−1), which grows exponentially in H for fixed ε.

Facts & Assumptions

Given: AC, the one-state finite MDP, horizon H, γ=1, target policy b, behavior probability ε for b, and one trajectory sampled under behavior.

[F1]

Finite-horizon offline reinforcement-learning dataset and coverage: the return is the finite discounted reward sum and the logged trajectory law is generated by the behavior policy and the stated joint reward/next-state mass.

[F2]

Ordinary, per-decision, and weighted trajectory importance sampling: the ordinary score is W0:H−1GH, with W0:H−1 the product of the H action-propensity ratios.

Verification

1.1givenF1F2algebra

Under the target policy all H actions are b, every reward is 1, and γ=1, so GH=H. Under behavior, the event that all H actions are b has probability εH; on that event every factor is 1/ε, hence W0:H−1=ε−H. If any action is a, its target probability is zero, the product weight is zero, and the OIS score is zero.

2.1givenF1F2step 1.1algebra∎

The score X=W0:H−1GH therefore equals Hε−H with probability εH and 0 otherwise. Thus EμX=εHHε−H=H and EμX2=εHH2ε−2H=H2ε−H. Subtracting (EμX)2=H2 gives Var⁡μ(X)=H2(ε−H−1). Since ε−H is exponential in H, the variance grows exponentially although every finite-horizon score is finite.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Self-normalization and clipping can introduce finite-sample bias

Example

Assume AC and take horizon H=1, discount γ=12, states s0,z, actions a,b at s0, and action c at z. Every action moves to z; action a gives reward 0, action b gives reward 1, and action c gives reward 0. The target policy chooses b at s0; both policies choose c at z. The behavior policy chooses a and b each with probability 12. For n≥1 independent behavior trajectories, let Wi be the ordinary trajectory weight and Gi the return. The ordinary estimate is n−1∑iWiGi. The self-normalized estimate is ∑iWiGi/∑iWi when its denominator is positive and 0 when it is zero. The clipped estimate at threshold 1 is n−1∑imin⁡{Wi,1}Gi. The target value is 1; the ordinary estimator has expectation 1, the self-normalized estimator has expectation 1−2−n, and the clipped estimator has expectation 12.

Facts & Assumptions

Given: AC, the horizon-one MDP and policies in the Example, n independent behavior trajectories, and the stated estimator conventions.

[F1]

Finite-horizon offline reinforcement-learning dataset and coverage: the target value is the expectation of the finite-horizon return, and the logged trajectories are independent with the behavior-policy law.

[F2]

Ordinary, per-decision, and weighted trajectory importance sampling: an ordinary trajectory weight is the product of the action-propensity ratios; WIS returns 0 when its normalizing denominator is zero.

Verification

1.1givenF1F2algebra

For one trajectory, Wi=2 and Gi=1 when action b is observed, an event of probability 12; when action a is observed, Wi=0 and Gi=0. Thus WiGi equals 2 or 0 with equal probability and has expectation 1. Linearity gives expectation 1 for the ordinary sample average.

2.1givenF1F2step 1.1algebra

Let K be the number of b actions in the n independent episodes. If K>0, the WIS numerator is 2K and its denominator is 2K, so the estimate is 1; if K=0, its estimate is 0 by convention. Independence gives P(K=0)=2−n. Hence its expectation is 1−2−n, and its bias relative to target value 1 is −2−n.

3.1givenF1F2algebra∎

For each trajectory, min⁡{Wi,1}Gi equals 1 when b is observed and 0 when a is observed. Its expectation is 12, so the clipped sample average also has expectation 12 by linearity. Its bias is −12.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Correct ratios and a correct value model give separate DR identities

Example

Assume AC and take a one-step MDP with states s0,z, actions a,b at s0, action c at z, horizon H=1, and discount γ=12. Every action moves to z; action a gives reward 0, action b gives reward 1, and action c gives reward 0. The target policy chooses b at s0 and c at z, so its value from s0 is 1.

In the first evaluation case, behavior chooses a and b each with probability 12 at s0, the action ratios are exact, and the fitted Q values are Q^0(s0,a)=Q^0(s0,b)=Q^0(z,c)=0. The DR score is 2 on a logged b trajectory and 0 on a logged a trajectory, so its expectation is 1 although the Q model is wrong at b.

In the second evaluation case, behavior chooses a at s0 with probability 1, so the target action has no behavior support. The fitted model is exact: Q^0(s0,a)=0, Q^0(s0,b)=1, and Q^0(z,c)=0, with V^1=0 and V^0(s0)=1. Use the finite multipliers ρ^0(s0,a)=ρ^0(s0,b)=ρ^0(z,c)=1. Every behavior trajectory has zero residual, so its DR score is 1, equal to the target value despite missing support and incorrect action ratios.

In the diagram, vertices are states; an edge labeled a:r means action a produces reward r and moves deterministically to the arrow endpoint. The proof uses the transition/reward values stated in prose, not the drawing.

s0za:0b:1c:0

Facts & Assumptions

Given: AC, the one-step MDP, both behavior policies, the target policy, the stated Q functions and multipliers, and H=1, γ=12.

[F1]

Finite-horizon offline reinforcement-learning dataset and coverage: the target value is the expected finite-horizon return, and behavior trajectories use the behavior policy with the same transition/reward law.

[F2]

Finite-horizon doubly robust off-policy value evaluation: with H=1, V1=0, the DR score is V^0(s0)+ρ^0(S0,A0)(R1−Q^0(S0,A0)).

[F3]

Doubly robust evaluation is unbiased under either exact component: exact ratios with trajectory coverage or a correct finite-horizon value model with the zero terminal convention suffices for unbiasedness.

Verification

1.1givenF1F2algebra

In the first case, V^0(s0)=12Q^0(s0,a)+12Q^0(s0,b)=0, ρ^0(s0,a)=0, and ρ^0(s0,b)=2. A logged a has score 0+0(0−0)=0; a logged b has score 0+2(1−0)=2. Since each occurs with probability 12, the mean DR score is 1, the target value, although Q^0(s0,b)=0≠1.

1.2givenF1F2F3algebra

In the second case, the exact finite-horizon model has Q0π(s0,a)=0, Q0π(s0,b)=1, and Q0π(z,c)=0; its target-policy value is V^0(s0)=1 and its terminal value is 0. The behavior policy always logs a, so each observed residual is 0+12⋅0−0=0, regardless of the supplied multiplier 1. Every DR score is therefore 1, and its expectation is the target value despite the absent target action in behavior data.

2.1step 1.1step 1.2F2F3algebra∎

The first calculation verifies the exact-ratio branch with a misspecified Q function; the second verifies the exact-model branch with missing support and incorrect multipliers. Both use the terminal convention V^1=0 from [F2].

Sources