Simple Algorithm
Reinforcement Learning · Fixed Point · 30 min

Pessimism: The Theory of Offline RL

Coverage, concentrability, and why pessimism is provably efficient.

Online RL is optimistic: when unsure, try it, and the data will correct you. Offline, nothing corrects you, and the sign must flip. This lesson makes that precise. It shows what the data must cover (one good policy, not all of them), proves in a few lines that acting on lower confidence bounds competes with every policy the data cover, gives rates that interpolate between imitation learning and RL, and ends with the limits: lower bounds, and a result showing that pessimism is a principled choice rather than a uniformly optimal one.

What you’ll learn

  • Show that no offline algorithm can compete with a policy the data do not cover, and define all-policy and single-policy concentrability.
  • Prove the pessimism bound: if a penalty dominates the Bellman estimation error, the greedy policy of the penalized values loses at most twice the penalty accumulated along any comparator's trajectories.
  • State the rates of lower-confidence-bound methods in bandits, contextual bandits and MDPs as functions of C⋆C^\star and NN, and explain how they interpolate between imitation learning and RL.
  • Describe Bellman-consistent pessimism for general function classes, and the lower bounds and the batch-bandit result that limit what pessimism can promise.

What the data must cover

Start with the smallest offline problem, a two-armed bandit. The data contain NN pulls of arm 1, whose mean is 0.5, and none of arm 2. Consider two worlds that differ only in arm 2: in one its mean is 1, in the other 0. The data have the same distribution in both worlds, so any algorithm picks arm 2 with the same probability qq in both. It loses 0.5(1−q)0.5(1-q) in the first world and 0.5q0.5q in the second, so in one of them it loses at least 0.25, however large NN is.

Coverage is measured by density ratios between a policy's occupancy measure and the data. With the normalized discounted occupancy dπ(s,a)=(1−γ)∑tγtPr⁡π(St=s,At=a)d^\pi(s,a) = (1-\gamma)\sum_t\gamma^t\Pr_\pi(S_t = s, A_t = a) from the initial distribution μ\mu, and the data distribution dDd^\data, the two standard notions are

Call=max⁡π max⁡s,adπ(s,a)dD(s,a),Cπ=max⁡s,adπ(s,a)dD(s,a),C⋆=Cπ⋆.C_{\text{all}} = \max_\pi\ \max_{s,a}\frac{d^\pi(s,a)}{d^\data(s,a)},\qquad C^\pi = \max_{s,a}\frac{d^\pi(s,a)}{d^\data(s,a)},\qquad C^\star = C^{\pi^\star}.

The first is a simple form of all-policy concentrability, what fitted Q-iteration's guarantees need (Fitted Q-Iteration & Its Guarantees): data covering everything any policy might do. The second is single-policy concentrability: data covering one policy. Rashidinejad, Zhu, Ma, Jiao and Russell (2021) organized offline RL around C⋆C^\star. It is never below 1, since both distributions sum to one; it equals 1 when the data are exactly the optimal policy's; and it is finite whenever the data cover the optimal policy, even if they never show a single suboptimal action.

Predict before you look

A contextual bandit has 4 actions, and contexts come from the same distribution p(s)p(s) in the data and at deployment. In every context the behavior policy takes the optimal action with probability 0.9, and otherwise picks uniformly among all 4, so the optimal action's total probability is 0.9+0.1/40.9 + 0.1/4. What is C⋆C^\star?

Show the answer

1.08

dD(s,a⋆)=0.925 p(s)d^\data(s,a^\star) = 0.925\,p(s) and dπ⋆(s,a⋆)=p(s)d^{\pi^\star}(s,a^\star) = p(s), so C⋆=1/0.925≈1.08C^\star = 1/0.925\approx1.08. The all-policy coefficient is 40: a policy that always takes some other action has ratio 1/0.0251/0.025. Data from a good, slightly noisy policy have excellent single-policy coverage and poor all-policy coverage, which is why greedy methods that need CallC_{\text{all}} are the wrong tool for them.

Pessimism, proved

Work in a finite-horizon MDP with steps h=1,…,Hh = 1,\dots,H, rewards in [0,1][0,1] and a dataset of KK trajectories, the setting of Jin, Yang and Wang (2021), whose indexing this step follows. Let B^h\hat{\mathcal B}_h be an empirical Bellman operator, (B^hV)(s,a)≈rh(s,a)+Es′∼Ph(⋅∣s,a)V(s′)(\hat{\mathcal B}_hV)(s,a)\approx r_h(s,a) + \E_{s'\sim P_h(\cdot\mid s,a)}V(s'), estimated from the data. A penalty Γh(s,a)≥0\Gamma_h(s,a)\ge0 is a ξ-uncertainty quantifier if, with probability at least 1−ξ1-\xi, ∣(B^hV^h+1)(s,a)−(BhV^h+1)(s,a)∣≤Γh(s,a)\abs{(\hat{\mathcal B}_h\hat V_{h+1})(s,a) - (\mathcal B_h\hat V_{h+1})(s,a)}\le\Gamma_h(s,a) for all ss, aa and hh, where V^h+1\hat V_{h+1} is the algorithm's own estimate. Pessimistic value iteration (PEVI) subtracts it:

text
Pessimistic value iteration (PEVI)
V̂_{H+1} ← 0
for h = H, H−1, ..., 1:
    Q̂_h(s, a) ← clip( (B̂_h V̂_{h+1})(s, a) − Γ_h(s, a),  0,  H − h + 1 )
    π̂_h(s)    ← argmax_a Q̂_h(s, a)
    V̂_h(s)    ← Q̂_h(s, π̂_h(s))
return π̂ = (π̂_1, ..., π̂_H)

The penalty is an online exploration bonus with its sign flipped (Optimism in MDPs: UCRL2 & UCBVI). For tabular data, Γh(s,a)≈cHι/Nh(s,a)\Gamma_h(s,a)\approx cH\sqrt{\iota/N_h(s,a)} with NhN_h the pair's count at step hh and ι\iota a logarithmic factor. For a linear MDP with features ϕ\phi, Jin et al. use Γh(s,a)=βϕ(s,a)⊤Λh−1ϕ(s,a)\Gamma_h(s,a) = \beta\sqrt{\phi(s,a)^\top\Lambda_h^{-1}\phi(s,a)}, with Λh\Lambda_h the data's regularized feature covariance at step hh and β\beta of order dHlog⁡(dHK/ξ)dH\sqrt{\log(dHK/\xi)}.

DerivationProof
  1. 0 ≤ ιh(s,a):=(BhV^h+1)(s,a)−Q^h(s,a) ≤ 2 Γh(s,a)0\ \le\ \iota_h(s,a) := (\mathcal B_h\hat V_{h+1})(s,a) - \hat Q_h(s,a)\ \le\ 2\,\Gamma_h(s,a)

    Let ιh\iota_h be the error of the algorithm's values against a true backup of its own next-step estimate. On the good event, 0≤ιh≤2Γh0\le\iota_h\le2\Gamma_h: before clipping, ιh=(Bh−B^h)V^h+1+Γh∈[0,2Γh]\iota_h = (\mathcal B_h - \hat{\mathcal B}_h)\hat V_{h+1} + \Gamma_h\in[0, 2\Gamma_h]. Clipping at 0 keeps both inequalities, and the clip at H−h+1H - h + 1 cannot bind on the event, because BhV^h+1≤H−h+1\mathcal B_h\hat V_{h+1}\le H - h + 1.

  2. V1π(s)−V^1(s)=∑h=1HEπ[ιh(sh,ah)]+∑h=1HEπ[⟨Q^h(sh,⋅), πh(⋅∣sh)−π^h(⋅∣sh)⟩]V^\pi_1(s) - \hat V_1(s) = \sum_{h=1}^H\E_\pi\big[\iota_h(s_h,a_h)\big] + \sum_{h=1}^H\E_\pi\Big[\big\langle\hat Q_h(s_h,\cdot),\ \pi_h(\cdot\mid s_h) - \hat\pi_h(\cdot\mid s_h)\big\rangle\Big]

    For any policy π\pi, write Vhπ−V^h=⟨Qhπ−Q^h,πh⟩+⟨Q^h,πh−π^h⟩V^\pi_h - \hat V_h = \langle Q^\pi_h - \hat Q_h, \pi_h\rangle + \langle\hat Q_h, \pi_h - \hat\pi_h\rangle and Qhπ−Q^h=ιh+Ph(Vh+1π−V^h+1)Q^\pi_h - \hat Q_h = \iota_h + P_h(V^\pi_{h+1} - \hat V_{h+1}), then unroll along π\pi's trajectory (the extended value-difference identity):

  3. V1π(s)−V1π^(s)=∑hEπ[ιh]+∑hEπ[⟨Q^h,πh−π^h⟩]⏟≤ 0−∑hEπ^[ιh]⏟≥ 0 ≤ 2∑hEπ[Γh]■V^\pi_1(s) - V^{\hat\pi}_1(s) = \sum_h\E_\pi[\iota_h] + \underbrace{\sum_h\E_\pi\big[\langle\hat Q_h,\pi_h - \hat\pi_h\rangle\big]}_{\le\,0} - \underbrace{\sum_h\E_{\hat\pi}[\iota_h]}_{\ge\,0}\ \le\ 2\sum_h\E_\pi[\Gamma_h]\qquad\blacksquare

    For π=π^\pi = \hat\pi the second sum vanishes, so V1π^−V^1=∑hEπ^[ιh]≥0V^{\hat\pi}_1 - \hat V_1 = \sum_h\E_{\hat\pi}[\iota_h]\ge0: the pessimistic estimate is a lower bound on the true value of the returned policy. Subtract the two identities. The inner products are at most 0 because π^\hat\pi is greedy for Q^\hat Q, and the π^\hat\pi sum is nonnegative:

Compare optimism. With a bonus instead of a penalty, ιh∈[−2Γh,0]\iota_h\in[-2\Gamma_h, 0], and the same algebra bounds the loss by the uncertainty along the learner's own trajectories, 2∑hEπ^[Γh]2\sum_h\E_{\hat\pi}[\Gamma_h]. Online, that is self-correcting: wherever π^\hat\pi goes, data accumulate and Γ\Gamma shrinks. Offline, π^\hat\pi may head exactly where data are absent, and the bound is vacuous. Pessimism moves the uncertainty onto the comparator's trajectories, where good data can make it small.

From penalties to rates: between imitation and RL

DerivationWhere single-policy concentrability enters
  1. Eπ[Γh(sh,ah)]≈cHι ∑s,adhπ(s,a)K dhD(s,a)\E_\pi\big[\Gamma_h(s_h,a_h)\big]\approx cH\sqrt{\iota}\ \sum_{s,a}\frac{d^\pi_h(s,a)}{\sqrt{K\,d^\data_h(s,a)}}

    Take the tabular penalty with Nh(s,a)≈K dhD(s,a)N_h(s,a)\approx K\,d^\data_h(s,a) samples of each pair at step hh, where dhDd^\data_h is the data's distribution at step hh and dhπd^\pi_h the comparator's:

  2. ∑s,adhπ(s,a)K dhD(s,a)=1K∑s,adhπ(s,a) dhπ(s,a)dhD(s,a) ≤ CπK ∑s,adhπ(s,a)\sum_{s,a}\frac{d^\pi_h(s,a)}{\sqrt{K\,d^\data_h(s,a)}} = \frac{1}{\sqrt K}\sum_{s,a}\sqrt{d^\pi_h(s,a)}\,\sqrt{\frac{d^\pi_h(s,a)}{d^\data_h(s,a)}}\ \le\ \sqrt{\frac{C^\pi}{K}}\ \sum_{s,a}\sqrt{d^\pi_h(s,a)}

    Split dhπd^\pi_h into two square roots and bound one of them by the concentrability Cπ=max⁡h,s,adhπ(s,a)/dhD(s,a)C^\pi = \max_{h,s,a}d^\pi_h(s,a)/d^\data_h(s,a):

  3. V1π−V1π^ ≲ 2cH2ι S CπKV^\pi_1 - V^{\hat\pi}_1\ \lesssim\ 2cH^2\sqrt{\frac{\iota\,S\,C^\pi}{K}}

    For a deterministic comparator, dhπ(s,⋅)d^\pi_h(s,\cdot) sits on one action per state, and Cauchy–Schwarz gives ∑sdhπ(s)≤S\sum_s\sqrt{d^\pi_h(s)}\le\sqrt S. Summing over the HH steps:

  4. This is a heuristic. A careful proof must handle the dependence of V^h+1\hat V_{h+1} on the same data used to estimate B^h\hat{\mathcal B}_h, by sample splitting or by a union bound over value functions, and sharper analyses improve the powers of HH and SS. But the structure survives: the error depends on the data only through the comparator's coverage.

The sharpest known results, all for lower-confidence-bound (LCB) methods, with NN samples and up to logarithmic factors:

SettingPessimism (LCB) achievesLower boundSource
Multi-armed banditC⋆/N\sqrt{C^\star/N}C⋆/N\sqrt{C^\star/N} when C⋆≥2C^\star\ge2; exponentially small in NN when C⋆<2C^\star < 2Rashidinejad et al. (2021)
Contextual bandit, SS contextsS(C⋆−1)/N+S/N\sqrt{S(C^\star-1)/N} + S/Nthe same: LCB is optimal for every C⋆C^\starRashidinejad et al. (2021)
Discounted MDPSC⋆/((1−γ)5N)\sqrt{SC^\star/((1-\gamma)^5N)} (VI-LCB)S(C⋆−1)/((1−γ)3N)+S/((1−γ)2N)\sqrt{S(C^\star-1)/((1-\gamma)^3N)} + S/((1-\gamma)^2N)Rashidinejad et al. (2021)
Discounted MDP, sharpenedSCclipped⋆/((1−γ)3N)\sqrt{SC^\star_{\text{clipped}}/((1-\gamma)^3N)}, with Cclipped⋆≤C⋆C^\star_{\text{clipped}}\le C^\starmatching, for every accuracyLi, Shi, Chen, Chi & Wei (2024)
Linear MDP, dimension ddd3/2H2/Kd^{3/2}H^2/\sqrt K when the data cover the optimal policy's feature directionsthe same intrinsic uncertainty ∑hEπ⋆[∥ϕ∥Λh−1]\sum_h\E_{\pi^\star}\big[\norm{\phi}_{\Lambda_h^{-1}}\big], up to the factor β\betaJin, Yang & Wang (2021)
C⋆→1C^\star\to1 is imitation learning's regime: in contextual bandits the rate becomes S/NS/N, the rate of behavior cloning on expert data. Uniform data over AA actions give C⋆=AC^\star = A and the familiar SA/N\sqrt{SA/N} of RL. One algorithm attains both ends without being told which regime it is in.
Predict before you look

In the contextual bandit of the first step (C⋆=1/0.925C^\star = 1/0.925), compare the refined rate S(C⋆−1)/N\sqrt{S(C^\star-1)/N} with the cruder SC⋆/N\sqrt{SC^\star/N} obtained by reusing the bandit argument. To reach the same error, how many times fewer samples does the refined rate need?

Show the answer

13.3

Equal error needs N∝C⋆−1N\propto C^\star - 1 instead of N∝C⋆N\propto C^\star, a ratio C⋆/(C⋆−1)=1/(1−0.925)≈13.3C^\star/(C^\star - 1) = 1/(1 - 0.925)\approx13.3. Data from a nearly expert policy are worth an order of magnitude more than the crude analysis suggests, because pessimism needs to resolve only the contexts where the behavior strayed.

The bandit row hides a surprise. With nearly expert data (C⋆<2C^\star < 2, so the best arm is more than half the data), the minimax rate is exponentially small in NN, and an algorithm that ignores rewards entirely and picks the most frequently logged arm gets there. It errs only if the best arm fails to be the most common, an event of probability at most e−N DKL(Bern(1/2) ∥ Bern(1/C⋆))e^{-N\,\KL(\mathrm{Bern}(1/2)\,\|\,\mathrm{Bern}(1/C^\star))}. LCB, which uses rewards, has a guarantee of only order 1/N1/\sqrt N, the cost of comparing estimated means, and Rashidinejad et al. show that no setting of its confidence level makes it optimal in both regimes. Imitation exploits information that value-based methods discard: which actions the behavior chose. With several contexts the picture changes: majority voting can be wrong in contexts where the behavior mostly erred, its loss no longer vanishes as NN grows, and LCB is optimal across the whole range.

Think first 60% of N=1000N = 1000 logged pulls are of the best arm. Roughly how likely is majority voting to pick the wrong arm, and how does that compare with LCB's worst-case loss?

The vote fails only if a Binomial(1000, 0.6) count falls to 500 or below, which by the Chernoff bound has probability at most e−1000 DKL(0.5 ∥ 0.6)=e−1000×0.0204≈10−9e^{-1000\,\KL(0.5\,\|\,0.6)} = e^{-1000\times0.0204}\approx10^{-9}. LCB's guarantee is only of order C⋆/N=1.67/1000≈0.04\sqrt{C^\star/N} = \sqrt{1.67/1000}\approx0.04: it ranks arms by estimated means, and two arms whose means differ by a few hundredths cannot be ranked reliably from 400 rewards of one of them.

General function classes, and the limits

Uncertainty quantifiers like Γ\Gamma are available for tabular and linear models. For a general class F\mathcal F of candidate action-value functions and a policy class Π\Pi, Xie, Cheng, Jiang, Mineiro and Agarwal (2021) apply pessimism to a version space. For each policy, keep the functions whose empirical Bellman error for Tπ\mathcal T^\pi is small, and score the policy by the most pessimistic of them at the initial state s0s_0:

π^=arg max⁡π∈Π min⁡f∈Fπ,εf(s0,π),Fπ,ε={f∈F: E(f,π;D)≤ε},\hat\pi = \argmax_{\pi\in\Pi}\ \min_{f\in\mathcal F_{\pi,\varepsilon}}f(s_0,\pi),\qquad \mathcal F_{\pi,\varepsilon} = \big\{f\in\mathcal F:\ \mathcal E(f,\pi;\data)\le\varepsilon\big\},

with f(s,π)=∑aπ(a∣s)f(s,a)f(s,\pi) = \sum_a\pi(a\mid s)f(s,a) and E\mathcal E an empirical Bellman error corrected for the double-sampling bias.

The coefficient C(π)C(\pi) measures distribution shift only through the Bellman errors of functions in the class, so it can be far smaller than a density ratio: differences between dπd^\pi and dDd^\data that no candidate's Bellman error can detect cost nothing. For linear function classes with a small, finite action space this improves Jin et al.'s error bound by a factor d\sqrt d. The price is computation: the max–min over policies and version spaces is intractable in general. A practical descendant, ATAC (Cheng, Xie, Jiang & Agarwal, 2022), plays a two-player game between an actor and a critic trained to find data-consistent functions under which the actor looks worse than the behavior policy; if the actor has no regret in this game, its policy is no worse than the behavior policy for a wide range of the pessimism hyperparameter.

The limits are as instructive as the guarantees.

  • The comparator must be covered. The two-armed bandit of the first step rules out anything else.
  • Realizability is not enough. Foster, Krishnamurthy, Simchi-Levi and Xu (2022) showed that with Q⋆Q^\star in the class and even all-policy coverage, but without completeness, some problems need a number of samples polynomial in the number of states; Wang, Foster and Kakade (2021) showed that with linear features realizing every policy's value and well-conditioned data, even evaluating a policy can need exponentially many samples in the horizon (Fitted Q-Iteration & Its Guarantees). Zhan, Huang, Huang, Jiang and Lee (2022) escape through a different door: realizability of a value function and a density ratio of a regularized occupancy linear program, together with single-policy concentrability, give polynomial sample complexity with a primal–dual algorithm.
  • Pessimism is not uniquely optimal. For batch policy optimization in finite-armed bandits, Xiao et al. (2021) proved that every rule in a family of confidence-adjusted indices, pessimistic (LCB), neutral (empirical means) or optimistic (UCB), is minimax optimal, and that no algorithm is instance-optimal: for any algorithm that is optimal in one environment there is another where it does arbitrarily worse than the best. Pessimism comes out ahead only under a weighted minimax criterion that accounts for how hard the optimal value is to predict. The case for pessimism is that its guarantee is relative to what the data cover and cannot be wrecked by an unlucky extrapolation, not that it is uniformly best.

Key takeaways

  • Without coverage of a comparator, no offline algorithm can compete with it: guarantees must be relative to what the data cover. Single-policy concentrability Cπ=max⁡s,adπ/dDC^\pi = \max_{s,a}d^\pi/d^\data is the measure for pessimistic methods; greedy methods such as fitted Q-iteration need all-policy coverage.
  • If a penalty dominates the Bellman estimation error, the greedy policy of the penalized values loses at most 2∑hEπ[Γh]2\sum_h\E_\pi[\Gamma_h] to any comparator π\pi: uncertainty is paid only along the comparator's trajectories, the reverse of optimism.
  • LCB rates interpolate between imitation and RL: in contextual bandits S(C⋆−1)/N+S/N\sqrt{S(C^\star-1)/N} + S/N, which is S/NS/N on expert data; for tabular MDPs about SCclipped⋆/((1−γ)3ε2)SC^\star_{\text{clipped}}/((1-\gamma)^3\varepsilon^2) samples are necessary and sufficient. In multi-armed bandits with nearly expert data, majority voting achieves an exponentially small error, which no setting of LCB matches in both regimes.
  • With general function classes, pessimism over a Bellman-consistent version space competes with every covered comparator under realizability and completeness. Realizability alone is not enough, and pessimism is minimax optimal but not uniquely so.

Check yourself

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

Question 1

What coverage does a pessimistic offline algorithm need in order to compete with the optimal policy?

  1. Data covering every state–action pair any policy can reach (all-policy concentrability)
  2. Data generated by the optimal policy itself
  3. Data covering the state–action pairs the optimal policy visits, in proportion (finite single-policy concentrability C⋆C^\star)
  4. A dataset larger than the state space
Show the answer

C. Data covering the state–action pairs the optimal policy visits, in proportion (finite single-policy concentrability C⋆C^\star)

The bound 2∑hEπ⋆[Γh]2\sum_h\E_{\pi^\star}[\Gamma_h] involves the penalty only along the optimal policy's trajectories, where it is small when the data cover them well; how badly the data cover other policies does not enter.

Question 2

In the proof of the pessimism bound, which property makes ∑hEπ[⟨Q^h,πh−π^h⟩]≤0\sum_h\E_\pi\big[\langle\hat Q_h,\pi_h - \hat\pi_h\rangle\big]\le0?

  1. π^\hat\pi is greedy with respect to the pessimistic values Q^\hat Q
  2. π^\hat\pi stays close to the behavior policy
  3. Q^h≤Qhπ\hat Q_h\le Q^\pi_h for every policy π\pi
  4. The penalty is larger where data are scarce
Show the answer

A. π^\hat\pi is greedy with respect to the pessimistic values Q^\hat Q

For each state, ⟨Q^h(s,⋅),πh(⋅∣s)⟩≤max⁡aQ^h(s,a)=⟨Q^h(s,⋅),π^h(⋅∣s)⟩\langle\hat Q_h(s,\cdot),\pi_h(\cdot\mid s)\rangle\le\max_a\hat Q_h(s,a) = \langle\hat Q_h(s,\cdot),\hat\pi_h(\cdot\mid s)\rangle. Pessimism is used elsewhere: to make ιh≥0\iota_h\ge0, so that the π^\hat\pi sum can be dropped.

Question 3

The data contain NN pulls of arm 1 (mean 0.5) and none of arm 2. Over the two worlds in which arm 2 has mean 0 or mean 1, what is the smallest worst-case expected loss any algorithm can guarantee?

  1. 0, once NN is large enough
  2. 0.5
  3. 1/N1/\sqrt N
  4. 0.25
Show the answer

D. 0.25

The data are identically distributed in both worlds, so the algorithm picks arm 2 with the same probability qq in both, losing 0.5(1−q)0.5(1-q) in one world and 0.5q0.5q in the other. The worst case is minimized at q=12q = \tfrac12, where it is 0.25, for every NN.

Question 4

In a multi-armed bandit with nearly expert data (the best arm makes up 60% of the pulls), why can choosing the most frequently logged arm beat an LCB rule?

  1. Because LCB needs reward data for every arm
  2. Because the action frequencies reveal the best arm, and majority voting errs only with probability exponentially small in NN, while LCB's guarantee is only of order 1/N1/\sqrt N, the cost of comparing estimated means
  3. Because LCB is a biased estimator
  4. Because the most-played rule is more pessimistic than LCB
Show the answer

B. Because the action frequencies reveal the best arm, and majority voting errs only with probability exponentially small in NN, while LCB's guarantee is only of order 1/N1/\sqrt N, the cost of comparing estimated means

Imitation uses information that value-based methods discard: which actions the behavior chose. With C⋆<2C^\star < 2 the best arm is the majority, and a Chernoff bound makes the vote wrong with probability at most e−N DKL(Bern(1/2) ∥ Bern(1/C⋆))e^{-N\,\KL(\mathrm{Bern}(1/2)\,\|\,\mathrm{Bern}(1/C^\star))}. With many contexts the advantage disappears: voting can fail in contexts where the behavior mostly erred.

Further reading

  • Y. Jin, Z. Yang & Z. Wang, "Is pessimism provably efficient for offline RL?" Proceedings of the 38th International Conference on Machine Learning (ICML) (2021).
  • P. Rashidinejad, B. Zhu, C. Ma, J. Jiao & S. Russell, "Bridging offline reinforcement learning and imitation learning: A tale of pessimism," Advances in Neural Information Processing Systems 34 (2021).
  • T. Xie, C.-A. Cheng, N. Jiang, P. Mineiro & A. Agarwal, "Bellman-consistent pessimism for offline reinforcement learning," Advances in Neural Information Processing Systems 34 (2021).
  • C. Xiao, Y. Wu, J. Mei, B. Dai, T. Lattimore, L. Li, C. Szepesvári & D. Schuurmans, "On the optimality of batch policy optimization algorithms," Proceedings of the 38th International Conference on Machine Learning (ICML) (2021).
  • G. Li, L. Shi, Y. Chen, Y. Chi & Y. Wei, "Settling the sample complexity of model-based offline reinforcement learning," Annals of Statistics 52(1), 233–260 (2024).