Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Reinforcement Learning

91 missions · 41 completed

Missions

Open50Completed41All91
🏆Completed
Bandit AlgorithmsMachine LearningStatistics·Captain: mikedeng1

Foundations of Reinforcement Learning II: Contextual Bandits and Inverse Gap WeightingTextbook

Motivation

Decision-making problems rarely present the same fixed choice twice. A doctor prescribing a treatment sees each patient's medical history and symptoms before deciding; a website choosing which article to show sees the visitor's profile first. The multi-armed bandit model — where the learner repeatedly picks from a fixed set of arms with no side information — cannot express this: it is blind to the covariates that any real decision-maker actually observes. The contextual bandit model closes this gap by letting the learner see a context before acting, and asks for a decision rule that generalizes across contexts rather than memorizing a policy per context. Foster and Rakhlin's Foundations of Reinforcement Learning and Interactive Decision Making (arXiv:2312.16730v1, Section 3, pp. 38–53) develops this model and its algorithms as the bridge between supervised learning and sequential decision making, en route to general reinforcement learning. Contextual bandits with a learned reward-function class underlie production systems for content recommendation, online advertising, and adaptive clinical trial design (Li et al., A Contextual-Bandit Approach to Personalized News Article Recommendation, 2010, https://arxiv.org/abs/1003.0146; Agarwal et al., Making Contextual Decisions with Low Technical Debt, 2016, https://arxiv.org/abs/1606.03966).

The algorithmic history in this chapter runs through two distinct principles. The optimism principle (LinUCB, Section 3.2) generalizes the UCB algorithm to contexts under a linear reward model, but the chapter's own Example 3.1 (Section 3.3) shows optimism fails outside such structured classes, incurring regret linear in the size of the context space or the class. Foster and Rakhlin then present two "black-box" alternatives that use any function class FFF through an abstract regression subroutine: the naive ε\varepsilonε-Greedy method (Section 3.4), and the Inverse Gap Weighting (IGW) strategy underlying the SquareCB algorithm (Bietti, Agarwal & Langford, A Contextual Bandit Bake-off, 2018, https://arxiv.org/abs/1802.04064; Foster & Rakhlin, Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles, 2020, https://arxiv.org/abs/2002.04926). SquareCB attains a regret rate that both generalizes across contexts (no dependence on the size of the context space) and matches the optimal T\sqrt{T}T​ rate — improving on ε\varepsilonε-Greedy's T2/3T^{2/3}T2/3 rate — while remaining agnostic to the internal structure of FFF.

Setting

Over TTT rounds, a decision-maker faces the contextual bandit protocol: at each round ttt, it observes a context xt∈Xx_t \in Xxt​∈X, selects a decision πt\pi_tπt​ from a finite action set Π={1,…,A}\Pi = \{1,\dots,A\}Π={1,…,A}, and observes a reward rt∈Rr_t \in \mathbb{R}rt​∈R. Rewards are generated independently as rt∼M⋆(⋅∣xt,πt)r_t \sim M^\star(\cdot \mid x_t, \pi_t)rt​∼M⋆(⋅∣xt​,πt​) for a fixed, unknown conditional model M⋆M^\starM⋆; write f⋆(x,π):=E[r∣x,π]f^\star(x,\pi) := \mathbb{E}[r \mid x, \pi]f⋆(x,π):=E[r∣x,π] for the mean reward function and π⋆(x):=arg⁡max⁡πf⋆(x,π)\pi^\star(x) := \arg\max_\pi f^\star(x,\pi)π⋆(x):=argmaxπ​f⋆(x,π) for the optimal, context-dependent policy. The context sequence x1,…,xTx_1,\dots,x_Tx1​,…,xT​ is arbitrary — fixed in advance or adversarially chosen — while rewards remain stochastic. Performance is measured by regret against π⋆\pi^\starπ⋆:

Reg:=∑t=1Tf⋆(xt,π⋆(xt))−∑t=1TEπt∼pt[f⋆(xt,πt)],\mathrm{Reg} := \sum_{t=1}^T f^\star(x_t,\pi^\star(x_t)) - \sum_{t=1}^T \mathbb{E}_{\pi_t\sim p_t}[f^\star(x_t,\pi_t)],Reg:=t=1∑T​f⋆(xt​,π⋆(xt​))−t=1∑T​Eπt​∼pt​​[f⋆(xt​,πt​)],

where ptp_tpt​ is the learner's (possibly randomized) action distribution at round ttt.

To generalize across contexts, the learner is given a class F⊆{f:X×Π→R}F \subseteq \{f : X\times\Pi \to \mathbb{R}\}F⊆{f:X×Π→R} with f⋆∈Ff^\star \in Ff⋆∈F, and aims for regret scaling with the statistical complexity log⁡∣F∣\log|F|log∣F∣ rather than with ∣X∣|X|∣X∣. Both algorithms in this mission access FFF only through an online regression oracle (Definition 3, p. 47): given the history (x1,π1,r1),…,(xt−1,πt−1,rt−1)(x_1,\pi_1,r_1),\dots,(x_{t-1},\pi_{t-1},r_{t-1})(x1​,π1​,r1​),…,(xt−1​,πt−1​,rt−1​), it returns an estimate f^t:X×Π→R\hat f_t : X\times\Pi\to\mathbb{R}f^​t​:X×Π→R satisfying, with probability at least 1−δ1-\delta1−δ, ∑t=1TEπt∼pt[(f^t(xt,πt)−f⋆(xt,πt))2]≤EstSq(F,T,δ)\sum_{t=1}^T \mathbb{E}_{\pi_t\sim p_t}[(\hat f_t(x_t,\pi_t)-f^\star(x_t,\pi_t))^2] \le \mathrm{EstSq}(F,T,\delta)∑t=1T​Eπt​∼pt​​[(f^​t​(xt​,πt​)−f⋆(xt​,πt​))2]≤EstSq(F,T,δ) — for instance, exponential weights on a finite class FFF achieves EstSq(F,T,δ)=log⁡(∣F∣/δ)\mathrm{EstSq}(F,T,\delta) = \log(|F|/\delta)EstSq(F,T,δ)=log(∣F∣/δ). SquareCB (p. 50–51) then samples its action from the Inverse Gap Weighting distribution (Definition 4, p. 50): given a vector of estimated values f^∈RA\hat f \in \mathbb{R}^Af^​∈RA with greedy action πˉ=arg⁡max⁡πf^(π)\bar\pi = \arg\max_\pi \hat f(\pi)πˉ=argmaxπ​f^​(π), and an exploration parameter γ≥0\gamma \ge 0γ≥0, p=IGWγ(f^)p = \mathrm{IGW}_\gamma(\hat f)p=IGWγ​(f^​) is p(π)=1/(λ+2γ(f^(πˉ)−f^(π)))p(\pi) = 1/(\lambda + 2\gamma(\hat f(\bar\pi)-\hat f(\pi)))p(π)=1/(λ+2γ(f^​(πˉ)−f^​(π))) for the unique λ∈[1,A]\lambda \in [1,A]λ∈[1,A] making ppp a probability distribution.

Formalization targets

Milestone — Proposition 9 (IGW estimation-to-regret inequality)

Eπ∼p[f⋆(π⋆)−f⋆(π)]≤Aγ+γ⋅Eπ∼p[(f^(π)−f⋆(π))2],p=IGWγ(f^).\mathbb{E}_{\pi\sim p}[f^\star(\pi^\star)-f^\star(\pi)] \le \frac{A}{\gamma} + \gamma\cdot\mathbb{E}_{\pi\sim p}[(\hat f(\pi)-f^\star(\pi))^2], \qquad p = \mathrm{IGW}_\gamma(\hat f).Eπ∼p​[f⋆(π⋆)−f⋆(π)]≤γA​+γ⋅Eπ∼p​[(f^​(π)−f⋆(π))2],p=IGWγ​(f^​).

This holds for any f^,f⋆∈RA\hat f, f^\star \in \mathbb{R}^Af^​,f⋆∈RA and any γ>0\gamma>0γ>0, with no reference to FFF or to how f^\hat ff^​ was produced — it is the purely algebraic core the goal theorem invokes at every round.

Goal — Proposition 10 (SquareCB regret bound)

Reg≤2A T EstSq(F,T,δ)\mathrm{Reg} \le 2\sqrt{A\,T\,\mathrm{EstSq}(F,T,\delta)}Reg≤2ATEstSq(F,T,δ)​

with probability at least 1−δ1-\delta1−δ, for SquareCB run with γ=TA/EstSq(F,T,δ)\gamma = \sqrt{TA/\mathrm{EstSq}(F,T,\delta)}γ=TA/EstSq(F,T,δ)​, for any context sequence x1,…,xTx_1,\dots,x_Tx1​,…,xT​. This is the weakest stable target level in the chapter's oracle-based development: it is stated for an arbitrary class FFF and oracle, so it survives any future improvement to the oracle's own EstSq\mathrm{EstSq}EstSq bound, unlike a version hard-coded to a specific class or oracle.

Significance

Proposition 10 shows that Inverse Gap Weighting converts any estimation-error guarantee into a regret guarantee with the same statistical rate, with no algorithm-side dependence on the structure of FFF or the size of XXX: the same SquareCB template, driven by a plug-in regression oracle, is minimax optimal whenever the oracle itself is. When FFF is finite, this yields Reg≲ATlog⁡(∣F∣/δ)\mathrm{Reg} \lesssim \sqrt{AT\log(|F|/\delta)}Reg≲ATlog(∣F∣/δ)​, matching the optimal rate for stochastic multi-armed bandits (Section 2) while generalizing across contexts — a guarantee that optimism (Proposition 7) provably cannot deliver outside linear classes (Example 3.1), and that the simpler ε\varepsilonε-Greedy baseline (Proposition 8) only delivers at a slower T2/3T^{2/3}T2/3 rate. Foster and Rakhlin describe Proposition 9 itself as being "at the core of the development for the rest of the course": the same IGW mechanism reappears, generalized, in the book's treatment of general decision-making and the Decision-Estimation Coefficient.

Both propositions are proved results, not open questions; this mission's contribution is a machine-checked formalization of their exact statements and hypotheses — the precise OracleGuarantee hypothesis Proposition 10 requires, the exact constant (222, not a bare ≲\lesssim≲) its proof yields at the stated optimal γ\gammaγ, and the universally-quantified form of the IGW inequality (Proposition 9) that makes it reusable independently of any particular oracle or class.

Difficulty

The obvious first idea for exploiting an estimator f^t\hat f_tf^​t​ is a UCB-style optimism approach: build a confidence set around f^t\hat f_tf^​t​ and act greedily on its upper envelope, as in LinUCB (Proposition 7). Example 3.1 shows this fails in general: a class FFF can force the confidence set to remain wide on a fresh action at every new context, driving regret linear in min⁡{∣F∣,∣X∣}\min\{|F|,|X|\}min{∣F∣,∣X∣} — the confidence width in the regret bound does not shrink merely because the oracle's cumulative estimation error is small, since that error is not localized to the specific action the confidence-set approach tries next. Uniform exploration (ε\varepsilonε-Greedy) sidesteps this but wastes exploration budget on actions already known to be far from optimal, which is what caps its rate at T2/3T^{2/3}T2/3 (Proposition 8). Inverse Gap Weighting instead ties the sampling probability itself to the estimated gap from the greedy action, so cheap-to-rule-out actions are down-weighted continuously rather than either fully explored (ε-Greedy) or trusted outright (optimism); the technical content of Proposition 9 is showing this specific reciprocal-gap form gives a bound with no hidden dependence on FFF or XXX, for every pair (f^,f⋆)(\hat f, f^\star)(f^​,f⋆) simultaneously — a guarantee optimism cannot match because its confidence sets are class-dependent by construction.

Formalization scope

Contexts form an arbitrary type X; actions are Fin A for A : ℕ. A finite probability distribution over Fin A is represented directly as p : Fin A → ℝ with ∀ π, 0 ≤ p π and ∑ π, p π = 1, and Eπ∼p[g]\mathbb{E}_{\pi\sim p}[g]Eπ∼p​[g] as the finite sum ∑ π, p π * g π, rather than via Mathlib's PMF (which is ℝ≥0∞-valued) — an equivalent and lighter-weight representation of a distribution on a finite type. The normalizing constant λ\lambdaλ of Definition 4 and the optimal actions π⋆\pi^\starπ⋆, πˉ\bar\piπˉ are each specified by their defining property (existence of λ∈[1,A]\lambda \in [1,A]λ∈[1,A] realizing the IGW formula; ∀π,f(π)≤f(argmax)\forall\pi, f(\pi)\le f(\text{argmax})∀π,f(π)≤f(argmax)) rather than constructed explicitly via an intermediate-value or Finset.argmax argument, avoiding committing to one choice function for a value the book itself leaves implicit. The class FFF enters neither proposition's statement directly: it appears in the source only through the abstract bound EstSq(F,T,δ)\mathrm{EstSq}(F,T,\delta)EstSq(F,T,δ), which is carried as an explicit real-valued parameter and hypothesis (OracleGuarantee) rather than as a literal subset of a function space, since no property of FFF beyond producing this bound is ever used. The probability-(1−δ)(1-\delta)(1−δ) qualifier attached to the online regression oracle's guarantee is likewise the explicit hypothesis OracleGuarantee ... EstSq on a fixed realized run, rather than a statement quantified over an underlying probability space of histories — every subsequent step in both propositions' proofs is deterministic given that this event holds, so this does not weaken either conclusion. A trivializing formalization would fix A=1A=1A=1 (a single ever-optimal action, making both Reg and the IGW inequality vacuous) or take EstSq as an unconstrained free variable with no positivity hypothesis (making γ\gammaγ in Proposition 10 undefined); this mission's statements require 0 < EstSq and leave AAA, TTT, XXX, FFF-via-EstSq fully general.

This mission omits Proposition 7 (LinUCB): its proof rests on an entirely disjoint apparatus (finite linear parameter sets, least-squares confidence sets, the elliptic potential lemma) that neither Proposition 9 nor 10 requires, and Example 3.1 (the failure of optimism) is a worked example rather than a numbered, formalizable claim. It also omits Proposition 8 (ε\varepsilonε-Greedy): the source leaves the optimal ε\varepsilonε unspecified ("choosing ε\varepsilonε appropriately"), and deriving its own optimal value and matching constant independently — rather than reusing the book's own explicit constant, as Rule 7 of this formalization effort requires — was judged too likely to introduce an unfaithful, invented constant within this mission's time budget; both are natural extensions for a follow-up mission or contribution. Reusable infrastructure: the Fin A-indexed finite-distribution convention and the OracleGuarantee/optimal-action-by-property pattern extend directly to any later chapter built on the same online-regression-oracle abstraction.

Selected references

  • Foster, D. J. and Rakhlin, A. Foundations of Reinforcement Learning and Interactive Decision Making. 2023. https://arxiv.org/abs/2312.16730
  • Foster, D. J. and Rakhlin, A. Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles. ICML 2020. https://arxiv.org/abs/2002.04926
  • Bietti, A., Agarwal, A., and Langford, J. A Contextual Bandit Bake-off. JMLR 2021 (arXiv 2018). https://arxiv.org/abs/1802.04064
  • Li, L., Chu, W., Langford, J., and Schapire, R. E. A Contextual-Bandit Approach to Personalized News Article Recommendation. WWW 2010. https://arxiv.org/abs/1003.0146
  • Agarwal, A. et al. Making Contextual Decisions with Low Technical Debt. 2016. https://arxiv.org/abs/1606.03966
5 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

Foundations of Reinforcement Learning I: Multi-Armed Bandits and the UCB AlgorithmTextbook

Motivation

The multi-armed bandit is the simplest model of sequential decision-making under partial feedback: a learner repeatedly picks one of finitely many options and observes a reward only for the option chosen, never for the alternatives. It formalizes problems ranging from clinical trial design (which treatment to offer a patient) to online advertising (which ad to show) and A/B testing more generally. The framework dates to Robbins' 1952 paper on sequential design, and the algorithm this mission's goal theorem concerns — the Upper Confidence Bound (UCB) algorithm of Lai and Robbins [1985] and Auer, Cesa-Bianchi and Fischer [2002] — is the canonical answer to how to explore efficiently: instead of exploring uniformly at random, act optimistically with respect to the current uncertainty about each option's value. This mission draws its formalization from Chapter 2 of Foster and Rakhlin's 2023 lecture notes, Foundations of Reinforcement Learning and Interactive Decision Making, which develops the bandit problem as the first rung of a ladder of increasingly general interactive decision-making settings (contextual bandits, structured bandits, reinforcement learning) that the book's later chapters build.

Setting

Fix a finite decision (action) space Π={1,…,A}\Pi = \{1,\dots,A\}Π={1,…,A}. In the multi-armed bandit protocol, for each round t=1,…,Tt = 1,\dots,Tt=1,…,T the learner selects a decision πt∈Π\pi_t \in \Piπt​∈Π, possibly at random according to a distribution ptp_tpt​ depending on the history Ht−1=((π1,r1),…,(πt−1,rt−1))H_{t-1} = ((\pi_1,r_1),\dots,(\pi_{t-1},r_{t-1}))Ht−1​=((π1​,r1​),…,(πt−1​,rt−1​)) observed so far, and then observes a reward rt∈Rr_t \in \mathbb{R}rt​∈R drawn independently from a fixed conditional distribution M⋆(⋅∣πt)M^\star(\cdot \mid \pi_t)M⋆(⋅∣πt​) (the stochastic rewards assumption). Writing f⋆(π):=E[r∣π]f^\star(\pi) := \mathbb{E}[r \mid \pi]f⋆(π):=E[r∣π] for the mean reward function and π⋆:=arg⁡max⁡πf⋆(π)\pi^\star := \arg\max_\pi f^\star(\pi)π⋆:=argmaxπ​f⋆(π) for an optimal decision, the learner's performance is measured by the regret

Reg:=∑t=1Tf⋆(π⋆)−∑t=1TEπt∼pt[f⋆(πt)].\mathrm{Reg} := \sum_{t=1}^T f^\star(\pi^\star) - \sum_{t=1}^T \mathbb{E}_{\pi_t \sim p_t}[f^\star(\pi_t)].Reg:=t=1∑T​f⋆(π⋆)−t=1∑T​Eπt​∼pt​​[f⋆(πt​)].

Because the learner observes a reward only for the action played (bandit feedback), a purely greedy strategy that always plays the current empirical maximizer can commit to a suboptimal action forever, incurring linear regret; some form of deliberate exploration is necessary. The chapter's central construction is the confidence interval: a pair of functions f‾t,fˉt:Π→R\underline{f}_t, \bar f_t : \Pi \to \mathbb{R}f​t​,fˉ​t​:Π→R such that, with probability at least 1−δ1-\delta1−δ, f⋆(π)∈[f‾t(π),fˉt(π)]f^\star(\pi) \in [\underline{f}_t(\pi), \bar f_t(\pi)]f⋆(π)∈[f​t​(π),fˉ​t​(π)] for every round ttt and decision π\piπ simultaneously. The UCB algorithm plays the optimistic action πt=arg⁡max⁡πfˉt(π)\pi_t = \arg\max_\pi \bar f_t(\pi)πt​=argmaxπ​fˉ​t​(π) at every round, using the confidence interval built from Hoeffding's inequality around the empirical mean f^t(π)\hat f_t(\pi)f^​t​(π).

Formalization targets

Goal — Proposition 5 (UCB regret)

Reg  ≲  ATlog⁡(AT/δ)\mathrm{Reg} \;\lesssim\; \sqrt{AT\log(AT/\delta)}Reg≲ATlog(AT/δ)​

holding with probability at least 1−δ1-\delta1−δ, for the UCB algorithm using the confidence radius 2log⁡(2T2A/δ)/nt(π)\sqrt{2\log(2T^2A/\delta)/n_t(\pi)}2log(2T2A/δ)/nt​(π)​ of Eq. (2.19). This is the weakest stable statement the chapter proves: it is optimal up to the log factor, and strengthening it (e.g. to the sharper instance-dependent bound of Remark 10) is explicitly left to later work by the book itself.

Milestones

  • Proposition 4 (ε-Greedy regret): Reg≲A1/3T2/3log⁡1/3(AT/δ)\mathrm{Reg} \lesssim A^{1/3}T^{2/3}\log^{1/3}(AT/\delta)Reg≲A1/3T2/3log1/3(AT/δ) — the book's preceding, weaker result, establishing that naive forced exploration already gives sublinear regret, and motivating why an adaptive strategy (UCB) does better.
  • Lemma 7 (Optimism): the per-round regret of the optimistic action is bounded by the confidence width at that action.
  • Lemma 8 (Confidence width potential lemma): ∑t=1T(1/nt(πt)∧1)≲AT\sum_{t=1}^T (1/\sqrt{n_t(\pi_t)} \wedge 1) \lesssim \sqrt{AT}∑t=1T​(1/nt​(πt​)​∧1)≲AT​, a pigeonhole bound on how often any one action's confidence interval can still be wide.

Significance

UCB is the prototype of the "optimism in the face of uncertainty" principle that recurs, in increasingly abstract form, throughout the rest of the book: the same two-step argument (Lemma 7 + Lemma 8) reappears for linear bandits, structured bandits via the Decision-Estimation Coefficient, and UCB-VI for tabular reinforcement learning. Formalizing Chapter 2 in full therefore front-loads the proof pattern every later chapter in this series specializes. The result itself is also of standalone interest: the AT\sqrt{AT}AT​ minimax rate is the benchmark every subsequent bandit algorithm in the literature is compared against, and the A1/3T2/3A^{1/3}T^{2/3}A1/3T2/3-vs-AT\sqrt{AT}AT​ contrast between ε-Greedy and UCB is the standard illustration, in any course on the subject, of why adaptive exploration matters.

No formalization of this exact statement — realizability with respect to a function class f⋆∈F=RΠf^\star \in \mathcal{F} = \mathbb{R}^\Pif⋆∈F=RΠ and a generic confidence interval, rather than a per-arm sub-Gaussian empirical mean — currently exists on the platform (see Formalization scope below); the mission both proves this specific regret bound and seeds the generic optimism/potential lemma pair (Lemma 7, Lemma 8) that the book's later, more structured settings specialize.

Difficulty

The natural first attempt — bound the regret of the empirical-mean-greedy algorithm directly — fails outright: on a two-armed instance where one arm is deterministic and the other only slightly better in expectation, the greedy algorithm can commit to the worse arm forever with constant probability, giving linear, not sublinear, regret (§2.1). The obvious fix, ε-Greedy, forces exploration uniformly across all actions regardless of how much is already known about each, so the exploration cost scales with εT\varepsilon TεT even for actions whose value is already well determined — this is exactly what caps ε-Greedy at the T2/3T^{2/3}T2/3 rate. UCB's optimism principle resolves this by exploring an action only in proportion to how uncertain it still is; the technical core, isolated in Lemma 7 and Lemma 8, is disentangling "the algorithm made a mistake" from "the algorithm is still uncertain," which are conflated in the naive per-round regret decomposition used for ε-Greedy.

Formalization scope

Both the goal and the milestones fix a finite decision space Fin A, a mean reward function fStar : Fin A → ℝ with fStar π ∈ [0,1], and an optimal decision piStar. Regret is defined generically (Eq. (2.3)) via per-round decision weights p : ℕ → Fin A → ℝ, so it applies uniformly to a randomized algorithm (ε-Greedy) and a deterministic one (UCB, via the point mass at the played action). The book's "with probability at least 1−δ1-\delta1−δ" qualifier on both Proposition 4 and Proposition 5 is formalized as the deterministic consequence of the underlying concentration event (Eq. (2.9) and Eq. (2.18) respectively) holding — exactly the move the book's own proofs make ("Let us condition on the event in (2.18) ... "). The concentration events themselves rest on Hoeffding's inequality for adaptive stopping times (Lemma 33) and Bernstein's inequality (Lemma 5), both stated in the book's technical appendix outside this chapter, and are not drafted here; a solver may either take them as a hypothesis (as this mission's statements do) or import/prove them separately. A trivializing formalization is ruled out explicitly: taking δ outside (0,1)(0,1)(0,1), or dropping the fStar π ∈ [0,1] hypothesis, would make the stated constants vacuous or false, so both are retained as explicit hypotheses in every theorem. In every ≲ statement (Prop. 4, Lemma 8, Prop. 5) the witnessed constant C is quantified before the instance parameters (A, T, δ, and the realized sequences): ∃ C, 0 < C ∧ ∀ A T δ ..., Reg ≤ C * (rate), not the other order. This is deliberate, not stylistic: quantifying C after the instance lets it depend on A, T, δ, making the bound satisfiable by an arbitrarily large C chosen per instance and hence content-free, which is not what the book's ≲ means (a single constant working uniformly over all instances). Proposition 5's UCB decision rule is stated in the book's own two clauses, not collapsed into a single "maximize the upper confidence bound" rule: the confidence radius of Eq. (2.19) is +∞+\infty+∞ at nt(π)=0n_t(\pi)=0nt​(π)=0 (an action never yet sampled), so the book's UCB always plays an unsampled action before ever comparing indices, and only compares finite upper confidence bounds once every action has been sampled at least once; the confidence event of Eq. (2.18) is correspondingly assumed only at sampled actions, since the book's own bound is vacuous otherwise. An earlier draft instead capped the radius at 111 when nt(π)=0n_t(\pi)=0nt​(π)=0, which is a true statement about a different algorithm (a sampled action can have index above the capped unsampled index), and was corrected to the book's own rule after moderation. Reuse from the platform's existing bandit library (BanditAlgorithm, Lattimore & Szepesvári) is deliberately avoided: that library's UCB (bandit_ucb_regret_bound, bandit_ucb_minimax_regret_bound) is stated for per-arm 1-sub-Gaussian rewards with δ=1/n2\delta = 1/n^2δ=1/n2 fixed by the horizon, whereas this chapter's UCB is stated for a free failure probability δ\deltaδ and a generic confidence-interval abstraction (the multi-armed case being F=RΠ\mathcal{F} = \mathbb{R}^\PiF=RΠ of the book's general realizability framework) — the two are related but not the same statement. Contributions extending the mission with the generic confidence-interval form of Lemma 7/8 applied to other chapters in this series (contextual and structured bandits) are welcome.

Selected references

  • T. Lai and H. Robbins, Asymptotically Efficient Adaptive Allocation Rules, Advances in Applied Mathematics, 1985.
  • P. Auer, N. Cesa-Bianchi, and P. Fischer, Finite-time Analysis of the Multiarmed Bandit Problem, Machine Learning, 2002.
  • D. Foster and A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730, 2023. https://arxiv.org/abs/2312.16730
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020.
7 thms2 active usersReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Markovian Interference in Experiments: The Differences-In-Q’s Estimator Has Bias Second Order in the Impact of the InterventionResearch Paper

Motivation

An intervention inside a continuing system can change what happens after the moment at which it is assigned. In a search service, for example, an action shown now can alter the system state that later users encounter. A simple randomized experiment therefore mixes two effects: the immediate reward of treatment and the change in the distribution of future states. Farias, Li, Peng and Zheng model this setting as a finite Markov decision process and study how to estimate the long-run effect of always using the intervention from data collected while treatment is randomized Farias et al., 2022.

The paper calls the difference between treatment and control averages the Naive estimator. It can be biased at first order in the intervention's effect on transitions, because both averages use the state distribution generated by the randomized experiment. The differences-in-Q estimator uses state-action values instead of immediate rewards. Theorem 1 asserts that its population bias is at most second order in that transition effect under a geometric mixing assumption Farias et al., 2022, Theorem 1.

Setting

Let SSS be a finite state space. At each time, the system takes one of two actions: 000 is control and 111 is intervention. An action aaa at state sss earns a real reward r(s,a)r(s,a)r(s,a) and moves to the next state according to the row Pa(s,⋅)P_a(s,\cdot)Pa​(s,⋅) of a stochastic matrix PaP_aPa​. The control policy always selects 000; the intervention policy always selects 111. The experiment policy selects each action with probability one half independently at each decision, so its transition matrix and expected reward vector are

P1/2=12(P0+P1),r1/2=12(r0+r1).P_{1/2}=\tfrac12(P_0+P_1),\qquad r_{1/2}=\tfrac12(r_0+r_1).P1/2​=21​(P0​+P1​),r1/2​=21​(r0​+r1​).

Write ρ0\rho_0ρ0​, ρ1\rho_1ρ1​ and ρ1/2\rho_{1/2}ρ1/2​ for stationary probability distributions of these three matrices. The average treatment effect is the difference between the long-run average rewards under always intervening and always controlling:

ATE=ρ1⊤r1−ρ0⊤r0.\mathrm{ATE}=\rho_1^{\top}r_1-\rho_0^{\top}r_0.ATE=ρ1⊤​r1​−ρ0⊤​r0​.

For the experiment policy, Q1/2(s,a)Q_{1/2}(s,a)Q1/2​(s,a) is the expected excess reward when action aaa is taken first at state sss and the experiment policy is followed thereafter. Excess means reward relative to the experiment's stationary average reward ρ1/2⊤r1/2\rho_{1/2}^{\top}r_{1/2}ρ1/2⊤​r1/2​. The idealized differences-in-Q value is

D=∑s∈Sρ1/2(s)(Q1/2(s,1)−Q1/2(s,0)).D=\sum_{s\in S}\rho_{1/2}(s)\bigl(Q_{1/2}(s,1)-Q_{1/2}(s,0)\bigr).D=s∈S∑​ρ1/2​(s)(Q1/2​(s,1)−Q1/2​(s,0)).

This is the population quantity whose bias Theorem 1 bounds. It is distinct from the finite-sample estimator calculated from a trajectory Farias et al., 2022, §3.1–3.2.

The mixing condition, Assumption 1, says that for every state sss and time k≥0k\ge0k≥0, the total-variation distance between the kkk-step experiment law and its stationary law is at most CλkC\lambda^kCλk. The intervention impact is measured by a second total-variation bound, dTV(P1(s,⋅),P0(s,⋅))≤δd_{\mathrm{TV}}(P_1(s,\cdot),P_0(s,\cdot))\le\deltadTV​(P1​(s,⋅),P0​(s,⋅))≤δ for every sss Farias et al., 2022, Assumption 1 and Theorem 1.

Formalization targets

Second-order population bias

The goal is Theorem 1. With rmax⁡=max⁡s,a∣r(s,a)∣r_{\max}=\max_{s,a}|r(s,a)|rmax​=maxs,a​∣r(s,a)∣, it asks for one polynomial qqq, valid uniformly over all finite models and all admissible CCC, λ\lambdaλ and δ\deltaδ, such that

∣ATE−D∣≤q(log⁡C)(11−λ)2rmax⁡δ2.|\mathrm{ATE}-D|\le q(\log C)\left(\frac1{1-\lambda}\right)^2r_{\max}\delta^2.∣ATE−D∣≤q(logC)(1−λ1​)2rmax​δ2.

This formalizes the paper's statement that the unspecified constant depends polynomially on log⁡C\log ClogC. The polynomial is quantified before the state space and the model, so its coefficients cannot be chosen from a particular example.

Source milestones

Five subtargets record the paper's route to this statement: Lemma 1's stationary-distribution perturbation identity; the corrected norm bound of Appendix F, Lemma 2; the corrected average-treatment-effect expansion in Eq. (6); the identification of the experiment's relative value with a group-inverse expression; and the identity that makes DDD the first-order truncation Farias et al., 2022, pp. 13–15, 41. The goal and these milestones concern the idealized population estimator. Asymptotic normality and finite-sample estimation from Theorem 2 are outside this mission.

Significance

The result quantifies what the DQ adjustment buys in a dynamic experiment. When action-dependent transitions differ by at most δ\deltaδ in total variation, the population bias scales as δ2\delta^2δ2, with an explicit dependence on the experiment chain's mixing rate and the reward bound. This provides a statement against which variants of the estimator and sharper constants can be compared Farias et al., 2022, Theorem 1.

The theorem is proved in the cited paper; the task here is to give its claim and the supporting identities machine-checkable proofs. The finite-chain definitions, perturbation identity and group-inverse bound can be reused in other average-reward Markov-chain arguments. No machine-checked proof of this theorem or these milestones was found in the local Prove2Me catalog search for this mission.

Difficulty

The immediate-reward difference averages under ρ1/2\rho_{1/2}ρ1/2​, whereas the treatment effect compares rewards under ρ1\rho_1ρ1​ and ρ0\rho_0ρ0​. Replacing both stationary laws by ρ1/2\rho_{1/2}ρ1/2​ therefore loses a term of order δ\deltaδ in general. The relative-value and Q-function expressions account for that term, but their definitions involve infinite excess-reward series. A formal proof must establish their convergence from mixing and reconcile them with the matrix group inverse. It must also control the norm of that inverse with the paper's precise row norm; using a generic matrix norm would change the claim.

Formalization scope

The state type is finite, actions are Fin 2, and reward vectors take real values. The matrices P0P_0P0​ and P1P_1P1​ are row stochastic. Primitivity represents the §2 standing ergodicity convention for the control and intervention policies. A stationary distribution is a nonnegative vector summing to one, so an empty state space cannot satisfy the theorem's hypotheses. Total variation is half the rowwise ℓ1\ell_1ℓ1​ distance. The paper's ∥M∥1,∞\|M\|_{1,\infty}∥M∥1,∞​ is the maximum absolute row sum, and 1ρ⊤\mathbf1\rho^{\top}1ρ⊤ is a rank-one matrix. The group inverse is represented by (I−P+1ρ⊤)−1−1ρ⊤(I-P+\mathbf1\rho^{\top})^{-1}-\mathbf1\rho^{\top}(I−P+1ρ⊤)−1−1ρ⊤, used under hypotheses making the inverse valid Farias et al., 2022, Appendix A.

The relative value V1/2V_{1/2}V1/2​ and action value Q1/2Q_{1/2}Q1/2​ are sums of expected excess rewards, matching the reading of the paper's expectation formulas used in §3.3. They are not defined by the group inverse: the equivalence is a milestone. The idealized DQ value averages their action difference under ρ1/2\rho_{1/2}ρ1/2​; the ATE uses the stationary-distribution form stated on p. 13. The goal assumes 0<λ<10<\lambda<10<λ<1, as required by the mixing expression and the denominator. Its polynomial constant is uniform over all instances. These choices exclude an instance-dependent constant or a definition that builds the desired equality into VVV.

The Appendix F version of Lemma 2 is corrected with C≥1C\ge1C≥1: without it, the one-state case permits a negative stated upper bound. Its premise bounds the maximum row norm. The p. 14 total-variation version omits the factor of two needed to convert to that norm. Accordingly, the remainder inequality and Eq. (6) milestones use the corrected Appendix F premise; their verbatim fields preserve what the paper prints Farias et al., 2022, pp. 14, 41. Contributions that establish these identities and bounds under the stated hypotheses, including reusable finite-chain matrix results and summability facts, are within scope.

Selected references

  • V. F. Farias, A. A. Li, T. Peng and A. Zheng, Markovian Interference in Experiments, arXiv preprint arXiv:2206.02371v2, 2022. Preprint.
8 thms1 active userReviewed
Machine LearningMarkov ChainOperations Research·Captain: mikedeng1

A Finite Time Analysis of Temporal Difference Learning With Linear Function Approximation: Projected TD(0) Under Markov Chain Sampling Converges at Mixing-Time-Scaled RatesResearch Paper

Motivation

Temporal-difference (TD) learning is the basic algorithm of reinforcement learning for estimating the value function of a fixed policy from a single stream of experience. With a linear function approximation Vθ(s)=ϕ(s)⊤θV_\theta(s)=\phi(s)^\top\thetaVθ​(s)=ϕ(s)⊤θ, TD(0) is the evaluation step inside many policy-iteration and actor–critic methods, and its behaviour governs how much data such methods need.

The asymptotic theory is classical. Tsitsiklis and Van Roy (1997) proved that TD(λ) with linear features converges almost surely along a single trajectory of an ergodic Markov chain, to the unique solution θ∗\theta^*θ∗ of the projected Bellman equation, under Robbins–Monro step sizes. Their proof uses the ODE method, which says nothing about how fast the iterates approach θ∗\theta^*θ∗, nor how the rate depends on the step size, on the conditioning of the features, or on how quickly the chain mixes.

Finite-time results came later and mostly for independent samples. Dalal, Szörényi, Thoppe and Mannor (2018) and Lakshminarayanan and Szepesvári (2018) analysed TD(0) when the observed transitions are drawn i.i.d. from the stationary distribution. Bhandari, Russo and Singal (2018) gave a short analysis in the i.i.d. model and, for a projected variant of TD, the first finite-time bounds when the transitions come from one trajectory of the Markov chain, so that consecutive observations are strongly correlated. This mission formalizes that Markovian result, Theorem 3 of the paper.

Setting

A finite Markov reward process consists of a finite state space SSS, a stochastic matrix PPP with P(s,s′)P(s,s')P(s,s′) the probability of moving from sss to s′s's′, transition rewards R(s,s′)R(s,s')R(s,s′) with ∣R(s,s′)∣≤rmax⁡|R(s,s')|\le r_{\max}∣R(s,s′)∣≤rmax​, and a discount factor 0≤γ<10\le\gamma<10≤γ<1. The chain has a stationary distribution π\piπ (πP=π\pi P=\piπP=π), and the observed trajectory s0,s1,…s_0,s_1,\dotss0​,s1​,… starts from π\piπ, so it is a stationary sequence.

Each state carries a feature vector ϕ(s)∈Rd\phi(s)\in\mathbb{R}^dϕ(s)∈Rd with ∥ϕ(s)∥2≤1\|\phi(s)\|_2\le1∥ϕ(s)∥2​≤1. The steady-state feature covariance Σ=∑sπ(s)ϕ(s)ϕ(s)⊤\Sigma=\sum_s\pi(s)\phi(s)\phi(s)^\topΣ=∑s​π(s)ϕ(s)ϕ(s)⊤ has full rank, and ω>0\omega>0ω>0 is its minimum eigenvalue. Value functions are compared in the steady-state seminorm ∥Vθ∥D2=∑sπ(s)(ϕ(s)⊤θ)2\|V_\theta\|_D^2=\sum_s\pi(s)(\phi(s)^\top\theta)^2∥Vθ​∥D2​=∑s​π(s)(ϕ(s)⊤θ)2.

At a transition (s,s′)(s,s')(s,s′) the TD direction is g(θ;s,s′)=(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s)g(\theta;s,s')=\big(R(s,s')+\gamma\phi(s')^\top\theta-\phi(s)^\top\theta\big)\phi(s)g(θ;s,s′)=(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s). Its steady-state mean is gˉ(θ)=∑s,s′π(s)P(s,s′) g(θ;s,s′)\bar g(\theta)=\sum_{s,s'}\pi(s)P(s,s')\,g(\theta;s,s')gˉ​(θ)=∑s,s′​π(s)P(s,s′)g(θ;s,s′), and the TD fixed point θ∗\theta^*θ∗ is the vector with gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0. Projected TD(0) with radius R≥∥θ∗∥2R\ge\|\theta^*\|_2R≥∥θ∗∥2​ starts from ∥θ0∥2≤R\|\theta_0\|_2\le R∥θ0​∥2​≤R and iterates

θt+1=Π2,R(θt+αt g(θt;st,st+1)),\theta_{t+1}=\Pi_{2,R}\big(\theta_t+\alpha_t\,g(\theta_t;s_t,s_{t+1})\big),θt+1​=Π2,R​(θt​+αt​g(θt​;st​,st+1​)),

where Π2,R\Pi_{2,R}Π2,R​ is the Euclidean projection onto the ball of radius RRR. The averaged iterate is θˉT=T−1∑t=0T−1θt\bar\theta_T=T^{-1}\sum_{t=0}^{T-1}\theta_tθˉT​=T−1∑t=0T−1​θt​.

The chain mixes uniformly (Assumption 1): there are m>0m>0m>0 and ρ∈(0,1)\rho\in(0,1)ρ∈(0,1) with sup⁡sdTV(Pt(s,⋅),π)≤mρt\sup_s d_{TV}(P^t(s,\cdot),\pi)\le m\rho^tsups​dTV​(Pt(s,⋅),π)≤mρt for all t≥0t\ge0t≥0. The mixing time is τmix(ϵ)=min⁡{t≥0:mρt≤ϵ}\tau_{\mathrm{mix}}(\epsilon)=\min\{t\ge0: m\rho^t\le\epsilon\}τmix​(ϵ)=min{t≥0:mρt≤ϵ}. Write G=rmax⁡+2RG=r_{\max}+2RG=rmax​+2R.

Formalization targets

Goal: Theorem 3 (pp. 17–18)

All three bounds are stated together, with E\mathbb{E}E the expectation over the stationary trajectory:

(a) for T≥1T\ge1T≥1 and αt≡1/T\alpha_t\equiv1/\sqrt Tαt​≡1/T​,

E∥Vθ∗−VθˉT∥D2≤∥θ∗−θ0∥22+G2(9+12τmix(1/T))2T(1−γ);\mathbb{E}\|V_{\theta^*}-V_{\bar\theta_T}\|_D^2\le\frac{\|\theta^*-\theta_0\|_2^2+G^2\big(9+12\tau_{\mathrm{mix}}(1/\sqrt T)\big)}{2\sqrt T(1-\gamma)};E∥Vθ∗​−VθˉT​​∥D2​≤2T​(1−γ)∥θ∗−θ0​∥22​+G2(9+12τmix​(1/T​))​;

(b) for a constant αt≡α0∈(0, 1/(2ω(1−γ)))\alpha_t\equiv\alpha_0\in\big(0,\,1/(2\omega(1-\gamma))\big)αt​≡α0​∈(0,1/(2ω(1−γ))),

E∥θ∗−θT∥22≤e−2α0(1−γ)ωT∥θ∗−θ0∥22+α0G2(9+12τmix(α0))2(1−γ)ω;\mathbb{E}\|\theta^*-\theta_T\|_2^2\le e^{-2\alpha_0(1-\gamma)\omega T}\|\theta^*-\theta_0\|_2^2+\alpha_0\frac{G^2\big(9+12\tau_{\mathrm{mix}}(\alpha_0)\big)}{2(1-\gamma)\omega};E∥θ∗−θT​∥22​≤e−2α0​(1−γ)ωT∥θ∗−θ0​∥22​+α0​2(1−γ)ωG2(9+12τmix​(α0​))​;

(c) for αt=1/(ω(t+1)(1−γ))\alpha_t=1/(\omega(t+1)(1-\gamma))αt​=1/(ω(t+1)(1−γ)) and T≥1T\ge1T≥1,

E∥Vθ∗−VθˉT∥D2≤G2(9+24τmix(αT))T(1−γ)2ω(1+log⁡T).\mathbb{E}\|V_{\theta^*}-V_{\bar\theta_T}\|_D^2\le\frac{G^2\big(9+24\tau_{\mathrm{mix}}(\alpha_T)\big)}{T(1-\gamma)^2\omega}(1+\log T).E∥Vθ∗​−VθˉT​​∥D2​≤T(1−γ)2ωG2(9+24τmix​(αT​))​(1+logT).

Milestones

The milestones are the paper's own lemmas, in the order the proof in Appendix A uses them: norm equivalence ω∥θ∥2≤∥Vθ∥D≤∥θ∥2\sqrt\omega\|\theta\|_2\le\|V_\theta\|_D\le\|\theta\|_2ω​∥θ∥2​≤∥Vθ​∥D​≤∥θ∥2​ (Lemma 1); the descent inequality (θ∗−θ)⊤gˉ(θ)≥(1−γ)∥Vθ∗−Vθ∥D2(\theta^*-\theta)^\top\bar g(\theta)\ge(1-\gamma)\|V_{\theta^*}-V_\theta\|_D^2(θ∗−θ)⊤gˉ​(θ)≥(1−γ)∥Vθ∗​−Vθ​∥D2​ (Lemma 3); the gradient bound ∥gt(θ)∥2≤rmax⁡+2∥θ∥2\|g_t(\theta)\|_2\le r_{\max}+2\|\theta\|_2∥gt​(θ)∥2​≤rmax​+2∥θ∥2​ (Lemma 6); the pathwise error recursion (Lemma 8); the coupling bound ∣Ev(X,Y)−Ev(X′,Y′)∣≤2∥v∥∞mρτ|\mathbb{E}v(X,Y)-\mathbb{E}v(X',Y')|\le2\|v\|_\infty m\rho^\tau∣Ev(X,Y)−Ev(X′,Y′)∣≤2∥v∥∞​mρτ (Lemma 9); boundedness and Lipschitz continuity of the gradient error ζt\zeta_tζt​ (Lemma 10); and the bias bound E[ζt(θt)]≤G2(4+6τmix(αT))αt∗\mathbb{E}[\zeta_t(\theta_t)]\le G^2(4+6\tau_{\mathrm{mix}}(\alpha_T))\alpha_{t^*}E[ζt​(θt​)]≤G2(4+6τmix​(αT​))αt∗​ (Lemma 11).

Significance

Theorem 3 gives explicit, non-asymptotic mean-squared-error bounds for TD(0) with linear features under Markovian sampling. Part (a) does not depend on the conditioning ω\omegaω, part (b) shows exponential convergence to a neighbourhood whose radius scales with α0G2τmix(α0)\alpha_0G^2\tau_{\mathrm{mix}}(\alpha_0)α0​G2τmix​(α0​), and part (c) gives an O~(1/T)\tilde O(1/T)O~(1/T) rate. Compared with the i.i.d. bounds, the only change is a factor of order τmix\tau_{\mathrm{mix}}τmix​: roughly, one mixing time of correlated observations is worth one independent sample. The same argument carries over, in the paper itself, to projected TD(λ) (Theorem 4) and to Q-learning for optimal stopping (§10), so the lemmas formalized here are the core of all of its Markovian results.

The result is proved on paper but has not been machine-checked. The mission provides a Lean statement of the theorem and of each lemma of its proof, all built on one model. The trajectory-level definitions (path law, total-variation mixing, mixing time, projected iterates) can be reused by later formalizations of Markovian stochastic approximation.

Difficulty

The obvious approach, from the i.i.d. analysis, takes expectations in the error recursion of Lemma 8 and uses E[ζt(θt)]=0\mathbb{E}[\zeta_t(\theta_t)]=0E[ζt​(θt​)]=0. Under Markov sampling this fails: θt\theta_tθt​ is a function of s0,…,sts_0,\dots,s_ts0​,…,st​ and is correlated with the observation (st,st+1)(s_t,s_{t+1})(st​,st+1​) at which it is evaluated, so the gradient is biased and the noise is not a martingale difference. Bounding that bias needs a quantitative decorrelation between the iterate τ\tauτ steps back and the current observation, which is a total-variation estimate on the joint law of a path (Lemma 9). It also needs control of how far the iterates drift in τ\tauτ steps, which is where the projection and the uniform gradient bound GGG enter. The rest of the proof then combines telescoping, a geometric recursion and harmonic sums, with every constant (9+12τ9+12\tau9+12τ, 9+24τ9+24\tau9+24τ) tracked exactly.

Formalization scope

  • State space and expectation. SSS is a Fintype. The expectation over the stationary trajectory is the finite sum ∑w∈ST+1π(w0)∏iP(wi,wi+1) F(w)\sum_{w\in S^{T+1}}\pi(w_0)\prod_iP(w_i,w_{i+1})\,F(w)∑w∈ST+1​π(w0​)∏i​P(wi​,wi+1​)F(w), the exact law of (s0,…,sT)(s_0,\dots,s_T)(s0​,…,sT​) for a finite chain started from π\piπ, so no measure theory is used. The paper itself works with a finite SSS (p. 5).
  • Coupling lemma. Lemma 9 uses probability measures for the conditional laws of X,YX,YX,Y given st,st+τs_t,s_{t+\tau}st​,st+τ​; their factorization expresses X→st→st+τ→YX\to s_t\to s_{t+\tau}\to YX→st​→st+τ​→Y. The variables may take values in arbitrary measurable spaces, including the iterates and observations used in the proof.
  • Norms. Parameters and features live in EuclideanSpace ℝ (Fin d) with d≥1d\ge1d≥1, so every ∥⋅∥\|\cdot\|∥⋅∥ is Euclidean.
  • Standing hypotheses, added or made explicit: 0≤γ0\le\gamma0≤γ (the paper writes γ<1\gamma<1γ<1; the proof of Lemma 3 needs γ≥0\gamma\ge0γ≥0). ω\omegaω is the least value of θ⊤Σθ\theta^\top\Sigma\thetaθ⊤Σθ on the unit sphere, that is λmin⁡(Σ)\lambda_{\min}(\Sigma)λmin​(Σ), together with ω>0\omega>0ω>0 (full rank). π\piπ is a stationary probability vector, and no separate irreducibility hypothesis is added, since Assumption 1 implies ergodicity. θ∗\theta^*θ∗ is given as a vector with gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0. The implicit conditions are explicit: T≥1T\ge1T≥1 in (a) and (c), α0>0\alpha_0>0α0​>0 in (b), αT>0\alpha_T>0αT​>0 in Lemma 11, and αt≥0\alpha_t\ge0αt​≥0 in Lemma 8.
  • Conventions. Π2,R\Pi_{2,R}Π2,R​ is defined by the rescaling formula of p. 16. θˉT\bar\theta_TθˉT​ averages θ0,…,θT−1\theta_0,\dots,\theta_{T-1}θ0​,…,θT−1​, as in the text and the proof (Algorithm 1's averaging recursion is a slip). τmix\tau_{\mathrm{mix}}τmix​ is sInf over N\mathbb{N}N and is only evaluated at positive thresholds, where it is a true minimum. "With probability 1" is stated for every path or transition.
  • No trivialization. The expectation must start from π\piπ, never from an arbitrary state. θt\theta_tθt​ and the observation must come from the same trajectory. ω\omegaω must be λmin⁡(Σ)\lambda_{\min}(\Sigma)λmin​(Σ), not an arbitrary positive constant, since it fixes the step size in (c). A formalization with independent samples, with the sup norm on Rd\mathbb{R}^dRd, or with a junk-valued τmix(0)=0\tau_{\mathrm{mix}}(0)=0τmix​(0)=0 would prove a different statement.
  • Not in scope. Theorem 1 (mean-path TD), Theorem 2 (i.i.d. model), Theorem 4 (projected TD(λ)) and §10 (Q-learning for optimal stopping) are separate results. Theorem 3's proof does not use them.
  • Welcome contributions. Proofs of the milestones, and general lemmas on finite path sums (marginalisation of the trajectory law, the variational form of total variation, nonexpansiveness of the ball projection).

Selected references

  • J. Bhandari, D. Russo, R. Singal, A Finite Time Analysis of Temporal Difference Learning With Linear Function Approximation, arXiv:1806.02450v2, 2018; Operations Research 69(3), 2021. https://arxiv.org/abs/1806.02450
  • J. N. Tsitsiklis, B. Van Roy, An Analysis of Temporal-Difference Learning with Function Approximation, IEEE Transactions on Automatic Control 42(5), 1997. https://doi.org/10.1109/9.580874
  • G. Dalal, B. Szörényi, G. Thoppe, S. Mannor, Finite Sample Analyses for TD(0) with Function Approximation, AAAI 2018. https://arxiv.org/abs/1704.01161
  • C. Lakshminarayanan, C. Szepesvári, Linear Stochastic Approximation: How Far Does Constant Step-Size and Iterate Averaging Go?, AISTATS 2018. http://proceedings.mlr.press/v84/lakshminarayanan18a.html
  • R. S. Sutton, Learning to Predict by the Methods of Temporal Differences, Machine Learning 3, 1988. https://doi.org/10.1007/BF00115009
  • D. A. Levin, Y. Peres, Markov Chains and Mixing Times, 2nd ed., AMS, 2017. https://doi.org/10.1090/mbk/107
10 thms1 active userReviewed
Machine LearningProbabilityStatistics·Captain: mikedeng1

Efficiently Breaking the Curse of Horizon in Off-Policy Evaluation with Double Reinforcement Learning: Cross-Fitted DRL Is Asymptotically Linear and Normal at the MDP Efficiency BoundResearch Paper

Motivation

Off-policy evaluation (OPE) asks for the long-run value of a target decision policy, using only data collected under a different policy. It arises wherever running the target policy is expensive or unsafe: a new treatment rule in medicine, a new recommendation or pricing rule, a candidate controller in reinforcement learning. Importance-sampling estimators reweight whole trajectories. Their variance grows exponentially with the horizon, the curse of horizon (Liu et al. 2018, arXiv:1810.12429).

Kallus and Uehara (arXiv:1909.05850, Operations Research 2022) treat infinite-horizon discounted OPE as a semiparametric estimation problem. They derive the efficiency bound under three models: non-Markov, time-varying Markov and time-invariant Markov (MDP). They then propose double reinforcement learning (DRL), an estimator that combines a q-function estimate with an estimate of the ratio between the discounted state visitation of the target policy and the state distribution of the data. In the MDP model it attains the efficiency bound. This mission formalizes the transition-sampling version of that result, Theorem 6.

Timeline:

  • 2016: Jiang and Li (arXiv:1511.03722) and Thomas and Brunskill (arXiv:1604.00923) give doubly robust OPE estimators for finite horizons, built on trajectory-wise importance weights.
  • 2018: Liu, Li, Tang and Zhou (arXiv:1810.12429) replace trajectory weights by stationary state-distribution ratios, removing the exponential dependence on the horizon, but without efficiency guarantees.
  • 2018: Chernozhukov et al. (arXiv:1608.00060) formalize cross-fitting and Neyman orthogonality for estimation with machine-learned nuisances (double machine learning).
  • 2019–2022: Kallus and Uehara derive the MDP efficiency bound (Theorem 3) and prove that cross-fitted DRL attains it (Theorem 6), also under trajectory sampling with mixing (Theorems 10–13).

Setting

States lie in a measurable space SSS and actions in a measurable space AAA. A time-invariant MDP is a transition kernel p(s′∣s,a)p(s'\mid s,a)p(s′∣s,a) and a reward kernel p(r∣s,a)p(r\mid s,a)p(r∣s,a) with rewards in [0,Rmax⁡][0,R_{\max}][0,Rmax​]. A policy π(a∣s)\pi(a\mid s)π(a∣s) is a kernel from SSS to AAA. Fix a discount γ∈[0,1)\gamma\in[0,1)γ∈[0,1), a known target policy πe\pi_eπe​ with known initial law pπe(0)p^{(0)}_{\pi_e}pπe​(0)​, and a behavior policy πb\pi_bπb​.

The estimand is the normalized discounted value

ρπe=lim⁡T→∞(∑t=0Tγt)−1Epπe[∑t=0Tγtrt].\rho^{\pi_e}=\lim_{T\to\infty}\Big(\sum_{t=0}^T\gamma^t\Big)^{-1}\mathbb E_{p_{\pi_e}}\Big[\sum_{t=0}^T\gamma^tr_t\Big].ρπe​=T→∞lim​(t=0∑T​γt)−1Epπe​​​[t=0∑T​γtrt​].

The q-function is q(s,a)=Epπe[∑kγkrk∣s0=s,a0=a]q(s,a)=\mathbb E_{p_{\pi_e}}[\sum_k\gamma^kr_k\mid s_0=s,a_0=a]q(s,a)=Epπe​​​[∑k​γkrk​∣s0​=s,a0​=a], and v(s)=∫q(s,a) πe(da∣s)v(s)=\int q(s,a)\,\pi_e(da\mid s)v(s)=∫q(s,a)πe​(da∣s). The discounted visitation is pπe,γ(∞)=(1−γ)∑tγtpπe(t)p^{(\infty)}_{\pi_e,\gamma}=(1-\gamma)\sum_t\gamma^t p^{(t)}_{\pi_e}pπe​,γ(∞)​=(1−γ)∑t​γtpπe​(t)​, where pπe(t)p^{(t)}_{\pi_e}pπe​(t)​ is the law of sts_tst​.

Transition sampling. The data are i.i.d. observations Oi=(s,a,r,s′)O_i=(s,a,r,s')Oi​=(s,a,r,s′) with law pπbp_{\pi_b}pπb​​: s∼pπb(0)s\sim p^{(0)}_{\pi_b}s∼pπb​(0)​, a∼πb(⋅∣s)a\sim\pi_b(\cdot\mid s)a∼πb​(⋅∣s), and, given (s,a)(s,a)(s,a), independently r∼p(⋅∣s,a)r\sim p(\cdot\mid s,a)r∼p(⋅∣s,a) and s′∼p(⋅∣s,a)s'\sim p(\cdot\mid s,a)s′∼p(⋅∣s,a). The law of s′s's′ may differ from that of sss.

The density ratios are η(s,a)=πe(a∣s)/πb(a∣s)\eta(s,a)=\pi_e(a\mid s)/\pi_b(a\mid s)η(s,a)=πe​(a∣s)/πb​(a∣s) and w(s)=pπe,γ(∞)(s)/pπb(0)(s)w(s)=p^{(\infty)}_{\pi_e,\gamma}(s)/p^{(0)}_{\pi_b}(s)w(s)=pπe​,γ(∞)​(s)/pπb​(0)​(s). For candidate nuisances w′,q′w',q'w′,q′, with v′(s)=∫q′(s,a)πe(da∣s)v'(s)=\int q'(s,a)\pi_e(da\mid s)v′(s)=∫q′(s,a)πe​(da∣s), the estimating function is

ψ(s,a,r,s′;w′,q′)=(1−γ) Epπe(0)[v′(s0)]+w′(s)η(s,a)(r+γv′(s′)−q′(s,a)).\psi(s,a,r,s';w',q')=(1-\gamma)\,\mathbb E_{p^{(0)}_{\pi_e}}[v'(s_0)]+w'(s)\eta(s,a)\big(r+\gamma v'(s')-q'(s,a)\big).ψ(s,a,r,s′;w′,q′)=(1−γ)Epπe​(0)​​[v′(s0​)]+w′(s)η(s,a)(r+γv′(s′)−q′(s,a)).

The cross-fitted estimator ρ^DRL(M3)\hat\rho_{\rm DRL}(\mathcal M_3)ρ^​DRL​(M3​) splits the sample into two folds. It fits w^[j],q^[j]\hat w^{[j]},\hat q^{[j]}w^[j],q^​[j] on fold jjj and averages ψ\psiψ over all observations, each evaluated at the nuisances of the other fold. The efficient influence function is ϕeff=w(s)η(s,a)(r+γv(s′)−q(s,a))\phi_{\rm eff}=w(s)\eta(s,a)(r+\gamma v(s')-q(s,a))ϕeff​=w(s)η(s,a)(r+γv(s′)−q(s,a)), and the efficiency bound is EB(M3)=E[ϕeff2]\mathrm{EB}(\mathcal M_3)=\mathbb E[\phi_{\rm eff}^2]EB(M3​)=E[ϕeff2​].

Formalization targets

Goal: Theorem 6

Assume the following:

  • w≤Cww\le C_ww≤Cw​ and pb,S′≤CS′pb,Sp_{b,S'}\le C_{S'}p_{b,S}pb,S′​≤CS′​pb,S​ (6a);
  • η≤Cη\eta\le C_\etaη≤Cη​ (added);
  • w^[j],q^[j]\hat w^{[j]},\hat q^{[j]}w^[j],q^​[j] lie in [0,Cw][0,C_w][0,Cw​] and [0,Rmax⁡/(1−γ)][0,R_{\max}/(1-\gamma)][0,Rmax​/(1−γ)] (6b);
  • ∥w^[j]−w∥2,∥q^[j]−q∥2=op(1)\|\hat w^{[j]}-w\|_2,\|\hat q^{[j]}-q\|_2=o_p(1)∥w^[j]−w∥2​,∥q^​[j]−q∥2​=op​(1) (6c);
  • n ∥w^[j]−w∥2∥q^[k]−q∥2=op(1)\sqrt n\,\|\hat w^{[j]}-w\|_2\|\hat q^{[k]}-q\|_2=o_p(1)n​∥w^[j]−w∥2​∥q^​[k]−q∥2​=op​(1) for all j,k∈{0,1}j,k\in\{0,1\}j,k∈{0,1} (6d, equivalent to common envelopes for both folds).

Then

n(ρ^DRL(M3)−ρπe)−1n∑i<nϕeff(Oi)→p0,n(ρ^DRL(M3)−ρπe)→dN(0,EB(M3)).\sqrt n\big(\hat\rho_{\rm DRL}(\mathcal M_3)-\rho^{\pi_e}\big)-\frac1{\sqrt n}\sum_{i<n}\phi_{\rm eff}(O_i)\xrightarrow{p}0,\qquad \sqrt n\big(\hat\rho_{\rm DRL}(\mathcal M_3)-\rho^{\pi_e}\big)\xrightarrow{d}N\big(0,\mathrm{EB}(\mathcal M_3)\big).n​(ρ^​DRL​(M3​)−ρπe​)−n​1​i<n∑​ϕeff​(Oi​)p​0,n​(ρ^​DRL​(M3​)−ρπe​)d​N(0,EB(M3​)).

No rate exponent or learner class is fixed. Only the product rate enters.

Milestones, in proof order

  1. Lemma 1 (forward): E[γw(s)η(s,a)f(s′)−w(s)f(s)]+(1−γ)Epπe(0)[f]=0\mathbb E[\gamma w(s)\eta(s,a)f(s')-w(s)f(s)]+(1-\gamma)\mathbb E_{p^{(0)}_{\pi_e}}[f]=0E[γw(s)η(s,a)f(s′)−w(s)f(s)]+(1−γ)Epπe​(0)​​[f]=0 for bounded measurable fff.
  2. ρπe=E[w(s)η(s,a)r]\rho^{\pi_e}=\mathbb E[w(s)\eta(s,a)r]ρπe​=E[w(s)η(s,a)r] (p. 16).
  3. Eq. (5): E[ψ(w′,q)]=(1−γ)Epπe(0)[v]=ρπe\mathbb E[\psi(w',q)]=(1-\gamma)\mathbb E_{p^{(0)}_{\pi_e}}[v]=\rho^{\pi_e}E[ψ(w′,q)]=(1−γ)Epπe​(0)​​[v]=ρπe​ for every bounded w′w'w′.
  4. ψ(w,q)=ρπe+ϕeff\psi(w,q)=\rho^{\pi_e}+\phi_{\rm eff}ψ(w,q)=ρπe​+ϕeff​ pointwise (p. 22).
  5. Eqs. (6)–(8): E[ψ(w,q′)]=ρπe\mathbb E[\psi(w,q')]=\rho^{\pi_e}E[ψ(w,q′)]=ρπe​ for every bounded q′q'q′.
  6. Jensen step, corrected: ∥v^(s′)−v(s′)∥2≤CS′Cη ∥q^−q∥2\|\hat v(s')-v(s')\|_2\le\sqrt{C_{S'}C_\eta}\,\|\hat q-q\|_2∥v^(s′)−v(s′)∥2​≤CS′​Cη​​∥q^​−q∥2​.
  7. Term (30): ∣Eψ(w^,q^)−ρπe∣≤Cη(1+γCS′Cη)∥w^−w∥2∥q^−q∥2|\mathbb E\psi(\hat w,\hat q)-\rho^{\pi_e}|\le C_\eta(1+\gamma\sqrt{C_{S'}C_\eta})\|\hat w-w\|_2\|\hat q-q\|_2∣Eψ(w^,q^​)−ρπe​∣≤Cη​(1+γCS′​Cη​​)∥w^−w∥2​∥q^​−q∥2​.
  8. Term (28), variance: var⁡[ψ(w^,q^)−ψ(w,q)]≤2a2∥w^−w∥22+2b2∥q^−q∥22\operatorname{var}[\psi(\hat w,\hat q)-\psi(w,q)]\le2a^2\|\hat w-w\|_2^2+2b^2\|\hat q-q\|_2^2var[ψ(w^,q^​)−ψ(w,q)]≤2a2∥w^−w∥22​+2b2∥q^​−q∥22​.
  9. Term (28) is op(1)o_p(1)op​(1): the centred fold empirical process at the opposite fold's nuisances vanishes.

Significance

Theorem 6 shows that, in a Markov model, a n\sqrt nn​-consistent and efficient OPE estimator exists whose variance scales with the number of observed transitions, not trajectories. It requires no complexity (Donsker or entropy) restriction on the nuisance estimators, only a product rate. Any black-box learners with ∥w^−w∥2∥q^−q∥2=op(n−1/2)\|\hat w-w\|_2\|\hat q-q\|_2=o_p(n^{-1/2})∥w^−w∥2​∥q^​−q∥2​=op​(n−1/2), which allows two subparametric rates, give asymptotically valid confidence intervals at the efficiency bound. The mixed-bias identities (Eqs. (5)–(8)) and Lemma 1 are the same ingredients used by later minimax and adversarial estimators of www and qqq.

The result is proved in the paper; nothing here is presented as open. As far as is known, none of it has a machine-checked proof: no off-policy evaluation, density-ratio characterization or cross-fitting asymptotics exists in Mathlib or on the platform. Formalizing it checks the appendix argument, which is short and contains errors (below). It also produces a reusable layer: kernel-based discounted MDPs on general measurable spaces, discounted visitation measures, and the cross-fitting plus Slutsky template that other double-machine-learning results share.

Difficulty

The obvious route is "the estimator equals the oracle average Pnψ(w,q)\mathbb P_n\psi(w,q)Pn​ψ(w,q) plus negligible terms, then apply the CLT". Two of its steps are not routine.

First, the negligible terms are random functions evaluated at random data. The empirical-process term (28) is controlled only conditionally on the other fold, through a conditional Chebyshev argument that needs the independence structure of the split. Treating w^,q^\hat w,\hat qw^,q^​ as fixed functions loses exactly this.

Second, the bias term (30) is second order only because of the mixed-bias structure. That structure rests on Lemma 1, a change-of-measure identity between the discounted visitation of πe\pi_eπe​ and the data distribution. The printed constants are wrong. The Jensen step ∥v^(s′)−v(s′)∥2≤CS′∥q^−q∥2\|\hat v(s')-v(s')\|_2\le\sqrt{C_{S'}}\|\hat q-q\|_2∥v^(s′)−v(s′)∥2​≤CS′​​∥q^​−q∥2​ fails when η\etaη is large: with one state, πb\pi_bπb​ uniform on two actions and πe\pi_eπe​ a point mass, the left side is 111 and the right side is 1/21/\sqrt21/2​. The bound by ∥w^−w∥2∥η∥2∥q^−q∥2\|\hat w-w\|_2\|\eta\|_2\|\hat q-q\|_2∥w^−w∥2​∥η∥2​∥q^​−q∥2​ is not a valid inequality for a triple product. Both need a bound η≤Cη\eta\le C_\etaη≤Cη​, which the mission adds.

Formalization scope

  • Spaces and kernels. SSS, AAA are measurable spaces, the action σ-algebra countably generated (for Mathlib's jointly measurable Kernel.rnDeriv). The MDP, the policies and the observation law are Mathlib kernels and measures. The paper's base measures are not used.
  • Ratios. www and η\etaη are toReal of Radon–Nikodym derivatives, not free functions satisfying an identity. Overlap (πe(⋅∣s)≪πb(⋅∣s)\pi_e(\cdot\mid s)\ll\pi_b(\cdot\mid s)πe​(⋅∣s)≪πb​(⋅∣s), pπe,γ(∞)≪pπb(0)p^{(\infty)}_{\pi_e,\gamma}\ll p^{(0)}_{\pi_b}pπe​,γ(∞)​≪pπb​(0)​) is a standing assumption.
  • Objects. qqq is the discounted series, not "a solution of the Bellman equation". ρπe\rho^{\pi_e}ρπe​ is the limit of normalized discounted sums, not (1−γ)E[v](1-\gamma)\mathbb E[v](1−γ)E[v] or E[wηr]\mathbb E[w\eta r]E[wηr]; those identities are milestones. The discounted visitation is the measure (1−γ)∑tγtpπe(t)(1-\gamma)\sum_t\gamma^tp^{(t)}_{\pi_e}(1−γ)∑t​γtpπe​(t)​, the limit of the paper's normalized averages.
  • Cross-fitting. The folds are {i<⌊n/2⌋}\{i<\lfloor n/2\rfloor\}{i<⌊n/2⌋} and the rest. Each learner is a jointly measurable function of its own fold's observations only. Rates are convergence in probability of the actual random L2L^2L2 errors.
  • Conclusion. "RAL and efficient" is posed as asymptotic linearity with influence function ϕeff\phi_{\rm eff}ϕeff​ plus the normal limit. Regularity needs the tangent-space framework of Theorem 3 and is not posed.
  • Ruled out. The oracle statement with w^=w\hat w=ww^=w, q^=q\hat q=qq^​=q is an i.i.d. CLT for a fixed function and drops the theorem's content. It is not an acceptable substitute for the goal.
  • Infrastructure needed. Linearity and Fubini for kernel compositions; summation of discounted occupancies; conditional Chebyshev for cross-fitted empirical processes; Slutsky (TendstoInDistribution with TendstoInMeasure) and Mathlib's i.i.d. CLT tendstoInDistribution_inv_sqrt_mul_sum_sub. The occupancy and Lemma 1 layer and the cross-fitting template are reusable beyond this mission. Proofs of any milestone, and helper lemmas on kernel powers and discounted sums, are welcome.

Selected references

  • N. Kallus and M. Uehara, Efficiently Breaking the Curse of Horizon in Off-Policy Evaluation with Double Reinforcement Learning, Operations Research 70(6), 2022; arXiv:1909.05850v6 (2023). https://arxiv.org/abs/1909.05850
  • Q. Liu, L. Li, Z. Tang and D. Zhou, Breaking the Curse of Horizon: Infinite-Horizon Off-Policy Estimation, NeurIPS 2018. https://arxiv.org/abs/1810.12429
  • V. Chernozhukov, D. Chetverikov, M. Demirer, E. Duflo, C. Hansen, W. Newey and J. Robins, Double/Debiased Machine Learning for Treatment and Structural Parameters, The Econometrics Journal 21(1), 2018. https://arxiv.org/abs/1608.00060
  • N. Jiang and L. Li, Doubly Robust Off-Policy Value Evaluation for Reinforcement Learning, ICML 2016. https://arxiv.org/abs/1511.03722
  • P. Thomas and E. Brunskill, Data-Efficient Off-Policy Policy Evaluation for Reinforcement Learning, ICML 2016. https://arxiv.org/abs/1604.00923
13 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model 3: Plug-In Policy Evaluation Is ε-Accurate w.p. 1−δ Once N ≥ c₀log(|S|log(e/(1−γ))/δ)/((1−γ)³ε²)Research Paper

Motivation

Policy evaluation asks for the value of a fixed decision rule in a Markov decision process whose transition probabilities are unknown. It is the inner loop of policy iteration, the subroutine behind actor-critic methods, and the question an operator faces before deploying a policy in an inventory, queueing or routing system that can only be simulated. The simplest estimator is the plug-in (model-based) one: sample transitions from a simulator, build the empirical transition kernel, and compute the value of the policy in the resulting empirical MDP.

How many samples this estimator needs has a short history. Azar, Munos and Kappen (Machine Learning, 2013) introduced the total-variance argument that yields the (1−γ)−3(1-\gamma)^{-3}(1−γ)−3 dependence for planning with a generative model. Agarwal, Kakade and Yang (COLT 2020) proved minimax-optimal guarantees for model-based planning, but only when the sample size per state-action pair exceeds roughly (1−γ)−2(1-\gamma)^{-2}(1−γ)−2. Pananjady and Wainwright (IEEE Trans. Inf. Theory, 2021) gave instance-dependent policy-evaluation bounds and a minimax lower bound, again under a sample-size requirement of order (1−γ)−2(1-\gamma)^{-2}(1−γ)−2. Li, Wei, Chi and Chen (arXiv:2005.12900v8; Operations Research, 2024) removed this barrier: their Theorem 3 shows that the plug-in estimate is accurate across the whole accuracy range once the sample size exceeds (1−γ)−1(1-\gamma)^{-1}(1−γ)−1 up to logarithmic factors. This mission formalizes that theorem and the lemmas its proof rests on.

Setting

A discounted Markov decision process consists of a finite state set S\mathcal SS, a finite action set A\mathcal AA, a transition kernel PPP (for each pair (s,a)(s,a)(s,a), P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a) is a probability vector over S\mathcal SS), a reward r:S×A→[0,1]r:\mathcal S\times\mathcal A\to[0,1]r:S×A→[0,1] and a discount factor 0<γ<10<\gamma<10<γ<1. A deterministic policy is a map π:S→A\pi:\mathcal S\to\mathcal Aπ:S→A. Its value function is

Vπ(s)=E[∑t=0∞γtr(st,at) ∣ s0=s],at=π(st),st+1∼P(⋅∣st,at).V^\pi(s)=\mathbb E\Big[\sum_{t=0}^\infty\gamma^t r(s^t,a^t)\,\Big|\,s^0=s\Big],\qquad a^t=\pi(s^t),\quad s^{t+1}\sim P(\cdot\mid s^t,a^t).Vπ(s)=E[t=0∑∞​γtr(st,at)​s0=s],at=π(st),st+1∼P(⋅∣st,at).

Write Pπ(s,s′)=P(s′∣s,π(s))P_\pi(s,s')=P(s'\mid s,\pi(s))Pπ​(s,s′)=P(s′∣s,π(s)) for the state transition matrix of π\piπ and rπ(s)=r(s,π(s))r_\pi(s)=r(s,\pi(s))rπ​(s)=r(s,π(s)) for its reward vector, so that Vπ=(I−γPπ)−1rπV^\pi=(I-\gamma P_\pi)^{-1}r_\piVπ=(I−γPπ​)−1rπ​. For a vector V∈RSV\in\mathbb R^{\mathcal S}V∈RS, VarPπ(V)(s)=∑s′Pπ(s,s′)V(s′)2−(∑s′Pπ(s,s′)V(s′))2\mathrm{Var}_{P_\pi}(V)(s)=\sum_{s'}P_\pi(s,s')V(s')^2-\big(\sum_{s'}P_\pi(s,s')V(s')\big)^2VarPπ​​(V)(s)=∑s′​Pπ​(s,s′)V(s′)2−(∑s′​Pπ​(s,s′)V(s′))2 is the one-step variance of VVV under the chain.

The generative model returns, for every pair (s,a)(s,a)(s,a), NNN independent next states ss,a1,…,ss,aN∼P(⋅∣s,a)s^1_{s,a},\dots,s^N_{s,a}\sim P(\cdot\mid s,a)ss,a1​,…,ss,aN​∼P(⋅∣s,a). The empirical kernel is P^(s′∣s,a)=1N∑i=1N1{ss,ai=s′}\widehat P(s'\mid s,a)=\frac1N\sum_{i=1}^N\mathbb 1\{s^i_{s,a}=s'\}P(s′∣s,a)=N1​∑i=1N​1{ss,ai​=s′}, and for a policy π\piπ chosen independently of the data the plug-in estimate V^π\widehat V^\piVπ is the value function of π\piπ in the empirical MDP (S,A,P^,r,γ)(\mathcal S,\mathcal A,\widehat P,r,\gamma)(S,A,P,r,γ), that is, V^π=(I−γP^π)−1rπ\widehat V^\pi=(I-\gamma\widehat P_\pi)^{-1}r_\piVπ=(I−γPπ​)−1rπ​. Norms ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ are maxima of absolute entries; e=exp⁡(1)e=\exp(1)e=exp(1) and log⁡\loglog is natural.

Formalization targets

Goal: Theorem 3 (p. 9)

There is a universal constant c0>0c_0>0c0​>0 such that for every MDP as above, every fixed policy π\piπ, every 0<δ<10<\delta<10<δ<1 and every 0<ε≤11−γ0<\varepsilon\le\frac1{1-\gamma}0<ε≤1−γ1​,

N≥c0 log⁡(∣S∣log⁡e1−γ/δ)(1−γ)3ε2⟹P(max⁡s∣V^π(s)−Vπ(s)∣≤ε)≥1−δ.N\ge c_0\,\frac{\log\big(|\mathcal S|\log\frac{e}{1-\gamma}/\delta\big)}{(1-\gamma)^3\varepsilon^2} \quad\Longrightarrow\quad \mathbb P\Big(\max_{s}\big|\widehat V^\pi(s)-V^\pi(s)\big|\le\varepsilon\Big)\ge1-\delta .N≥c0​(1−γ)3ε2log(∣S∣log1−γe​/δ)​⟹P(smax​​Vπ(s)−Vπ(s)​≤ε)≥1−δ.

The constant c0c_0c0​ is not specified, so the goal survives any later improvement of the constants.

Milestones

In attack order: Lemma 10 (elementary facts on (I−γPπ)−1(I-\gamma P_\pi)^{-1}(I−γPπ​)−1, p. 23); the matrix form (27) of VπV^\piVπ (p. 12); Lemma 11, ∥(I−γPπ)−1VarPπ(V)∥∞≤4γ1−γ∥V∥∞\|(I-\gamma P_\pi)^{-1}\sqrt{\mathrm{Var}_{P_\pi}(V)}\|_\infty\le\frac{4}{\gamma\sqrt{1-\gamma}}\|V\|_\infty∥(I−γPπ​)−1VarPπ​​(V)​∥∞​≤γ1−γ​4​∥V∥∞​ for V=(I−γPπ)−1rπV=(I-\gamma P_\pi)^{-1}r_\piV=(I−γPπ​)−1rπ​ with rπ≥0r_\pi\ge0rπ​≥0 (p. 24); the total-variance bound (70) of Azar et al. (p. 24); the deterministic instance-dependent bound (80) under a Bernstein-type condition (pp. 25–26); Lemma 2, the worst-case bound ∥V^π−Vπ∥∞≤61−γβ1N(1−γ)\|\widehat V^\pi-V^\pi\|_\infty\le\frac{6}{1-\gamma}\sqrt{\frac{\beta_1}{N(1-\gamma)}}∥Vπ−Vπ∥∞​≤1−γ6​N(1−γ)β1​​​ under the same condition (p. 15); the high-probability Bernstein bound (82) for a fixed policy (p. 27); and Lemma 1, the explicit-constant version of the goal with an instance-dependent refinement (p. 13):

∥V^π−Vπ∥∞≤4γ2LN∥(I−γPπ)−1VarPπ[Vπ]∥∞+2γL(1−γ)N∥Vπ∥∞≤62LN(1−γ)3,\big\|\widehat V^\pi-V^\pi\big\|_\infty\le 4\gamma\sqrt{\tfrac{2L}{N}}\Big\|(I-\gamma P_\pi)^{-1}\sqrt{\mathrm{Var}_{P_\pi}[V^\pi]}\Big\|_\infty+\tfrac{2\gamma L}{(1-\gamma)N}\|V^\pi\|_\infty\le 6\sqrt{\tfrac{2L}{N(1-\gamma)^3}},​Vπ−Vπ​∞​≤4γN2L​​​(I−γPπ​)−1VarPπ​​[Vπ]​​∞​+(1−γ)N2γL​∥Vπ∥∞​≤6N(1−γ)32L​​,

with L=log⁡(4∣S∣log⁡e1−γ/δ)L=\log\big(4|\mathcal S|\log\frac{e}{1-\gamma}/\delta\big)L=log(4∣S∣log1−γe​/δ) and N≥32e21−γLN\ge\frac{32e^2}{1-\gamma}LN≥1−γ32e2​L.

Significance

The theorem says that the plug-in estimate of a fixed policy's value beats a random guess as soon as NNN exceeds 11−γ\frac1{1-\gamma}1−γ1​ up to logarithmic factors, and that its sample size matches the minimax lower bound of Pananjady and Wainwright (2019, Theorem 2(b)) up to a log⁡log⁡11−γ\log\log\frac1{1-\gamma}loglog1−γ1​ factor over the full range ε∈(0,11−γ]\varepsilon\in(0,\frac1{1-\gamma}]ε∈(0,1−γ1​]. Lemma 2, which does not require the policy to be independent of the data, is the step the paper reuses to analyze the data-dependent optimal policy of the empirical MDP (Theorems 1 and 2, posed in sibling missions of this series).

The result is proved in the paper; none of it is formalized. The mission produces a machine-checked account of the variance-aware analysis of tabular MDPs: the resolvent calculus of Lemma 10, the total-variance bounds (70) and Lemma 11, which recur across the reinforcement-learning sample-complexity literature, and a high-order expansion argument that turns a Bernstein-type condition into an error bound. A formal proof of (70), which the paper quotes without proof, would itself be a reusable result.

Difficulty

The obvious argument writes V^π−Vπ=γ(I−γP^π)−1(P^π−Pπ)Vπ\widehat V^\pi-V^\pi=\gamma(I-\gamma\widehat P_\pi)^{-1}(\widehat P_\pi-P_\pi)V^\piVπ−Vπ=γ(I−γPπ​)−1(Pπ​−Pπ​)Vπ and bounds the two factors separately. The resolvent of the empirical chain is correlated with the deviation (P^π−Pπ)Vπ(\widehat P_\pi-P_\pi)V^\pi(Pπ​−Pπ​)Vπ, and bounding (I−γP^π)−1(I-\gamma\widehat P_\pi)^{-1}(I−γPπ​)−1 crudely by its row sums 11−γ\frac1{1-\gamma}1−γ1​ loses a factor that forces N≳(1−γ)−2N\gtrsim(1-\gamma)^{-2}N≳(1−γ)−2; this is exactly the barrier in earlier work. Removing it requires controlling a whole sequence of auxiliary vectors V(l)V^{(l)}V(l), each defined through the variance of the previous one, up to a logarithmic depth, and showing that their norms do not blow up (Lemma 11). The Bernstein step must also use the variance, not the range, of V(l)V^{(l)}V(l); a Hoeffding bound gives the wrong power of 1−γ1-\gamma1−γ.

Formalization scope

States and actions are finite types; the kernel is P : S → A → S → ℝ with P s a s' =P(s′∣s,a)=P(s'\mid s,a)=P(s′∣s,a), a probability vector for each (s, a) (the published IsTransitionKernel). The standing setting is the predicate IsDiscountedMDP P r γ: a kernel, r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1], 0<γ<10<\gamma<10<γ<1, and nonempty state and action sets (S={1,…,∣S∣}\mathcal S=\{1,\dots,|\mathcal S|\}S={1,…,∣S∣}, A={1,…,∣A∣}\mathcal A=\{1,\dots,|\mathcal A|\}A={1,…,∣A∣}, p. 5). Policies are deterministic maps S → A; the value function is the published series PolicyValue of the induced point-mass policy. Vector norms are Mathlib's sup norm on finite function types, matching ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​; vector inequalities and square roots are entrywise.

The data set is the finite type of arrays of NNN next states per pair, its law is the product of the kernel probabilities, and P\mathbb PP of an event is a finite sum. "With probability at least 1−δ1-\delta1−δ, EEE" is stated as P(not E)≤δ\mathbb P(\text{not }E)\le\deltaP(not E)≤δ. The goal assumes N>0N>0N>0, the standing assumption of the empirical kernel (3), which is implied by the sample-size condition since S\mathcal SS is nonempty. Index ranges "0≤l≤log⁡e1−γ0\le l\le\log\frac{e}{1-\gamma}0≤l≤log1−γe​" range over the integers in that interval. The deterministic milestones (80) and Lemma 2 are stated for an arbitrary transition kernel P^\widehat PP, which is what their proofs use.

Three formalizations would trivialize the goal and are ruled out: computing V^π\widehat V^\piVπ from the true kernel PPP instead of the empirical one; letting π\piπ be chosen after the data are seen; and letting c0c_0c0​ depend on S\mathcal SS, A\mathcal AA, γ\gammaγ, PPP, rrr or π\piπ (the existential over c0c_0c0​ precedes all of them).

A complete development needs: the matrix form of the value function, Neumann series and nonnegativity of (I−γPπ)−1(I-\gamma P_\pi)^{-1}(I−γPπ​)−1; variance identities for finite distributions; a Bernstein inequality for i.i.d. bounded categorical samples with a union bound over states and indices; and the algebra of the recursive expansion. The resolvent and total-variance lemmas are reusable for any tabular discounted MDP. Proofs of individual milestones are welcome independently; (70) is a standalone classical result.

Selected references

  • G. Li, Y. Wei, Y. Chi, Y. Chen, Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model, Operations Research, 2024; arXiv:2005.12900v8, 2023. https://arxiv.org/abs/2005.12900
  • M. G. Azar, R. Munos, H. J. Kappen, Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model, Machine Learning 91(3), 2013. https://doi.org/10.1007/s10994-013-5368-1
  • A. Agarwal, S. Kakade, L. F. Yang, Model-Based Reinforcement Learning with a Generative Model is Minimax Optimal, COLT 2020. https://arxiv.org/abs/1906.03804
  • A. Pananjady, M. J. Wainwright, Instance-Dependent ℓ∞-Bounds for Policy Evaluation in Tabular Reinforcement Learning, IEEE Transactions on Information Theory 67(1), 2021. https://arxiv.org/abs/1909.08749
17 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model 1: The Perturbed Model-Based Planner Is ε-Optimal w.p. 1−δ Once N ≥ c₀log(|S||A|/((1−γ)εδ))/((1−γ)³ε²)Research Paper

Motivation

A generative model lets a planner request independent next-state samples for any state-action pair. This is a useful idealization for studying how many simulator calls are needed before a policy computed from an estimated model performs well in the true environment. Li, Wei, Chi, and Chen show that a small independent perturbation of the rewards lets a model-based planner meet a sample-size bound with cubic dependence on the effective horizon 1/(1−γ)1/(1-\gamma)1/(1−γ), while providing guarantees for both values and action values (Li et al., 2024). This mission isolates their perturbed-planning result and the source lemmas that support it.

Setting

A finite discounted Markov decision process consists of a state set SSS, an action set AAA, a transition probability P(s′∣s,a)P(s'\mid s,a)P(s′∣s,a), an immediate reward r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1], and a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1). A deterministic policy π:S→A\pi:S\to Aπ:S→A chooses an action at each state. Its value Vπ(s)V^\pi(s)Vπ(s) is the expected sum of rewards, discounted by γt\gamma^tγt, from state sss. Its action value Qπ(s,a)Q^\pi(s,a)Qπ(s,a) takes action aaa first and follows π\piπ thereafter. The optimal values V⋆V^\starV⋆ and Q⋆Q^\starQ⋆ are those of an optimal deterministic policy; equivalently, Q⋆(s,a)=r(s,a)+γ∑s′P(s′∣s,a)V⋆(s′)Q^\star(s,a)=r(s,a)+\gamma\sum_{s'}P(s'\mid s,a)V^\star(s')Q⋆(s,a)=r(s,a)+γ∑s′​P(s′∣s,a)V⋆(s′).

For each (s,a)(s,a)(s,a), draw NNN independent next states from P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), independently across pairs. The empirical kernel P^\widehat PP is their frequency table. Independently draw one reward perturbation ζ(s,a)∼Unif⁡(0,ξ)\zeta(s,a)\sim\operatorname{Unif}(0,\xi)ζ(s,a)∼Unif(0,ξ) per pair and set rp=r+ζr_p=r+\zetarp​=r+ζ. The planner returns an optimal deterministic policy π^p⋆\widehat\pi_p^\starπp⋆​ for the empirical MDP (S,A,P^,rp,γ)(S,A,\widehat P,r_p,\gamma)(S,A,P,rp​,γ). The performance claim evaluates this policy under the original PPP and rrr, so the perturbation changes policy selection but not the evaluation target.

Formalization targets

Perturbed model-based planning

Theorem 1 of Li et al. asserts that absolute constants c0,c1>0c_0,c_1>0c0​,c1​>0 can be chosen before SSS, AAA, PPP, rrr, γ\gammaγ, ε\varepsilonε, and δ\deltaδ. For δ>0\delta>0δ>0, 0<ε≤1/(1−γ)0<\varepsilon\le1/(1-\gamma)0<ε≤1/(1−γ), and ξ=c1(1−γ)ε/(∣S∣5∣A∣5)\xi=c_1(1-\gamma)\varepsilon/(|S|^5|A|^5)ξ=c1​(1−γ)ε/(∣S∣5∣A∣5), the sample-size condition is

N≥c0log⁡ ⁣(∣S∣∣A∣/((1−γ)εδ))(1−γ)3ε2.N\ge\frac{c_0\log\!\bigl(|S||A|/((1-\gamma)\varepsilon\delta)\bigr)}{(1-\gamma)^3\varepsilon^2}.N≥(1−γ)3ε2c0​log(∣S∣∣A∣/((1−γ)εδ))​.

With probability at least 1−δ1-\delta1−δ over both the samples and the perturbation, every optimal policy of the perturbed empirical MDP simultaneously satisfies

Vπ^p⋆(s)≥V⋆(s)−ε,Qπ^p⋆(s,a)≥Q⋆(s,a)−γεfor all (s,a).V^{\widehat\pi_p^\star}(s)\ge V^\star(s)-\varepsilon,\qquad Q^{\widehat\pi_p^\star}(s,a)\ge Q^\star(s,a)-\gamma\varepsilon\quad\text{for all }(s,a).Vπp⋆​(s)≥V⋆(s)−ε,Qπp⋆​(s,a)≥Q⋆(s,a)−γεfor all (s,a).

The milestone list follows the paper's numbered statements: fixed-policy and Bernstein-condition value bounds (Lemmas 1–2), calibrated state-action absorbing models and their finite reward grid (Lemma 3, (88), Lemma 4), planning under a separated optimum (Lemma 5), separation induced by random rewards (Lemma 6), and the reward-change bound before (49). The paper's additional claim about iteration counts for empirical QVI and PI is outside this target.

Significance

The theorem gives a policy guarantee from a finite number of calls to a generative model. It bounds the true value of the selected policy at every state and its true action value at every state-action pair, rather than only the empirical objective used to select the policy. Its NNN is the number of samples per pair; the total number of transitions observed is N∣S∣∣A∣N|S||A|N∣S∣∣A∣. The statement is a theorem proved in the cited paper, not an open mathematical conjecture (Li et al., Theorem 1).

The formalization work is to turn the paper's probability experiment, policy choice, and linked inequalities into machine-checked statements and eventually machine-checked proofs. The published FoundationsML transition kernel and policy-value definitions provide reusable base objects. This mission adds a finite generative-sample law, the reward-perturbation law, and an absorbing-MDP interface. Those objects can support later formalizations of empirical planning and policy evaluation beyond this theorem. The goal and milestone proofs remain open in the present draft.

Difficulty

A fixed policy can be evaluated against an empirical transition kernel using concentration at that policy. The planner's policy depends on the same sampled kernel, so a fixed-policy bound cannot simply be applied to it. Small changes in transition frequencies may also switch the chosen optimal action when actions have nearly equal values. The paper's intermediate results specify the needed value-control and separation properties; a Lean proof must track their constants and their probability events without silently assuming that the data-dependent policy was fixed before sampling (Li et al., §§6.2–6.3).

Formalization scope

The Lean state and action types are finite, and both are nonempty where cardinalities occur in denominators. A transition kernel is a probability vector at each state-action pair. Policies are deterministic functions S→AS\to AS→A, embedded as point-mass stochastic policies for the published value definitions. V⋆V^\starV⋆ is the maximum over the finite set of deterministic policies; Q⋆Q^\starQ⋆ is r+γPV⋆r+\gamma PV^\starr+γPV⋆. Function norms are supremum norms. The empirical kernel is the frequency table of a finite array of samples, with N>0N>0N>0 in the goal because its formula divides by NNN. The independent perturbation is the uniform measure on the cube [0,ξ]S×A[0,\xi]^{S\times A}[0,ξ]S×A.

Probability claims bound the failure event. The data law is a finite product, and the auxiliary continuous draw is measured section by section. This formulation allows an outer measure for a section whose measurability is not already known; it does not let a nonmeasurable success event satisfy the result for free. The main theorem quantifies over every optimal policy of the empirical perturbed model, and its universal constants do not depend on the instance. These choices rule out treating the selected policy as arbitrary, fixing the perturbation in advance, or choosing constants after seeing the MDP.

The absorbing-MDP construction changes one transition row and one reward. The reward at that row may leave [0,1][0,1][0,1], so the underlying value function accepts arbitrary real rewards even though the main MDP has normalized rewards. Lemma 5 is stated with normalized rewards as printed. Reusable contributions include basic properties of the sampling law, optimal-policy existence, the absorbing construction, and quantitative value stability; the milestone statements themselves are the intended proof targets.

Selected references

  • G. Li, Y. Wei, Y. Chi, and Y. Chen, Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model, Operations Research, 2024; arXiv:2005.12900v8.
15 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model 4: Finite-Horizon Model-Based Planning Is ε-Optimal w.p. 1−δ Once N ≥ c₀H³log(H|S||A|/δ)/ε²Research Paper

Motivation

Reinforcement learning with a generative model (a simulator) is a basic way to measure how many samples planning needs. A learner may query, for any state sss, action aaa and step hhh, a fresh next state drawn from the unknown transition law Ph(⋅∣s,a)P_h(\cdot\mid s,a)Ph​(⋅∣s,a), and must output a near-optimal policy. Model-based planning is the simplest approach: estimate each transition law by empirical frequencies, then solve the estimated model exactly by dynamic programming. It is widely used, and its sample complexity is the reference point for model-free methods.

G. Li, Y. Wei, Y. Chi and Y. Chen (arXiv:2005.12900v8; Operations Research, 2024) show that model-based planning is minimax optimal over the full range of accuracies, for discounted MDPs (Theorems 1–3) and for time-inhomogeneous finite-horizon MDPs (Theorem 4). This mission covers the finite-horizon case. Earlier model-based analyses of the finite-horizon setting, such as Yin et al. (2021), required N≳H2N\gtrsim H^2N≳H2 samples per triple (s,a,h)(s,a,h)(s,a,h) up to logarithmic factors before any guarantee applied; Theorem 4 needs only N≳HN\gtrsim HN≳H.

Setting

A finite-horizon MDP M=(S,A,{Ph}h=1H,{rh}h=1H,H)\mathcal M=(\mathcal S,\mathcal A,\{P_h\}_{h=1}^H,\{r_h\}_{h=1}^H,H)M=(S,A,{Ph​}h=1H​,{rh​}h=1H​,H) has a finite state space S\mathcal SS, a finite nonempty action space A\mathcal AA, a horizon HHH, and for every step h∈[H]={1,…,H}h\in[H]=\{1,\dots,H\}h∈[H]={1,…,H} a transition kernel Ph(s′∣s,a)P_h(s'\mid s,a)Ph​(s′∣s,a) and a reward rh(s,a)∈[0,1]r_h(s,a)\in[0,1]rh​(s,a)∈[0,1]. The kernels may differ across steps (time inhomogeneity).

A deterministic nonstationary policy π={πh}\pi=\{\pi_h\}π={πh​} chooses action πh(s)\pi_h(s)πh​(s) at step hhh in state sss. Its value and Q-function satisfy the backward Bellman equations

VH+1π=0,Qhπ(s,a)=rh(s,a)+∑s′Ph(s′∣s,a)Vh+1π(s′),Vhπ(s)=Qhπ(s,πh(s)),V^\pi_{H+1}=0,\qquad Q^\pi_h(s,a)=r_h(s,a)+\sum_{s'}P_h(s'\mid s,a)V^\pi_{h+1}(s'),\qquad V^\pi_h(s)=Q^\pi_h(s,\pi_h(s)),VH+1π​=0,Qhπ​(s,a)=rh​(s,a)+s′∑​Ph​(s′∣s,a)Vh+1π​(s′),Vhπ​(s)=Qhπ​(s,πh​(s)),

so Vhπ(s)V^\pi_h(s)Vhπ​(s) is the expected sum of rewards from step hhh to HHH started at sss, and lies in [0,H][0,H][0,H]. The optimal values are Vh⋆(s)=max⁡πVhπ(s)V^\star_h(s)=\max_\pi V^\pi_h(s)Vh⋆​(s)=maxπ​Vhπ​(s) and Qh⋆(s,a)=rh(s,a)+∑s′Ph(s′∣s,a)Vh+1⋆(s′)Q^\star_h(s,a)=r_h(s,a)+\sum_{s'}P_h(s'\mid s,a)V^\star_{h+1}(s')Qh⋆​(s,a)=rh​(s,a)+∑s′​Ph​(s′∣s,a)Vh+1⋆​(s′).

The generative model returns, for every triple (s,a,h)(s,a,h)(s,a,h), NNN independent samples shi(s,a)∼Ph(⋅∣s,a)s^i_h(s,a)\sim P_h(\cdot\mid s,a)shi​(s,a)∼Ph​(⋅∣s,a), all samples independent. The empirical kernel is

P^h(s′∣s,a)=1N∑i=1N1{shi(s,a)=s′},\widehat P_h(s'\mid s,a)=\frac1N\sum_{i=1}^N\mathbb 1\{s^i_h(s,a)=s'\},Ph​(s′∣s,a)=N1​i=1∑N​1{shi​(s,a)=s′},

and the empirical MDP M^\widehat{\mathcal M}M replaces every PhP_hPh​ by P^h\widehat P_hPh​, keeping the rewards. Model-based planning returns the policy π^⋆\widehat\pi^\starπ⋆ obtained by backward dynamic programming on M^\widehat{\mathcal M}M: at each step, π^h⋆(s)\widehat\pi^\star_h(s)πh⋆​(s) maximizes the empirical optimal Q-function Q^h⋆(s,⋅)\widehat Q^\star_h(s,\cdot)Q​h⋆​(s,⋅). So π^h⋆\widehat\pi^\star_hπh⋆​ depends only on P^h,…,P^H\widehat P_h,\dots,\widehat P_HPh​,…,PH​.

Formalization targets

Goal: Theorem 4 (p. 10)

There is a universal constant c0>0c_0>0c0​>0 such that for every finite-horizon MDP, every δ>0\delta>0δ>0 and every 0<ε≤H0<\varepsilon\le H0<ε≤H: if

N≥c0H3log⁡(H∣S∣∣A∣/δ)ε2,N\ge\frac{c_0H^3\log\big(H|\mathcal S||\mathcal A|/\delta\big)}{\varepsilon^2},N≥ε2c0​H3log(H∣S∣∣A∣/δ)​,

then with probability at least 1−δ1-\delta1−δ,

∀(s,a,h)∈S×A×[H]:Vhπ^⋆(s)≥Vh⋆(s)−ε,Qhπ^⋆(s,a)≥Qh⋆(s,a)−ε.\forall(s,a,h)\in\mathcal S\times\mathcal A\times[H]:\qquad V^{\widehat\pi^\star}_h(s)\ge V^\star_h(s)-\varepsilon,\qquad Q^{\widehat\pi^\star}_h(s,a)\ge Q^\star_h(s,a)-\varepsilon.∀(s,a,h)∈S×A×[H]:Vhπ⋆​(s)≥Vh⋆​(s)−ε,Qhπ⋆​(s,a)≥Qh⋆​(s,a)−ε.

The constant c0c_0c0​ is not specified, so the goal survives any improvement of constants.

Milestones

  1. Lemma 12 (p. 34): the auxiliary vectors Vh(l)V^{(l)}_hVh(l)​ of (62), obtained by propagating square roots of one-step variances, obey ∥Vh(l)∥∞≤(3H)lH\|V^{(l)}_h\|_\infty\le(\sqrt{3H})^lH∥Vh(l)​∥∞​≤(3H​)lH.
  2. Lemma 9 (p. 21): if the one-step errors (P^h,π−Ph,π)Vh+1(l)(\widehat P_{h,\pi}-P_{h,\pi})V^{(l)}_{h+1}(Ph,π​−Ph,π​)Vh+1(l)​ satisfy a Bernstein-type bound (63) with parameter β1\beta_1β1​ for 0≤l≤log⁡2H0\le l\le\log_2H0≤l≤log2​H, and N>12Hβ1N>12H\beta_1N>12Hβ1​, then ∥V^hπ−Vhπ∥∞≤6H3β1H/N\|\widehat V^\pi_h-V^\pi_h\|_\infty\le6H\sqrt{3\beta_1H/N}∥Vhπ​−Vhπ​∥∞​≤6H3β1​H/N​.
  3. (66)–(67) (p. 21): for a fixed policy, the Bernstein-type bound holds for all (s,a)(s,a)(s,a) with probability at least 1−δ1-\delta1−δ, with β1=4log⁡(H∣S∣∣A∣/δ)\beta_1=4\log(H|\mathcal S||\mathcal A|/\delta)β1​=4log(H∣S∣∣A∣/δ).
  4. §7.3, second bullet (pp. 21–22): the same accuracy ∥V^hπ^⋆−Vhπ^⋆∥∞≤6H12Hlog⁡(H∣S∣∣A∣/δ)/N\|\widehat V^{\widehat\pi^\star}_h-V^{\widehat\pi^\star}_h\|_\infty\le6H\sqrt{12H\log(H|\mathcal S||\mathcal A|/\delta)/N}∥Vhπ⋆​−Vhπ⋆​∥∞​≤6H12Hlog(H∣S∣∣A∣/δ)/N​ holds for the data-dependent planner's policy.
  5. (65) (p. 21): Vh⋆−Vhπ^⋆≤(V^hπ^⋆−Vhπ^⋆)+(Vhπ⋆−V^hπ⋆)V^\star_h-V^{\widehat\pi^\star}_h\le(\widehat V^{\widehat\pi^\star}_h-V^{\widehat\pi^\star}_h)+(V^{\pi^\star}_h-\widehat V^{\pi^\star}_h)Vh⋆​−Vhπ⋆​≤(Vhπ⋆​−Vhπ⋆​)+(Vhπ⋆​−Vhπ⋆​).
  6. (68) (p. 22): 0≤Vh⋆−Vhπ^⋆≤12H12Hlog⁡(H∣S∣∣A∣/δ)/N0\le V^\star_h-V^{\widehat\pi^\star}_h\le12H\sqrt{12H\log(H|\mathcal S||\mathcal A|/\delta)/N}0≤Vh⋆​−Vhπ⋆​≤12H12Hlog(H∣S∣∣A∣/δ)/N​ with probability at least 1−2δ1-2\delta1−2δ when N≥48Hlog⁡(H∣S∣∣A∣/δ)N\ge48H\log(H|\mathcal S||\mathcal A|/\delta)N≥48Hlog(H∣S∣∣A∣/δ).

Significance

The result. The total number of samples is NH∣S∣∣A∣NH|\mathcal S||\mathcal A|NH∣S∣∣A∣, so Theorem 4 gives ε\varepsilonε-optimal policies from O~(∣S∣∣A∣H4/ε2)\widetilde O(|\mathcal S||\mathcal A|H^4/\varepsilon^2)O(∣S∣∣A∣H4/ε2) samples, which matches the known lower bound up to logarithmic factors, for every ε∈(0,H]\varepsilon\in(0,H]ε∈(0,H]. The extra factor of HHH compared with the discounted case is the price of time inhomogeneity: each step has its own kernel to estimate. The guarantee holds from N≳HN\gtrsim HN≳H samples per triple on, instead of N≳H2N\gtrsim H^2N≳H2. Unlike the paper's discounted results, no reward perturbation or conservative action selection is needed. The step-by-step independence of the data makes the plain planner analyzable.

Formalizing it. The theorem is proved in the paper; nothing here is open mathematically, and no machine-checked proof of it is known. A formalization checks the details the paper leaves implicit: the index ranges of the backward recursions, the use of log⁡2H\log_2Hlog2​H as an integer, the sample-size condition of Lemma 9 when it is applied to the planner's policy, and the independence argument that lets a data-dependent policy enjoy fixed-policy concentration. The finite-horizon layer here (time-inhomogeneous kernels, backward propagation, the DP planner, the empirical kernel and the finite law of the data) is reusable by other finite-horizon sample-complexity results.

Difficulty

The planner's policy π^⋆\widehat\pi^\starπ⋆ is built from the same data that define M^\widehat{\mathcal M}M, so the obvious route, applying a concentration inequality to (P^h−Ph)Vh+1π^⋆(\widehat P_h-P_h)V^{\widehat\pi^\star}_{h+1}(Ph​−Ph​)Vh+1π⋆​ as if Vh+1π^⋆V^{\widehat\pi^\star}_{h+1}Vh+1π⋆​ were fixed, is not justified by itself. The argument has to use the backward structure: the step-hhh quantities depend only on the data of later steps, which are independent of P^h\widehat P_hPh​.

A second difficulty is the sample-size range. A Hoeffding-type bound on each one-step error, summed over HHH steps, gives an accuracy that only becomes meaningful when N≳H2N\gtrsim H^2N≳H2. Reaching N≳HN\gtrsim HN≳H requires Bernstein-type bounds and the control of a whole sequence of auxiliary value vectors V(l)V^{(l)}V(l), of which Lemma 12 bounds the size. Lemma 9 then has to close the recursion in lll after about log⁡2H\log_2Hlog2​H levels.

Formalization scope

  • Steps are Fin H, 0-based: the paper's step hhh is Lean's h−1h-1h−1. Backward propagation returns 000 at every index ≥H\ge H≥H, which encodes VH+1=0V_{H+1}=0VH+1​=0. The paper's ranges 1≤h≤H−11\le h\le H-11≤h≤H−1 in (63) and (66) are written h.val + 1 < H.
  • Values are defined by the backward Bellman recursion (equal to the trajectory expectation of p. 6 for deterministic policies), Vh⋆V^\star_hVh⋆​ as a maximum over the finitely many deterministic nonstationary policies, and Qh⋆:=rh+PhVh+1⋆Q^\star_h:=r_h+P_hV^\star_{h+1}Qh⋆​:=rh​+Ph​Vh+1⋆​.
  • The planner takes a tie-breaking rule sel (any argmax rule), fixed before the data and quantified outside the probability. Empirical Q-values tie with positive probability, and the proof needs π^⋆\widehat\pi^\starπ⋆ to be a fixed function of the empirical kernels.
  • Probability. A data set is an element of the finite type [H]×S×A×[N]→S[H]\times\mathcal S\times\mathcal A\times[N]\to\mathcal S[H]×S×A×[N]→S; its law is the product of the kernels, and probabilities are finite sums. "With probability at least 1−δ1-\delta1−δ" is written as a bound ≤δ\le\delta≤δ on the probability of the failure event. N>0N>0N>0 is assumed throughout, as in (6).
  • Constants. c0c_0c0​ is quantified before the spaces, the horizon and the MDP. The page names "universal constants c0,c1>0c_0,c_1>0c0​,c1​>0", but c1c_1c1​ does not occur in Theorem 4; only c0c_0c0​ is quantified.
  • Generalizations disclosed in the items. Lemma 9 and (65) are stated for any family of transition kernels P^h\widehat P_hPh​, and (66)–(67) for any data-independent policy instead of only π⋆\pi^\starπ⋆. The second bullet of §7.3 carries the condition N≥48Hlog⁡(H∣S∣∣A∣/δ)N\ge48H\log(H|\mathcal S||\mathcal A|/\delta)N≥48Hlog(H∣S∣∣A∣/δ), which the page leaves implicit there and states with (68).

Trivializing formalizations are ruled out: the planner is computed from the empirical kernels, not from the true PhP_hPh​; the model is time-inhomogeneous, with one kernel per step; and c0c_0c0​ cannot depend on HHH, S\mathcal SS, A\mathcal AA or the MDP.

The only external definition is the published FoundationsML.ReinforcementLearning.IsTransitionKernel. A complete development needs Bernstein's inequality for bounded i.i.d. averages (on finite product laws), a union bound, and the independence of the per-step data. Contributions are welcome on all six milestones and on general lemmas about the finite law of the data, such as independence across steps and the distribution of P^h\widehat P_hPh​.

Selected references

  • G. Li, Y. Wei, Y. Chi, Y. Chen, Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model, arXiv:2005.12900v8, 2023; Operations Research, 2024. https://arxiv.org/abs/2005.12900
  • M. G. Azar, R. Munos, H. J. Kappen, Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model, Machine Learning 91(3):325–349, 2013. https://doi.org/10.1007/s10994-013-5368-1
  • A. Agarwal, S. Kakade, L. F. Yang, Model-Based Reinforcement Learning with a Generative Model is Minimax Optimal, COLT 2020. https://arxiv.org/abs/1906.03804
  • M. Yin, Y. Bai, Y.-X. Wang, Near-optimal provable uniform convergence in offline policy evaluation for reinforcement learning, AISTATS 2021, PMLR 130:1567–1575. https://proceedings.mlr.press/v130/yin21a.html
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, 4th ed., Athena Scientific, 2017.
10 thms1 active userReviewed
Machine LearningProbabilityStatistics·Captain: mikedeng1

Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds II: Along Any h, the Empirical Transition Vector Is within 2√(log(n/ρ)Σγᵢcᵢ²/n) + 3D log(2/ρ)/n of the TruthResearch Paper

Motivation

Model-based reinforcement learning algorithms for Markov decision processes estimate each transition distribution Ps,aP_{s,a}Ps,a​ from the transitions they have observed out of the state–action pair (s,a)(s,a)(s,a). Their regret analyses then need to know how far the empirical distribution p^\hat pp^​ can be from the true one ppp. The standard tool is an ℓ1\ell_1ℓ1​ bound on p^−p\hat p-pp^​−p, as in UCRL2 (Jaksch, Ortner and Auer, 2010), which costs a factor of order S\sqrt SS​ in the number of states SSS. What the analysis actually uses, however, is the deviation along one direction: the projection (p^−p)Th(\hat p-p)^Th(p^​−p)Th onto a bias (or value) vector hhh whose entries differ by at most the MDP's diameter DDD.

S. Agrawal and R. Jia (arXiv:1705.07041v3, published in Mathematics of Operations Research, 2023, as Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds) prove a worst-case regret bound of order O~(DSAT)\tilde O(D\sqrt{SAT})O~(DSAT​) for an optimistic variant of posterior sampling. One ingredient of that analysis is their Proposition 5.2: a Bernstein-type bound on (p^−p)Th(\hat p-p)^Th(p^​−p)Th whose leading term is governed by a variance of hhh under ppp, written in stick-breaking form. This mission formalizes that proposition and the steps of its proof.

Setting

Fix a number of states SSS and order them 1,…,S1,\dots,S1,…,S. A probability vector p∈ΔSp\in\Delta^Sp∈ΔS has pi≥0p_i\ge0pi​≥0 and ∑ipi=1\sum_ip_i=1∑i​pi​=1. A multinoulli trial with parameter ppp is a random state XXX with P(X=i)=pi\mathbb P(X=i)=p_iP(X=i)=pi​. Draw nnn independent trials X1,…,XnX_1,\dots,X_nX1​,…,Xn​ and let

p^i=#{t:Xt=i}n\hat p_i=\frac{\#\{t: X_t=i\}}{n}p^​i​=n#{t:Xt​=i}​

be the empirical probability vector, the average of the one-hot outcomes. For ppp and a vector h∈RSh\in\mathbb R^Sh∈RS define the stick-breaking quantities

γi=pi(pi+1+⋯+pS)pi+⋯+pS,Hi+1=1∑j=i+1Spj∑j=i+1Shjpj,ci=hi−Hi+1.\gamma_i=\frac{p_i(p_{i+1}+\cdots+p_S)}{p_i+\cdots+p_S},\qquad H_{i+1}=\frac{1}{\sum_{j=i+1}^Sp_j}\sum_{j=i+1}^Sh_jp_j,\qquad c_i=h_i-H_{i+1}.γi​=pi​+⋯+pS​pi​(pi+1​+⋯+pS​)​,Hi+1​=∑j=i+1S​pj​1​j=i+1∑S​hj​pj​,ci​=hi​−Hi+1​.

Thus Hi+1H_{i+1}Hi+1​ is the mean of hhh under ppp conditioned on the states after iii, and cic_ici​ compares hih_ihi​ with it. The sum ∑i<Sγici2\sum_{i<S}\gamma_ic_i^2∑i<S​γi​ci2​ equals the variance of h(X)h(X)h(X) for X∼pX\sim pX∼p. In Lean these objects are gammaCoef p i, Hnext p h i, cCoef p h i, phat ω i, the law of one trial is cat p and the law of nnn trials is trialsLaw n p, all in the namespace OptimisticPSRL.Concentration.

Formalization targets

Goal: Proposition 5.2 (p. 9)

Let h∈RSh\in\mathbb R^Sh∈RS satisfy ∣hi−hi′∣≤D|h_i-h_{i'}|\le D∣hi​−hi′​∣≤D for all i,i′i,i'i,i′, let n≥96n\ge96n≥96 and ρ∈(0,1)\rho\in(0,1)ρ∈(0,1). Then, with probability at least 1−ρ1-\rho1−ρ,

∣(p^−p)Th∣≤2log⁡(n/ρ)∑i<Sγici2n+3D log⁡(2/ρ)n.\big|(\hat p-p)^Th\big|\le2\sqrt{\log(n/\rho)\sum_{i<S}\frac{\gamma_ic_i^2}{n}}+3D\,\frac{\log(2/\rho)}{n}.​(p^​−p)Th​≤2log(n/ρ)i<S∑​nγi​ci2​​​+3Dnlog(2/ρ)​.

Milestones

  1. Fact 1 (p. 17), a deterministic identity: for probability vectors p~,pˉ\tilde p,\bar pp~​,pˉ​ with stick-breaking ratios y~i=p~i/(p~i+⋯+p~S)\tilde y_i=\tilde p_i/(\tilde p_i+\cdots+\tilde p_S)y~​i​=p~​i​/(p~​i​+⋯+p~​S​) and yˉi\bar y_iyˉ​i​,
(p~−pˉ)Th=∑i(y~i−yˉi)(hi−H~i+1)(pˉi+⋯+pˉS)=∑i(y~i−yˉi)(hi−Hˉi+1)(p~i+⋯+p~S).(\tilde p-\bar p)^Th=\sum_i(\tilde y_i-\bar y_i)(h_i-\tilde H_{i+1})(\bar p_i+\cdots+\bar p_S)=\sum_i(\tilde y_i-\bar y_i)(h_i-\bar H_{i+1})(\tilde p_i+\cdots+\tilde p_S).(p~​−pˉ​)Th=i∑​(y~​i​−yˉ​i​)(hi​−H~i+1​)(pˉ​i​+⋯+pˉ​S​)=i∑​(y~​i​−yˉ​i​)(hi​−Hˉi+1​)(p~​i​+⋯+p~​S​).
  1. The projection as a sum of martingale differences (proof, p. 21): with Zt,i=ci1(Xt=i)−cipipi+⋯+pS1(Xt≥i)Z_{t,i}=c_i\mathbb 1(X_t=i)-c_i\frac{p_i}{p_i+\cdots+p_S}\mathbb 1(X_t\ge i)Zt,i​=ci​1(Xt​=i)−ci​pi​+⋯+pS​pi​​1(Xt​≥i) and Zt=∑iZt,iZ_t=\sum_iZ_{t,i}Zt​=∑i​Zt,i​,
1n∑t=1nZt=(p^−p)Th,\frac1n\sum_{t=1}^nZ_t=(\hat p-p)^Th,n1​t=1∑n​Zt​=(p^​−p)Th,

together with the two intermediate expressions of the page. 3. Uncorrelated coordinates (proof, p. 21): E[Zt,iZt,j]=0\mathbb E[Z_{t,i}Z_{t,j}]=0E[Zt,i​Zt,j​]=0 for i≠ji\ne ji=j. 4. The predictable variance (proof, p. 21): ∑t=1nE[Zt2]=∑ici2 n γi\sum_{t=1}^n\mathbb E[Z_t^2]=\sum_ic_i^2\,n\,\gamma_i∑t=1n​E[Zt2​]=∑i​ci2​nγi​. 5. Corollary B.1 (p. 26), Bernstein's inequality for bounded martingale differences with random predictable variance VnV_nVn​: for n≥96n\ge96n≥96, δ∈(0,1)\delta\in(0,1)δ∈(0,1), with probability greater than 1−δ1-\delta1−δ,

∣Mn∣≤2Vnln⁡(n/δ)+3Kln⁡(n/δ).|M_n|\le2\sqrt{V_n\ln(n/\delta)}+3K\ln(n/\delta).∣Mn​∣≤2Vn​ln(n/δ)​+3Kln(n/δ).

Significance

The result. Proposition 5.2 is the concentration half of the optimism step of the paper (Lemma 5.3): combined with an anti-concentration bound for Dirichlet samples along the same direction (Proposition 5.1), it shows that some posterior sample is optimistic along hhh with constant probability. Because the bound is stated along a single direction and is weighted by the variance of hhh rather than by DDD alone, it avoids the S\sqrt SS​ loss that an ℓ1\ell_1ℓ1​ bound would incur, which is part of how the paper's regret bound improves on UCRL2's O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​). The stick-breaking form of the variance is what lets the same quantity appear on both sides of the optimism argument, in the Dirichlet bound and in the empirical bound.

Formalizing it. The proposition and its proof steps are proved on paper; none of them has a machine-checked proof. The regret theorem of the paper (Theorem 1) is not posed: its constants are hidden in O(⋅)O(\cdot)O(⋅) and its algorithm's parameters are given as Θ(⋅)\Theta(\cdot)Θ(⋅). Proposition 5.2, by contrast, is fully explicit. Corollary B.1 is a reusable martingale inequality with explicit constants. The predictable-variance identity and Fact 1 are exact identities about stick-breaking coordinates that recur in analyses of Dirichlet and categorical models.

Difficulty

Two steps resist the obvious approach. First, the statement carries the variance in stick-breaking form, not as Varp(h)\mathrm{Var}_p(h)Varp​(h); linking the two needs the decomposition of Fact 1 and the identity for the predictable variance, which are exact algebraic identities whose bookkeeping of tails and empty tails is error-prone. Second, the paper's own route goes through Corollary B.1, a martingale Bernstein inequality with a random variance, which rests on a peeling argument over a grid of variance levels (Seldin et al., 2012); Mathlib has neither this inequality nor a Bernstein inequality with explicit constants for bounded variables.

A known subtlety: the paper's proof, through Corollary B.1, yields the second term 3Dlog⁡(n/ρ)/n3D\log(n/\rho)/n3Dlog(n/ρ)/n, while the statement prints the smaller 3Dlog⁡(2/ρ)/n3D\log(2/\rho)/n3Dlog(2/ρ)/n. The printed statement is still true for nnn iid trials (the classical Bernstein inequality gives a bound below it), so the goal is posed as printed. The paper's own proof therefore does not establish the printed constant.

Formalization scope

  • States are Fin S with its natural order, 0-based; the paper's range i<Si<Si<S is every state but the last (belowLast S). Fact 1 holds for every ordering; the natural order covers this since states are labels.
  • Probability vectors are p : Fin S → ℝ with IsProbVec p (nonnegative, summing to one). Zero entries are allowed. A ratio whose denominator is zero evaluates to 000 (Lean's convention), which gives the values the identities need; no positivity of ppp is assumed.
  • One trial has law cat p =∑ipiδi=\sum_ip_i\delta_i=∑i​pi​δi​; nnn trials have the product law trialsLaw n p === Measure.pi. The empirical vector phat ω is computed from the sample ω : Fin n → Fin S. "With probability 1−ρ1-\rho1−ρ" is ENNReal.ofReal (1 - ρ) ≤ trialsLaw n p {good event}; Corollary B.1's "greater than 1−δ1-\delta1−δ" is strict. log⁡\loglog is Real.log.
  • The proof displays (milestones 2–4) are stated in the iid reading of the proposition: the paper writes them for transitions of an MDP out of a fixed (s,a)(s,a)(s,a), with an indicator 1(st−1=s,at−1=a)\mathbb 1(s_{t-1}=s,a_{t-1}=a)1(st−1​=s,at−1​=a) and a random count τ\tauτ; here the indicator is one and τ=n\tau=nτ=n, and the conditional expectations are expectations under one draw of law ppp. Milestone 2 assumes every drawn state has positive probability (true almost surely), which the page's intermediate sum over i≤S−1i\le S-1i≤S−1 needs.
  • Corollary B.1 is posed for a general filtered probability space, with ZiZ_iZi​ Fi\mathcal F_iFi​-measurable, ∣Zi∣≤K|Z_i|\le K∣Zi​∣≤K almost surely and E[Zi∣Fi−1]=0\mathbb E[Z_i\mid\mathcal F_{i-1}]=0E[Zi​∣Fi−1​]=0.

The goal cannot be satisfied by a degenerate reading: p^\hat pp^​ is built from the sample, the measure is the nnn-fold product of the categorical law ppp, the event is the good event itself (not a complement bound), and the variance term is not identically zero (for S=2S=2S=2, p=(12,12)p=(\tfrac12,\tfrac12)p=(21​,21​) it equals (h1−h2)2/4(h_1-h_2)^2/4(h1​−h2​)2/4).

Needed infrastructure: finite-sum manipulations over tails of Fin S; a Bernstein or Freedman inequality with explicit constants (for iid bounded variables for the goal, for martingale differences for Corollary B.1). Contributions of either inequality are reusable well beyond this mission and are welcome, as are alternative proofs of the goal that bypass Corollary B.1.

Selected references

  • S. Agrawal and R. Jia, Posterior sampling for reinforcement learning: worst-case regret bounds, arXiv:1705.07041v3, 2020; published as Optimistic Posterior Sampling for Reinforcement Learning: Worst-Case Regret Bounds, Mathematics of Operations Research, 2023. https://arxiv.org/abs/1705.07041
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal regret bounds for reinforcement learning, Journal of Machine Learning Research 11, 2010. https://www.jmlr.org/papers/v11/jaksch10a.html
  • Y. Seldin, F. Laviolette, N. Cesa-Bianchi, J. Shawe-Taylor and P. Auer, PAC-Bayesian inequalities for martingales, IEEE Transactions on Information Theory 58(12), 2012. https://doi.org/10.1109/TIT.2012.2211334
7 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees: Single-Loop ML-IRL Policy and Reward Iterates Converge at Explicit Finite-Time RatesResearch Paper

Motivation

Structural estimation of Markov decision processes recovers the parameters of an agent's reward from observed behavior, under the hypothesis that the agent acts optimally in a known dynamic environment. In econometrics this is the dynamic discrete choice model of Rust (Rust 1987); in artificial intelligence it is maximum-likelihood inverse reinforcement learning (ML-IRL). With Gumbel-distributed choice shocks the two coincide: the agent behaves like the optimal policy of an entropy-regularized MDP, and the reward parameter is estimated by maximizing the likelihood of the observed trajectories.

The classical estimators are nested: every evaluation of the likelihood solves the inner dynamic program to optimality (Rust's nested fixed-point algorithm), which is expensive when the state space is large. Zeng, Hong and Garcia (arXiv:2210.01282, Operations Research 2025) replace the nested loop by a single loop that alternates one approximate soft policy-iteration step with one stochastic gradient step on the reward parameter, and prove a finite-time guarantee for it. That guarantee, Theorem 1 of the paper, is the subject of this mission.

Setting

Let S\mathcal SS and A\mathcal AA be finite nonempty sets of states and actions, P(s′∣s,a)P(s'\mid s,a)P(s′∣s,a) a transition kernel, ρ\rhoρ an initial distribution on S\mathcal SS and γ∈[0,1)\gamma\in[0,1)γ∈[0,1) a discount factor. The reward r(s,a;θ)r(s,a;\theta)r(s,a;θ) depends on a parameter θ∈Rp\theta\in\mathbb R^pθ∈Rp. A policy π(a∣s)\pi(a\mid s)π(a∣s) is a distribution over actions at each state, with entropy H(π(⋅∣s))=−∑aπ(a∣s)log⁡π(a∣s)\mathcal H(\pi(\cdot\mid s))=-\sum_a\pi(a\mid s)\log\pi(a\mid s)H(π(⋅∣s))=−∑a​π(a∣s)logπ(a∣s).

The soft Q-function of a pair (θ,π)(\theta,\pi)(θ,π) is Q(s,a)=r(s,a;θ)+γ Es′∼P(⋅∣s,a)[V(s′)]Q(s,a)=r(s,a;\theta)+\gamma\,\mathbb E_{s'\sim P(\cdot\mid s,a)}[V(s')]Q(s,a)=r(s,a;θ)+γEs′∼P(⋅∣s,a)​[V(s′)], where V(s)V(s)V(s) is the expected discounted sum of r(st,at;θ)+H(π(⋅∣st))r(s_t,a_t;\theta)+\mathcal H(\pi(\cdot\mid s_t))r(st​,at​;θ)+H(π(⋅∣st​)) along the trajectory of π\piπ from sss. The soft-optimal Q-function QθQ_\thetaQθ​ is the fixed point of the soft-Bellman operator ΛθQ(s,a)=r(s,a;θ)+γ∑s′P(s′∣s,a)log⁡∑beQ(s′,b)\Lambda_\theta Q(s,a)=r(s,a;\theta)+\gamma\sum_{s'}P(s'\mid s,a)\log\sum_b e^{Q(s',b)}Λθ​Q(s,a)=r(s,a;θ)+γ∑s′​P(s′∣s,a)log∑b​eQ(s′,b); the soft-optimal policy is πθ(a∣s)∝eQθ(s,a)\pi_\theta(a\mid s)\propto e^{Q_\theta(s,a)}πθ​(a∣s)∝eQθ​(s,a) and Vθ(s)=log⁡∑aeQθ(s,a)V_\theta(s)=\log\sum_a e^{Q_\theta(s,a)}Vθ​(s)=log∑a​eQθ​(s,a).

Given a finite dataset D\mathcal DD of expert trajectories, the surrogate likelihood is

L^(θ;D)=Eτ∼D[∑t≥0γtr(st,at;θ)]−Es0∼ρ[Vθ(s0)].\widehat L(\theta;\mathcal D)=\mathbb E_{\tau\sim\mathcal D}\Big[\sum_{t\ge0}\gamma^tr(s_t,a_t;\theta)\Big]-\mathbb E_{s_0\sim\rho}[V_\theta(s_0)].L(θ;D)=Eτ∼D​[t≥0∑​γtr(st​,at​;θ)]−Es0​∼ρ​[Vθ​(s0​)].

Algorithm 1 (ML-IRL). Starting from (θ0,π0)(\theta_0,\pi_0)(θ0​,π0​) and for k=0,…,K−1k=0,\dots,K-1k=0,…,K−1: estimate the soft Q-function QkQ_kQk​ of (θk,πk)(\theta_k,\pi_k)(θk​,πk​) by Q^k\widehat Q_kQ​k​ with ∥Q^k−Qk∥∞≤ε\|\widehat Q_k-Q_k\|_\infty\le\varepsilon∥Q​k​−Qk​∥∞​≤ε; set πk+1(a∣s)∝eQ^k(s,a)\pi_{k+1}(a\mid s)\propto e^{\widehat Q_k(s,a)}πk+1​(a∣s)∝eQ​k​(s,a); sample an expert trajectory τkE\tau^E_kτkE​ from D\mathcal DD and an agent trajectory τkA\tau^A_kτkA​ from πk+1\pi_{k+1}πk+1​; set θk+1=θk+α(h(θk;τkE)−h(θk;τkA))\theta_{k+1}=\theta_k+\alpha\big(h(\theta_k;\tau^E_k)-h(\theta_k;\tau^A_k)\big)θk+1​=θk​+α(h(θk​;τkE​)−h(θk​;τkA​)) with h(θ;τ)=∑tγt∇θr(st,at;θ)h(\theta;\tau)=\sum_t\gamma^t\nabla_\theta r(s_t,a_t;\theta)h(θ;τ)=∑t​γt∇θ​r(st​,at​;θ).

The assumptions are: (1) 0≤r≤Cr0\le r\le C_r0≤r≤Cr​; (2) under every policy the state chain mixes geometrically in total variation; (3) ∥∇θr∥≤Lr\|\nabla_\theta r\|\le L_r∥∇θ​r∥≤Lr​ and ∇θr\nabla_\theta r∇θ​r is LgL_gLg​-Lipschitz in θ\thetaθ.

Formalization targets

Goal: Theorem 1, explicit form

Write Lq=Lr/(1−γ)L_q=L_r/(1-\gamma)Lq​=Lr​/(1−γ), Lc=2LqLrCd∣S∣∣A∣/(1−γ)+2Lg/(1−γ)L_c=2L_qL_rC_d\sqrt{|\mathcal S||\mathcal A|}/(1-\gamma)+2L_g/(1-\gamma)Lc​=2Lq​Lr​Cd​∣S∣∣A∣​/(1−γ)+2Lg​/(1−γ), C1=4CdLq2∣S∣∣A∣C_1=4C_dL_q^2\sqrt{|\mathcal S||\mathcal A|}C1​=4Cd​Lq2​∣S∣∣A∣​, C0=∥Q0−Qθ0∥∞C_0=\|Q_0-Q_{\theta_0}\|_\inftyC0​=∥Q0​−Qθ0​​∥∞​ and

B=C0K(1−γ)+2γε(1−γ)2+4Lq21−γα.B=\frac{C_0}{K(1-\gamma)}+\frac{2\gamma\varepsilon}{(1-\gamma)^2}+\frac{4L_q^2}{1-\gamma}\alpha .B=K(1−γ)C0​​+(1−γ)22γε​+1−γ4Lq2​​α.

There is Cd>0C_d>0Cd​>0 depending only on (P,ρ,γ)(P,\rho,\gamma)(P,ρ,γ) such that every run with K≥1K\ge1K≥1 and α=α0/Kσ\alpha=\alpha_0/K^\sigmaα=α0​/Kσ, α0>0\alpha_0>0α0​>0, σ∈(0,1)\sigma\in(0,1)σ∈(0,1), satisfies, for every realization,

1K∑k=0K−1∥log⁡πk+1−log⁡πθk∥∞≤2ε+2B,\frac1K\sum_{k=0}^{K-1}\|\log\pi_{k+1}-\log\pi_{\theta_k}\|_\infty\le2\varepsilon+2B,K1​k=0∑K−1​∥logπk+1​−logπθk​​∥∞​≤2ε+2B,

and in expectation

1K∑k=0K−1E∥∇θL^(θk;D)∥2≤2LcLq2α+C1(B+ε)+E[L^(θK;D)−L^(θ0;D)]Kα.\frac1K\sum_{k=0}^{K-1}\mathbb E\|\nabla_\theta\widehat L(\theta_k;\mathcal D)\|^2\le2L_cL_q^2\alpha+C_1(B+\varepsilon)+\frac{\mathbb E[\widehat L(\theta_K;\mathcal D)-\widehat L(\theta_0;\mathcal D)]}{K\alpha}.K1​k=0∑K−1​E∥∇θ​L(θk​;D)∥2≤2Lc​Lq2​α+C1​(B+ε)+KαE[L(θK​;D)−L(θ0​;D)]​.

The printed Theorem 1 states only the rates O(K−1)+O(K−σ)+O(ε)O(K^{-1})+O(K^{-\sigma})+O(\varepsilon)O(K−1)+O(K−σ)+O(ε) and O(K−σ)+O(K−1+σ)+O(K−1)+O(ε)O(K^{-\sigma})+O(K^{-1+\sigma})+O(K^{-1})+O(\varepsilon)O(K−σ)+O(K−1+σ)+O(K−1)+O(ε); the goal is the explicit pair of inequalities its proof derives, from which those rates follow because L^\widehat LL is bounded.

Milestones

Lemma 2 (the gradient of L^\widehat LL), Lemma 5 (Lipschitz visitation measures), Lemma 3 (Lipschitz QθQ_\thetaQθ​ and smooth L^\widehat LL), Lemma 6 and Lemma 7 (approximate soft policy iteration), and the proof's displays (35), (40), (41), the averaged tracking bound after (44) and the averaged gradient bound on p. 24. The bias bound (48) is a further item of the mission without being a milestone.

Significance

The result. Theorem 1 is a finite-time guarantee for a single-loop structural estimator: with σ=1/2\sigma=1/2σ=1/2 both the policy-tracking error and the squared gradient of the surrogate likelihood decay as O(K−1/2)+O(ε)O(K^{-1/2})+O(\varepsilon)O(K−1/2)+O(ε). It shows that the inner dynamic program need not be solved to optimality at each likelihood evaluation, and it quantifies the price of approximate policy evaluation through ε\varepsilonε. The paper reports it as the first finite-time result for an algorithm for either the dynamic discrete choice problem or ML-IRL.

Formalizing it. The result is proved on paper; no part of it is machine-checked. A complete development would put on the platform an entropy-regularized MDP layer (soft values, the soft-Bellman fixed point, the soft-optimal policy), its Lipschitz dependence on a reward parameter, the gradient of a soft-optimal value through its fixed point, and a two-timescale analysis with a biased stochastic gradient. Each of these is reusable by later soft-RL, IRL and structural-estimation formalizations.

Difficulty

Neither iterate converges on its own. The policy πk+1\pi_{k+1}πk+1​ chases a target πθk\pi_{\theta_k}πθk​​ that moves whenever θ\thetaθ moves, so the standard linear convergence of soft policy iteration for a fixed reward does not apply directly. The stochastic gradient gkg_kgk​ samples from πk+1\pi_{k+1}πk+1​ rather than from πθk\pi_{\theta_k}πθk​​, so it is biased, and the standard analysis of unbiased stochastic gradient ascent does not apply either. The analysis must show that the tracking error contracts faster than the reward drifts, and bound the bias by the tracking error through the dependence of the state-action visitation measure on the policy. The gradient formula itself requires differentiating a soft-optimal value through a fixed point.

Formalization scope

The Lean development works with finite S\mathcal SS and A\mathcal AA (both nonempty), policies as functions S→A→R\mathcal S\to\mathcal A\to\mathbb RS→A→R, θ∈\theta\inθ∈ EuclideanSpace ℝ (Fin p), and discounted expectations as tsums over the occupation distribution of the published FoundationsML.ReinforcementLearning layer. ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is the maximum over (s,a)(s,a)(s,a); Lemma 5's ∥w−w′∥\|w-w'\|∥w−w′∥ is the Frobenius norm; total variation is half the ℓ1\ell_1ℓ1​ distance. QθQ_\thetaQθ​ is chosen by Classical.epsilon among fixed points of Λθ\Lambda_\thetaΛθ​, which exist and are unique because Λθ\Lambda_\thetaΛθ​ is a γ\gammaγ-contraction.

Disclosed deviations from the page: Assumption 3 is a hypothesis of the goal (Theorem 1 prints "Assumptions 1 - 2" but its proof uses Assumption 3); S\mathcal SS is finite, as the proof's ∣S∣∣A∣\sqrt{|\mathcal S||\mathcal A|}∣S∣∣A∣​ requires, although the title speaks of high-dimensional state spaces; Assumption 3 includes differentiability of rrr, which the page uses implicitly; ε≥0\varepsilon\ge0ε≥0 (the page writes ϵapp>0\epsilon_{\rm app}>0ϵapp​>0); Assumption 2 is stated as the mixing bound the paper derives from irreducibility and aperiodicity; and Algorithm 1's sampling is represented by the conditional means of the sampled gradients given the past, measurable with respect to a filtration, which is the only way the proof uses it.

The statement admits no trivializing reading: the run structure is inhabited (a sorry-free check exhibits a run), CdC_dCd​ is fixed before the reward, the data and the run, every expectation is of a bounded measurable function, the gradient is that of a differentiable function (Lemma 2), and the Frobenius norm is used where the page uses it rather than Lean's sup norm on function types.

Welcome contributions: the existence and uniqueness of the soft-Bellman fixed point, the performance-difference and Gibbs-variational facts behind Lemma 7, the visitation-measure Lipschitz bound of Lemma 5, and the fixed-point differentiation behind Lemma 2.

Selected references

  • S. Zeng, M. Hong, A. Garcia, Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees, Operations Research, 2025; arXiv:2210.01282v3, 2024. https://arxiv.org/abs/2210.01282
  • J. Rust, Optimal Replacement of GMC Bus Engines: An Empirical Model of Harold Zurcher, Econometrica 55(5), 1987. https://doi.org/10.2307/1911259
  • B. D. Ziebart, A. Maas, J. A. Bagnell, A. K. Dey, Maximum Entropy Inverse Reinforcement Learning, AAAI 2008. https://cdn.aaai.org/AAAI/2008/AAAI08-227.pdf
  • T. Haarnoja, H. Tang, P. Abbeel, S. Levine, Reinforcement Learning with Deep Energy-Based Policies, ICML 2017. https://arxiv.org/abs/1702.08165
18 thms1 active userReviewed
Dynamic ProgrammingMachine LearningOperations Research·Captain: mikedeng1

The Role of Lookahead and Approximate Policy Evaluation in Reinforcement Learning with Linear Value Function Approximation: Error Bound for Least-Squares Policy Iteration with LookaheadResearch Paper

Motivation

Approximate policy iteration is the template behind most practical reinforcement-learning systems for large state spaces: alternate between choosing a policy that looks good under the current value estimate and estimating the value of that policy, with errors in both steps. Game-playing systems such as AlphaZero add two ingredients to this template: a multi-step lookahead (tree search) when choosing the policy, and a linear or neural value-function approximation fitted from a few evaluated states. Classical error bounds for approximate policy iteration (Bertsekas and Tsitsiklis, 1996) assume that each evaluation error is bounded by a fixed δ\deltaδ; Efroni, Dalal, Scherrer and Mannor (2019) extended them to HHH-step lookahead policies. Neither analysis asks whether a fitted value function actually meets such a bound.

Winnicki, Lubars, Livesay and Srikant (arXiv:2109.13419, Operations Research, 2025) show that it need not: with least-squares fitting on a subset of states, the iterates of approximate policy iteration can diverge (their Section 3.2). They then prove that sufficient lookahead HHH and rollout length mmm restore convergence, with an explicit finite-time error bound. This mission formalizes that bound.

Setting

A Markov decision process (S,A,P,r,α)(\mathcal S,\mathcal A,P,r,\alpha)(S,A,P,r,α) has a finite set of states S\mathcal SS, a finite set of actions A\mathcal AA, transition probabilities Pij(a)P_{ij}(a)Pij​(a) of moving from state iii to state jjj under action aaa, mean rewards r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1], and a discount factor α∈(0,1)\alpha\in(0,1)α∈(0,1). A deterministic policy is a map μ:S→A\mu:\mathcal S\to\mathcal Aμ:S→A. Its value is the expected discounted reward

Jμ(s)=E[∑k≥0αkr(sk,μ(sk)) ∣ s0=s],J^\mu(s)=E\Big[\sum_{k\ge0}\alpha^k r(s_k,\mu(s_k))\,\Big|\,s_0=s\Big],Jμ(s)=E[k≥0∑​αkr(sk​,μ(sk​))​s0​=s],

and the optimal reward-to-go is J∗(s)=max⁡μJμ(s)J^*(s)=\max_\mu J^\mu(s)J∗(s)=maxμ​Jμ(s). Vectors J∈R∣S∣J\in\mathbb R^{|\mathcal S|}J∈R∣S∣ are compared in the sup norm ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​. The policy operator and the Bellman operator are

(TμJ)(s)=r(s,μ(s))+α∑jPsj(μ(s))J(j),(TJ)(s)=max⁡a{r(s,a)+α∑jPsj(a)J(j)}.(T_\mu J)(s)=r(s,\mu(s))+\alpha\sum_jP_{sj}(\mu(s))J(j),\qquad (TJ)(s)=\max_{a}\Big\{r(s,a)+\alpha\sum_jP_{sj}(a)J(j)\Big\}.(Tμ​J)(s)=r(s,μ(s))+αj∑​Psj​(μ(s))J(j),(TJ)(s)=amax​{r(s,a)+αj∑​Psj​(a)J(j)}.

Each state iii has a feature vector ϕ(i)∈Rd\phi(i)\in\mathbb R^dϕ(i)∈Rd; Φ\PhiΦ is the matrix with rows ϕ(i)\phi(i)ϕ(i). For a set of states D\mathcal DD, ΦD\Phi_{\mathcal D}ΦD​ keeps the rows indexed by D\mathcal DD and PD\mathcal P_{\mathcal D}PD​ selects the entries of a vector indexed by D\mathcal DD.

Algorithm 2 starts from an arbitrary J0J_0J0​ and, at iteration kkk, (i) picks a policy μk+1\mu_{k+1}μk+1​ with ∥THJk−Tμk+1TH−1Jk∥∞≤εLA\|T^HJ_k-T_{\mu_{k+1}}T^{H-1}J_k\|_\infty\le\varepsilon_{LA}∥THJk​−Tμk+1​​TH−1Jk​∥∞​≤εLA​ (an inexact HHH-step lookahead); (ii) forms the noisy return J^μk+1(i)=Tμk+1mTH−1Jk(i)+wk+1(i)\hat J^{\mu_{k+1}}(i)=T^m_{\mu_{k+1}}T^{H-1}J_k(i)+w_{k+1}(i)J^μk+1​(i)=Tμk+1​m​TH−1Jk​(i)+wk+1​(i) on an evaluation set Dk\mathcal D_kDk​; (iii) fits θk+1\theta_{k+1}θk+1​ by least squares on Dk\mathcal D_kDk​ and sets Jk+1=Φθk+1J_{k+1}=\Phi\theta_{k+1}Jk+1​=Φθk+1​. Assumption 1 asks that the features of Dk\mathcal D_kDk​ have rank ddd for every kkk and that ∥wk∥∞≤εPE\|w_k\|_\infty\le\varepsilon_{PE}∥wk​∥∞​≤εPE​. Under it the fit is linear, Jk+1=Mk+1J^μk+1J_{k+1}=\mathcal M_{k+1}\hat J^{\mu_{k+1}}Jk+1​=Mk+1​J^μk+1​ with M=Φ(ΦD⊤ΦD)−1ΦD⊤PD\mathcal M=\Phi(\Phi_{\mathcal D}^\top\Phi_{\mathcal D})^{-1}\Phi_{\mathcal D}^\top\mathcal P_{\mathcal D}M=Φ(ΦD⊤​ΦD​)−1ΦD⊤​PD​, and the paper defines

δFV=sup⁡k∥Mk∥∞,δapp=sup⁡k,μ∥MkJμ−Jμ∥∞,β=αm+H−1δFV,τ=αm+αm+H−11−αδFV+δapp+δFVεPE.\delta_{FV}=\sup_k\|\mathcal M_k\|_\infty,\qquad \delta_{app}=\sup_{k,\mu}\|\mathcal M_kJ^\mu-J^\mu\|_\infty,\qquad \beta=\alpha^{m+H-1}\delta_{FV},\qquad \tau=\frac{\alpha^m+\alpha^{m+H-1}}{1-\alpha}\delta_{FV}+\delta_{app}+\delta_{FV}\varepsilon_{PE}.δFV​=ksup​∥Mk​∥∞​,δapp​=k,μsup​∥Mk​Jμ−Jμ∥∞​,β=αm+H−1δFV​,τ=1−ααm+αm+H−1​δFV​+δapp​+δFV​εPE​.

Formalization targets

Goal: Theorem 1 (p. 14, eq. (10))

If m+H−1>log⁡(δFV)/log⁡(1/α)m+H-1>\log(\delta_{FV})/\log(1/\alpha)m+H−1>log(δFV​)/log(1/α), then under Assumption 1 every run of Algorithm 2 satisfies, for every k≥0k\ge0k≥0,

∥Jμk−J∗∥∞≤αkH1−α+2αH∥Jμ0−J0∥∞1−α kmax⁡(αH,β)k−1+2αHτ1−β+εLA(1−αH)(1−α).\|J^{\mu_k}-J^*\|_\infty\le\frac{\alpha^{kH}}{1-\alpha}+\frac{2\alpha^H\|J^{\mu_0}-J_0\|_\infty}{1-\alpha}\,k\max(\alpha^H,\beta)^{k-1}+\frac{2\alpha^H\frac{\tau}{1-\beta}+\varepsilon_{LA}}{(1-\alpha^H)(1-\alpha)}.∥Jμk​−J∗∥∞​≤1−ααkH​+1−α2αH∥Jμ0​−J0​∥∞​​kmax(αH,β)k−1+(1−αH)(1−α)2αH1−βτ​+εLA​​.

Milestones

In the order the proof uses them:

  1. Section 2: the Bellman equations Jμ=TμJμJ^\mu=T_\mu J^\muJμ=Tμ​Jμ (unique solution) and J∗=TJ∗J^*=TJ^*J∗=TJ∗ (eq. (2)); the contraction ∥TJ−J∗∥∞≤α∥J−J∗∥∞\|TJ-J^*\|_\infty\le\alpha\|J-J^*\|_\infty∥TJ−J∗∥∞​≤α∥J−J∗∥∞​; shift and monotonicity of TTT, TμT_\muTμ​ (eqs. (3)–(4)).
  2. Section 3.1, eq. (6): the closed form Jk+1=Mk+1J^μk+1J_{k+1}=\mathcal M_{k+1}\hat J^{\mu_{k+1}}Jk+1​=Mk+1​J^μk+1​ of the least-squares step.
  3. Appendix A, eq. (15): one lookahead step with evaluation error δk\delta_kδk​,
∥Jμk+1−J∗∥∞≤αH∥Jμk−J∗∥∞+2αHδk+εLA1−α.\|J^{\mu_{k+1}}-J^*\|_\infty\le\alpha^H\|J^{\mu_k}-J^*\|_\infty+\frac{2\alpha^H\delta_k+\varepsilon_{LA}}{1-\alpha}.∥Jμk+1​−J∗∥∞​≤αH∥Jμk​−J∗∥∞​+1−α2αHδk​+εLA​​.
  1. Proposition 1 (p. 13): the bound for Algorithm 3, an abstract scheme whose evaluation error at step kkk is at most δk\delta_kδk​, in three displays: the general bound, the bound under δk≤βkδ0+μ\delta_k\le\beta^k\delta_0+\muδk​≤βkδ0​+μ, and its limsup.
  2. Appendix B, eq. (19): for Algorithm 2, δk=∥Jk−Jμk∥∞\delta_k=\|J_k-J^{\mu_k}\|_\inftyδk​=∥Jk​−Jμk​∥∞​ satisfies δk≤βδk−1+τ\delta_k\le\beta\delta_{k-1}+\tauδk​≤βδk−1​+τ and, if β<1\beta<1β<1, δk≤βkδ0+τ/(1−β)\delta_k\le\beta^k\delta_0+\tau/(1-\beta)δk​≤βkδ0​+τ/(1−β).

Significance

Theorem 1 states a sufficient condition for convergence that does not depend on the size of the state space: lookahead plus rollout depth must exceed log⁡δFV/log⁡(1/α)\log\delta_{FV}/\log(1/\alpha)logδFV​/log(1/α), where δFV\delta_{FV}δFV​ depends only on the features and the evaluation sets. Paired with the divergence example of Section 3.2, it shows that lookahead is not merely a heuristic improvement but can be what makes approximate policy iteration with linear function approximation stable. Proposition 1 is a reusable interface: any policy-evaluation scheme whose errors satisfy a geometric-plus-floor bound inherits the same convergence guarantee; the paper's gradient-descent variant is obtained this way.

The result is proved on paper; it has not been machine-checked. The Prove2Me platform has the finite-MDP layer used here (transition kernels, policy values as discounted series, the Bellman optimality operator), exact modified policy iteration, and a one-step bound for greedy approximate policy iteration with QQQ-functions (H=1H=1H=1, no lookahead error). It has no lookahead bound, no least-squares value-function fit, and no finite-time bound for approximate policy iteration with function approximation. A complete development would add the Bellman equations for deterministic policies, the lookahead step (15), the least-squares projection identity, and the error recursion, all of which are reusable for other analyses of approximate dynamic programming.

Difficulty

The obvious argument fails at the evaluation step. Classical analyses treat ∥Jk−Jμk∥∞≤δ\|J_k-J^{\mu_k}\|_\infty\le\delta∥Jk​−Jμk​∥∞​≤δ as given; here the error is produced by the algorithm and fed back: the fitted JkJ_kJk​ is the input of the next lookahead, and the least-squares operator can amplify sup-norm errors by a factor δFV\delta_{FV}δFV​, which is at least 111 whenever d≥1d\ge1d≥1. The error recursion therefore contracts only when αm+H−1δFV<1\alpha^{m+H-1}\delta_{FV}<1αm+H−1δFV​<1. A second point is the lookahead step (15), which must hold for an arbitrary previous policy and an inexact lookahead, and rests on the increase of TnJμT^nJ^\muTnJμ in nnn rather than on contraction alone. Finally, combining the geometric decay of the evaluation errors with the αH\alpha^HαH-contraction of (15) requires a convolution estimate that yields the factor kmax⁡(αH,β)k−1k\max(\alpha^H,\beta)^{k-1}kmax(αH,β)k−1.

Formalization scope

States and actions are finite nonempty types; the transition kernel is the published IsTransitionKernel, JμJ^\muJμ is the published PolicyValue (a discounted series of expected rewards, not a fixed point of TμT_\muTμ​) of the point-mass policy at μ\muμ, TTT is the published BellmanOperator, and J∗J^*J∗ is the maximum of JμJ^\muJμ over the finitely many deterministic policies. Rewards enter only through their means r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1]. Vectors are functions S→R\mathcal S\to\mathbb RS→R with the sup norm; matrix norms are Mathlib's ℓ∞\ell^\inftyℓ∞ operator norm (maximum absolute row sum). The rank condition of Assumption 1 is det⁡(ΦDk⊤ΦDk)≠0\det(\Phi_{\mathcal D_k}^\top\Phi_{\mathcal D_k})\ne0det(ΦDk​⊤​ΦDk​​)=0 for every kkk; Lean's matrix inverse is zero on singular matrices, so no statement relies on it without this hypothesis.

Conventions fixed where the page is loose: Algorithms 2 and 3 are predicates on whole runs, quantified over every admissible lookahead policy, noise and minimiser. μ0\mu_0μ0​, which Algorithm 2 never produces, is free, so every bound holds for every deterministic μ0\mu_0μ0​. Mk\mathcal M_kMk​ is the operator of Dk\mathcal D_kDk​ (eq. (6) calls it Mk+1\mathcal M_{k+1}Mk+1​; the suprema agree). δapp\delta_{app}δapp​ is the supremum over all kkk and all deterministic policies. Algorithm 3 is stated with ∥Jk−Jμk∥∞≤δk\|J_k-J^{\mu_k}\|_\infty\le\delta_k∥Jk​−Jμk​∥∞​≤δk​, the index of (15) and Appendix B, and without the representation Jk=ΦθkJ_k=\Phi\theta_kJk​=Φθk​, which Proposition 1 does not use. Proposition 1's first display divides by 1−αH−11-\alpha^{H-1}1−αH−1 and is stated for H≥2H\ge2H≥2; the other results take H≥1H\ge1H≥1. The noise bound ∥wk∥∞≤εPE\|w_k\|_\infty\le\varepsilon_{PE}∥wk​∥∞​≤εPE​ is imposed on the whole vector instead of setting wk(i)=0w_k(i)=0wk​(i)=0 off Dk\mathcal D_kDk​; off Dk\mathcal D_kDk​ it constrains only entries the run never reads. The limsup is stated as "for every ε>0\varepsilon>0ε>0, eventually ≤\le≤ bound +ε+\varepsilon+ε". The hypothesis of Theorem 1 is kept with the real logarithm as printed; for δFV>0\delta_{FV}>0δFV​>0 it is equivalent to β<1\beta<1β<1, and when δFV=0\delta_{FV}=0δFV​=0 (possible only if d=0d=0d=0) it reads m+H−1>0m+H-1>0m+H−1>0.

A formalization that fixes the lookahead policy to an exact argmax, the noise to zero, or μ0\mu_0μ0​ to a convenient policy proves a special case and is ruled out; so is defining JμJ^\muJμ or J∗J^*J∗ as a fixed point, which would make eq. (2) definitional.

Contributions welcome: proofs of the Section 2 milestones from the series definition of JμJ^\muJμ, the least-squares identity (6), the lookahead step (15), and the recursions of Proposition 1 and Appendix B. Theorem 2 of the paper (gradient-descent fitting) is not part of this mission: its Assumption 2 places no lower bound on the step size, and the statement fails for negative step sizes.

Selected references

  • A. Winnicki, J. Lubars, M. Livesay, R. Srikant, The Role of Lookahead and Approximate Policy Evaluation in Reinforcement Learning with Linear Value Function Approximation, Operations Research, 2025; arXiv:2109.13419v7. https://arxiv.org/abs/2109.13419
  • Y. Efroni, G. Dalal, B. Scherrer, S. Mannor, How to Combine Tree-Search Methods in Reinforcement Learning, AAAI, 2019. https://arxiv.org/abs/1809.01843
  • D. P. Bertsekas, J. N. Tsitsiklis, Neuro-Dynamic Programming, Athena Scientific, 1996.
  • D. P. Bertsekas, Reinforcement Learning and Optimal Control, Athena Scientific, 2019.
  • M. G. Lagoudakis, R. Parr, Least-Squares Policy Iteration, Journal of Machine Learning Research 4, 2003. https://www.jmlr.org/papers/v4/lagoudakis03a.html
16 thms1 active userReviewed
Bandit AlgorithmsMachine LearningOperations Research+1·Captain: mikedeng1

Corruption-Robust Exploration in Episodic Reinforcement Learning II: Uniformly Action-Eliminating Algorithms Suffer Expected Regret at Least K/8 for K ≤ A^H/4Research Paper

Why action elimination is the question

In stochastic multi-armed bandits, a robust way to explore is action elimination: keep confidence intervals for every arm, discard an arm once its upper confidence bound falls below another arm's lower confidence bound, and sample uniformly among the arms that survive. Uniform sampling is what makes the first corruption-robust bandit algorithm work (Lykouris, Mirrokni & Paes Leme, STOC 2018): an adversary that corrupts a few rounds cannot steer a learner whose choice among surviving arms is random.

Lykouris, Simchowitz, Slivkins and Sun (arXiv:1911.08689v4, Mathematics of Operations Research) extend corruption-robust exploration to episodic reinforcement learning. Their algorithm also maintains active sets of actions, but it does not play uniformly among them; it follows an optimistic (UCB) policy restricted to the active sets. Section 7 of the paper explains why: Theorem 7.1 shows that the bandit recipe, transplanted verbatim to episodic MDPs, suffers linear regret for exponentially many episodes, even when every confidence statement it makes is correct. This mission formalizes that lower bound.

Setting

An episodic environment E=(X,A,H)\mathscr E=(\mathcal X,\mathcal A,H)E=(X,A,H) has a finite state set X\mathcal XX, a finite action set A\mathcal AA with ∣A∣=A|\mathcal A|=A∣A∣=A, and a horizon HHH. A stochastic problem instance M=(p0,p,Drew)\mathcal M=(p_0,p,\mathcal D_{\mathrm{rew}})M=(p0​,p,Drew​) on it fixes an initial state law p0p_0p0​, a transition kernel p(⋅∣x,a)p(\cdot\mid x,a)p(⋅∣x,a) (the same at every stage), and reward laws Drew(x,a)\mathcal D_{\mathrm{rew}}(x,a)Drew​(x,a) on [0,1][0,1][0,1] with means r⋆(x,a)r^\star(x,a)r⋆(x,a). The optimal Q-function and value are defined backwards from VH+1⋆≡0V^\star_{H+1}\equiv0VH+1⋆​≡0 by Qh⋆(x,a)=r⋆(x,a)+∑x′p(x′∣x,a)Vh+1⋆(x′)Q^\star_h(x,a)=r^\star(x,a)+\sum_{x'}p(x'\mid x,a)V^\star_{h+1}(x')Qh⋆​(x,a)=r⋆(x,a)+∑x′​p(x′∣x,a)Vh+1⋆​(x′) and Vh⋆(x)=max⁡aQh⋆(x,a)V^\star_h(x)=\max_aQ^\star_h(x,a)Vh⋆​(x)=maxa​Qh⋆​(x,a); the optimal actions are πh⋆(x)={a:Qh⋆(x,a)=Vh⋆(x)}\pi^\star_h(x)=\{a:Q^\star_h(x,a)=V^\star_h(x)\}πh⋆​(x)={a:Qh⋆​(x,a)=Vh⋆​(x)}, and V⋆=∑xp0(x)V1⋆(x)V^\star=\sum_xp_0(x)V^\star_1(x)V⋆=∑x​p0​(x)V1⋆​(x).

A Q-supervisor T=(Qˉ,Q‾,A,πucb)\mathcal T=(\bar Q,\underline Q,\mathscr A,\pi^{\mathrm{ucb}})T=(Qˉ​,Q​,A,πucb) holds estimates Qˉh(x,a),Q‾h(x,a)∈[0,H]\bar Q_h(x,a),\underline Q_h(x,a)\in[0,H]Qˉ​h​(x,a),Q​h​(x,a)∈[0,H], active sets Ah(x)⊆A\mathscr A_h(x)\subseteq\mathcal AAh​(x)⊆A, and a policy πucb\pi^{\mathrm{ucb}}πucb greedy for Qˉ\bar QQˉ​. It is confidence-admissible for M\mathcal MM (Definition 4.1) if πh⋆(x)⊆Ah(x)\pi^\star_h(x)\subseteq\mathscr A_h(x)πh⋆​(x)⊆Ah​(x) and Q‾h≤Qh⋆≤Qˉh\underline Q_h\le Q^\star_h\le\bar Q_hQ​h​≤Qh⋆​≤Qˉ​h​ everywhere. Its plausible sets are

Ahplaus(x)={a∈Ah(x): Qˉh(x,a)≥Q‾h(x,a′)  ∀a′∈Ah(x)}.\mathscr A^{\mathrm{plaus}}_h(x)=\{a\in\mathscr A_h(x):\ \bar Q_h(x,a)\ge\underline Q_h(x,a')\ \ \forall a'\in\mathscr A_h(x)\}.Ahplaus​(x)={a∈Ah​(x): Qˉ​h​(x,a)≥Q​h​(x,a′)  ∀a′∈Ah​(x)}.

An algorithm is uniformly action-eliminating if before each episode kkk it outputs a Q-supervisor Tk\mathcal T_kTk​, possibly at random and depending on everything observed so far, and at each stage hhh plays ak;ha_{k;h}ak;h​ uniformly at random from Ak;hplaus(xk;h)\mathscr A^{\mathrm{plaus}}_{k;h}(x_{k;h})Ak;hplaus​(xk;h​), independently across stages. It is uniformly admissible for E\mathscr EE if for every instance on E\mathscr EE its Q-supervisors are confidence-admissible with probability at least 12\tfrac1221​. The regret over KKK episodes is RegretKM=∑k=1K(V⋆−VM,πk)\mathrm{Regret}^{\mathcal M}_K=\sum_{k=1}^K\bigl(V^\star-V^{\mathcal M,\pi_k}\bigr)RegretKM​=∑k=1K​(V⋆−VM,πk​), with πk\pi_kπk​ the uniformly-at-random policy of episode kkk.

Formalization targets

Goal: Theorem 7.1

For every H≥1H\ge1H≥1 and A≥2A\ge2A≥2 there is an instance M\mathcal MM on an environment with ∣X∣=H+1|\mathcal X|=H+1∣X∣=H+1 and ∣A∣=A|\mathcal A|=A∣A∣=A such that every uniformly action-eliminating, uniformly admissible algorithm satisfies

K≤AH4⟹EM[RegretKM]≥K8.K\le\frac{A^H}{4}\quad\Longrightarrow\quad\mathbb E^{\mathcal M}\bigl[\mathrm{Regret}^{\mathcal M}_K\bigr]\ge\frac K8 .K≤4AH​⟹EM[RegretKM​]≥8K​.

Milestones (Appendix A)

The witness is the combination lock M\mathcal MM: states x(0),…,x(H)x^{(0)},\dots,x^{(H)}x(0),…,x(H), action 111 advances x(h)→x(h+1)x^{(h)}\to x^{(h+1)}x(h)→x(h+1), any other action falls into the sink x(0)x^{(0)}x(0), and the only reward is 111 for action 111 at x(H)x^{(H)}x(H). Its twin M0\mathcal M_0M0​ has the same transitions and zero rewards. The milestones are the steps of the paper's proof:

  1. (A.1) M\mathcal MM and M0\mathcal M_0M0​ induce the same law on histories in which (1,…,1)(1,\dots,1)(1,…,1) was never played.
  2. (A.2) If no action is eliminated, the combination is played with probability A−HA^{-H}A−H.
  3. Observation 2 If no action is eliminated, V⋆−VM,πk=1−A−HV^\star-V^{\mathcal M,\pi_k}=1-A^{-H}V⋆−VM,πk​=1−A−H.
  4. Observation 3 Admissibility for M0\mathcal M_0M0​ forces no elimination.
  5. Union bound PM0[⋂k(Ekcombi)c∩⋂kEkadm]≥PM0[⋂kEkadm]−∑kPM0[Ekcombi∩Ekadm]\mathbb P^{\mathcal M_0}[\bigcap_k(\mathcal E^{\mathrm{combi}}_k)^c\cap\bigcap_k\mathcal E^{\mathrm{adm}}_k]\ge\mathbb P^{\mathcal M_0}[\bigcap_k\mathcal E^{\mathrm{adm}}_k]-\sum_k\mathbb P^{\mathcal M_0}[\mathcal E^{\mathrm{combi}}_k\cap\mathcal E^{\mathrm{adm}}_k]PM0​[⋂k​(Ekcombi​)c∩⋂k​Ekadm​]≥PM0​[⋂k​Ekadm​]−∑k​PM0​[Ekcombi​∩Ekadm​].
  6. Chain (i)–(iii) EM[RegretKM]≥(1−A−H)K PM0[⋂k(Ekcombi)c∩⋂kEkadm]\mathbb E^{\mathcal M}[\mathrm{Regret}^{\mathcal M}_K]\ge(1-A^{-H})K\,\mathbb P^{\mathcal M_0}[\bigcap_k(\mathcal E^{\mathrm{combi}}_k)^c\cap\bigcap_k\mathcal E^{\mathrm{adm}}_k]EM[RegretKM​]≥(1−A−H)KPM0​[⋂k​(Ekcombi​)c∩⋂k​Ekadm​].

Significance

The theorem separates two exploration principles that coincide in bandits. For KKK episodes of uniform elimination the regret is Ω(K)\Omega(K)Ω(K) until KKK is of order AHA^HAH, while optimistic exploration over the same confidence sets attains regret polynomial in HHH, ∣X∣|\mathcal X|∣X∣, ∣A∣|\mathcal A|∣A∣ and K\sqrt KK​ (Azar, Osband & Munos, ICML 2017). It is the reason the paper's SuperVIsed.C algorithm combines active sets with a UCB policy rather than sampling uniformly, and it applies to any uniformly admissible construction of the confidence bounds, so better estimators do not escape it.

The result is proved in the paper (Appendix A); it is not formalized anywhere. A machine-checked version adds a precise account of what "algorithm" means here (a learner that may use all past observations and internal randomness), of the probability space of a whole run, and of the change-of-instance argument (A.1), which is the template for many reinforcement-learning lower bounds.

Difficulty

The arithmetic of the final step is elementary. The work is in the probability space: the run of an adaptive learner over KKK episodes is a sequential composition of the learner's choice of supervisor, the episode's states, actions and rewards, and the learner's update. Equation (A.1) needs a likelihood argument on this composed law: on histories that never play (1,…,1)(1,\dots,1)(1,…,1), every factor of the two run laws agrees, because the two instances differ only at a state–action pair such histories never visit. Equation (A.2) needs that, conditionally on the supervisor of episode kkk, the episode's actions are independent and uniform. Neither can be read off the per-episode description; both require induction over episodes on the run law.

A tempting shortcut is to apply admissibility one episode at a time. It does not suffice: the proof needs the joint event ⋂k≤KEkadm\bigcap_{k\le K}\mathcal E^{\mathrm{adm}}_k⋂k≤K​Ekadm​ to have probability at least 12\tfrac1221​ (see the scope section).

Formalization scope

  • Representation. States are Fin (H+1), actions Fin A; the paper's action 111 is 0, the sink is state 0. Stages and episodes are 0-based. Transitions, initial laws, rewards, supervisor laws and action laws are PMFs. The value V⋆V^\starV⋆ is the backward recursion on p. 8, written on the number of remaining stages since the kernel is stage-independent.
  • The algorithm. A learner is a map from the observed history (past Q-supervisors and episodes with their states, actions and rewards, oldest first) to a discrete law of the next Q-supervisor. It sees nothing of the instance beyond these observations. If a plausible set is empty, the action is drawn uniformly from A\mathcal AA; this only enlarges the class of algorithms.
  • Uniform admissibility (pinned). §7 says each Q-supervisor is admissible "with probability at least 1/2"; the proof uses P[⋂k=1KEkadm]≥12\mathbb P[\bigcap_{k=1}^K\mathcal E^{\mathrm{adm}}_k]\ge\tfrac12P[⋂k=1K​Ekadm​]≥21​ ("By assumption", p. 39). The formalization uses the joint event, for every instance on the environment, over the same KKK episodes as the regret.
  • Unstated parts of the construction (pinned). Both instances start at x(1)x^{(1)}x(1); actions at x(H)x^{(H)}x(H) lead to the sink. The page states neither. The start is what makes the combination have probability A−HA^{-H}A−H; the second choice is never used because x(H)x^{(H)}x(H) is reached only at the last stage.
  • Reward laws of the instances quantified in the hypothesis are discrete; this weakens the hypothesis and strengthens the theorem.
  • Not trivial. The hypothesis is satisfiable: the learner that always outputs Qˉ≡H\bar Q\equiv HQˉ​≡H, Q‾≡0\underline Q\equiv0Q​≡0, A≡A\mathscr A\equiv\mathcal AA≡A is uniformly admissible for every KKK. A statement in which the instance is fixed in the admissibility hypothesis, or in which admissibility is relative to M\mathcal MM rather than to every instance, would be a different theorem.
  • Not posed. The paper's headline upper bounds (Theorems 2.1, 2.2) are stated with ≲\lesssim≲ and belong to a separate mission of this series.

Welcome contributions: lemmas on the run law of an adaptive learner (marginals of the kkk-th supervisor, conditional independence of episode kkk given its supervisor), which are reusable for other episodic lower bounds.

Selected references

  • T. Lykouris, M. Simchowitz, A. Slivkins, W. Sun, Corruption-robust exploration in episodic reinforcement learning, Mathematics of Operations Research; arXiv:1911.08689v4, 2023. https://arxiv.org/abs/1911.08689
  • T. Lykouris, V. Mirrokni, R. Paes Leme, Stochastic bandits robust to adversarial corruptions, STOC 2018. https://arxiv.org/abs/1803.09353
  • M. G. Azar, I. Osband, R. Munos, Minimax regret bounds for reinforcement learning, ICML 2017. https://arxiv.org/abs/1703.05449
10 thms1 active userReviewed
Bandit AlgorithmsMachine LearningOperations Research·Captain: mikedeng1

Corruption-Robust Exploration in Episodic Reinforcement Learning I: Regret of SuperVIsed.C Is Bounded by the Bonus Sums of Its Critically Tolerant and Robust Base LearnersResearch Paper

Motivation

Reinforcement-learning algorithms with regret guarantees, such as UCBVI (Azar, Osband & Munos 2017), assume that every episode is generated by the same Markov decision process. In practice a fraction of episodes can be generated by something else: fraudulent users of a recommender, sensor faults, a strategic participant. Corruption-robust learning asks for regret that degrades gracefully with the number CCC of corrupted episodes, without knowing CCC in advance.

Timeline. For stochastic multi-armed bandits, Lykouris, Mirrokni & Paes Leme (STOC 2018) introduced the corruption model and a multi-layer active arm elimination algorithm whose regret grows linearly in CCC; Gupta, Koren & Talwar (COLT 2019) improved the dependence to additive. For episodic reinforcement learning, Lykouris, Simchowitz, Slivkins & Sun (abstract at COLT 2021; Mathematics of Operations Research 2025) gave SuperVIsed.C, the first algorithm with sublinear regret under any deviation from i.i.d. episodes in this setting: in tabular MDPs with TTT steps its regret is of order C H3SATC\,H^3\sqrt{SAT}CH3SAT​ up to logarithmic factors and lower-order terms (their Theorem 2.1), with an analogous bound for linear MDPs, without knowing CCC. Their analysis isolates a deterministic regret guarantee, Theorem 4.1, from which the headline bounds follow by concentration.

Setting

An episodic tabular MDP has a finite state set X\mathcal XX, a finite nonempty action set A\mathcal AA and a horizon H≥1H\ge1H≥1. The nominal MDP consists of an initial distribution p0⋆p^\star_0p0⋆​, stage-independent transition probabilities p⋆(x′∣x,a)p^\star(x'\mid x,a)p⋆(x′∣x,a) and mean rewards r⋆(x,a)∈[0,1]r^\star(x,a)\in[0,1]r⋆(x,a)∈[0,1]. With VH+1⋆≡0V^\star_{H+1}\equiv0VH+1⋆​≡0, the optimal values are Qh⋆(x,a)=r⋆(x,a)+p⋆(x,a)⊤Vh+1⋆Q^\star_h(x,a)=r^\star(x,a)+p^\star(x,a)^\top V^\star_{h+1}Qh⋆​(x,a)=r⋆(x,a)+p⋆(x,a)⊤Vh+1⋆​ and Vh⋆(x)=max⁡aQh⋆(x,a)V^\star_h(x)=\max_aQ^\star_h(x,a)Vh⋆​(x)=maxa​Qh⋆​(x,a), and V⋆=Ex1∼p0⋆[V1⋆(x1)]V^\star=E_{x_1\sim p^\star_0}[V^\star_1(x_1)]V⋆=Ex1​∼p0⋆​​[V1⋆​(x1​)]. A randomized Markovian policy π\piπ is a probability distribution over finitely many deterministic Markov policies, and VπV^\piVπ is its expected total reward.

A Q-supervisor T=(Qˉ,Q‾,A,πucb)\mathcal T=(\bar Q,\underline Q,\mathcal A,\pi^{\mathrm{ucb}})T=(Qˉ​,Q​,A,πucb) holds upper and lower estimates of Q⋆Q^\starQ⋆, active sets Ah(x)\mathcal A_h(x)Ah​(x) of actions, and a UCB policy maximizing Qˉ\bar QQˉ​ over the active set. It is confidence-admissible if Q‾≤Q⋆≤Qˉ\underline Q\le Q^\star\le\bar QQ​≤Q⋆≤Qˉ​ and every optimal action is active. A policy is Q-supervised if it plays only plausible actions, those a∈Ah(x)a\in\mathcal A_h(x)a∈Ah​(x) with Qˉh(x,a)≥Q‾h(x,a′)\bar Q_h(x,a)\ge\underline Q_h(x,a')Qˉ​h​(x,a)≥Q​h​(x,a′) for all active a′a'a′. The Bellman errors are Bell‾h=Qˉh−(r⋆+p⋆⊤Vˉh+1)\overline{\mathbf{Bell}}_h=\bar Q_h-(r^\star+p^{\star\top}\bar V_{h+1})Bellh​=Qˉ​h​−(r⋆+p⋆⊤Vˉh+1​) and Bell‾h=Q‾h−(r⋆+p⋆⊤V‾h+1)\underline{\mathbf{Bell}}_h=\underline Q_h-(r^\star+p^{\star\top}\underline V_{h+1})Bell​h​=Q​h​−(r⋆+p⋆⊤V​h+1​). A policy has UCB visitation ratio at most ρ\rhoρ if switching to πucb\pi^{\mathrm{ucb}}πucb at any stage hhh multiplies the probability of any later state-action pair by at most ρ\rhoρ. A model-estimate (r^,p^,b)(\hat r,\hat p,b)(r^,p^​,b) is valid if the bonus bbb bounds ∣r^−r⋆+(p^−p⋆)⊤Vh+1⋆∣|\hat r-r^\star+(\hat p-p^\star)^\top V^\star_{h+1}|∣r^−r⋆+(p^​−p⋆)⊤Vh+1⋆​∣.

SuperVIsed.C runs ℓmax⁡\ell_{\max}ℓmax​ base learners. Learner ℓ\ellℓ runs a two-estimate value iteration, UCBVI-BASE, with a global model-estimate (all data, bonus inflated by 2ℓ2^\ell2ℓ) and a subsampled one, inside the active sets handed down by learner ℓ+1\ell+1ℓ+1; it returns its base policy πℓbase\pi^{\mathrm{base}}_\ellπℓbase​ and the active sets for learner ℓ−1\ell-1ℓ−1. In each episode a nondecreasing random layer schedule (ℓ1,…,ℓH)(\ell_1,\dots,\ell_H)(ℓ1​,…,ℓH​) decides whose base policy is played at each stage; the master policy πmaster\pi^{\mathrm{master}}πmaster is the resulting mixture, and πℓmaster\pi^{\mathrm{master}}_\ellπℓmaster​, π≤ℓmaster\pi^{\mathrm{master}}_{\le\ell}π≤ℓmaster​ are its conditionings on the final layer, with probabilities qℓq_\ellqℓ​, q≤ℓq_{\le\ell}q≤ℓ​.

Formalization targets

Goal: Theorem 4.1

With ℓ⋆=min⁡{ℓ≥1:2ℓ≥C}\ell_\star=\min\{\ell\ge1:2^\ell\ge C\}ℓ⋆​=min{ℓ≥1:2ℓ≥C} and expected bonus sums Δk,ℓ\Delta_{k,\ell}Δk,ℓ​ (subsampled, along πk,ℓmaster\pi^{\mathrm{master}}_{k,\ell}πk,ℓmaster​) and Δk,≤ℓ⋆\Delta_{k,\le\ell_\star}Δk,≤ℓ⋆​​ (global, along πk,≤ℓ⋆master\pi^{\mathrm{master}}_{k,\le\ell_\star}πk,≤ℓ⋆​master​): if the global and subsampled model-estimates of every learner ℓ≥ℓ⋆\ell\ge\ell_\starℓ≥ℓ⋆​ are valid in every episode, then

CH+∑k=1K(V⋆−Vπkmaster)≤CH+8eH2∑ℓ>ℓ⋆ℓ qℓ∑kΔk,ℓ+8eCH2log⁡2(2C) q≤ℓ⋆∑kΔk,≤ℓ⋆.CH+\sum_{k=1}^K\big(V^\star-V^{\pi^{\mathrm{master}}_k}\big)\le CH+8eH^2\sum_{\ell>\ell_\star}\ell\,q_\ell\sum_k\Delta_{k,\ell}+8eCH^2\log_2(2C)\,q_{\le\ell_\star}\sum_k\Delta_{k,\le\ell_\star}.CH+k=1∑K​(V⋆−Vπkmaster​)≤CH+8eH2ℓ>ℓ⋆​∑​ℓqℓ​k∑​Δk,ℓ​+8eCH2log2​(2C)q≤ℓ⋆​​k∑​Δk,≤ℓ⋆​​.

The left side is the paper's upper bound (2.2) on the regret. The statement leaves the estimates arbitrary apart from their ranges and validity, so it holds for every data realization.

Milestones

The milestones follow the proof: the value decomposition over final layers (Lemma 4.4), admissibility from validity (Lemma 4.6), supervision of the master policies (Lemma 4.5), the Bellman-error decompositions (Lemma D.1, Propositions 4.1 and 4.2), the bonus bound on Bellman errors (Lemma 4.7), and the schedule estimates (Claims 4.8, 4.9 and Lemma 4.10).

Significance

Theorem 4.1 is the explicit core of the paper's results: Theorems 2.1 and 2.2, stated only up to constant and logarithmic factors, follow from it by bounding the bonus sums. Its proof architecture, which supervises less robust learners with more robust ones and bounds their mismatch through the visitation ratio, is independent of the tabular setting; the paper applies it to linear MDPs as well.

The result is proved in the paper; no machine-checked proof exists. Formalizing it requires a fully explicit account of the master policy as a mixture over schedules, of concatenated policies, and of the step of Proposition 4.2 from fictitious trajectories to real ones. Several printed constants and statements need correction, which the formal statements record (see the scope section).

Difficulty

The obvious argument, optimism plus the Bellman-error decomposition of UCBVI, fails because the master policy does not play the UCB policy of any single learner. The regret of a supervised but non-greedy policy is controlled only along fictitious trajectories that switch to the UCB policy (Proposition 4.1), and turning those back into the policy's own trajectories needs a bound on the visitation ratio that holds for every schedule prefix of a mixture, not only for marginal layer probabilities. A second difficulty is bookkeeping: nested active sets, two estimates per learner, and conditioning the schedule on its final layer.

Formalization scope

  • Representation. Finite types X, A with [Nonempty A]; stages 0-based (the paper's stage hhh is Lean's h - 1, terminal values at index H); policies ℕ → X → A; randomized policies as finite weighted families of deterministic ones; trajectory laws as finite products, values and occupancies as finite sums; schedules Fin H → Fin ℓmax. Rewards enter through their mean r⋆r^\starr⋆; the regret is the bound (2.2). Logarithms are base 2.
  • Pinned departures from the page, each disclosed in the item's note. (1) 8eH28eH^28eH2 in place of the printed 4eH24eH^24eH2, the constant the printed proof produces. (2) Positive parts in Proposition 4.2 and in the summands of Δ\DeltaΔ: Proposition 4.2 is false as printed when Bellman errors are negative. (3) Lemma 4.5 assumes admissibility of the supervising learner, without which it is false. (4) The UCB policy maximizes over the active set (Algorithm 2), for every argmax selector; an empty filtered active set is replaced by the learner's own, which never happens for admissible learners. (5) Estimated transitions are probability vectors, as in the tabular setting.
  • No trivialization. The schedule weights, qℓq_\ellqℓ​ and the master mixtures are computed from the schedule (3.3), never free inputs; validity is satisfiable (exact estimates with zero bonus are valid); the visitation ratio is cross-multiplied with ρ≥1\rho\ge1ρ≥1.
  • Not posed. Theorems 2.1, 2.2 and 5.1 (bounds up to ≲\lesssim≲), the concentration lemmas of §5–6, and the adversarial regret (2.1).
  • Reusable infrastructure. Finite-horizon tabular MDPs with mixtures of deterministic policies, concatenation and occupancy measures; Q-supervisors and Bellman errors. Contributions of proofs of any milestone are welcome, and the schedule lemmas (Claims 4.8, 4.9, Lemma 4.10) are independent of the rest.

Selected references

  • T. Lykouris, M. Simchowitz, A. Slivkins, W. Sun, Corruption-robust exploration in episodic reinforcement learning, Mathematics of Operations Research, 2025; arXiv:1911.08689v4. https://arxiv.org/abs/1911.08689
  • M. G. Azar, I. Osband, R. Munos, Minimax regret bounds for reinforcement learning, ICML 2017. https://arxiv.org/abs/1703.05449
  • T. Lykouris, V. Mirrokni, R. Paes Leme, Stochastic bandits robust to adversarial corruptions, STOC 2018. https://arxiv.org/abs/1803.09353
  • A. Gupta, T. Koren, K. Talwar, Better algorithms for stochastic bandits with adversarial corruptions, COLT 2019. https://arxiv.org/abs/1902.08647
14 thms1 active userReviewed
🏆Completed
Markov ChainProbabilityStatistics+1·Captain: Wenqian Xing

Estimation of Treatment Effects Under Nonstationarity via the Truncated Policy Gradient EstimatorResearch Paper

Why short-horizon outcome windows

Randomized experiments (A/B tests) on ride-sharing marketplaces, recommendation systems and digital-health services assign each arriving user to treatment or control. The assignment changes the system state seen by later users, so observations are not independent: this is temporal interference, or carryover. The difference-in-means estimator ignores it, and in Markovian models its bias can be as large as the treatment effect itself (Farias, Li, Peng, Zheng 2022; Hu, Wager 2022). Corrections based on off-policy evaluation or on differences of QQQ-values assume a stationary environment, while real systems have time-varying dynamics and the experimenter observes a single trajectory.

Johari, Peng and Xing propose the truncated policy gradient (TPG) estimator: each instantaneous outcome in the difference-in-means estimator is replaced by the sum of the next k+1k+1k+1 outcomes. The paper shows that this estimates, without bias, the derivative of a truncated policy value, and derives bias and variance bounds, a central limit theorem and a consistent variance estimator in nonstationary Markovian environments. This mission formalizes those statements.

Setting

Time is t=0,1,…,T−1t=0,1,\dots,T-1t=0,1,…,T−1 (the paper's time t+1t+1t+1). The state space SSS is finite and the action Zt∈{0,1}Z_t\in\{0,1\}Zt​∈{0,1} is control or treatment. For each time ttt and action zzz there is a transition matrix PztP_z^tPzt​ with P(Xt+1=x′∣Xt=x,Zt=z)=Pzt(x,x′)\mathbb P(X_{t+1}=x'\mid X_t=x,Z_t=z)=P_z^t(x,x')P(Xt+1​=x′∣Xt​=x,Zt​=z)=Pzt​(x,x′); the matrices may change arbitrarily with ttt, which is the nonstationarity. The initial state X0X_0X0​ has distribution ρ\rhoρ. The reward YtY_tYt​ is drawn from a distribution R(⋅∣Xt,Zt)R(\cdot\mid X_t,Z_t)R(⋅∣Xt​,Zt​) on R\mathbb RR, independently of everything else given (Xt,Zt)(X_t,Z_t)(Xt​,Zt​), and R([−M,M]∣x,z)=1R([-M,M]\mid x,z)=1R([−M,M]∣x,z)=1 for all x,zx,zx,z. Write r(x,z)=∫y R(dy∣x,z)r(x,z)=\int y\,R(dy\mid x,z)r(x,z)=∫yR(dy∣x,z).

The policy πθ\pi_\thetaπθ​ assigns treatment with probability θ\thetaθ at every time, independently of everything else. π1\pi_1π1​ is all-treatment, π0\pi_0π0​ is all-control, and the experiment runs π1/2\pi_{1/2}π1/2​. Write Pθt=θP1t+(1−θ)P0tP_\theta^t=\theta P_1^t+(1-\theta)P_0^tPθt​=θP1t​+(1−θ)P0t​ and Eθ\mathbb E_\thetaEθ​ for expectation under πθ\pi_\thetaπθ​. The value function and the global average treatment effect (GATE) are

J(θ)=1T∑t=0T−1Eθ[Yt],τ=J(1)−J(0).J(\theta)=\frac1T\sum_{t=0}^{T-1}\mathbb E_\theta[Y_t],\qquad \tau=J(1)-J(0).J(θ)=T1​t=0∑T−1​Eθ​[Yt​],τ=J(1)−J(0).

The TPG estimator with truncation size kkk is

τ^k=1T∑u=0T−1(1{Zu=1}1/2−1{Zu=0}1/2)∑t=umin⁡(u+k, T−1)Yt,\widehat\tau_k=\frac1T\sum_{u=0}^{T-1}\Bigl(\frac{\mathbf 1\{Z_u=1\}}{1/2}-\frac{\mathbf 1\{Z_u=0\}}{1/2}\Bigr)\sum_{t=u}^{\min(u+k,\,T-1)}Y_t ,τk​=T1​u=0∑T−1​(1/21{Zu​=1}​−1/21{Zu​=0}​)t=u∑min(u+k,T−1)​Yt​,

so τ^0\widehat\tau_0τ0​ is the difference-in-means estimator.

Two quantities control the bounds. The mixing assumption (Assumption 1) asks for γ∈(0,1)\gamma\in(0,1)γ∈(0,1) with ∥f′Pzt−fPzt∥TV≤γ ∥f′−f∥TV\|f'P_z^t-fP_z^t\|_{\mathrm{TV}}\le\gamma\,\|f'-f\|_{\mathrm{TV}}∥f′Pzt​−fPzt​∥TV​≤γ∥f′−f∥TV​ for all t<Tt<Tt<T, all zzz and all probability vectors f,f′f,f'f,f′ on SSS, where ∥f−f′∥TV=12∥f−f′∥1\|f-f'\|_{\mathrm{TV}}=\tfrac12\|f-f'\|_1∥f−f′∥TV​=21​∥f−f′∥1​. The kernel deviation is δ=max⁡t<Tmax⁡x∥P1t(x,⋅)−P0t(x,⋅)∥TV\delta=\max_{t<T}\max_{x}\|P_1^t(x,\cdot)-P_0^t(x,\cdot)\|_{\mathrm{TV}}δ=maxt<T​maxx​∥P1t​(x,⋅)−P0t​(x,⋅)∥TV​.

Formalization targets

Goal: Theorem 1, bias and variance of the TPG estimator

There are absolute constants C1,C2>0C_1,C_2>0C1​,C2​>0 such that for every environment, every T≥1T\ge1T≥1, every 0≤k≤T0\le k\le T0≤k≤T and every γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and MMM as above,

∣E1/2[τ^k]−τ∣≤C1(1−γk(1−γ)2 δ2M+γk1−γ δM),Var⁡1/2(τ^k)≤C2((k+1)2M2T+γ (k+1)M2T(1−γ)).\bigl|\mathbb E_{1/2}[\widehat\tau_k]-\tau\bigr|\le C_1\Bigl(\frac{1-\gamma^k}{(1-\gamma)^2}\,\delta^2M+\frac{\gamma^k}{1-\gamma}\,\delta M\Bigr),\qquad \operatorname{Var}_{1/2}(\widehat\tau_k)\le C_2\Bigl(\frac{(k+1)^2M^2}{T}+\frac{\gamma\,(k+1)M^2}{T(1-\gamma)}\Bigr).​E1/2​[τk​]−τ​≤C1​((1−γ)21−γk​δ2M+1−γγk​δM),Var1/2​(τk​)≤C2​(T(k+1)2M2​+T(1−γ)γ(k+1)M2​).

The constants are left unspecified, as in the paper's O(⋅)O(\cdot)O(⋅) statement, so an improvement of the constants does not invalidate the goal.

Explicit constants: Propositions 5 and 6

For data collected under πθ\pi_\thetaπθ​ with θ∈(0,1)\theta\in(0,1)θ∈(0,1), the paper gives both bounds with explicit constants, for the TPG estimator and for a reward-corrected variant. At θ=1/2\theta=1/2θ=1/2, Proposition 5 reads

∣E[τ^k]−τ∣≤2δMγk1−γ+2δ2M Ψk(γ),Var⁡(τ^k)≤4M2(k+1)T(2k+3+4γ1−γ),\bigl|\mathbb E[\widehat\tau_k]-\tau\bigr|\le\frac{2\delta M\gamma^k}{1-\gamma}+2\delta^2M\,\Psi_k(\gamma),\qquad \operatorname{Var}(\widehat\tau_k)\le\frac{4M^2(k+1)}{T}\Bigl(2k+3+\frac{4\gamma}{1-\gamma}\Bigr),​E[τk​]−τ​≤1−γ2δMγk​+2δ2MΨk​(γ),Var(τk​)≤T4M2(k+1)​(2k+3+1−γ4γ​),

with Ψk(γ)=∑j=0k−2(j+1)γj\Psi_k(\gamma)=\sum_{j=0}^{k-2}(j+1)\gamma^jΨk​(γ)=∑j=0k−2​(j+1)γj.

Policy-gradient identities: Propositions 1–4

JJJ and its truncated analogue JkJ_kJk​ are differentiable at 1/21/21/2, with derivative equal to the horizon average of differences of (kkk-truncated) QQQ-values, and Eθ[τ^θ,kTPG]\mathbb E_\theta[\widehat\tau^{\mathrm{TPG}}_{\theta,k}]Eθ​[τθ,kTPG​] equals the corresponding derivative for every θ∈(0,1)\theta\in(0,1)θ∈(0,1). Without the mixing assumption, the untruncated estimator satisfies ∣E[τ^T]−τ∣≤C T2δ2M|\mathbb E[\widehat\tau_T]-\tau|\le C\,T^2\delta^2M∣E[τT​]−τ∣≤CT2δ2M and Var⁡(τ^T)≤2M2(T+1)\operatorname{Var}(\widehat\tau_T)\le2M^2(T+1)Var(τT​)≤2M2(T+1).

Asymptotics: Theorem 2, Lemmas 1–5 and Corollary 1

For fixed kkk, under mixing at all times, a positive limit σk2\sigma_k^2σk2​ of the normalized variance (Assumption 2) and a Cesàro mean-stability condition (Assumption 3),

T (τ^k−E[τ^k])⇒N(0,σk2),Ω^T→pσk2,\sqrt T\,\bigl(\widehat\tau_k-\mathbb E[\widehat\tau_k]\bigr)\Rightarrow\mathcal N(0,\sigma_k^2),\qquad \widehat\Omega_T\xrightarrow{p}\sigma_k^2,T​(τk​−E[τk​])⇒N(0,σk2​),ΩT​p​σk2​,

where Ω^T\widehat\Omega_TΩT​ is a Newey–West estimator with bandwidth LT→∞L_T\to\inftyLT​→∞, LT=O(T1/3)L_T=O(T^{1/3})LT​=O(T1/3). The supporting statements are a covariance inequality under strong mixing, the bound α(h)≤γh−1\alpha(h)\le\gamma^{h-1}α(h)≤γh−1 on the mixing coefficients of the experimental process and its consequence for the summands of the estimator, the central limit theorem alone, and consistency of the ideal and of the feasible variance estimators.

What the results give

Theorem 1 separates two error sources: a term of second order in δ\deltaδ that does not grow with TTT, and a term that decays geometrically in kkk. Together with Proposition 2 it shows what truncation buys: a variance bound of order (k+1)2/T(k+1)^2/T(k+1)2/T instead of order TTT, at the price of a bias term of order γk\gamma^kγk. Theorem 2 supplies standard errors for the estimator from a single nonstationary trajectory.

All results of the paper are proved on paper; none has a machine-checked proof. The work of this mission is the formal proofs of the stated results. The definition layer (a finite-state nonstationary Markov decision process with real rewards, its trajectory law under time-varying randomization, total-variation contraction, strong-mixing windows, a Newey–West estimator) can be reused for other results on experiments with Markovian interference.

Where the difficulty lies

The first idea is to bound ∣J′(1/2)−(J(1)−J(0))∣|J'(1/2)-(J(1)-J(0))|∣J′(1/2)−(J(1)−J(0))∣ by the second derivative of JJJ on [0,1][0,1][0,1]. Every pair of times contributes to that second derivative, so this route gives the T2δ2MT^2\delta^2MT2δ2M of Proposition 2 and nothing uniform in the horizon. Theorem 1 is uniform in TTT, and its bound has no term of first order in δ\deltaδ beyond the truncation term; Proposition 5 shows that such a term is present at every allocation θ≠1/2\theta\ne1/2θ=1/2. Formal proofs have to handle ordered products of time-varying stochastic matrices and signed measures of total mass zero, with a contraction that is assumed one step at a time.

The variance bound and Theorem 2 concern a dependent, non-identically distributed sequence observed once. Mathlib has no central limit theorem for nonhomogeneous Markov chains and no covariance inequality for strongly mixing sequences; the paper relies on Arlotto and Steele (2016) for the former and on an inequality from Doukhan (1994) for the latter.

Formalization scope

TPG.Env S packages (P,ρ,R)(P,\rho,R)(P,ρ,R) for a finite type S. Kernels are real matrices with nonnegative entries and rows summing to one, indexed by all t∈Nt\in\mathbb Nt∈N; a statement with horizon TTT uses only the times below TTT. A trajectory is a function Fin T → S × Bool × ℝ, and Env.trajLaw is its law for an arbitrary sequence of treatment probabilities, built as a finite mixture over state and action paths of product reward laws. JJJ, τ\tauτ, JkJ_kJk​ and the QQQ-values are defined from this law, and expectations given {Zu=z}\{Z_u=z\}{Zu​=z} are taken under the conditional measure. Rewards are bounded through the hypothesis E.RewardBound M; the standing assumptions of the paper enter each theorem as hypotheses, and S carries the discrete measurable structure.

Statements require T≥1T\ge1T≥1 and 0≤k≤T0\le k\le T0≤k≤T, as in the paper. Asymptotic statements compute the law of each statistic under the horizon-TTT measure: convergence in distribution is tested against bounded continuous functions, and convergence in probability is stated for each ε>0\varepsilon>0ε>0. The limit σk2\sigma_k^2σk2​ is a parameter constrained by Assumption 2. For θ∉[0,1]\theta\notin[0,1]θ∈/[0,1] the law of πθ\pi_\thetaπθ​ is not a probability law and no statement depends on it. The hypotheses are satisfiable for every TTT, kkk and γ\gammaγ: an environment with one state and a nonzero constant reward satisfies all of them, including Assumptions 2 and 3, so no statement is vacuous.

Not included: Definition 1 and Lemma 6 of the paper (Dobrushin coefficients and the Arlotto–Steele theorem on general Borel state spaces), the stationary difference-in-QQQ discussion of Appendix C, the constant-reward example showing that the variance order is attained, and the numerical studies. Formal statements of those, and auxiliary lemmas about Env.trajLaw, ordered matrix products and total-variation contraction, are welcome contributions.

Selected references

  • R. Johari, T. Peng, W. Xing, Estimation of Treatment Effects Under Nonstationarity via the Truncated Policy Gradient Estimator, arXiv preprint, 2025–2026. https://arxiv.org/abs/2506.05308
  • V. F. Farias, A. A. Li, T. Peng, A. Zheng, Markovian Interference in Experiments, Advances in Neural Information Processing Systems 35, 2022. https://arxiv.org/abs/2206.02371
  • Y. Hu, S. Wager, Switchback Experiments under Geometric Mixing, arXiv preprint, 2022. https://arxiv.org/abs/2209.00197
  • A. Arlotto, J. M. Steele, A Central Limit Theorem for Temporally Nonhomogeneous Markov Chains with Applications to Dynamic Programming, Mathematics of Operations Research 41(4), 2016. https://doi.org/10.1287/moor.2016.0784
  • P. Doukhan, Mixing: Properties and Examples, Lecture Notes in Statistics 85, Springer, 1994. https://doi.org/10.1007/978-1-4612-2642-0
17 thms1 active userReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

(More) Efficient Reinforcement Learning via Posterior Sampling: PSRL Has Bayesian Regret O(τS√(AT log(SAT))) in Episodic Finite MDPsResearch Paper

Motivation

An agent that interacts repeatedly with an unknown Markov decision process must trade exploration against exploitation. The dominant design principle for provably efficient reinforcement learning has been optimism in the face of uncertainty: UCRL2 (Jaksch, Ortner & Auer, 2010) and REGAL (Bartlett & Tewari, 2009) build confidence sets around the unknown model and act according to the most favourable model in them. Computing that optimistic policy can be expensive, and confidence sets built separately for every state–action pair can be loose.

Posterior sampling for reinforcement learning (PSRL), proposed by Strens (2000), replaces optimism by randomization: at the start of each episode it samples one MDP from the posterior distribution and follows the optimal policy of that sample. It is the reinforcement-learning analogue of Thompson sampling for bandits. Osband, Russo & Van Roy (2013) gave the first regret guarantee for PSRL, and with it the first regret guarantee for an RL algorithm not based on optimism. Their argument transfers the Bayesian-regret analysis of Thompson sampling by Russo & Van Roy (2014) from bandits to MDPs.

Timeline:

  • 2000: Strens proposes PSRL as a heuristic.
  • 2010: Jaksch, Ortner and Auer prove O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​) regret for UCRL2 in non-episodic MDPs with diameter DDD.
  • 2013: Osband, Russo and Van Roy prove the O(τSATlog⁡(SAT))O(\tau S\sqrt{AT\log(SAT)})O(τSATlog(SAT)​) Bayesian regret bound for PSRL in episodic MDPs, the result of this mission.

Setting

A finite-horizon MDP M=(S,A,RM,PM,τ,ρ)M=(\mathcal S,\mathcal A,R^M,P^M,\tau,\rho)M=(S,A,RM,PM,τ,ρ) has SSS states, AAA actions and horizon τ\tauτ. Choosing action aaa in state sss yields a reward drawn from a distribution RaM(s)R^M_a(s)RaM​(s) on [0,1][0,1][0,1], with mean R‾aM(s)\overline R^M_a(s)RaM​(s), and moves the state to s′s's′ with probability PaM(s′∣s)P^M_a(s'\mid s)PaM​(s′∣s). Every episode starts from a state drawn from the initial distribution ρ\rhoρ. A policy μ\muμ maps a state and a step i∈{1,…,τ}i\in\{1,\dots,\tau\}i∈{1,…,τ} to an action, and its value is the expected total mean reward from step iii on,

Vμ,iM(s)=EM,μ[∑j=iτR‾ajM(sj) ∣ si=s].V^M_{\mu,i}(s)=\mathbb E_{M,\mu}\Big[\sum_{j=i}^{\tau}\overline R^M_{a_j}(s_j)\,\Big|\,s_i=s\Big].Vμ,iM​(s)=EM,μ​[j=i∑τ​Raj​M​(sj​)​si​=s].

A policy is optimal for MMM if it maximizes Vμ,iM(s)V^M_{\mu,i}(s)Vμ,iM​(s) for every sss and iii; μM\mu^MμM denotes a fixed choice of optimal policy for each MMM.

The true MDP M∗M^*M∗ is random with prior fff. In episode kkk, PSRL samples MkM_kMk​ from the posterior f(⋅∣Htk)f(\cdot\mid H_{t_k})f(⋅∣Htk​​) given the history HtkH_{t_k}Htk​​ of all earlier states, actions and rewards, and follows μk=μMk\mu_k=\mu^{M_k}μk​=μMk​ for τ\tauτ steps. With μ∗=μM∗\mu^*=\mu^{M^*}μ∗=μM∗, the regret of episode kkk and the cumulative regret are

Δk=∑sρ(s)(Vμ∗,1M∗(s)−Vμk,1M∗(s)),Regret(T,πτPS)=∑k=1⌈T/τ⌉Δk.\Delta_k=\sum_{s}\rho(s)\big(V^{M^*}_{\mu^*,1}(s)-V^{M^*}_{\mu_k,1}(s)\big),\qquad \mathrm{Regret}(T,\pi^{\mathrm{PS}}_\tau)=\sum_{k=1}^{\lceil T/\tau\rceil}\Delta_k .Δk​=s∑​ρ(s)(Vμ∗,1M∗​(s)−Vμk​,1M∗​(s)),Regret(T,πτPS​)=k=1∑⌈T/τ⌉​Δk​.

In Lean, MDPs are indexed by a parameter θ\thetaθ in a measurable space Θ\ThetaΘ (MDPFamily), the value is value F θ π j with 0-based steps, and the run is the structure PSRLRun.

Formalization targets

Goal: Theorem 1

There is an absolute constant C>0C>0C>0 such that, for all S,A,τ≥1S,A,\tau\ge1S,A,τ≥1, every prior fff, every measurable optimal-policy selector, every PSRL run with M∗∼fM^*\sim fM∗∼f and every TTT,

E[Regret(T,πτPS)]≤C τSATlog⁡(SAT).\mathbb E\big[\mathrm{Regret}(T,\pi^{\mathrm{PS}}_\tau)\big]\le C\,\tau S\sqrt{AT\log(SAT)} .E[Regret(T,πτPS​)]≤CτSATlog(SAT)​.

This is the paper's O(⋅)O(\cdot)O(⋅) statement. It does not fix the constant, which the paper's appendix computes with errors.

Milestones, in the order of the proof

  1. Lemma 1: given HtkH_{t_k}Htk​​, M∗M^*M∗ and MkM_kMk​ have the same conditional law.
  2. Theorem 2, (4): E[∑k≤mΔk]=E[∑k≤mΔ~k]\mathbb E[\sum_{k\le m}\Delta_k]=\mathbb E[\sum_{k\le m}\tilde\Delta_k]E[∑k≤m​Δk​]=E[∑k≤m​Δ~k​], where Δ~k=∑sρ(s)(Vμk,1Mk(s)−Vμk,1M∗(s))\tilde\Delta_k=\sum_s\rho(s)(V^{M_k}_{\mu_k,1}(s)-V^{M^*}_{\mu_k,1}(s))Δ~k​=∑s​ρ(s)(Vμk​,1Mk​​(s)−Vμk​,1M∗​(s)).
  3. Lemma 2, (5): the dynamic programming equation Vμ,iM=Tμ(⋅,i)MVμ,i+1MV^M_{\mu,i}=\mathcal T^M_{\mu(\cdot,i)}V^M_{\mu,i+1}Vμ,iM​=Tμ(⋅,i)M​Vμ,i+1M​.
  4. (6): E[Δ~k∣M∗,Mk]\mathbb E[\tilde\Delta_k\mid M^*,M_k]E[Δ~k​∣M∗,Mk​] equals the expected sum of one-step Bellman errors along the visited states.
  5. (7): the pathwise split of ∑kΔ~k\sum_k\tilde\Delta_k∑k​Δ~k​ on the event {Mk,M∗∈Mk}\{M_k,M^*\in\mathcal M_k\}{Mk​,M∗∈Mk​}.
  6. P(M∗∉Mk)≤1/m\mathbb P(M^*\notin\mathcal M_k)\le1/mP(M∗∈/Mk​)≤1/m for the paper's confidence sets (Lemma 17 of Jaksch et al.).
  7. (8): E[∑kΔ~k]≤(τ+1) E[∑k∑imin⁡{βk(sk,i,ak,i),1}]+2τ\mathbb E[\sum_k\tilde\Delta_k]\le(\tau+1)\,\mathbb E[\sum_k\sum_i\min\{\beta_k(s_{k,i},a_{k,i}),1\}]+2\tauE[∑k​Δ~k​]≤(τ+1)E[∑k​∑i​min{βk​(sk,i​,ak,i​),1}]+2τ.
  8. Appendix B: ∑k∑i1(Ntk(sk,i,ak,i)≤τ)≤2τSA\sum_k\sum_i\mathbf 1(N_{t_k}(s_{k,i},a_{k,i})\le\tau)\le2\tau SA∑k​∑i​1(Ntk​​(sk,i​,ak,i​)≤τ)≤2τSA.
  9. Appendix B: ∑k∑i1(Nk,i>τ)/Nk,i≤8SAmτ\sum_k\sum_i\sqrt{\mathbf 1(N_{k,i}>\tau)/N_{k,i}}\le\sqrt{8SAm\tau}∑k​∑i​1(Nk,i​>τ)/Nk,i​​≤8SAmτ​.

Significance

Theorem 1 holds for every prior, with no assumption on the MDP class beyond finiteness and bounded rewards. It shows that a single posterior sample per episode, rather than an optimistic search over a confidence set, already achieves the T\sqrt TT​ rate of the optimistic algorithms. The reduction it rests on (Lemma 1 and Theorem 2) applies to any problem in which the agent can sample from the posterior.

The theorem has a paper proof but, as far as is known, no machine-checked proof. A formalization adds three things. First, an exact model of the episodic Bayesian setting, with posterior sampling stated as a conditional law. Second, corrected versions of two steps: the factor in (8), which the page's argument does not justify as printed, and the square-root sum of Appendix B, which is false as printed. Third, reusable pieces: a path-defined finite-horizon value with its dynamic programming equation, a conditional-expectation form of the posterior-sampling identity, and deterministic counting lemmas for visit counts.

Difficulty

The proof combines three kinds of argument, each with its own obstacle in Lean.

  • Conditioning. Lemma 1 and Theorem 2 identify conditional laws given the history. The history is a random element whose length grows with kkk, and the posterior-sampling assumption only speaks about indicators of MkM_kMk​. Extending it to functions of (M,Htk)(M,H_{t_k})(M,Htk​​) and applying the tower property needs care with sub-σ\sigmaσ-algebras. The same issue appears in (8): the confidence event depends on HtkH_{t_k}Htk​​, so it is not measurable with respect to σ(M∗,Mk)\sigma(M^*,M_k)σ(M∗,Mk​), the σ\sigmaσ-algebra on which (6) conditions. The working argument conditions on (M∗,Mk,Htk)(M^*,M_k,H_{t_k})(M∗,Mk​,Htk​​) instead.
  • Concentration over adaptive counts. The bound P(M∗∉Mk)≤1/m\mathbb P(M^*\notin\mathcal M_k)\le1/mP(M∗∈/Mk​)≤1/m needs an L1L^1L1 deviation inequality for empirical transition distributions (Weissman et al.) and Hoeffding's inequality for rewards. Both must hold uniformly over the random number of visits, which the agent's own behaviour determines. Applying the inequalities at a fixed number of samples is not valid, because the sample size is random.
  • Counting. The appendix sums N−1/2N^{-1/2}N−1/2 along the visited pairs; the paper's chain loses a factor of 222 at its integral comparison.

Formalization scope

  • Model. States and actions are Fin S and Fin A. Steps and episodes are 0-based: Lean step j is the paper's step j+1j+1j+1, and Lean episode k is the paper's episode k+1k+1k+1, with tk=kτ+1t_k=k\tau+1tk​=kτ+1. MDPs are a measurable family over a parameter space Θ: transition rows satisfy the published IsTransitionKernel, and reward laws are Markov kernels supported on [0,1][0,1][0,1]. The initial distribution ρ\rhoρ is fixed. The value is defined from the state laws along the trajectory, not by the Bellman recursion.

  • The run. PSRLRun consists of measurable random elements on a probability space. Posterior sampling, the reset from ρ\rhoρ, rewards and transitions are stated as conditional expectations of indicators. Three assumptions the paper leaves implicit are made explicit:

    • the state is reset from ρ\rhoρ at every episode start;
    • the state reached after the last action of an episode is observed;
    • the sampling step uses fresh randomness.

    The optimal-policy selector is any measurable map that is optimal at every step.

  • Constants and corrections. O(⋅)O(\cdot)O(⋅) is one absolute constant, quantified before every other object; a constant that depends on SSS, AAA, τ\tauτ, the prior or TTT would make the goal trivial, because the regret is at most ⌈T/τ⌉τ\lceil T/\tau\rceil\tau⌈T/τ⌉τ. Milestone 7 uses the factor τ+1\tau+1τ+1, which the page's chain proves, where the page prints τ\tauτ, and milestone 9 uses 8SAmτ\sqrt{8SAm\tau}8SAmτ​ where the page prints the false bound 2SAT\sqrt{2SAT}2SAT​; both corrections are disclosed in the statements.

  • Ruled out. The value is not defined by the recursion, which would make Lemma 2 definitional. Measurability is required, so the expectations are not junk zeros. The posterior-sampling clause concerns indicators of MkM_kMk​ only, so it does not already contain Lemma 1.

  • Needed infrastructure. Conditional expectations with respect to σ\sigmaσ-algebras generated by random elements; finite-horizon Markov chain laws; Weissman's L1L^1L1 inequality and Hoeffding's inequality at random sample sizes; elementary bounds on ∑jj−1/2\sum_j j^{-1/2}∑j​j−1/2. The counting milestones (8, 9) and Lemma 2 are self-contained and a good place to start. Proofs of the conditioning steps (milestones 1, 2, 4) are reusable for any posterior-sampling analysis.

Selected references

  • I. Osband, D. Russo, B. Van Roy, (More) Efficient Reinforcement Learning via Posterior Sampling, NIPS 2013; arXiv:1306.0940v5. https://arxiv.org/abs/1306.0940
  • T. Jaksch, R. Ortner, P. Auer, Near-optimal Regret Bounds for Reinforcement Learning, JMLR 11, 2010. https://jmlr.org/papers/v11/jaksch10a.html
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014; arXiv:1301.2609. https://arxiv.org/abs/1301.2609
  • M. Strens, A Bayesian Framework for Reinforcement Learning, Proceedings of the 17th International Conference on Machine Learning (ICML), 2000 (reference [16] of the paper).
  • P. L. Bartlett, A. Tewari, REGAL: A Regularization Based Algorithm for Reinforcement Learning in Weakly Communicating MDPs, UAI 2009; arXiv:1205.2661. https://arxiv.org/abs/1205.2661
  • T. Weissman, E. Ordentlich, G. Seroussi, S. Verdú, M. J. Weinberger, Inequalities for the L1 Deviation of the Empirical Distribution, HP Labs Technical Report HPL-2003-97, 2003.
14 thms1 active userReviewed
Machine LearningOptimizationProbability·Captain: mikedeng1

Global Convergence of Policy Gradient Methods to (Almost) Locally Optimal Policies: Random-Horizon Policy Gradient with Robbins–Monro Stepsizes Drives the Policy Gradient to Zero Almost SurelyResearch Paper

Motivation

Policy gradient methods are the main family of reinforcement learning algorithms that search directly over a parameterized class of stochastic policies πθ\pi_\thetaπθ​, θ∈Rd\theta\in\mathbb R^dθ∈Rd, by stochastic gradient ascent on the expected discounted return. They underlie REINFORCE, actor-critic methods and their deep-learning descendants. The return is a nonconvex function of θ\thetaθ, and the gradient is available only through Monte Carlo samples of trajectories, so the basic question is what the iterates of such a method converge to.

Classical analyses of actor-critic algorithms (Konda and Tsitsiklis, 2003) use the ODE method of stochastic approximation and assume that the gradient estimate is unbiased. In the infinite-horizon discounted setting, a trajectory of finite length cannot by itself produce an unbiased sample of the gradient. Zhang, Koppel, Zhu and Başar (arXiv:1906.08383, SIAM J. Control Optim. 58(6), 2020) resolve this with random horizons: drawing the trajectory lengths from geometric distributions makes the resulting estimate exactly unbiased and almost surely bounded. They then prove convergence of the resulting random-horizon policy gradient (RPG) algorithm with the supermartingale convergence theorem, an optimization argument that also yields rates. This mission formalizes that first part of the paper (§2–§4 and App. A.1–A.4). The paper's later results on escaping saddle points are not part of it.

Setting

A finite Markov decision process is a tuple (S,A,P,R,γ)(\mathcal S,\mathcal A,P,R,\gamma)(S,A,P,R,γ): finite state and action sets, transition probabilities P(s′∣s,a)P(s'\mid s,a)P(s′∣s,a), rewards R(s,a)R(s,a)R(s,a) and a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1). A stochastic policy π\piπ gives a probability vector π(⋅∣s)\pi(\cdot\mid s)π(⋅∣s) on A\mathcal AA at each state. Its value Vπ(s)=E(∑t≥0γtR(st,at)∣s0=s)V_\pi(s)=\mathbb E\big(\sum_{t\ge0}\gamma^tR(s_t,a_t)\mid s_0=s\big)Vπ​(s)=E(∑t≥0​γtR(st​,at​)∣s0​=s) and Q-function Qπ(s,a)Q_\pi(s,a)Qπ​(s,a) are the expected discounted returns from a state, respectively a state-action pair.

A parameterized policy assigns to each θ∈Rd\theta\in\mathbb R^dθ∈Rd a policy πθ\pi_\thetaπθ​. Fix an initial state s0s_0s0​. The objective is

J(θ)=Vπθ(s0),max⁡θ∈RdJ(θ).J(\theta)=V_{\pi_\theta}(s_0),\qquad \max_{\theta\in\mathbb R^d}J(\theta).J(θ)=Vπθ​​(s0​),θ∈Rdmax​J(θ).

The score function is ∇θlog⁡πθ(a∣s)\nabla_\theta\log\pi_\theta(a\mid s)∇θ​logπθ​(a∣s). The discounted state-occupancy measure is ρπθ(s)=(1−γ)∑t≥0γtp(st=s∣s0,πθ)\rho_{\pi_\theta}(s)=(1-\gamma)\sum_{t\ge0}\gamma^tp(s_t=s\mid s_0,\pi_\theta)ρπθ​​(s)=(1−γ)∑t≥0​γtp(st​=s∣s0​,πθ​), and ρθ(s,a)=ρπθ(s)πθ(a∣s)\rho_\theta(s,a)=\rho_{\pi_\theta}(s)\pi_\theta(a\mid s)ρθ​(s,a)=ρπθ​​(s)πθ​(a∣s).

Assumption 3.1 asks for ∣R(s,a)∣≤UR|R(s,a)|\le U_R∣R(s,a)∣≤UR​ and for a differentiable policy whose score exists, is LΘL_\ThetaLΘ​-Lipschitz in θ\thetaθ and is bounded in norm by BΘ>0B_\Theta>0BΘ​>0. Two constants recur below:

L=URLΘ(1−γ)2+(1+γ)URBΘ2(1−γ)3,ℓ^=BΘUR(1−γ)(1−γ1/2).L=\frac{U_RL_\Theta}{(1-\gamma)^2}+\frac{(1+\gamma)U_RB_\Theta^2}{(1-\gamma)^3},\qquad \hat\ell=\frac{B_\Theta U_R}{(1-\gamma)(1-\gamma^{1/2})}.L=(1−γ)2UR​LΘ​​+(1−γ)3(1+γ)UR​BΘ2​​,ℓ^=(1−γ)(1−γ1/2)BΘ​UR​​.

The RPG algorithm (Algorithm 3) works as follows at the current iterate θk\theta_kθk​:

  1. Draw a horizon T∼Geom(1−γ)T\sim\mathrm{Geom}(1-\gamma)T∼Geom(1−γ) and simulate s0,a0,…,sT,aTs_0,a_0,\dots,s_T,a_Ts0​,a0​,…,sT​,aT​ under πθk\pi_{\theta_k}πθk​​.
  2. From the last pair (sT,aT)(s_T,a_T)(sT​,aT​), the subroutine EstQ draws an independent T′∼Geom(1−γ1/2)T'\sim\mathrm{Geom}(1-\gamma^{1/2})T′∼Geom(1−γ1/2), rolls out T′T'T′ further steps and returns Q^=∑t=0T′γt/2R(st,at)\hat Q=\sum_{t=0}^{T'}\gamma^{t/2}R(s_t,a_t)Q^​=∑t=0T′​γt/2R(st​,at​).
  3. Update
θk+1=θk+αk∇^J(θk),∇^J(θ)=11−γQ^ ∇log⁡πθ(aT∣sT).\theta_{k+1}=\theta_k+\alpha_k\hat\nabla J(\theta_k),\qquad \hat\nabla J(\theta)=\frac{1}{1-\gamma}\hat Q\,\nabla\log\pi_\theta(a_T\mid s_T).θk+1​=θk​+αk​∇^J(θk​),∇^J(θ)=1−γ1​Q^​∇logπθ​(aT​∣sT​).

Assumption 4.1 is the Robbins–Monro condition ∑kαk=∞\sum_k\alpha_k=\infty∑k​αk​=∞, ∑kαk2<∞\sum_k\alpha_k^2<\infty∑k​αk2​<∞.

Formalization targets

Goal: Theorem 4.2, in the form its proof establishes

Under Assumptions 3.1 and 4.1, almost surely

lim⁡k→∞∥∇J(θk)∥=0,\lim_{k\to\infty}\|\nabla J(\theta_k)\|=0,k→∞lim​∥∇J(θk​)∥=0,

and almost surely every cluster point θˉ\bar\thetaθˉ of (θk)(\theta_k)(θk​) satisfies ∇J(θˉ)=0\nabla J(\bar\theta)=0∇J(θˉ)=0. The page states the conclusion as "lim⁡kθk∈Θ∗\lim_k\theta_k\in\Theta^*limk​θk​∈Θ∗", where Θ∗\Theta^*Θ∗ is the set of stationary points. Read literally, that asserts convergence of θk\theta_kθk​, which fails when JJJ has no stationary point at all (one state, two actions, a softmax policy). The goal states what the proof on p. 30 concludes.

Milestones

  1. ∣Qπ(s,a)∣,∣Vπ(s)∣≤UR/(1−γ)|Q_\pi(s,a)|,|V_\pi(s)|\le U_R/(1-\gamma)∣Qπ​(s,a)∣,∣Vπ​(s)∣≤UR​/(1−γ) (p. 6).
  2. The policy gradient theorem (3.4): ∇J(θ)=11−γE(s,a)∼ρθ[∇log⁡πθ(a∣s)Qπθ(s,a)]\nabla J(\theta)=\frac1{1-\gamma}\mathbb E_{(s,a)\sim\rho_\theta}[\nabla\log\pi_\theta(a\mid s)Q_{\pi_\theta}(s,a)]∇J(θ)=1−γ1​E(s,a)∼ρθ​​[∇logπθ​(a∣s)Qπθ​​(s,a)].
  3. Lemma 3.2: ∇J\nabla J∇J is LLL-Lipschitz.
  4. Theorem 3.4, ∇^J\hat\nabla J∇^J clauses: E∇^J(θ)=∇J(θ)\mathbb E\hat\nabla J(\theta)=\nabla J(\theta)E∇^J(θ)=∇J(θ), ∥∇J(θ)∥≤BΘUR/(1−γ)2\|\nabla J(\theta)\|\le B_\Theta U_R/(1-\gamma)^2∥∇J(θ)∥≤BΘ​UR​/(1−γ)2, ∥∇^J(θ)∥≤ℓ^\|\hat\nabla J(\theta)\|\le\hat\ell∥∇^J(θ)∥≤ℓ^ a.s.
  5. Lemma A.1: the ascent inequality (A.23), and Wk=J(θk)−Lℓ^2∑j≥kαj2W_k=J(\theta_k)-L\hat\ell^2\sum_{j\ge k}\alpha_j^2Wk​=J(θk​)−Lℓ^2∑j≥k​αj2​ is a bounded submartingale with E[Wk+1∣Fk]≥Wk+αk∥∇J(θk)∥2\mathbb E[W_{k+1}\mid\mathcal F_k]\ge W_k+\alpha_k\|\nabla J(\theta_k)\|^2E[Wk+1​∣Fk​]≥Wk​+αk​∥∇J(θk​)∥2.
  6. (A.26): ∑kαk∥∇J(θk)∥2<∞\sum_k\alpha_k\|\nabla J(\theta_k)\|^2<\infty∑k​αk​∥∇J(θk​)∥2<∞ a.s.
  7. (A.27): lim inf⁡k∥∇J(θk)∥=0\liminf_k\|\nabla J(\theta_k)\|=0liminfk​∥∇J(θk​)∥=0 a.s.

Companion: Corollary 4.4 in its explicit form (A.37)

With constant stepsize α>0\alpha>0α>0 and Assumption 3.1 only, for every k≥1k\ge1k≥1,

1k∑m=1kE∥∇J(θm)∥2≤1kα⋅2UR1−γ+Lαℓ^2.\frac1k\sum_{m=1}^k\mathbb E\|\nabla J(\theta_m)\|^2\le\frac{1}{k\alpha}\cdot\frac{2U_R}{1-\gamma}+L\alpha\hat\ell^2.k1​m=1∑k​E∥∇J(θm​)∥2≤kα1​⋅1−γ2UR​​+Lαℓ^2.

Significance

The theorem shows that Monte Carlo policy gradient, with a sampling scheme that can be implemented from simulated trajectories alone, behaves like an exact stochastic gradient method on a smooth nonconvex objective. It needs no ODE approximation, no two-timescale critic and no assumption that the estimate is unbiased: unbiasedness is proved (Theorem 3.4). The same estimates give the finite-time bound of Corollary 4.4 and are the starting point of the paper's second part, which adds perturbations to escape saddle points.

To our knowledge none of these results has been machine-checked. The mission's work is to formalize the known proof: the infinite-horizon policy gradient theorem with a vector parameter, the smoothness bound with its explicit constant, the exact law of the random-horizon estimator and its moments, and the supermartingale argument. The formal statements also repair three misprints of the source: the conclusion of Theorem 4.2, the tail ∑j=k∞αk2\sum_{j=k}^\infty\alpha_k^2∑j=k∞​αk2​ of (A.22), which is read as ∑j≥kαj2\sum_{j\ge k}\alpha_j^2∑j≥k​αj2​, and the O(⋅)O(\cdot)O(⋅) of Corollary 4.4, which is replaced by its explicit form (A.37).

Difficulty

Each step of the argument is standard on paper. The work is in the parts that the paper treats in one line:

  • Unbiasedness. It rests on two separate identities. The law of the last state of a Geom(1−γ)\mathrm{Geom}(1-\gamma)Geom(1−γ)-length trajectory is ρπθ\rho_{\pi_\theta}ρπθ​​. A γ1/2\gamma^{1/2}γ1/2-discounted sum over a Geom(1−γ1/2)\mathrm{Geom}(1-\gamma^{1/2})Geom(1−γ1/2) horizon has the mean of a γ\gammaγ-discounted infinite sum. Both are exchanges of infinite sums over trajectories of unbounded length.
  • Smoothness. Lemma 3.2 requires differentiating JJJ twice through an infinite series of policy-dependent transition matrices, with bounds uniform in θ\thetaθ.
  • The final step. (A.26) and the non-summability of the stepsizes give only lim inf⁡∥∇J(θk)∥=0\liminf\|\nabla J(\theta_k)\|=0liminf∥∇J(θk​)∥=0. Upgrading this to a limit needs a separate pathwise argument, which uses the Lipschitz continuity of ∇J\nabla J∇J and the almost sure convergence of the martingale part of the iterates. The tempting first idea, that a summable series with non-summable weights forces its terms to zero, is false.

Formalization scope

  • Finite case. The state and action spaces are finite types. The paper also allows compact real vector spaces; this mission does not cover them. Values, Q-functions and occupation probabilities are the published FoundationsML layer (PolicyValue, QFunction, OccupationDist, IsPolicy, IsTransitionKernel). Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d), and ∇\nabla∇ is Mathlib's gradient.
  • Assumption 3.1 includes πθ(a∣s)>0\pi_\theta(a\mid s)>0πθ​(a∣s)>0: this is the reading of "the score function exists", since log⁡0\log 0log0 is a junk value in Lean. It also states LΘ≥0L_\Theta\ge0LΘ​≥0, which is implicit in "LΘL_\ThetaLΘ​-Lipschitz".
  • The algorithm is encoded by its exact sampling law. rpgLaw θ is the law of ∇^J(θ)\hat\nabla J(\theta)∇^J(θ), built from the geometric horizons, the trajectory probabilities and EstQ. A run is a filtered probability space carrying θk\theta_kθk​ and gkg_kgk​ with θk+1=θk+αkgk\theta_{k+1}=\theta_k+\alpha_kg_kθk+1​=θk​+αk​gk​ on every path, θk\theta_kθk​ adapted, and the conditional law of gkg_kgk​ given Fk\mathcal F_kFk​ equal to rpgLaw θ_k.
  • Ruled out. Postulating an abstract "unbiased bounded oracle" in place of rpgLaw would assume Theorem 3.4 and turn the goal into generic SGD; that encoding is ruled out. A sorry-free example shows that the run hypothesis is satisfiable and that rpgLaw is a probability measure.
  • Stepsizes and limits. The stepsizes are positive; the page says only "stepsize", and its proofs divide by αk\alpha_kαk​. Divergence of ∑αk\sum\alpha_k∑αk​ is Tendsto of the partial sums to +∞+\infty+∞. "Cluster point" is MapClusterPt.
  • Contributions welcome: proofs of any milestone, in particular the infinite-horizon policy gradient theorem with vector parameters and the unbiasedness of rpgLaw. These are reusable for every Monte Carlo policy gradient analysis.

Selected references

  • K. Zhang, A. Koppel, H. Zhu, T. Başar, Global Convergence of Policy Gradient Methods to (Almost) Locally Optimal Policies, SIAM J. Control Optim. 58(6), 2020. https://arxiv.org/abs/1906.08383 (v3 is the source of this mission)
  • R. S. Sutton, D. McAllester, S. Singh, Y. Mansour, Policy Gradient Methods for Reinforcement Learning with Function Approximation, NeurIPS 1999. https://papers.nips.cc/paper/1713-policy-gradient-methods-for-reinforcement-learning-with-function-approximation
  • V. R. Konda, J. N. Tsitsiklis, On Actor-Critic Algorithms, SIAM J. Control Optim. 42(4), 2003. https://doi.org/10.1137/S0363012901385691
  • D. P. Bertsekas, J. N. Tsitsiklis, Gradient Convergence in Gradient Methods with Errors, SIAM J. Optim. 10(3), 2000. https://doi.org/10.1137/S1052623497331063
  • H. Robbins, D. Siegmund, A Convergence Theorem for Non Negative Almost Supermartingales and Some Applications, in Optimizing Methods in Statistics, 1971. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
17 thms1 active userReviewed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making IX: Posterior Sampling Bounds the Square-Loss DEC by 2Δ + 24·θ·log²(γ)/γ, θ the Disagreement CoefficientResearch Paper

Motivation

In a structured bandit problem a learner repeatedly chooses a decision π\piπ from a set Π\PiΠ and observes a noisy reward whose mean fM(π)f^M(\pi)fM(π) is an unknown function from a known class FM\mathcal{F}_{\mathcal{M}}FM​. Classical analyses of such problems measure the complexity of FM\mathcal{F}_{\mathcal{M}}FM​ by the eluder dimension (Russo and Van Roy, 2013; 2014) or the star number, and prove regret bounds for posterior sampling (Thompson sampling) or optimistic algorithms in terms of these quantities.

Foster, Kakade, Qian and Rakhlin (2021) introduced the Decision-Estimation Coefficient (DEC), a single complexity measure that yields both upper and lower bounds on the minimax regret of interactive decision making. Section 6.2 of that paper connects the DEC to the older parameters: it shows that the square-loss DEC is bounded by the disagreement coefficient of the class, a quantity introduced in Foster, Rakhlin, Simchi-Levi and Xu (2020) and itself bounded by the star number and the eluder dimension. The bound is certified by posterior sampling, so it also explains why posterior sampling works for these classes.

Setting

Let Π\PiΠ be a set of decisions. A model MMM assigns to each decision a reward distribution; here a model enters only through its mean-reward function fM:Π→[0,1]f^M : \Pi \to [0, 1]fM:Π→[0,1] and an optimal decision πM∈arg⁡max⁡πfM(π)\pi_M \in \arg\max_\pi f^M(\pi)πM​∈argmaxπ​fM(π). The class FM={fM:M∈M}\mathcal{F}_{\mathcal{M}} = \{f^M : M \in \mathcal{M}\}FM​={fM:M∈M} collects the mean-reward functions of a model class M\mathcal{M}M. A reference model M‾\overline{M}M, not necessarily in M\mathcal{M}M, has mean reward fM‾:Π→[0,1]f^{\overline{M}} : \Pi \to [0, 1]fM:Π→[0,1].

A prior μ\muμ is a finitely supported distribution μ=∑iwiδMi\mu = \sum_i w_i \delta_{M_i}μ=∑i​wi​δMi​​ over M\mathcal{M}M. The posterior sampling strategy plays ρμ(π):=μ({πM=π})\rho_\mu(\pi) := \mu(\{\pi_M = \pi\})ρμ​(π):=μ({πM​=π}), the law of πM\pi_MπM​ when M∼μM \sim \muM∼μ.

The prior-dependent square-loss DEC (display (70) of the paper) is

dec‾γSq(μ,M‾)=inf⁡p∈Δ(Π)EM∼μ Eπ∼p[fM(πM)−fM(π)−γ(fM(π)−fM‾(π))2],\underline{\mathrm{dec}}^{\mathrm{Sq}}_\gamma(\mu, \overline{M}) = \inf_{p \in \Delta(\Pi)} \mathbb{E}_{M\sim\mu}\, \mathbb{E}_{\pi\sim p}\Bigl[ f^M(\pi_M) - f^M(\pi) - \gamma \bigl(f^M(\pi) - f^{\overline{M}}(\pi)\bigr)^2 \Bigr],dec​γSq​(μ,M)=p∈Δ(Π)inf​EM∼μ​Eπ∼p​[fM(πM​)−fM(π)−γ(fM(π)−fM(π))2],

the best trade-off between regret and squared estimation error that a decision distribution ppp can achieve against a model drawn from the prior.

For a class F\mathcal{F}F of functions Π→R\Pi \to \mathbb{R}Π→R and a distribution ρ\rhoρ on Π\PiΠ, the disagreement coefficient (Definition 6.3) is

θ(F,Δ0,ε0;ρ)=sup⁡Δ≥Δ0, ε≥ε0{Δ2ε2 Pπ∼ρ(∃f∈F:∣f(π)∣>Δ, Eπ′∼ρ[f2(π′)]≤ε2)}∨1,\theta(\mathcal{F}, \Delta_0, \varepsilon_0; \rho) = \sup_{\Delta \ge \Delta_0,\ \varepsilon \ge \varepsilon_0} \left\{ \frac{\Delta^2}{\varepsilon^2}\, \mathbb{P}_{\pi\sim\rho}\bigl( \exists f \in \mathcal{F} : |f(\pi)| > \Delta,\ \mathbb{E}_{\pi'\sim\rho}[f^2(\pi')] \le \varepsilon^2 \bigr) \right\} \vee 1,θ(F,Δ0​,ε0​;ρ)=Δ≥Δ0​, ε≥ε0​sup​{ε2Δ2​Pπ∼ρ​(∃f∈F:∣f(π)∣>Δ, Eπ′∼ρ​[f2(π′)]≤ε2)}∨1,

where π′∼ρ\pi' \sim \rhoπ′∼ρ is drawn independently of π\piπ. It measures how much mass ρ\rhoρ puts on decisions where some function of the class is large although it is small in L2(ρ)L_2(\rho)L2​(ρ). The shifted class FM−fM\mathcal{F}_{\mathcal{M}} - f^MFM​−fM consists of the differences f−fMf - f^Mf−fM, f∈FMf \in \mathcal{F}_{\mathcal{M}}f∈FM​.

Formalization targets

Goal: Theorem 6.2

For every γ≥e\gamma \ge eγ≥e, posterior sampling certifies

dec‾γSq(μ,M‾)≤inf⁡Δ>0{2Δ+24 sup⁡M∈Mθ(FM−fM,Δ,γ−1;ρμ)log⁡2(γ)γ}.\underline{\mathrm{dec}}^{\mathrm{Sq}}_\gamma(\mu, \overline{M}) \le \inf_{\Delta > 0} \left\{ 2\Delta + 24\, \frac{\sup_{M\in\mathcal{M}} \theta(\mathcal{F}_{\mathcal{M}} - f^M, \Delta, \gamma^{-1}; \rho_\mu) \log^2(\gamma)}{\gamma} \right\}.dec​γSq​(μ,M)≤Δ>0inf​{2Δ+24γsupM∈M​θ(FM​−fM,Δ,γ−1;ρμ​)log2(γ)​}.

In the formal statement, the objective of (70) evaluated at p=ρμp = \rho_\mup=ρμ​ is bounded by 2Δ+24Θlog⁡2(γ)/γ2\Delta + 24\Theta \log^2(\gamma)/\gamma2Δ+24Θlog2(γ)/γ for every Δ>0\Delta > 0Δ>0 and every upper bound Θ\ThetaΘ of the disagreement coefficients of the shifted classes.

Milestones

  1. The disagreement coefficient bounds the probability of disagreement at every pair of scales (proof of Lemma E.2, p. 105).
  2. The unit-scale decoupling bound with free parameters Δ,ε∈(0,1]\Delta, \varepsilon \in (0, 1]Δ,ε∈(0,1], η>0\eta > 0η>0 (proof of Lemma E.2, p. 105).
  3. Lemma E.2, the decoupling lemma: for F⊆(Π→[−R,R])\mathcal{F} \subseteq (\Pi \to [-R, R])F⊆(Π→[−R,R]), {fz}⊆F\{f_z\} \subseteq \mathcal{F}{fz​}⊆F, {πz}⊆Π\{\pi_z\} \subseteq \Pi{πz​}⊆Π indexed by z∼μz \sim \muz∼μ,
Ez∼μ[∣fz(πz)∣]≤inf⁡Δ>0{2Δ+6 θ(F,Δ,γ−1;ρμ)log⁡2(Rγ∨e)γ}+γ Ez,z′∼μ[fz2(πz′)].\mathbb{E}_{z\sim\mu}\bigl[|f_z(\pi_z)|\bigr] \le \inf_{\Delta > 0} \left\{ 2\Delta + 6\, \frac{\theta(\mathcal{F}, \Delta, \gamma^{-1}; \rho_\mu) \log^2(R\gamma \vee e)}{\gamma} \right\} + \gamma\, \mathbb{E}_{z, z'\sim\mu}\bigl[f_z^2(\pi_{z'})\bigr].Ez∼μ​[∣fz​(πz​)∣]≤Δ>0inf​{2Δ+6γθ(F,Δ,γ−1;ρμ​)log2(Rγ∨e)​}+γEz,z′∼μ​[fz2​(πz′​)].
  1. The factor-four comparison of the decoupled squared error against a second prior draw with the squared error against M‾\overline{M}M (proof of Theorem 6.2, p. 106).
  2. Lemma E.2 applied to the shifted class FM−fM~\mathcal{F}_{\mathcal{M}} - f^{\widetilde{M}}FM​−fM at parameter γ/4\gamma/4γ/4, for a fixed M~\widetilde{M}M (proof of Theorem 6.2, p. 106).

Significance

Theorem 6.2 bounds the DEC of any structured bandit class by its disagreement coefficient. With the bounds of the disagreement coefficient by the star number and the eluder dimension (Lemma 6.1 of the paper, from Foster et al. 2020) and the minimax theorem, it yields Theorem 6.1, which recovers the O~(eT)\widetilde{O}(\sqrt{\mathfrak{e} T})O(eT​) regret bound of Russo and Van Roy for posterior sampling as a special case, and gives a O~(s2T)\widetilde{O}(\sqrt{\mathfrak{s}^2 T})O(s2T​) bound in terms of the star number. The decoupling lemma (Lemma E.2) is a general tool: it controls a coupled quantity E[∣fz(πz)∣]\mathbb{E}[|f_z(\pi_z)|]E[∣fz​(πz​)∣] by a decoupled second moment, and applies wherever an algorithm's decision and the function evaluated there are drawn from the same distribution.

The results are proved in the paper. None of them has a machine-checked proof; this mission produces the first formal statement of the disagreement coefficient and of the decoupling lemma, on which formal versions of eluder-dimension and star-number bounds can build.

Difficulty

The obvious argument fails at the decoupling step. The quantity Ez∼μ[∣fz(πz)∣]\mathbb{E}_{z\sim\mu}[|f_z(\pi_z)|]Ez∼μ​[∣fz​(πz​)∣] evaluates each function at its own decision, while the estimation error controls only Ez,z′[fz2(πz′)]\mathbb{E}_{z, z'}[f_z^2(\pi_{z'})]Ez,z′​[fz2​(πz′​)], with independent indices. For a finite set of AAA decisions, Cauchy–Schwarz bridges the two at the price of a factor AAA; for an infinite decision space this gives nothing. The disagreement coefficient replaces the cardinality, but it controls disagreement only at one pair of scales at a time (the size of ∣f(π)∣|f(\pi)|∣f(π)∣ and the L2(ρμ)L_2(\rho_\mu)L2​(ρμ​) norm of fff), while the coupled quantity involves all scales at once; obtaining only a log⁡2(γ)\log^2(\gamma)log2(γ) loss from this is the technical core of Lemma E.2.

Formalization scope

  • Decisions form an arbitrary type Π\PiΠ; no finiteness or measurability is assumed. Priors and decision distributions are finitely supported (the paper's footnote 5 equips the model class with the discrete topology), encoded as finite weighted families, so every expectation is a finite sum and ρμ\rho_\muρμ​ is the family of atoms πMi\pi_{M_i}πMi​​ with weights wiw_iwi​.
  • Models enter only through their mean-reward function and their optimal decision, which is all the square-loss DEC depends on; πM\pi_MπM​ is a datum with the hypothesis fM(π)≤fM(πM)f^M(\pi) \le f^M(\pi_M)fM(π)≤fM(πM​) for all π\piπ.
  • The disagreement coefficient uses the real supremum. All statements assume Δ>0\Delta > 0Δ>0, γ−1>0\gamma^{-1} > 0γ−1>0 and a uniformly bounded class, under which the supremum is finite; the inner expectation of (71) is over an independent copy of the decision.
  • Infima and suprema of the page are stated as universally quantified bounds ("for every Δ>0\Delta > 0Δ>0", "for every upper bound Θ\ThetaΘ"), which are equivalent and immune to Lean's default values.
  • Lemma E.2 assumes R≥1R \ge 1R≥1: the page states it for every RRR, but its proof treats R=1R = 1R=1 and extends to R≥1R \ge 1R≥1 by rescaling; Theorem 6.2 needs only R=1R = 1R=1.
  • log⁡\loglog is the natural logarithm; e=exp⁡(1)e = \exp(1)e=exp(1).

The goal is not trivialized by a junk value: the disagreement coefficient is a genuine supremum under the stated hypotheses (a sorry-free check accompanies the definitions), γ≥e\gamma \ge eγ≥e rules out negative logarithms, the class FM\mathcal{F}_{\mathcal{M}}FM​ is the whole class rather than the prior's support, and the reference model is not assumed to lie in the class.

Contributions welcome: proofs of the milestones in attack order; a general layer-cake lemma for finite sums; a formal disagreement coefficient bound by the star number or the eluder dimension (Lemma 6.1), which would lead to Theorem 6.1.

Selected references

  • D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, 2021 (v3, 2023). https://arxiv.org/abs/2112.13487
  • D. J. Foster, A. Rakhlin, D. Simchi-Levi, Y. Xu, Instance-Dependent Complexity of Contextual Bandits and Reinforcement Learning: A Disagreement-Based Perspective, Conference on Learning Theory (cited in the paper as Foster et al. 2020b). https://arxiv.org/abs/2010.03104
  • D. Russo, B. Van Roy, Eluder Dimension and the Sample Complexity of Optimistic Exploration, Advances in Neural Information Processing Systems 26, pp. 2256–2264, 2013. https://papers.nips.cc/paper_files/paper/2013
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4):1221–1243, 2014. https://doi.org/10.1287/moor.2014.0650 (arXiv: https://arxiv.org/abs/1301.2609)
8 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making III: E2D with Hellinger Confidence Sets Has Regret at Most Σ_t sup dec_γ(M_εt(M̄), M̄) + γ·Est_H(T,δ)Research Paper

Motivation

Interactive decision making covers bandits, contextual bandits and reinforcement learning: a learner repeatedly chooses a decision, observes a reward and an observation drawn from an unknown model, and tries to accumulate nearly as much reward as the best decision for that model. Foster, Kakade, Qian and Rakhlin (arXiv:2112.13487) introduced the Decision-Estimation Coefficient (DEC), a single quantity that gives lower bounds on the regret of every algorithm and, through the Estimation-to-Decisions (E2D) meta-algorithm, matching upper bounds. This mission formalizes the upper-bound side in its strongest form: E2D run with Hellinger confidence sets (Option II of Algorithm 1) has regret controlled by the localized DEC, the same quantity that appears in the paper's lower bounds (Theorems 3.1 and 3.2).

The basic E2D guarantee (33) in terms of the global DEC is already posed on Prove2Me as an open goal (FoundationsRL.GeneralDM.e2d_general_regret_bound_v2, the restatement in Foster and Rakhlin's lecture notes, arXiv:2312.16730, Proposition 26). It is not posed again here.

Setting

A decision space Π\PiΠ is a finite set. An outcome y=(r,o)y = (r, o)y=(r,o) consists of a reward and an observation and ranges over a finite set YYY, and rew(y)∈[0,1]\mathrm{rew}(y) \in [0,1]rew(y)∈[0,1] is its reward. A model MMM assigns to every decision π\piπ a probability distribution M(π)M(\pi)M(π) on YYY. Its mean reward is fM(π)=Ey∼M(π)[rew(y)]f^M(\pi) = \mathbb E_{y\sim M(\pi)}[\mathrm{rew}(y)]fM(π)=Ey∼M(π)​[rew(y)], and πM\pi_MπM​ is a decision maximizing fMf^MfM. The learner knows a model class M\mathcal MM that contains the true model M⋆M^\starM⋆. At round ttt it plays a distribution p(t)p^{(t)}p(t) on Π\PiΠ, and its regret is

RegDM=∑t=1TEπ∼p(t)[fM⋆(πM⋆)−fM⋆(π)].\mathrm{Reg}_{\mathrm{DM}} = \sum_{t=1}^T \mathbb E_{\pi\sim p^{(t)}}\big[f^{M^\star}(\pi_{M^\star}) - f^{M^\star}(\pi)\big].RegDM​=t=1∑T​Eπ∼p(t)​[fM⋆(πM⋆​)−fM⋆(π)].

Write DH2(P,Q)=∑y(P(y)−Q(y))2D^2_{\mathrm H}(P,Q) = \sum_y (\sqrt{P(y)} - \sqrt{Q(y)})^2DH2​(P,Q)=∑y​(P(y)​−Q(y)​)2 for the squared Hellinger distance. For a reference model Mˉ\bar MMˉ and γ>0\gamma > 0γ>0 the DEC is

decγ(M,Mˉ)=inf⁡p∈Δ(Π)sup⁡M∈MEπ∼p[fM(πM)−fM(π)−γ DH2(M(π),Mˉ(π))].\mathrm{dec}_\gamma(\mathcal M, \bar M) = \inf_{p\in\Delta(\Pi)} \sup_{M\in\mathcal M} \mathbb E_{\pi\sim p}\big[f^M(\pi_M) - f^M(\pi) - \gamma\, D^2_{\mathrm H}(M(\pi), \bar M(\pi))\big].decγ​(M,Mˉ)=p∈Δ(Π)inf​M∈Msup​Eπ∼p​[fM(πM​)−fM(π)−γDH2​(M(π),Mˉ(π))].

The localized class Mε(Mˉ)={M∈M:fMˉ(πMˉ)≥fM(πM)−ε}\mathcal M_\varepsilon(\bar M) = \{M\in\mathcal M : f^{\bar M}(\pi_{\bar M}) \ge f^M(\pi_M) - \varepsilon\}Mε​(Mˉ)={M∈M:fMˉ(πMˉ​)≥fM(πM​)−ε} keeps only the models whose optimal value exceeds that of Mˉ\bar MMˉ by at most ε\varepsilonε.

E2D with Option II receives at each round an estimate M^(t)\widehat M^{(t)}M(t) from an online estimation oracle. It keeps the confidence set M(t)\mathcal M^{(t)}M(t) of models whose accumulated Hellinger error against past estimates, ∑i<tEπ∼p(i)[DH2(M(π),M^(i)(π))]\sum_{i<t}\mathbb E_{\pi\sim p^{(i)}}[D^2_{\mathrm H}(M(\pi), \widehat M^{(i)}(\pi))]∑i<t​Eπ∼p(i)​[DH2​(M(π),M(i)(π))], is at most R2R^2R2. It plays a minimizer p(t)p^{(t)}p(t) of the DEC problem over M(t)\mathcal M^{(t)}M(t) at M^(t)\widehat M^{(t)}M(t). Assumption D.1 asks that, with probability 1−δ1-\delta1−δ, the oracle's Hellinger error on the rounds where M⋆∈M(t)M^\star \in \mathcal M^{(t)}M⋆∈M(t) is at most a known bound Est~H(T,δ)\widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta)EstH​(T,δ). It also asks that M^(t)∈co(M(t))\widehat M^{(t)} \in \mathrm{co}(\mathcal M^{(t)})M(t)∈co(M(t)).

Formalization targets

Goal: Theorem 4.1, (35) (in the form (137) of Theorem 4.1a)

With R2=Est~H(T,δ)R^2 = \widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta)R2=EstH​(T,δ), rewards in [0,1][0,1][0,1] and γ>0\gamma > 0γ>0, with probability at least 1−δ1-\delta1−δ,

RegDM≤∑t=1Tsup⁡Mˉ∈co(M)decγ(Mεt(Mˉ),Mˉ)+γ Est~H(T,δ),\mathrm{Reg}_{\mathrm{DM}} \le \sum_{t=1}^T \sup_{\bar M\in\mathrm{co}(\mathcal M)} \mathrm{dec}_\gamma\big(\mathcal M_{\varepsilon_t}(\bar M), \bar M\big) + \gamma\, \widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta),RegDM​≤t=1∑T​Mˉ∈co(M)sup​decγ​(Mεt​​(Mˉ),Mˉ)+γEstH​(T,δ), εt=6γtEst~H(T,δ)+sup⁡Mˉ∈co(M)decγ(M,Mˉ)+(2γ)−1.\varepsilon_t = 6\frac{\gamma}{t}\widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta) + \sup_{\bar M\in\mathrm{co}(\mathcal M)}\mathrm{dec}_\gamma(\mathcal M,\bar M) + (2\gamma)^{-1}.εt​=6tγ​EstH​(T,δ)+Mˉ∈co(M)sup​decγ​(M,Mˉ)+(2γ)−1.

Milestones (the steps of the proof in App. D.1)

  1. (138): the per-round step. At a minimizer p(t)p^{(t)}p(t), the instantaneous regret minus γ\gammaγ times the Hellinger error of M⋆M^\starM⋆ is at most decγ(M(t),M^(t))\mathrm{dec}_\gamma(\mathcal M^{(t)}, \widehat M^{(t)})decγ​(M(t),M(t)).
  2. Lemma D.1: on the event of Assumption D.1, M⋆∈M(t)M^\star \in \mathcal M^{(t)}M⋆∈M(t) for every ttt, and the total Hellinger error is at most Est~H(T,δ)\widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta)EstH​(T,δ).
  3. Lemma D.2: if M∈M(i)M\in\mathcal M^{(i)}M∈M(i) for all i≤ti\le ti≤t, then for any model Mˉ\bar MMˉ, fM(πM)−fMˉ(πMˉ)f^M(\pi_M) - f^{\bar M}(\pi_{\bar M})fM(πM​)−fMˉ(πMˉ​) is bounded by (2γ)−1(2\gamma)^{-1}(2γ)−1 plus the average over i≤ti\le ti≤t of the DEC values and Hellinger errors.
  4. Containment: M(t)⊆Mεt(M^(t))\mathcal M^{(t)} \subseteq \mathcal M_{\varepsilon_t}(\widehat M^{(t)})M(t)⊆Mεt​​(M(t)) for every round, with the radius derived on p. 99 using 2sup⁡dec2\sup\mathrm{dec}2supdec.

Companion results

  • Theorem 4.3, (47): E2D for a general divergence D≥0D \ge 0D≥0 and randomized estimators ν(t)\nu^{(t)}ν(t) satisfies RegDM≤sup⁡ν∈Δ(M^)decγD(M,ν)⋅T+γ EstD\mathrm{Reg}_{\mathrm{DM}} \le \sup_{\nu\in\Delta(\widehat{\mathcal M})}\mathrm{dec}^D_\gamma(\mathcal M,\nu)\cdot T + \gamma\,\mathrm{Est}_DRegDM​≤supν∈Δ(M)​decγD​(M,ν)⋅T+γEstD​ almost surely. With D=DH2D = D^2_{\mathrm H}D=DH2​ and point estimates it contains (33), so it is a generalization of the open goal above, not the same statement.
  • Theorem 8.1, (87): contextual E2D with arbitrary contexts satisfies RegDM≤sup⁡xdecγD(M∣x,M^∣x)⋅T+γ EstD\mathrm{Reg}_{\mathrm{DM}} \le \sup_{x}\mathrm{dec}^D_\gamma(\mathcal M|_x, \widehat{\mathcal M}|_x)\cdot T + \gamma\,\mathrm{Est}_DRegDM​≤supx​decγD​(M∣x​,M∣x​)⋅T+γEstD​.

Significance

The bound is the paper's most general upper bound. Together with the lower bounds of §3, it shows that the localized DEC characterizes the regret of interactive decision making up to the estimation term. With an aggregating estimator satisfying M^(t)∈co(M(t))\widehat M^{(t)}\in\mathrm{co}(\mathcal M^{(t)})M(t)∈co(M(t)) (App. A.3), it recovers the finite-class guarantee of Theorem 3.3. The companions extend E2D to general divergences, randomized estimators and adversarially chosen contexts. That last setting contains SquareCB for contextual bandits.

All results of this mission are proved in the paper. None was machine-checked before. Formalizing them produces a checked reduction from decision making to estimation for finite decision and outcome spaces, stated against the published DEC and localized-class definitions, so that later bounds on the DEC of specific classes (bandits, tabular RL) can be combined with it.

Difficulty

The non-localized bound follows from the per-round step (138) by summation. The localized bound does not: the per-round DEC is taken over the confidence set M(t)\mathcal M^{(t)}M(t), and replacing it by a localized class requires that every model surviving in M(t)\mathcal M^{(t)}M(t) have optimal value close to that of the current estimate M^(t)\widehat M^{(t)}M(t). The confidence set constrains Hellinger errors against past estimates, not optimal values, and the estimate itself is in general not a member of the class. Bridging these is the content of Lemma D.2 and the containment. The first round is a boundary case: there the confidence set is the whole class, so the containment holds only if the radius ε1\varepsilon_1ε1​ is at least the full range of the rewards.

Formalization scope

  • Finite alphabets. The paper works over measurable spaces. This mission takes a finite decision set Π\PiΠ (a Fintype), a finite outcome set YYY, and models m : S → Y → ℝ with every m π a probability vector. Expectations are finite sums. Contexts in Theorem 8.1 range over an arbitrary type.
  • Published layer. Hellinger distance, fMf^MfM, regret, the DEC (decGf, and dec for the supremum over co(M)\mathrm{co}(\mathcal M)co(M)) and the localized class are the published FoundationsRL.GeneralDM definitions, referenced and not redefined.
  • Pathwise statements. A run is a realized sequence of estimates, distributions and confidence sets tied to Algorithm 1 by IsOptionIIRun (lines 7 and 8 and M^(t)∈co(M(t))\widehat M^{(t)}\in\mathrm{co}(\mathcal M^{(t)})M(t)∈co(M(t))). "With probability at least 1−δ1-\delta1−δ" becomes the hypothesis EventD1, the event of Assumption D.1. Line 8's arg min is relaxed to "certifies the minimax value from above", as Remark 4.1 permits. Rounds are 0-based, and εt\varepsilon_tεt​ is evaluated at the paper's index.
  • Added hypothesis R2≥1/12R^2 \ge 1/12R2≥1/12 in the goal and the containment. Without it the goal is false. With R2=0R^2 = 0R2=0, two decisions, two Bernoulli models and γ=10\gamma = 10γ=10, the first round has positive regret while the right side is 000. In applications Est~H(T,δ)≥2log⁡(1/δ)\widetilde{\mathrm{Est}}_{\mathrm H}(T,\delta)\ge 2\log(1/\delta)EstH​(T,δ)≥2log(1/δ).
  • Radius. The goal uses the printed theorem radius with 1⋅sup⁡dec1\cdot\sup\mathrm{dec}1⋅supdec. The containment milestone uses the p. 99 proof radius with 2⋅sup⁡dec2\cdot\sup\mathrm{dec}2⋅supdec. Averaging the DEC terms over the t−1t-1t−1 earlier rounds gives the goal's sharper factor.
  • Junk values. When a localized class is empty, its Lean DEC is 000 instead of −∞-\infty−∞, which only weakens the bound. All other suprema are over nonempty bounded sets.
  • Ruled out. Leaving the confidence sets, estimates or distributions unconstrained would make the goal false or trivial; they are tied to the algorithm by IsOptionIIRun. The open bound (33) is not restated.
  • Welcome contributions. Convexity and the triangle inequality for DH2D^2_{\mathrm H}DH2​, the bound ∣fM−fMˉ∣≤DH|f^M - f^{\bar M}| \le D_{\mathrm H}∣fM−fMˉ∣≤DH​ for rewards in [0,1][0,1][0,1], and monotonicity of decGf in the class are reusable beyond this mission.

Selected references

  • D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, v3, 2023. https://arxiv.org/abs/2112.13487
  • D. J. Foster, A. Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, lecture notes, 2023. https://arxiv.org/abs/2312.16730
  • D. J. Foster, A. Rakhlin, Beyond UCB: Optimal and Efficient Contextual Bandits with Regression Oracles, ICML 2020. https://arxiv.org/abs/2002.04926
13 thms1 active userReviewed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making VIII: Linear Bandits on the Unit Ball Have Localized DEC at Least d/(12γ)Research Paper

Why a lower bound on the DEC for linear bandits

In a linear bandit a learner repeatedly chooses a decision π\piπ from a set Π⊆Rd\Pi \subseteq \mathbb{R}^dΠ⊆Rd and observes a noisy reward whose mean is ⟨θ⋆,π⟩\langle \theta^\star, \pi\rangle⟨θ⋆,π⟩ for an unknown parameter θ⋆\theta^\starθ⋆. It is the standard model for sequential decisions with many correlated actions, such as ad placement, routing and recommendation, and its minimax regret over TTT rounds is known to scale as dTd\sqrt{T}dT​ up to logarithmic factors (Dani, Hayes and Kakade, COLT 2008; see Lattimore and Szepesvári, 2020, Ch. 19–24).

Foster, Kakade, Qian and Rakhlin (2021) introduce the Decision-Estimation Coefficient (DEC), a single complexity measure that yields both upper and lower bounds on the regret of every interactive decision problem. A complexity measure of this kind is only useful if it is tight on the classical examples. Proposition 6.2 of that paper checks this for linear bandits on the Euclidean unit ball: the localized DEC is at least of order d/γd/\gammad/γ, which, through the paper's general lower bound (Theorem 3.2), gives the regret lower bound Ω(dT)\Omega(\sqrt{dT})Ω(dT​). Proposition 6.8 gives the analogous statement for linear bandits whose models have a fixed gap Δ\DeltaΔ.

Setting

Let Bd={v∈Rd:∥v∥2≤1}\mathbb{B}^d = \{v \in \mathbb{R}^d : \|v\|_2 \le 1\}Bd={v∈Rd:∥v∥2​≤1} be the closed Euclidean unit ball. It is both the decision space Π\PiΠ and the parameter set Θ\ThetaΘ. A model with parameter θ∈Θ\theta \in \Thetaθ∈Θ returns, at decision π\piπ, an outcome in {−1,+1}\{-1, +1\}{−1,+1} drawn from the Rademacher distribution Rad(⟨θ,π⟩)\mathrm{Rad}(\langle\theta,\pi\rangle)Rad(⟨θ,π⟩), which puts mass (1+μ)/2(1+\mu)/2(1+μ)/2 on +1+1+1 and (1−μ)/2(1-\mu)/2(1−μ)/2 on −1-1−1 when its mean is μ\muμ. The mean reward is fθ(π)=⟨θ,π⟩f^\theta(\pi) = \langle \theta, \pi\ranglefθ(π)=⟨θ,π⟩.

A maximizer selector θ↦πθ\theta \mapsto \pi_\thetaθ↦πθ​ picks a decision with ⟨θ,π⟩≤⟨θ,πθ⟩\langle\theta,\pi\rangle \le \langle\theta,\pi_\theta\rangle⟨θ,π⟩≤⟨θ,πθ​⟩ for all π\piπ. The regret of a decision is gθ(π)=fθ(πθ)−fθ(π)g^\theta(\pi) = f^\theta(\pi_\theta) - f^\theta(\pi)gθ(π)=fθ(πθ​)−fθ(π). Two outcome laws are compared by the squared Hellinger distance DH2(P,Q)=∑y(P(y)−Q(y))2D^2_{\mathrm{H}}(P,Q) = \sum_y (\sqrt{P(y)}-\sqrt{Q(y)})^2DH2​(P,Q)=∑y​(P(y)​−Q(y)​)2.

Given a reference model M‾\overline{M}M, the L∞L_\inftyL∞​-localized class at radius ε\varepsilonε is

Mε∞(M‾)={M∈M:∣gM(π)−gM‾(π)∣≤ε  ∀π∈Π},\mathcal{M}^\infty_\varepsilon(\overline{M}) = \{ M \in \mathcal{M} : |g^M(\pi) - g^{\overline{M}}(\pi)| \le \varepsilon \ \ \forall \pi \in \Pi \},Mε∞​(M)={M∈M:∣gM(π)−gM(π)∣≤ε  ∀π∈Π},

and the DEC at scale γ>0\gamma > 0γ>0 is

decγ(M′,M‾)=inf⁡p∈Δ(Π)sup⁡M∈M′Eπ∼p[gM(π)−γ DH2(M(π),M‾(π))],\mathsf{dec}_\gamma(\mathcal{M}', \overline{M}) = \inf_{p \in \Delta(\Pi)} \sup_{M \in \mathcal{M}'} \mathbb{E}_{\pi\sim p}\bigl[ g^M(\pi) - \gamma\, D^2_{\mathrm{H}}(M(\pi), \overline{M}(\pi)) \bigr],decγ​(M′,M)=p∈Δ(Π)inf​M∈M′sup​Eπ∼p​[gM(π)−γDH2​(M(π),M(π))],

the infimum running over all Borel probability measures ppp on Π\PiΠ.

Formalization targets

Goal: Proposition 6.2

For all d≥4d \ge 4d≥4 and γ≥2d/3\gamma \ge 2d/3γ≥2d/3 there is M‾∈M\overline{M} \in \mathcal{M}M∈M with

decγ(Mεγ∞(M‾),M‾)≥d12γ,εγ=2d3γ.\mathsf{dec}_\gamma\bigl(\mathcal{M}^\infty_{\varepsilon_\gamma}(\overline{M}), \overline{M}\bigr) \ge \frac{d}{12\gamma}, \qquad \varepsilon_\gamma = \frac{2d}{3\gamma}.decγ​(Mεγ​∞​(M),M)≥12γd​,εγ​=3γ2d​.

The page prints εγ=d/(3γ)\varepsilon_\gamma = d/(3\gamma)εγ​=d/(3γ). The hard family of its proof has regret functions Δ(1−πi)\Delta(1-\pi_i)Δ(1−πi​), which reach 2Δ2\Delta2Δ at π=−ei\pi = -e_iπ=−ei​ while the reference regret is identically 000, so the family lies in the class of radius 2Δ2\Delta2Δ and not in the class of radius Δ\DeltaΔ. The goal is stated at the radius the proof supports.

Milestones

  1. Lemma A.8: DH2(Rad(μ),Rad(0))≤34μ2D^2_{\mathrm{H}}(\mathrm{Rad}(\mu), \mathrm{Rad}(0)) \le \tfrac34\mu^2DH2​(Rad(μ),Rad(0))≤43​μ2 on [−1,1][-1,1][−1,1], together with the two general bounds of the lemma.
  2. Lemma 5.1: an (α,β,δ)(\alpha,\beta,\delta)(α,β,δ)-family forces decγ≥α/2−γ(β/N+δ)\mathsf{dec}_\gamma \ge \alpha/2 - \gamma(\beta/N + \delta)decγ​≥α/2−γ(β/N+δ), stated for a general measurable decision space.
  3. The hard family θi=Δei\theta_i = \Delta e_iθi​=Δei​: regret Δ(1−πi)\Delta(1-\pi_i)Δ(1−πi​) and DH2(Mi(π),Rad(0))≤34Δ2πi2D^2_{\mathrm{H}}(M_i(\pi), \mathrm{Rad}(0)) \le \tfrac34\Delta^2\pi_i^2DH2​(Mi​(π),Rad(0))≤43​Δ2πi2​. With the coordinate bounds ∑iπi≤d≤d/2\sum_i \pi_i \le \sqrt d \le d/2∑i​πi​≤d​≤d/2 (d≥4d \ge 4d≥4) and ∑iπi2≤1\sum_i \pi_i^2 \le 1∑i​πi2​≤1, stated as a separate item, this makes the family a (Δ,34Δ2,0)(\Delta, \tfrac34\Delta^2, 0)(Δ,43​Δ2,0)-family.
  4. Localization: the family lies in M2Δ∞(Rad(0))\mathcal{M}^\infty_{2\Delta}(\mathrm{Rad}(0))M2Δ∞​(Rad(0)).

Companion: Proposition 6.8

For Δ∈(0,1/4)\Delta \in (0, 1/4)Δ∈(0,1/4) and d≥2d \ge 2d≥2, an explicit class of linear bandit models on {e1,…,ed}\{e_1,\dots,e_d\}{e1​,…,ed​}, each with gap Δ\DeltaΔ, satisfies decγ(MΔ∞(M‾),M‾)≥(Δ/4) I{γ≤d/(12Δ)}\mathsf{dec}_\gamma(\mathcal{M}^\infty_\Delta(\overline{M}),\overline{M}) \ge (\Delta/4)\,\mathbb{I}\{\gamma \le d/(12\Delta)\}decγ​(MΔ∞​(M),M)≥(Δ/4)I{γ≤d/(12Δ)} for all γ>0\gamma > 0γ>0.

Significance

The bound shows that the DEC of linear bandits under Euclidean geometry is of order d/γd/\gammad/γ, which matches, up to constants, the upper bound decγSq≤d/(4γ)\mathsf{dec}^{\mathrm{Sq}}_\gamma \le d/(4\gamma)decγSq​≤d/(4γ) on the square-loss variant of the DEC certified by the strategy of Proposition 6.1. Through Theorem 3.2 it gives the regret lower bound Ω(dT)\Omega(\sqrt{dT})Ω(dT​) for every algorithm. Proposition 6.8 shows that the DEC gives meaningful lower bounds even for classes of models with a fixed gap.

All results are proved in the paper. None has a machine-checked proof. The mission produces a formal statement of the linear-bandit lower bound with its radius corrected, the hard-family lemma (Lemma 5.1) in a form that applies to infinite decision spaces and to range-free uiu_iui​, and the Rademacher Hellinger estimates that later DEC lower bounds reuse.

Difficulty

The arithmetic of the construction is short. The work is in the infrastructure.

  • The infimum runs over all Borel probability measures on the ball, not over finitely supported ones. Lemma 5.1 must therefore be proved for Bochner integrals, with the integrability of the payoff established from its continuity on the compact ball.
  • The bound ∑iπi≤d≤d/2\sum_i \pi_i \le \sqrt d \le d/2∑i​πi​≤d​≤d/2 is Cauchy–Schwarz on Rd\mathbb{R}^dRd and needs d≥4d \ge 4d≥4.
  • The value ⟨θi,πθi⟩=Δ\langle\theta_i, \pi_{\theta_i}\rangle = \Delta⟨θi​,πθi​​⟩=Δ must come from the selector hypothesis plus Cauchy–Schwarz, because the selector is not given explicitly.
  • Lemma 5.1 cannot be applied in the form printed in Definition 5.1: there uiu_iui​ takes values in [0,1][0,1][0,1], but the family's ui(π)=πiu_i(\pi) = \pi_iui​(π)=πi​ can be negative. The lemma is needed without the range conditions.

Formalization scope

  • Outcomes. They are finite: the ±1\pm1±1 outcome is encoded on Bool, and models are the Rademacher laws Rad(⟨θ,π⟩)\mathrm{Rad}(\langle\theta,\pi\rangle)Rad(⟨θ,π⟩), identified with their parameters θ∈Bd\theta \in \mathbb{B}^dθ∈Bd. The paper's class contains every reward law on [−1,1][-1,1][−1,1] with linear mean. The Rademacher subclass has a smaller localized class, so a lower bound for it implies the paper's.
  • Decisions. For the goal they range over the ball itself (an infinite space with its Borel σ\sigmaσ-algebra), and decision distributions are arbitrary ProbabilityMeasures on it.
  • The DEC is unfolded. For every ppp some model of the localized class attains the bound. This is what the proof shows, and it implies the inf–sup inequality.
  • Selectors. πM\pi_MπM​ is a selector with a maximizer hypothesis, so statements hold for every choice of maximizer.
  • Added hypotheses. Lemma 5.1 carries α,β≥0\alpha, \beta \ge 0α,β≥0 and integrability of its four functions. Proposition 6.8 carries d≥2d \ge 2d≥2.
  • No trivializing reading. The integrals in the goal are genuine: the integrand is bounded and continuous, and a sanity file proves integrability, so the Bochner convention ∫f=0\int f = 0∫f=0 for non-integrable fff never applies. The goal's quantifier over ppp is not restricted. The radius 2d/(3γ)2d/(3\gamma)2d/(3γ) is the smallest the construction allows.
  • Definitions and reuse. The mission defines the unit ball, Rad\mathrm{Rad}Rad, the linear model, the regret gθg^\thetagθ, and the localized class over a measurable decision space. It references the published hellingerSq, fM and decGf. The general Lemma 5.1 and Lemma A.8 are reusable for every DEC lower bound in §§5–7.

Contributions welcome: proofs of the milestones, a version of the goal through an explicit inf–sup definition of the DEC over measures, and the general model class with arbitrary reward laws on [−1,1][-1,1][−1,1].

Selected references

  • D. J. Foster, S. M. Kakade, J. Qian, A. Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, v3, 2023. https://arxiv.org/abs/2112.13487
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020 (linear bandits, Ch. 19–24). https://doi.org/10.1017/9781108571401
  • D. J. Foster, C. Gentile, M. Mohri, J. Zimmert, Adapting to Misspecification in Contextual Bandits, NeurIPS 2020 (Proposition 6.1's strategy). https://arxiv.org/abs/2107.05745
11 thms1 active userReviewed
Machine LearningStatistics·Captain: mikedeng1

The Statistical Complexity of Interactive Decision Making II: Every Algorithm Has Expected Regret at Least (1/6)·dec_γ(M^∞_ε̄γ(M̄), M̄)·T, the Localized DEC Lower BoundResearch Paper

Why expected regret needs a lower bound

In interactive decision making, an algorithm chooses actions while learning which model governs its observations. A low-regret guarantee for one algorithm does not by itself say whether every algorithm could do better. The Decision-Estimation Coefficient (DEC) was introduced to express the cost of choosing useful decisions while distinguishing plausible models. Foster, Kakade, Qian and Rakhlin's Theorem 3.2 gives the corresponding lower bound: when a localized model class has large DEC, an adaptive algorithm must incur expected regret under at least one model in the class. This mission formalizes that result for finite decision and outcome alphabets.

The paper's protocol covers bandits, partial monitoring, and reinforcement-learning examples through a common model that maps each decision to a distribution over rewards and observations. Its lower bound concerns the protocol itself, rather than any one algorithm or application. The theorem therefore gives a common test for the limits of learning in several interactive settings. The finite-alphabet representation here retains adaptive decision kernels, which are central to the theorem.

Models, algorithms and the coefficient

Let Π\PiΠ be the set of decisions, YYY the set of joint reward–observation outcomes, and r:Y→Rr:Y\to\mathbb Rr:Y→R the reward map. A model MMM assigns a probability distribution M(π)M(\pi)M(π) on YYY to each π∈Π\pi\in\Piπ∈Π. Its mean reward is fM(π)=Ey∼M(π)r(y)f^M(\pi)=\mathbb E_{y\sim M(\pi)}r(y)fM(π)=Ey∼M(π)​r(y), and πM\pi_MπM​ is a maximizing decision. The gap function is gM(π)=fM(πM)−fM(π)g^M(\pi)=f^M(\pi_M)-f^M(\pi)gM(π)=fM(πM​)−fM(π).

At round ttt, an adaptive algorithm assigns a distribution p(t)(⋅∣H(t−1))p^{(t)}(\cdot\mid H^{(t-1)})p(t)(⋅∣H(t−1)) on decisions using the full preceding history. It samples a decision from that distribution and receives an outcome drawn from M(π(t))M(\pi^{(t)})M(π(t)). The joint law of the length-TTT history is PM,pP^{M,p}PM,p. Following equation (1) of the paper, regret sums the gaps averaged under the algorithm's chosen distribution at each round. Thus its expectation is over the history law, while the inner gap is averaged under p(t)p^{(t)}p(t). This formulation retains the algorithm's dependence on earlier outcomes.

For probability distributions P,QP,QP,Q on YYY, write DH2(P,Q)=∑y(P(y)−Q(y))2D_H^2(P,Q)=\sum_y(\sqrt{P(y)}-\sqrt{Q(y)})^2DH2​(P,Q)=∑y​(P(y)​−Q(y)​)2 for squared Hellinger distance. For a reference model Mˉ\bar MMˉ and γ>0\gamma>0γ>0, the DEC of a class N\mathcal NN is

dec⁡γ(N,Mˉ)=inf⁡q∈Δ(Π)sup⁡M∈NEπ∼q[gM(π)−γDH2(M(π),Mˉ(π))].\operatorname{dec}_\gamma(\mathcal N,\bar M)= \inf_{q\in\Delta(\Pi)}\sup_{M\in\mathcal N} \mathbb E_{\pi\sim q}\left[g^M(\pi)-\gamma D_H^2(M(\pi),\bar M(\pi))\right].decγ​(N,Mˉ)=q∈Δ(Π)inf​M∈Nsup​Eπ∼q​[gM(π)−γDH2​(M(π),Mˉ(π))].

The uniformly localized class Mε∞(Mˉ)\mathcal M^\infty_\varepsilon(\bar M)Mε∞​(Mˉ) contains those M∈MM\in\mathcal MM∈M for which ∣gM(π)−gMˉ(π)∣≤ε|g^M(\pi)-g^{\bar M}(\pi)|\le\varepsilon∣gM(π)−gMˉ(π)∣≤ε for every decision. The density-ratio bound V(M)V(\mathcal M)V(M) is the supremum of event likelihood ratios M(A∣π)/M′(A∣π)M(A\mid\pi)/M'(A\mid\pi)M(A∣π)/M′(A∣π) over both models, decisions and events, with a lower cutoff of eee. It may be infinite. These conventions are equations (2), (5), and (12), and the definition immediately before Theorem 3.1 in the source.

Formalization targets

Localized DEC lower bound

Suppose M\mathcal MM is nonempty, every model is a probability kernel, and fM(π)∈[0,1]f^M(\pi)\in[0,1]fM(π)∈[0,1] for every M∈MM\in\mathcal MM∈M and π∈Π\pi\in\Piπ∈Π. For T≥1T\ge1T≥1, set C(T)=211log⁡(2T∧V(M))C(T)=2^{11}\log(2T\wedge V(\mathcal M))C(T)=211log(2T∧V(M)) and εˉγ=γ/(C(T)T)\bar\varepsilon_\gamma=\gamma/(C(T)T)εˉγ​=γ/(C(T)T). The goal is the following supremum form of Theorem 3.2, equation (13):

sup⁡M∈MEM,p[Reg⁡DM]≥T6dec⁡γ(Mεˉγ∞(Mˉ),Mˉ)(γ>0, Mˉ∈M).\sup_{M\in\mathcal M}\mathbb E^{M,p}[\operatorname{Reg}_{\rm DM}] \ge \frac{T}{6}\operatorname{dec}_\gamma \bigl(\mathcal M^\infty_{\bar\varepsilon_\gamma}(\bar M),\bar M\bigr) \qquad(\gamma>0,\ \bar M\in\mathcal M).M∈Msup​EM,p[RegDM​]≥6T​decγ​(Mεˉγ​∞​(Mˉ),Mˉ)(γ>0, Mˉ∈M).

The paper writes the result with a maximum over γ\gammaγ and a supremum over Mˉ\bar MMˉ, and says that one model attains the resulting bound. Its proof explicitly permits a limit sequence when the inner supremum is not attained. The displayed statement records exactly the resulting bound on the supremum of expected regret. It implies an arbitrarily close model-specific bound for each fixed γ\gammaγ and Mˉ\bar MMˉ.

Supporting targets

The milestones follow the statements the paper's proof (App. C.1.3, pp. 90–91) uses, in attack order: the multiplicative Hellinger comparison of Lemma A.11; the difference comparison of Lemma A.12; the Hellinger bound on adaptive history laws, DH2(PM,PMˉ)≤CT T Eπ∼pMˉ[DH2(M(π),Mˉ(π))]D_H^2(P^M,P^{\bar M})\le C_T\,T\,\mathbb E_{\pi\sim p_{\bar M}}[D_H^2(M(\pi),\bar M(\pi))]DH2​(PM,PMˉ)≤CT​TEπ∼pMˉ​​[DH2​(M(π),Mˉ(π))] with CT=28log⁡(2T∧(VMˉ(M)∨e))C_T=2^8\log(2T\wedge(V^{\bar M}(\mathcal M)\vee e))CT​=28log(2T∧(VMˉ(M)∨e)); the DEC comparison at the reference model's average play pMˉp_{\bar M}pMˉ​, (129); the localized gap comparison (132); and the final inequality EpM[gM]+EpMˉ[gMˉ]≥13dec⁡γ\mathbb E_{p_M}[g^M]+\mathbb E_{p_{\bar M}}[g^{\bar M}]\ge\frac13\operatorname{dec}_\gammaEpM​​[gM]+EpMˉ​​[gMˉ]≥31​decγ​ for ε≤γ/(8CTT)\varepsilon\le\gamma/(8C_TT)ε≤γ/(8CT​T). Their source wording and page citations are preserved in the milestone list.

What the result supplies

The theorem supplies a quantitative obstruction to uniformly small expected regret. It uses the same coefficient that appears in the paper's upper-bound framework, so a model class with matching upper and lower DEC estimates can have its regret scale characterized through one object. In particular, the coefficient is sensitive to the model neighborhood relevant at horizon TTT; replacing it by a global coefficient would lose the theorem's stated localization. The paper applies this framework to bandit and reinforcement-learning classes.

The goal and milestone declarations here are open Lean statements with checked syntax and types. A complete formalization would supply proofs of the Hellinger comparisons, the history-law inequality, and the lower bound itself. The history and density-ratio definitions are reusable for other adaptive finite-alphabet lower bounds; the published FoundationsRL mean reward, Hellinger distance and DEC definitions are reused directly.

Where the difficulty lies

A fixed sequence of decision distributions does not describe the theorem's algorithms: later decisions depend on outcomes produced by the unknown model. The comparison must therefore use two different laws on entire histories generated by the same adaptive kernels under two models. A bound on a single round's divergence cannot simply be multiplied by TTT without accounting for the dependence of future decision distributions on past observations. The DEC itself involves a minimum over decision distributions and a supremum over models, which need not be attained.

Formalization scope

The Lean representation uses finite Π\PiΠ and YYY; probability laws and expectations are finite vectors and sums. This is a finite-alphabet specialization of the paper's measurable-space setting. Histories are functions from round indices to decision–outcome pairs. The algorithm is a family of kernels from every possible past history to a decision distribution. Its law is the product of its decision probabilities and the model's outcome probabilities. Rounds are indexed from zero in Lean, corresponding to the paper's rounds 1,…,T1,\ldots,T1,…,T.

Every model in M\mathcal MM and every algorithm kernel is normalized and nonnegative. The mean reward range [0,1][0,1][0,1], nonempty model class, maximizing selector, and positive horizon are explicit hypotheses. They keep the real-valued supremum and infimum in the published DEC from taking Lean's default values on empty or unbounded sets. An event with positive numerator and zero denominator has infinite likelihood ratio; V(M)=+∞V(\mathcal M)=+\inftyV(M)=+∞ remains allowed because the theorem uses 2T∧V(M)2T\wedge V(\mathcal M)2T∧V(M). Its logarithm therefore has a finite, positive argument for T≥1T\ge1T≥1. The goal uses the exact constants 2112^{11}211 and 1/61/61/6. The proof's constant CTC_TCT​ is printed on p. 90 as 28(log⁡(2T)∧log⁡VMˉ(M))2^8(\log(2T)\wedge\log V^{\bar M}(\mathcal M))28(log(2T)∧logVMˉ(M)); the formalization uses VMˉ(M)∨eV^{\bar M}(\mathcal M)\vee eVMˉ(M)∨e, the hypothesis V≥eV\ge eV≥e of Lemma A.13 (98) from which CTC_TCT​ is derived. Without it the history bound fails for two nearly equal models, and with it 8CT≤C(T)8C_T\le C(T)8CT​≤C(T) still holds, so the goal is unaffected. The intermediate results that select a model approaching a supremum carry an arbitrary slack η>0\eta>0η>0, the paper's "limit sequence".

Contributions should preserve the adaptive history law and equation (1)'s decision-distribution regret. A statement restricted to predetermined decisions would leave out the central quantifier of Theorem 3.2. The published FoundationsRL definitions of fMf^MfM, DH2D_H^2DH2​ and dec⁡γ\operatorname{dec}_\gammadecγ​ provide the shared finite model interface; the new history and density-ratio layer can support further lower bounds in this series.

Selected references

  • Dylan J. Foster, Sham M. Kakade, Jian Qian, and Alexander Rakhlin, The Statistical Complexity of Interactive Decision Making, arXiv preprint, version 3, 2023. arXiv:2112.13487v3.
  • Dylan J. Foster and Alexander Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv preprint, 2023. arXiv:2312.16730v1.
12 thms1 active userReviewed
Dynamic ProgrammingProbability·Captain: mikedeng1

Global Optimality Guarantees for Policy Gradient Methods 5: The Effective Concentrability Coefficient Is at Most 1/min ρ(s), ‖dη_π*/dρ‖∞, or C/cResearch Paper

Motivation

Policy gradient methods optimize a parameterized policy for a Markov decision process by local search on its expected cost. The objective is nonconvex, so local search can in principle stall at a poor stationary point. Bhandari and Russo, Global Optimality Guarantees for Policy Gradient Methods show that for a broad family of control problems this does not happen, and, in quantitative form, that the objective is gradient dominated: its suboptimality is bounded by a multiple of the size of its gradient. The multiple involves a single problem-dependent quantity, the effective concentrability coefficient κρ\kappa_\rhoκρ​, which measures how well the initial state distribution ρ\rhoρ covers the states that matter for optimal behaviour. Theorem 2 and the convergence rates of Theorem 5 of the paper are only informative when κρ\kappa_\rhoκρ​ is finite, so sufficient conditions for a finite κρ\kappa_\rhoκρ​ are what make those results usable. This mission formalizes the paper's three such conditions (Theorem 4).

Distribution-mismatch coefficients of this kind go back to Kakade and Langford (2002), and appear in the analyses of approximate dynamic programming by Scherrer and Geist (2014) and of policy gradient methods in finite MDPs by Agarwal et al. (2021).

Setting

A discounted Markov decision process consists of a measurable state space S\mathcal SS, nonempty feasible action sets As\mathcal A_sAs​, a bounded measurable per-period cost g(s,a)g(s,a)g(s,a), a transition kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and an initial probability distribution ρ\rhoρ on S\mathcal SS. A feasible measurable stationary policy π\piπ (π∈Π\pi\in\Piπ∈Π) picks an action π(s)∈As\pi(s)\in\mathcal A_sπ(s)∈As​ in every state. Its cost-to-go Jπ(s)J_\pi(s)Jπ​(s) is the expected discounted cost from sss, its discounted state-occupancy measure is

ηπ(⋅)=(1−γ)∑t≥0γt Pr⁡ρπ(st∈⋅),\eta_\pi(\cdot)=(1-\gamma)\sum_{t\ge0}\gamma^t\,\Pr{}^\pi_\rho(s_t\in\cdot),ηπ​(⋅)=(1−γ)t≥0∑​γtPrρπ​(st​∈⋅),

and its average cost is ℓ(π)=(1−γ)∫Jπ dρ\ell(\pi)=(1-\gamma)\int J_\pi\,d\rhoℓ(π)=(1−γ)∫Jπ​dρ. The Bellman operator acts on bounded measurable functions by

(TJ)(s)=min⁡a∈As[g(s,a)+γ∫J(s′) P(ds′∣s,a)].(TJ)(s)=\min_{a\in\mathcal A_s}\Big[g(s,a)+\gamma\int J(s')\,P(ds'\mid s,a)\Big].(TJ)(s)=a∈As​min​[g(s,a)+γ∫J(s′)P(ds′∣s,a)].

An optimal policy π∗\pi^*π∗ minimizes JπJ_\piJπ​ at every state; J∗=Jπ∗J^*=J_{\pi^*}J∗=Jπ∗​. A policy class ΠΘ={πθ:θ∈Θ}\Pi_\Theta=\{\pi_\theta:\theta\in\Theta\}ΠΘ​={πθ​:θ∈Θ} is indexed by a convex set Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd, and JΘ={Jπθ:θ∈Θ}\mathcal J_\Theta=\{J_{\pi_\theta}:\theta\in\Theta\}JΘ​={Jπθ​​:θ∈Θ}.

The effective concentrability coefficient κρ\kappa_\rhoκρ​ (Definition 3) is the smallest scalar κ\kappaκ such that

∥J−J∗∥1,ρ≤κ1−γ ∥J−TJ∥1,ρ∀J∈JΘ,(13)\|J-J^*\|_{1,\rho}\le\frac{\kappa}{1-\gamma}\,\|J-TJ\|_{1,\rho}\qquad\forall J\in\mathcal J_\Theta,\tag{13}∥J−J∗∥1,ρ​≤1−γκ​∥J−TJ∥1,ρ​∀J∈JΘ​,(13)

with ∥J∥1,ρ=∫∣J∣ dρ\|J\|_{1,\rho}=\int|J|\,d\rho∥J∥1,ρ​=∫∣J∣dρ, and κρ=∞\kappa_\rho=\inftyκρ​=∞ if no scalar works. It converts a ρ\rhoρ-weighted Bellman error into a ρ\rhoρ-weighted optimality gap.

Formalization targets

Goal: Theorem 4(b)

If ηπ∗(B)≤Cρ(B)\eta_{\pi^*}(B)\le C\rho(B)ηπ∗​(B)≤Cρ(B) for every measurable set BBB, then CCC satisfies (13); equivalently

κρ≤∥dηπ∗dρ∥∞.\kappa_\rho\le\Big\|\frac{d\eta_{\pi^*}}{d\rho}\Big\|_\infty .κρ​≤​dρdηπ∗​​​∞​.

Companions: Theorem 4(a) and 4(c)

(a) If S\mathcal SS is finite and ρ(s)>0\rho(s)>0ρ(s)>0 for all sss, then κρ≤1/min⁡sρ(s)\kappa_\rho\le 1/\min_{s}\rho(s)κρ​≤1/mins​ρ(s). (c) If TTT is a contraction with modulus γ\gammaγ in a norm ∥⋅∥\|\cdot\|∥⋅∥ with c∥J∥≤∥J∥1,ρ≤C∥J∥c\|J\|\le\|J\|_{1,\rho}\le C\|J\|c∥J∥≤∥J∥1,ρ​≤C∥J∥, then κρ≤C/c\kappa_\rho\le C/cκρ​≤C/c.

Milestones

The element-wise inequalities TJ⪯TπJTJ\preceq T_\pi JTJ⪯Tπ​J, TJπ⪯JπTJ_\pi\preceq J_\piTJπ​⪯Jπ​ (5); the performance difference identity ℓ(π)−ℓ(πˉ)=∫[TπJπˉ−Jπˉ] dηπ\ell(\pi)-\ell(\bar\pi)=\int[T_\pi J_{\bar\pi}-J_{\bar\pi}]\,d\eta_\piℓ(π)−ℓ(πˉ)=∫[Tπ​Jπˉ​−Jπˉ​]dηπ​ (29); the sup-norm bound ∥Jπ−J∗∥∞≤(1−γ)−1∥Jπ−TJπ∥∞\|J_\pi-J^*\|_\infty\le(1-\gamma)^{-1}\|J_\pi-TJ_\pi\|_\infty∥Jπ​−J∗∥∞​≤(1−γ)−1∥Jπ​−TJπ​∥∞​ (26); the occupancy-weighted inequality (1−γ)∫(Jπ−J∗) dρ≤∫(Jπ−TJπ) dηπ∗(1-\gamma)\int(J_\pi-J^*)\,d\rho\le\int(J_\pi-TJ_\pi)\,d\eta_{\pi^*}(1−γ)∫(Jπ​−J∗)dρ≤∫(Jπ​−TJπ​)dηπ∗​ from the proof of part (b); and the contraction step ∥J−J∗∥≤(1−γ)−1∥J−TJ∥\|J-J^*\|\le(1-\gamma)^{-1}\|J-TJ\|∥J−J∗∥≤(1−γ)−1∥J−TJ∥ from the proof of part (c).

Significance

Theorem 4 is what turns the paper's gradient-dominance theorem into a usable statement: with part (b), the constant in Theorem 2 is bounded by the worst-case likelihood ratio between the optimal policy's state distribution and the initial distribution, a quantity that can be checked without knowing the policy class. Part (a) shows that in finite problems any fully supported initial distribution suffices, and part (c) gives a route through weighted norms, used in the paper for optimal stopping (Lemma 13).

The results are proved in the paper. None of them is machine-checked. The mission produces a general-state-space formalization of the discounted cost MDP (kernels, occupancy measures, Bellman operators, measurable selection) together with the performance difference identity on measurable state spaces; existing formal developments of policy gradient theory on the platform are for finite MDPs only. The occupancy-measure and Bellman-operator layer is shared with the other missions of this series.

Difficulty

The argument for part (b) is short on paper, but each step is a measure-theoretic statement about infinite-horizon objects. The performance difference identity (29) exchanges an infinite discounted sum with integration against the chain's laws and needs the occupancy measure to be built from the ttt-step kernels of the controlled chain. The change of measure from ηπ∗\eta_{\pi^*}ηπ∗​ to ρ\rhoρ needs the Bellman error Jπ−TJπJ_\pi-TJ_\piJπ​−TJπ​ to be nonnegative and integrable; its measurability is not automatic, because TJTJTJ is a pointwise minimum over uncountably many actions, and is supplied by the measurable selection assumption. Part (c) needs the fixed-point property TJ∗=J∗TJ^*=J^*TJ∗=J∗ of the optimal cost-to-go, which again rests on measurable selection.

Formalization scope

All statements use one Lean layer: MDP S A with measurable spaces S, A (a generalization of the paper's Borel subsets of Euclidean spaces), the cost and kernel given on all of S×A\mathcal S\times\mathcal AS×A, measurable stationary policies MPolicy S A, and costToGo, occupancy, loss, bellmanPi, bellmanOpt. The paper prints the Bellman operators (3)–(4) without the discount factor; every later use includes it, and so does the formalization. The optimal policy is a binder πstar with IsOptimal M πstar. Assumptions 1 and 2 of the paper are standing hypotheses of every main statement.

The coefficient κρ\kappa_\rhoκρ​ is never formed as a number: "κρ≤X\kappa_\rho\le Xκρ​≤X" is the predicate IsConcBound M Θ πθ πstar X, which says that XXX satisfies (13); because the right-hand side of (13) is nondecreasing in the scalar, the two are equivalent. Part (b) quantifies over every CCC with ηπ∗≤Cρ\eta_{\pi^*}\le C\rhoηπ∗​≤Cρ setwise, which is equivalent to ∥dηπ∗/dρ∥∞≤C\|d\eta_{\pi^*}/d\rho\|_\infty\le C∥dηπ∗​/dρ∥∞​≤C; a real-valued essential supremum is avoided because it reads 000 exactly when the paper's bound is infinite. Part (a) assumes ρ(s)>0\rho(s)>0ρ(s)>0 for every state, since otherwise 1/min⁡ρ1/\min\rho1/minρ is +∞+\infty+∞ on paper and 000 in Lean. Part (c) requires the norm comparison (21) on all bounded measurable functions, as its proof uses it on J−J∗J-J^*J−J∗ and J−TJJ-TJJ−TJ, and encodes "a norm" by subadditivity, the one property used.

A formalization in which (13) or the occupancy-weighted inequality is assumed, or in which κρ\kappa_\rhoκρ​ is a junk value of an empty infimum, would make the goal trivial; neither is used.

Contributions are welcome on every milestone, in particular on the performance difference identity and the measurability of the cost-to-go and of TJTJTJ, which are reusable for any discounted MDP on a measurable state space.

Selected references

  • J. Bhandari, D. Russo, Global Optimality Guarantees for Policy Gradient Methods, Operations Research, 2024; cited version arXiv:1906.01786v3, 2022. https://arxiv.org/abs/1906.01786v3 (DOI 10.1287/opre.2021.0014)
  • S. Kakade, J. Langford, Approximately Optimal Approximate Reinforcement Learning, ICML 2002. https://dl.acm.org/doi/10.5555/645531.656005
  • B. Scherrer, M. Geist, Local Policy Search in a Convex Space and Conservative Policy Iteration as Boosted Policy Search, ECML PKDD 2014. https://arxiv.org/abs/1306.1520
  • A. Agarwal, S. Kakade, J. Lee, G. Mahajan, On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift, JMLR 22, 2021. https://arxiv.org/abs/1908.00261
  • D. Bertsekas, Dynamic Programming and Optimal Control, Athena Scientific, 1995.
8 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Global Optimality Guarantees for Policy Gradient Methods 4: In Finite-Horizon Problems with a Non-Stationary Policy Class Containing an Optimal Policy, Every Stationary Point Is OptimalResearch Paper

Motivation

Policy gradient methods optimize a parameterized policy by gradient descent on its expected total cost. They are a staple of reinforcement learning and of simulation-based optimization in operations research, but the objective is nonconvex in the policy parameters, and the standard theory guarantees convergence only to a stationary point. J. Bhandari and D. Russo (arXiv:1906.01786v3, Operations Research, 2024, DOI 10.1287/opre.2021.0014) identify structural conditions under which every stationary point is globally optimal.

Their first result (Theorem 1) requires the policy class to be closed under policy improvement. That excludes many classes used in practice, where it is known only that some member of the class is optimal: base-stock policies in finite-horizon inventory control are the standard example (Bertsekas, Dynamic Programming and Optimal Control, 1995). For stationary policy classes, containing an optimal policy is not enough: the paper's Example 1 has a policy class that contains the optimal policy, and policy gradient still gets stuck in a bad local minimum. Theorem 3 shows that for finite-horizon problems with a non-stationary policy class (separate parameters for each period), containing an optimal policy suffices, together with a single-period regularity condition imposed only at the optimal cost-to-go. This mission formalizes Theorem 3.

Setting

A Markov decision process consists of a state space S\mathcal SS, nonempty feasible action sets As\mathcal A_sAs​, a bounded measurable cost g(s,a)g(s,a)g(s,a), a transition kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and an initial distribution ρ\rhoρ. A policy is a measurable map π\piπ with π(s)∈As\pi(s)\in\mathcal A_sπ(s)∈As​; Π\PiΠ is the set of all of them. The cost-to-go is Jπ(s)=Esπ[∑t≥0γtg(st,π(st))]J_\pi(s)=\mathbb E^\pi_s[\sum_{t\ge0}\gamma^t g(s_t,\pi(s_t))]Jπ​(s)=Esπ​[∑t≥0​γtg(st​,π(st​))], the loss is ℓ(π)=(1−γ)∫Jπ dρ\ell(\pi)=(1-\gamma)\int J_\pi\,d\rhoℓ(π)=(1−γ)∫Jπ​dρ, and the discounted state-occupancy measure is ηπ=(1−γ)∑t≥0γtPρπ(st∈⋅)\eta_\pi=(1-\gamma)\sum_{t\ge0}\gamma^tP^\pi_\rho(s_t\in\cdot)ηπ​=(1−γ)∑t≥0​γtPρπ​(st​∈⋅). An optimal policy π∗\pi^*π∗ has Jπ∗≤JπJ_{\pi^*}\le J_\piJπ∗​≤Jπ​ pointwise for all π∈Π\pi\in\Piπ∈Π; J∗=Jπ∗J^*=J_{\pi^*}J∗=Jπ∗​. With the Bellman operator (TπJ)(s)=g(s,π(s))+γ∫J(s′)P(ds′∣s,π(s))(T_\pi J)(s)=g(s,\pi(s))+\gamma\int J(s')P(ds'\mid s,\pi(s))(Tπ​J)(s)=g(s,π(s))+γ∫J(s′)P(ds′∣s,π(s)), the weighted policy-iteration objective is

B(πˉ∣η,J)=∫(TπˉJ)(s) η(ds).\mathcal B(\bar\pi\mid\eta,J)=\int (T_{\bar\pi}J)(s)\,\eta(ds).B(πˉ∣η,J)=∫(Tπˉ​J)(s)η(ds).

A parameterized policy class is ΠΘ={πθ:θ∈Θ}\Pi_\Theta=\{\pi_\theta:\theta\in\Theta\}ΠΘ​={πθ​:θ∈Θ} for a convex Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd, and ℓ(θ)=ℓ(πθ)\ell(\theta)=\ell(\pi_\theta)ℓ(θ)=ℓ(πθ​). A point θ∈Θ\theta\in\Thetaθ∈Θ is stationary for min⁡Θf\min_\Theta fminΘ​f if fff is differentiable at θ\thetaθ and ⟨∇f(θ),θ′−θ⟩≥0\langle\nabla f(\theta),\theta'-\theta\rangle\ge0⟨∇f(θ),θ′−θ⟩≥0 for all θ′∈Θ\theta'\in\Thetaθ′∈Θ.

The finite-horizon structure (Condition 3) embeds a time-inhomogeneous problem in this discounted formulation: the states split into stages S1,…,SH,SH+1\mathcal S_1,\dots,\mathcal S_H,\mathcal S_{H+1}S1​,…,SH​,SH+1​; from a state in Sh\mathcal S_hSh​, h≤Hh\le Hh≤H, every feasible action leads to Sh+1\mathcal S_{h+1}Sh+1​; and SH+1={τ}\mathcal S_{H+1}=\{\tau\}SH+1​={τ} is a costless absorbing state. The parameter is a concatenation θ=(θ1,…,θH)\theta=(\theta_1,\dots,\theta_H)θ=(θ1​,…,θH​), the parameter set is a product Θ=Θ1×⋯×ΘH\Theta=\Theta_1\times\cdots\times\Theta_HΘ=Θ1​×⋯×ΘH​, and on Sh\mathcal S_hSh​ the action πθ(s)\pi_\theta(s)πθ​(s) depends only on θh\theta_hθh​. The stage objectives are Bh(θˉh∣η,J)=∫Sh(TπθˉJ) dη\mathcal B_h(\bar\theta_h\mid\eta,J)=\int_{\mathcal S_h}(T_{\pi_{\bar\theta}}J)\,d\etaBh​(θˉh​∣η,J)=∫Sh​​(Tπθˉ​​J)dη.

Condition 4 asks that for every η∈{ηπ:π∈ΠΘ}\eta\in\{\eta_\pi:\pi\in\Pi_\Theta\}η∈{ηπ​:π∈ΠΘ​}, the problem min⁡θ∈ΘB(θ∣η,J∗)\min_{\theta\in\Theta}\mathcal B(\theta\mid\eta,J^*)minθ∈Θ​B(θ∣η,J∗) has no suboptimal stationary points. Assumption 3 asks that ηπ≪ρ\eta_\pi\ll\rhoηπ​≪ρ for every π∈ΠΘ\pi\in\Pi_\Thetaπ∈ΠΘ​. Condition 0 asks that the policy-iteration objective be continuously differentiable in the parameters.

Formalization targets

Goal: Theorem 3 (p. 17)

Under Conditions 0, 3 and 4 and Assumption 3, if πθ∗\pi_{\theta^*}πθ∗​ is an optimal policy for some θ∗∈Θ\theta^*\in\Thetaθ∗∈Θ, then every stationary point θ\thetaθ of ℓ\ellℓ on Θ\ThetaΘ satisfies

ℓ(πθ)=ℓ(π∗).\ell(\pi_\theta)=\ell(\pi^*).ℓ(πθ​)=ℓ(π∗).

Milestones

  1. Lemma 6 (policy gradient theorem): ∇ℓ(θ)=∇θˉB(θˉ∣ηπθ,Jπθ)∣θˉ=θ\nabla\ell(\theta)=\nabla_{\bar\theta}\mathcal B(\bar\theta\mid\eta_{\pi_\theta},J_{\pi_\theta})|_{\bar\theta=\theta}∇ℓ(θ)=∇θˉ​B(θˉ∣ηπθ​​,Jπθ​​)∣θˉ=θ​.
  2. Lemma 17 (balance equation): ηπ(M)=∫[(1−γ)ρ(M)+γP(M∣s,π(s))] ηπ(ds)\eta_\pi(\mathcal M)=\int[(1-\gamma)\rho(\mathcal M)+\gamma P(\mathcal M\mid s,\pi(s))]\,\eta_\pi(ds)ηπ​(M)=∫[(1−γ)ρ(M)+γP(M∣s,π(s))]ηπ​(ds).
  3. The stage-wise balance equation: for M⊆Sh+1\mathcal M\subseteq\mathcal S_{h+1}M⊆Sh+1​, ηπ(M)=(1−γ)ρ(M)+γ∫ShP(M∣s,π(s)) ηπ(ds)\eta_\pi(\mathcal M)=(1-\gamma)\rho(\mathcal M)+\gamma\int_{\mathcal S_h}P(\mathcal M\mid s,\pi(s))\,\eta_\pi(ds)ηπ​(M)=(1−γ)ρ(M)+γ∫Sh​​P(M∣s,π(s))ηπ​(ds).
  4. Separability (30): θ\thetaθ minimizes B(⋅∣η,J)\mathcal B(\cdot\mid\eta,J)B(⋅∣η,J) over Θ\ThetaΘ iff each θh\theta_hθh​ minimizes Bh(⋅∣η,J)\mathcal B_h(\cdot\mid\eta,J)Bh​(⋅∣η,J) over Θh\Theta_hΘh​.
  5. Stage-wise stationarity (31): θ\thetaθ is stationary for ℓ\ellℓ iff each θh\theta_hθh​ is stationary for Bh(⋅∣ηπθ,Jπθ)\mathcal B_h(\cdot\mid\eta_{\pi_\theta},J_{\pi_\theta})Bh​(⋅∣ηπθ​​,Jπθ​​) on Θh\Theta_hΘh​.
  6. Lemma 1: π∈arg⁡min⁡Πℓ\pi\in\arg\min_{\Pi}\ellπ∈argminΠ​ℓ iff Jπ=J∗J_\pi=J^*Jπ​=J∗ ρ\rhoρ-almost surely.

Significance

Theorem 3 covers finite-horizon dynamic programs in which a structured class of time-varying policies is known to contain an optimal policy, but is not closed under policy improvement: the paper's Example 8, multi-period inventory control with base-stock policies, is the motivating case. Policy gradient on such a class has no suboptimal stationary points, so any method that finds a stationary point finds a globally optimal policy, optimal among all policies and not only within the class. Condition 4 involves only the Bellman objective of the optimal cost-to-go J∗J^*J∗, which often has regularity (for instance convexity) that the cost-to-go of an arbitrary policy lacks.

The result is proved in the paper. To our knowledge no part of it, nor the policy gradient theorem for deterministic policies on general state spaces, has a machine-checked proof. Formalizing it requires a measure-theoretic treatment of occupancy measures, the stage-wise decomposition of the weighted policy-iteration objective, and the backward induction of App. D.2.

Difficulty

The obvious approach reasons stage by stage directly on ℓ\ellℓ, but ℓ\ellℓ couples the stages: changing θh\theta_hθh​ changes the distribution of states visited after stage hhh. The paper's argument instead passes through the policy gradient theorem, which turns stationarity of ℓ\ellℓ into stationarity of single-period problems weighted by the occupancy measure of the current policy. These single-period problems involve JπθJ_{\pi_\theta}Jπθ​​, while Condition 4 speaks about J∗J^*J∗; relating them requires a backward induction over stages in which almost-sure equality Jπθ=J∗J_{\pi_\theta}=J^*Jπθ​​=J∗ on stage h+1h+1h+1 is transported to stage hhh through the balance equation. This step needs the occupancy measures of all policies in the class, including policies other than πθ\pi_\thetaπθ​, to be equivalent to ρ\rhoρ, which is where Assumption 3 enters. The naive variant with a stationary policy class fails (Example 1).

Formalization scope

The state and action spaces are arbitrary measurable spaces (the paper takes Borel subsets of Euclidean spaces; no argument uses that structure). Cost and kernel are given on all state-action pairs; the cost is bounded. Policies are deterministic, stationary and measurable; parameters live in EuclideanSpace ℝ (Fin d), so gradients and norms are Euclidean. J∗J^*J∗ is never defined as an infimum: an optimal policy π∗\pi^*π∗ is a hypothesis, with J∗=Jπ∗J^*=J_{\pi^*}J∗=Jπ∗​. Stages and sub-vectors are numbered from 111 by a measurable stage index and a block index on coordinates; the product structure of Θ\ThetaΘ is encoded as closure under exchanging one block.

Hypotheses beyond the printed sentence of Theorem 3, all disclosed in the item statements: Assumption 3 (announced on p. 17 as required, used in the proof); Condition 0 (needed for Lemma 6, which the proof invokes), in a joint form that the proof of Lemma 6 uses and that implies the printed partial-map form; the standing Assumptions 1 and 2 of §2; and, inside Condition 4, differentiability of θ↦B(θ∣η,J∗)\theta\mapsto\mathcal B(\theta\mid\eta,J^*)θ↦B(θ∣η,J∗) on Θ\ThetaΘ, the premise of Definition 1. The Bellman operators carry the factor γ\gammaγ omitted in the printed (3)–(4). The stage-wise balance equation is stated for h<Hh<Hh<H; the printed range h≤Hh\le Hh≤H fails at the absorbing state.

A formalization in which the goal assumes the stage-wise characterization (31), the balance equation, or Jπθ=J∗J_{\pi_\theta}=J^*Jπθ​​=J∗ on any stage is not Theorem 3; neither is one where "contains an optimal policy" means optimal only within ΠΘ\Pi_\ThetaΠΘ​. Stationarity includes differentiability, so a junk zero gradient never makes a point stationary.

Needed infrastructure: occupancy measures as series of iterated kernels and their balance equation, the cost-to-go as a bounded measurable function, the performance difference identity, the policy gradient theorem, and the decomposition of integrals over the stage partition. The occupancy-measure and policy gradient results are reusable for every mission of this series; contributions of these general lemmas are welcome.

Selected references

  • J. Bhandari, D. Russo, Global Optimality Guarantees for Policy Gradient Methods, arXiv:1906.01786v3, 2022; Operations Research, 2024. https://arxiv.org/abs/1906.01786 , https://doi.org/10.1287/opre.2021.0014
  • S. Kakade, J. Langford, Approximately Optimal Approximate Reinforcement Learning, ICML, 2002. https://dl.acm.org/doi/10.5555/645531.656005
  • I. Osband, B. Van Roy, D. Russo, Z. Wen, Deep Exploration via Randomized Value Functions, JMLR 20, 2019. https://jmlr.org/papers/v20/18-339.html
  • D. Silver, G. Lever, N. Heess, T. Degris, D. Wierstra, M. Riedmiller, Deterministic Policy Gradient Algorithms, ICML, 2014. https://proceedings.mlr.press/v32/silver14.html
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Athena Scientific, 1995. https://www.athenasc.com/dpbook.html
10 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Global Optimality Guarantees for Policy Gradient Methods 2: Under Closure, a (c, µ)-Gradient-Dominated Policy Iteration Objective Makes ℓ (κc/(1−γ), κµ/(1−γ))-Gradient DominatedResearch Paper

Motivation

Policy gradient methods optimize a parameterized control policy by gradient descent on its long-run cost. They underlie much of modern reinforcement learning, from REINFORCE and actor-critic methods to trust-region and proximal policy optimization, and they are used in operations problems such as inventory control and optimal stopping. Their objective is almost never convex in the policy parameters, even in textbook problems, so the classical guarantees of first-order optimization do not explain why they reach good policies.

Bhandari and Russo (arXiv:1906.01786v3, Operations Research, 2024, doi:10.1287/opre.2021.0014) identify structural conditions under which this non-convex landscape is benign. Their Theorem 1 shows that, for a policy class closed under policy improvement, every stationary point is globally optimal. This mission formalizes their Theorem 2, the quantitative version: approximate stationarity implies approximate optimality, a gradient dominance (Polyak–Łojasiewicz-type) inequality that yields convergence rates.

Timeline. Polyak (1963) introduced the inequality min⁡f≥f(x)−c22μ∥∇f(x)∥2\min f \ge f(x) - \frac{c^2}{2\mu}\|\nabla f(x)\|^2minf≥f(x)−2μc2​∥∇f(x)∥2 for unconstrained problems. Kakade and Langford (2002) proved the performance difference lemma for finite Markov decision processes. Fazel, Ge, Kakade and Mesbahi (2018) established gradient dominance of policy gradient for linear-quadratic control, and Agarwal, Kakade, Lee and Mahajan (2021) for tabular policies with direct and softmax parameterizations. Bhandari and Russo (preprint 2019, journal 2024) give a single condition-based argument covering general state spaces and several of these examples.

Setting

A Markov decision process has a measurable state space S\mathcal SS, feasible action sets As\mathcal A_sAs​, a bounded expected cost g(s,a)g(s,a)g(s,a), a transition kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and an initial distribution ρ\rhoρ. A stationary policy π\piπ maps states to feasible actions; Π\PiΠ is the set of measurable such policies. Its cost-to-go is Jπ(s)=Esπ[∑t≥0γtg(st,π(st))]J_\pi(s)=\mathbb E^\pi_s[\sum_{t\ge0}\gamma^t g(s_t,\pi(s_t))]Jπ​(s)=Esπ​[∑t≥0​γtg(st​,π(st​))], its discounted state-occupancy measure is ηπ=(1−γ)∑t≥0γt Pρπ(st∈⋅)\eta_\pi=(1-\gamma)\sum_{t\ge0}\gamma^t\,\mathbb P^\pi_\rho(s_t\in\cdot)ηπ​=(1−γ)∑t≥0​γtPρπ​(st​∈⋅), and its loss is ℓ(π)=(1−γ)∫Jπ dρ\ell(\pi)=(1-\gamma)\int J_\pi\,d\rhoℓ(π)=(1−γ)∫Jπ​dρ. An optimal policy π∗\pi^*π∗ has Jπ∗=J∗⪯JπJ_{\pi^*}=J^*\preceq J_\piJπ∗​=J∗⪯Jπ​ for every π∈Π\pi\in\Piπ∈Π.

The Bellman operator is (TπJ)(s)=g(s,π(s))+γ∫J dP(⋅∣s,π(s))(T_\pi J)(s)=g(s,\pi(s))+\gamma\int J\,dP(\cdot\mid s,\pi(s))(Tπ​J)(s)=g(s,π(s))+γ∫JdP(⋅∣s,π(s)) and TJ=min⁡a∈As[ ⋅ ]T J=\min_{a\in\mathcal A_s}[\,\cdot\,]TJ=mina∈As​​[⋅] is its optimality version. The weighted policy iteration objective is

B(πˉ∣η,J)=∫(TπˉJ) dη.\mathcal B(\bar\pi\mid\eta,J)=\int (T_{\bar\pi}J)\,d\eta .B(πˉ∣η,J)=∫(Tπˉ​J)dη.

A policy class is ΠΘ={πθ:θ∈Θ}\Pi_\Theta=\{\pi_\theta:\theta\in\Theta\}ΠΘ​={πθ​:θ∈Θ} with Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd convex, and the policy gradient objective is ℓ(θ)=ℓ(πθ)\ell(\theta)=\ell(\pi_\theta)ℓ(θ)=ℓ(πθ​). For π=πθ\pi=\pi_\thetaπ=πθ​, the map θˉ↦B(θˉ∣ηπ,Jπ)\bar\theta\mapsto\mathcal B(\bar\theta\mid\eta_{\pi},J_{\pi})θˉ↦B(θˉ∣ηπ​,Jπ​) is the single-period problem that one step of policy iteration within the class would solve.

A function fff is (c,μ)(c,\mu)(c,μ)-gradient dominated over XXX (c>0c>0c>0, μ≥0\mu\ge0μ≥0) if for all x∈Xx\in Xx∈X

min⁡x′∈Xf(x′) ≥ f(x)+min⁡x′∈X[c ⟨∇f(x),x′−x⟩+μ2∥x−x′∥22].\min_{x'\in X}f(x')\ \ge\ f(x)+\min_{x'\in X}\Big[c\,\langle\nabla f(x),x'-x\rangle+\tfrac{\mu}{2}\|x-x'\|_2^2\Big].x′∈Xmin​f(x′) ≥ f(x)+x′∈Xmin​[c⟨∇f(x),x′−x⟩+2μ​∥x−x′∥22​].

The hypotheses are Condition 0 (differentiability of B\mathcal BB in the policy and occupancy arguments), Condition 1 (closure: for every π∈ΠΘ\pi\in\Pi_\Thetaπ∈ΠΘ​ some π+∈ΠΘ\pi^+\in\Pi_\Thetaπ+∈ΠΘ​ minimizes B(⋅∣ηπ,Jπ)\mathcal B(\cdot\mid\eta_\pi,J_\pi)B(⋅∣ηπ​,Jπ​) over all of Π\PiΠ) and Condition 2.B (each single-period objective is (c,μ)(c,\mu)(c,μ)-gradient dominated over Θ\ThetaΘ). The effective concentrability coefficient κρ\kappa_\rhoκρ​ is the smallest κ\kappaκ with ∥J−J∗∥1,ρ≤κ1−γ∥J−TJ∥1,ρ\|J-J^*\|_{1,\rho}\le\frac{\kappa}{1-\gamma}\|J-TJ\|_{1,\rho}∥J−J∗∥1,ρ​≤1−γκ​∥J−TJ∥1,ρ​ for all J=JπθJ=J_{\pi_\theta}J=Jπθ​​, θ∈Θ\theta\in\Thetaθ∈Θ.

Formalization targets

Goal: Theorem 2 (p. 16)

If Conditions 0, 1 and 2.B hold and κρ<∞\kappa_\rho<\inftyκρ​<∞, then

ℓ is (κρ1−γ c, κρ1−γ μ)-gradient dominated over Θ.\ell\ \text{is}\ \Big(\frac{\kappa_\rho}{1-\gamma}\,c,\ \frac{\kappa_\rho}{1-\gamma}\,\mu\Big)\text{-gradient dominated over }\Theta .ℓ is (1−γκρ​​c, 1−γκρ​​μ)-gradient dominated over Θ.

It is stated for every κ>0\kappa>0κ>0 satisfying the concentrability inequality, which is the page's statement at κ=κρ\kappa=\kappa_\rhoκ=κρ​.

Milestones

  1. ηπ⪰(1−γ)ρ\eta_\pi\succeq(1-\gamma)\rhoηπ​⪰(1−γ)ρ (p. 7) and the element-wise inequalities TJ⪯TπJTJ\preceq T_\pi JTJ⪯Tπ​J, TJπ⪯JπTJ_\pi\preceq J_\piTJπ​⪯Jπ​, (5).
  2. The performance difference identity ℓ(π)−ℓ(πˉ)=∫[TπJπˉ−Jπˉ] dηπ\ell(\pi)-\ell(\bar\pi)=\int[T_\pi J_{\bar\pi}-J_{\bar\pi}]\,d\eta_\piℓ(π)−ℓ(πˉ)=∫[Tπ​Jπˉ​−Jπˉ​]dηπ​, (29).
  3. Lemma 6, the policy gradient theorem: ∇ℓ(θ)=∇θˉB(θˉ∣ηπθ,Jπθ)∣θˉ=θ\nabla\ell(\theta)=\nabla_{\bar\theta}\mathcal B(\bar\theta\mid\eta_{\pi_\theta},J_{\pi_\theta})|_{\bar\theta=\theta}∇ℓ(θ)=∇θˉ​B(θˉ∣ηπθ​​,Jπθ​​)∣θˉ=θ​.
  4. The closure bound of the proof of Theorem 2:
ℓ(πθ)−ℓ(π∗)≤κρ1−γ(B(θ∣ηπθ,Jπθ)−min⁡θ′∈ΘB(θ′∣ηπθ,Jπθ)).\ell(\pi_\theta)-\ell(\pi^*)\le\frac{\kappa_\rho}{1-\gamma}\Big(\mathcal B(\theta\mid\eta_{\pi_\theta},J_{\pi_\theta})-\min_{\theta'\in\Theta}\mathcal B(\theta'\mid\eta_{\pi_\theta},J_{\pi_\theta})\Big).ℓ(πθ​)−ℓ(π∗)≤1−γκρ​​(B(θ∣ηπθ​​,Jπθ​​)−θ′∈Θmin​B(θ′∣ηπθ​​,Jπθ​​)).

Companions

The remark of §3 that differentiable μ\muμ-strongly convex functions are (1,μ)(1,\mu)(1,μ)-gradient dominated and convex ones (1,0)(1,0)(1,0)-gradient dominated, and Corollary 1: under Conditions 0 and 1, convexity (strong convexity) of every single-period objective makes ℓ\ellℓ gradient dominated of degree one (two).

Significance

Gradient dominance of degree two gives linear convergence of projected gradient methods, and degree one gives sublinear rates, so Theorem 2 converts structural knowledge about one-step policy improvement into iteration complexity for the multi-period problem. The constant κρ/(1−γ)\kappa_\rho/(1-\gamma)κρ​/(1−γ) makes explicit the dependence on the initial distribution: an exploratory ρ\rhoρ with small κρ\kappa_\rhoκρ​ is what the guarantee needs. The paper instantiates the conditions for tabular MDPs, linear-quadratic control, optimal stopping with threshold policies, and finite-horizon inventory control.

The result is proved in the paper. As far as is known, none of it is machine-checked: Mathlib has convexity, strong convexity, gradients and Markov kernels but no discounted dynamic programming on general spaces, no occupancy measures and no policy gradient theorem. The formal development would supply the general-space performance difference identity and the policy gradient theorem, reusable for every other result of the paper and for related work on policy optimization.

Difficulty

The policy gradient objective ℓ(θ)\ell(\theta)ℓ(θ) is not convex, so the usual derivation of a Polyak–Łojasiewicz inequality from convexity is unavailable. Gradient dominance of the single-period objective B\mathcal BB does not transfer to ℓ\ellℓ by comparing the two functions: they differ by how a change of policy moves the state distribution, these terms do not vanish, and the minimum of B\mathcal BB over Θ\ThetaΘ is not the minimum of ℓ\ellℓ. The mismatch between ρ\rhoρ, ηπθ\eta_{\pi_\theta}ηπθ​​ and ηπ∗\eta_{\pi^*}ηπ∗​ is unavoidable, which is why a concentrability factor appears in the constants. On a general state space each identity also needs the right measurability and integrability (the measurable-selection assumption is what makes TJTJTJ measurable), and Condition 0 must be strong enough to justify a total-derivative expansion.

Formalization scope

All declarations live in PGLandscape.GradDom. S\mathcal SS and A\mathcal AA are arbitrary measurable spaces; the cost is bounded and measurable and, like the kernel, given on all of S×A\mathcal S\times\mathcal AS×A. Policies are measurable maps; the cost-to-go is a series of integrals against ttt-step kernels; ηπ\eta_\piηπ​ is a measure of total mass one. The parameter space is EuclideanSpace ℝ (Fin d), so ∇\nabla∇ is the Euclidean gradient and ∥⋅∥\|\cdot\|∥⋅∥ the ℓ2\ell_2ℓ2​ norm. J∗J^*J∗ is Jπ∗J_{\pi^*}Jπ∗​ for an optimal π∗\pi^*π∗ given as a hypothesis; no real infimum over policies is used.

Committed conventions and disclosed additions:

  • the page prints (3)–(4) without γ\gammaγ; the factor γ\gammaγ is restored, as in (6), (7) and every proof;
  • Condition 0 is the joint version the proof of Lemma 6 uses (C1C^1C1 in the pair of arguments near (θ,θ)(\theta,\theta)(θ,θ)); it implies the printed condition;
  • gradient dominance quantifies over lower bounds of the bracket instead of real minima, which need not be attained, and includes differentiability on XXX;
  • κρ\kappa_\rhoκρ​ enters as any κ>0\kappa>0κ>0 satisfying its defining inequality; Theorem 2 states c>0c>0c>0, μ≥0\mu\ge0μ≥0 explicitly; Corollary 1 assumes κρ<∞\kappa_\rho<\inftyκρ​<∞ and one strong-convexity modulus for the whole class;
  • Assumptions 1 (ηπ∗≪ρ\eta_{\pi^*}\ll\rhoηπ∗​≪ρ) and 2 (measurable selection) are hypotheses of every result, as in the paper.

A formalization that assumes gradient dominance of ℓ\ellℓ, the closure bound, or a finite state space would not be this theorem; the goal assumes only Conditions 0, 1, 2.B and concentrability.

Contributions welcome: Markov-chain lemmas for iterKernel (summability, measurability, the fixed-point equation TπJπ=JπT_\pi J_\pi=J_\piTπ​Jπ​=Jπ​), the general-space performance difference identity, and proofs of any milestone.

Selected references

  • J. Bhandari and D. Russo, Global Optimality Guarantees for Policy Gradient Methods, Operations Research, 2024. arXiv:1906.01786v3, doi:10.1287/opre.2021.0014
  • B. T. Polyak, Gradient methods for minimizing functionals, Zh. Vychisl. Mat. Mat. Fiz., 1963. doi:10.1016/0041-5553(63)90382-3
  • S. Kakade and J. Langford, Approximately optimal approximate reinforcement learning, ICML, 2002. ACM DL
  • M. Fazel, R. Ge, S. Kakade and M. Mesbahi, Global convergence of policy gradient methods for the linear quadratic regulator, ICML, 2018. arXiv:1801.05039
  • A. Agarwal, S. Kakade, J. Lee and G. Mahajan, On the theory of policy gradient methods: optimality, approximation, and distribution shift, JMLR, 2021. arXiv:1908.00261
8 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Global Optimality Guarantees for Policy Gradient Methods 3: Under Closure up to Inherent Bellman Error ε, Every Stationary Point Is Within κε/(1−γ) of OptimalResearch Paper

Why approximate closure matters

Policy gradient methods search for a policy by changing a finite vector of parameters. The method can reach a stationary point of its objective without finding an optimal policy: a small change in the available parameters might not represent the policy improvement that the underlying control problem calls for. Bhandari and Russo identify a condition on the policy class that limits this obstruction. Their exact-closure result rules out suboptimal stationary points; their approximate-closure result measures the residual cost when the class can represent policy improvements only approximately. This mission formalizes the latter statement, Theorem 5 of Bhandari and Russo, Global Optimality Guarantees for Policy Gradient Methods, using the arXiv v3 text and numbering.

The result concerns the optimization landscape rather than a particular gradient algorithm or convergence rate. It applies to structured policy classes in discounted control problems, including settings with general state spaces. The paper also discusses state aggregation as a source of small approximation error in Lemma 15; that example motivates the error condition, while the target here is the general guarantee of Theorem 5. The error is measured in the states visited by each current policy, so the condition describes what the restricted class can do where improvement affects that policy's performance.

The discounted control setting

A Markov decision process has a measurable state space SSS, a measurable action space AAA, and a nonempty feasible action set AsA_sAs​ at each state sss. Choosing a∈Asa\in A_sa∈As​ incurs a bounded cost g(s,a)g(s,a)g(s,a) and changes the state according to a probability kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a). A discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1) reduces future costs, and an initial probability measure ρ\rhoρ specifies where evaluation begins. A stationary policy is a measurable choice π(s)∈As\pi(s)\in A_sπ(s)∈As​.

The cost-to-go Jπ(s)J_\pi(s)Jπ​(s) is the expected sum of discounted costs when starting at sss and following π\piπ. The discounted occupancy measure ηπ\eta_\piηπ​ is the normalized, discounted distribution of visited states when the initial state has law ρ\rhoρ. The policy's objective is ℓ(π)=(1−γ)∫Jπ dρ\ell(\pi)=(1-\gamma)\int J_\pi\,d\rhoℓ(π)=(1−γ)∫Jπ​dρ. The factor 1−γ1-\gamma1−γ puts ℓ\ellℓ on the scale of a per-period cost. An optimal policy π∗\pi^*π∗ minimizes cost-to-go at every state. Section 2, pp. 5–8 supplies these objects and Assumptions 1 and 2: absolute continuity of ηπ∗\eta_{\pi^*}ηπ∗​ with respect to ρ\rhoρ, and measurable selection of a Bellman-minimizing action for bounded measurable value functions.

A parameter θ\thetaθ belongs to a convex set Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd and determines a feasible policy πθ\pi_\thetaπθ​. The policy gradient objective is ℓ(θ)=ℓ(πθ)\ell(\theta)=\ell(\pi_\theta)ℓ(θ)=ℓ(πθ​). A stationary point is a feasible parameter with ⟨θ′−θ,∇ℓ(θ)⟩≥0\langle\theta'-\theta,\nabla\ell(\theta)\rangle\ge0⟨θ′−θ,∇ℓ(θ)⟩≥0 for every θ′∈Θ\theta'\in\Thetaθ′∈Θ. The Bellman optimality operator TTT selects the smallest one-step cost plus discounted future value among feasible actions. The weighted policy improvement objective B(θˉ∣ηπθ,Jπθ)B(\bar\theta\mid\eta_{\pi_\theta},J_{\pi_\theta})B(θˉ∣ηπθ​​,Jπθ​​) evaluates the one-step Bellman update from a candidate policy πθˉ\pi_{\bar\theta}πθˉ​, averaged under the current policy's occupancy measure. Section 5.1, pp. 12–14 introduces its smoothness and stationary-point conditions.

Formalization targets

The target is Theorem 5, p. 26. Condition 5 says the restricted class has inherent Bellman error ε≥0\varepsilon\ge0ε≥0: for each current policy in the class, a class member gets within ε\varepsilonε of the best one-step weighted Bellman objective over all feasible policies. Condition 2.A says stationary points of that weighted one-step objective are global minima over Θ\ThetaΘ. Condition 0 supplies differentiability. For a nonnegative coefficient κ\kappaκ satisfying the effective concentrability inequality (13), the goal is continuous differentiability of ℓ\ellℓ and, at every stationary point,

ℓ(πθ)−ℓ(π∗)≤κ1−γ ε.\ell(\pi_\theta)-\ell(\pi^*)\le\frac{\kappa}{1-\gamma}\,\varepsilon.ℓ(πθ​)−ℓ(π∗)≤1−γκ​ε.

The paper defines κρ\kappa_\rhoκρ​ as the least coefficient satisfying (13). The Lean statement quantifies over an admissible κ\kappaκ; its conclusion therefore includes the bound at κρ\kappa_\rhoκρ​ when that coefficient is finite. The milestone list follows the paper's supporting statements: occupancy domination after (2), Bellman inequalities (5), the performance difference identity (29), the policy gradient formula in Lemma 6, the stationary policy-improvement identity in Lemma 7, and the Bellman-error bound displayed in the proof of Theorem 5.

What the result establishes

The bound turns a property of the policy class into a quantitative guarantee about every stationary parameter. If ε=0\varepsilon=0ε=0 and a finite concentrability bound applies, the stated cost gap is zero. For positive error, it separates the approximation error from the factor κ/(1−γ)\kappa/(1-\gamma)κ/(1−γ) that reflects evaluation under the exploratory start distribution and the effective planning horizon. Thus a small gradient alone is not the claim; the structural conditions on the one-step objective and the policy class determine what stationarity means for long-run cost. Theorem 5 and its discussion, §8 make this interpretation explicit.

The paper proves Theorem 5. The declarations in this mission currently compile as open theorem statements; they are not machine-checked proofs. A complete development would formalize the links among discounted kernels, occupancy integrals, Bellman operators, and gradients on the parameter space. The general measurable-state MDP definitions would be reusable for other discounted control results, while the stationary-point and approximate-closure predicates provide a vocabulary for further policy-gradient theorems.

Where the difficulty lies

A stationary point of ℓ\ellℓ need not be a minimum of the one-step Bellman objective by definition. Condition 0 and Lemma 6 connect their gradients, and Condition 2.A then links stationary points to minima of the restricted one-step objective. Approximate closure only compares that restricted minimum with the unrestricted one up to ε\varepsilonε. The final result also requires moving an error measured under ηπθ\eta_{\pi_\theta}ηπθ​​ to one under ρ\rhoρ and relating Bellman residual to the optimality gap. Each comparison has a distinct measure or operator, and losing a discount factor changes the constant in the theorem.

Formalization scope

The Lean model uses arbitrary measurable spaces for SSS and AAA and measurable stationary policies, extending the paper's Borel-subset setting. The cost and kernel are defined on all S×AS\times AS×A and are uniformly bounded there; feasibility still restricts every policy and Bellman minimization to AsA_sAs​. These extensions let Condition 0 evaluate nearby parameter values even when their policies need not be feasible. The representation uses Mathlib kernels, measures, Bochner integrals, and Euclidean parameter vectors. It fixes 0<γ<10<\gamma<10<γ<1, a probability initial distribution, nonempty feasible action sets, an optimal policy, and the paper's Assumptions 1 and 2. The goal carries a nonnegative concentrability coefficient and Conditions 0, 2.A, and 5; it does not assume exact closure or the Bellman-error conclusion it is meant to establish.

Two corrections to the printed assumptions are explicit. The Bellman operators contain γ\gammaγ, consistently with equations (6) and (7), although displays (3) and (4) omit it. Condition 0 asks for joint continuous differentiability near the current parameter pair, the form used by the proof of Lemma 6; the printed condition lists two partial maps. The theorem's κ\kappaκ is constrained to be nonnegative to represent the paper's effective concentrability coefficient. Definitions use pointwise optimality rather than a real-valued infimum over policies, and Bellman minimization uses the nonempty feasible-action subtype. These choices prevent default values of ill-bounded infima or non-integrable functions from turning the target into an empty claim. The needed contributions are proofs of the six milestones and the final bound, plus supporting measurable-kernel and gradient facts.

Selected references

  • J. Bhandari and D. Russo, Global Optimality Guarantees for Policy Gradient Methods, Operations Research 72 (2024); preprint arXiv:1906.01786v3 (2022), arXiv, DOI.
10 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Global Optimality Guarantees for Policy Gradient Methods 1: If the Policy Class Is Closed Under Policy Improvement, Every Stationary Point of the Policy Gradient Objective Is Globally OptimalResearch Paper

Why the landscape of policy gradient matters

Policy gradient methods optimize a parameterized policy for a Markov decision process by running gradient descent on its expected cost. They underlie most large-scale reinforcement learning, from robotics to game playing, and are also natural in operations research, where structured policy classes (linear feedback, base-stock levels, thresholds) are standard. The objective, however, is almost never convex in the parameters, and classical theory only promises convergence to stationary points. Whether such methods find optimal policies therefore depends on the landscape: whether stationary points can be suboptimal.

J. Bhandari and D. Russo (arXiv:1906.01786v3, published in Operations Research, 2024, DOI 10.1287/opre.2021.0014) identify structural conditions under which the answer is no, connecting policy gradient to classical policy iteration. Fazel et al. (2018) established a landscape result for linear-quadratic control; Kakade and Langford (2002) developed a performance-difference identity for conservative policy iteration on finite MDPs. Bhandari and Russo's Theorem 1 gives a general sufficient condition on a general state space; Agarwal et al. (2021) developed the tabular case in detail.

Setting

A Markov decision process is a tuple (S,(As)s∈S,g,P,γ,ρ)(\mathcal S,(\mathcal A_s)_{s\in\mathcal S},g,P,\gamma,\rho)(S,(As​)s∈S​,g,P,γ,ρ): a measurable state space S\mathcal SS, nonempty feasible action sets As⊆A\mathcal A_s\subseteq\mathcal AAs​⊆A, a bounded measurable cost g(s,a)g(s,a)g(s,a), a transition kernel P(⋅∣s,a)P(\cdot\mid s,a)P(⋅∣s,a), a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1) and an initial probability distribution ρ\rhoρ. A policy is a measurable map π:S→A\pi:\mathcal S\to\mathcal Aπ:S→A; it is feasible, π∈Π\pi\in\Piπ∈Π, if π(s)∈As\pi(s)\in\mathcal A_sπ(s)∈As​ for every sss.

For a policy π\piπ, the cost-to-go Jπ(s)J_\pi(s)Jπ​(s) is the expected discounted sum of costs started from sss. The discounted average cost is ℓ(π)=(1−γ)∫Jπ dρ\ell(\pi) = (1-\gamma)\int J_\pi\,d\rhoℓ(π)=(1−γ)∫Jπ​dρ, and the discounted state-occupancy measure is ηπ=(1−γ)∑t≥0γtPρπ(st∈⋅)\eta_\pi = (1-\gamma)\sum_{t\ge0}\gamma^t P^\pi_\rho(s_t\in\cdot)ηπ​=(1−γ)∑t≥0​γtPρπ​(st​∈⋅). The Bellman operators are

(TπJ)(s)=g(s,π(s))+γ ⁣∫ ⁣J dP(⋅∣s,π(s)),(TJ)(s)=min⁡a∈As[g(s,a)+γ ⁣∫ ⁣J dP(⋅∣s,a)].(T_\pi J)(s) = g(s,\pi(s))+\gamma\!\int\! J\,dP(\cdot\mid s,\pi(s)),\qquad (TJ)(s) = \min_{a\in\mathcal A_s}\Big[g(s,a)+\gamma\!\int\! J\,dP(\cdot\mid s,a)\Big].(Tπ​J)(s)=g(s,π(s))+γ∫JdP(⋅∣s,π(s)),(TJ)(s)=a∈As​min​[g(s,a)+γ∫JdP(⋅∣s,a)].

An optimal policy π∗\pi^*π∗ satisfies Jπ∗≤JπJ_{\pi^*}\le J_\piJπ∗​≤Jπ​ pointwise for every π∈Π\pi\in\Piπ∈Π. Two standing assumptions hold throughout: Assumption 1, ηπ∗≪ρ\eta_{\pi^*}\ll\rhoηπ∗​≪ρ (the initial distribution is exploratory), and Assumption 2, measurable selection of a minimizing action in TTT.

A parameterized policy class is ΠΘ={πθ:θ∈Θ}⊆Π\Pi_\Theta = \{\pi_\theta:\theta\in\Theta\}\subseteq\PiΠΘ​={πθ​:θ∈Θ}⊆Π with Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd convex, and ℓ(θ)=ℓ(πθ)\ell(\theta) = \ell(\pi_\theta)ℓ(θ)=ℓ(πθ​) is the policy gradient objective. A point θ∈Θ\theta\in\Thetaθ∈Θ is stationary if ⟨θ′−θ,∇ℓ(θ)⟩≥0\langle\theta'-\theta,\nabla\ell(\theta)\rangle\ge0⟨θ′−θ,∇ℓ(θ)⟩≥0 for all θ′∈Θ\theta'\in\Thetaθ′∈Θ. The weighted policy-iteration objective is

B(θˉ∣η,J)=∫(TπθˉJ) dη,\mathcal B(\bar\theta\mid\eta,J) = \int (T_{\pi_{\bar\theta}}J)\,d\eta ,B(θˉ∣η,J)=∫(Tπθˉ​​J)dη,

the cost of following πθˉ\pi_{\bar\theta}πθˉ​ for one period and then incurring JJJ, averaged over η\etaη.

The three conditions of the main theorem are:

  • Condition 0 (differentiability): the policy parameter and the parameter that generates the occupancy measure vary jointly, with the resulting B\mathcal BB continuously differentiable near each (θ,θ)(\theta,\theta)(θ,θ);
  • Condition 1 (closure under policy improvement): for each π∈ΠΘ\pi\in\Pi_\Thetaπ∈ΠΘ​ some π+∈ΠΘ\pi^+\in\Pi_\Thetaπ+∈ΠΘ​ attains min⁡π′∈ΠB(π′∣ηπ,Jπ)\min_{\pi'\in\Pi}\mathcal B(\pi'\mid\eta_\pi,J_\pi)minπ′∈Π​B(π′∣ηπ​,Jπ​);
  • Condition 2.A: for each π∈ΠΘ\pi\in\Pi_\Thetaπ∈ΠΘ​, θˉ↦B(θˉ∣ηπ,Jπ)\bar\theta\mapsto\mathcal B(\bar\theta\mid\eta_\pi,J_\pi)θˉ↦B(θˉ∣ηπ​,Jπ​) has no suboptimal stationary points on Θ\ThetaΘ.

Formalization targets

Goal: Theorem 1 (p. 14)

Under Conditions 0, 1 and 2.A, ℓ\ellℓ is continuously differentiable, and for every θ∈Θ\theta\in\Thetaθ∈Θ

θ is a stationary point of ℓ⟺ℓ(πθ)=ℓ(π∗).\theta\ \text{is a stationary point of }\ell\quad\Longleftrightarrow\quad \ell(\pi_\theta) = \ell(\pi^*).θ is a stationary point of ℓ⟺ℓ(πθ​)=ℓ(π∗).

The right side compares with the optimum over all feasible policies, not only the class.

Milestones

  1. ηπ⪰(1−γ)ρ\eta_\pi\succeq(1-\gamma)\rhoηπ​⪰(1−γ)ρ (p. 7) and the element-wise inequalities (5), TJ⪯TπJTJ\preceq T_\pi JTJ⪯Tπ​J and TJπ⪯JπTJ_\pi\preceq J_\piTJπ​⪯Jπ​ (p. 7).
  2. The performance difference identity (29), ℓ(π)−ℓ(πˉ)=∫[TπJπˉ−Jπˉ] dηπ\ell(\pi)-\ell(\bar\pi) = \int[T_\pi J_{\bar\pi}-J_{\bar\pi}]\,d\eta_\piℓ(π)−ℓ(πˉ)=∫[Tπ​Jπˉ​−Jπˉ​]dηπ​ (p. 39).
  3. Lemma 6, the policy gradient theorem: ∇ℓ(θ)=∇θˉB(θˉ∣ηπθ,Jπθ)∣θˉ=θ\nabla\ell(\theta) = \nabla_{\bar\theta}\mathcal B(\bar\theta\mid\eta_{\pi_\theta},J_{\pi_\theta})|_{\bar\theta=\theta}∇ℓ(θ)=∇θˉ​B(θˉ∣ηπθ​​,Jπθ​​)∣θˉ=θ​ (p. 13).
  4. Lemma 7: at a stationary point, ∫Jπθ dηπθ=min⁡π∈ΠΘ∫(TπJπθ) dηπθ\int J_{\pi_\theta}\,d\eta_{\pi_\theta} = \min_{\pi\in\Pi_\Theta}\int(T_\pi J_{\pi_\theta})\,d\eta_{\pi_\theta}∫Jπθ​​dηπθ​​=minπ∈ΠΘ​​∫(Tπ​Jπθ​​)dηπθ​​ (p. 14).
  5. Lemma 8, the on-average Bellman equation: ℓ(π)=ℓ(π∗)  ⟺  ∫(Jπ−TJπ) dρ=0\ell(\pi) = \ell(\pi^*)\iff\int(J_\pi-TJ_\pi)\,d\rho = 0ℓ(π)=ℓ(π∗)⟺∫(Jπ​−TJπ​)dρ=0 (p. 15).

Significance

Theorem 1 converts a question about a nonconvex, multi-period objective into checks on single-period problems. Any algorithm that provably reaches stationary points (projected gradient descent, for instance) then reaches globally optimal policies whenever the policy class is closed under improvement and the one-step problems are benign. The paper verifies the conditions for LQ control, finite MDPs with softmax policies, optimal stopping with threshold policies and inventory control with base-stock policies; the quantitative refinements (gradient dominance, approximate closure, finite horizons) are the subject of the later missions of this series.

The result is proved in the paper; nothing in it has been machine-checked. A formalization would produce a measure-theoretic library for discounted MDPs on general spaces (cost-to-go via kernels, occupancy measures, Bellman operators, the performance difference identity) that is reusable well beyond this paper, and would pin down the exact differentiability hypothesis the argument needs.

Difficulty

The obvious route, differentiating ℓ(θ)=(1−γ)∫Jπθ dρ\ell(\theta) = (1-\gamma)\int J_{\pi_\theta}\,d\rhoℓ(θ)=(1−γ)∫Jπθ​​dρ directly, requires differentiating an infinite discounted sum of ttt-step kernels in the parameter, and on a general state space that derivative is not available without regularity of the transition law. The performance difference identity demands an exchange of an infinite series with integrals against composed kernels, and measurability of every object involved, including TJπTJ_\piTJπ​, which is measurable only through the selection assumption. The stationary-implies-optimal direction must pass from an inequality weighted by ηπθ\eta_{\pi_\theta}ηπθ​​ to one weighted by ρ\rhoρ, and then to ηπ∗\eta_{\pi^*}ηπ∗​, where Assumption 1 enters.

Formalization scope

S\mathcal SS and A\mathcal AA are arbitrary measurable spaces; the paper takes Borel subsets of Euclidean spaces, a structure no argument uses. The cost ggg is bounded and, with the kernel PPP, defined on all of S×A\mathcal S\times\mathcal AS×A: Condition 0 differentiates at parameters near Θ\ThetaΘ, where πθ\pi_\thetaπθ​ need not be feasible. Policies are deterministic, stationary and measurable; randomized policies are covered by taking actions to be probability vectors. Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd is the Euclidean space, gradients are Euclidean, and Θ\ThetaΘ is convex (not assumed closed).

Conventions committed to in Lean:

  • a stationary point includes differentiability of the function at that point;
  • J∗J^*J∗ is never an infimum over policies: an optimal policy π∗\pi^*π∗ is a hypothesis, and J∗=Jπ∗J^* = J_{\pi^*}J∗=Jπ∗​;
  • TTT is an infimum over As\mathcal A_sAs​, equal to the minimum on bounded functions;
  • the Bellman operators carry the factor γ\gammaγ, which the printed (3)–(4) omit but every other display and proof uses;
  • Condition 0 is the joint form: (θˉ,θ′)↦B(θˉ∣ηπθ′,Jπθ)(\bar\theta,\theta')\mapsto\mathcal B(\bar\theta\mid\eta_{\pi_{\theta'}},J_{\pi_\theta})(θˉ,θ′)↦B(θˉ∣ηπθ′​​,Jπθ​​) is C1C^1C1 near (θ,θ)(\theta,\theta)(θ,θ). The printed condition asks only for its two partial maps; the paper's proof of Lemma 6 expands a total derivative into partials, which needs the joint form, and the joint form implies the printed one;
  • Assumptions 1 and 2 are hypotheses of the goal (standing assumptions of §2);
  • Lemma 7 also carries Condition 0, which its proof uses through Lemma 6.

The goal does not assume that ΠΘ\Pi_\ThetaΠΘ​ contains π∗\pi^*π∗, the equation of Lemma 7 or the conclusion of Lemma 8; a formalization that takes any of these as a hypothesis trivializes the theorem.

A complete development needs the composition of kernels, interchange of series and integrals for bounded functions, the fixed-point identity TπJπ=JπT_\pi J_\pi = J_\piTπ​Jπ​=Jπ​, the performance difference identity, the first-order optimality condition on a convex set, and the chain rule for a jointly C1C^1C1 function along the diagonal. The MDP layer, the identity (29) and the element-wise inequalities are reused by the other missions of the series. Proofs of the milestones, and proofs of the identity (29) in isolation, are welcome.

Selected references

  • J. Bhandari, D. Russo, Global Optimality Guarantees for Policy Gradient Methods, Operations Research, 2024 (arXiv:1906.01786v3, 2022). https://arxiv.org/abs/1906.01786, https://doi.org/10.1287/opre.2021.0014
  • S. Kakade, J. Langford, Approximately Optimal Approximate Reinforcement Learning, ICML, 2002. https://dl.acm.org/doi/10.5555/645531.656005
  • M. Fazel, R. Ge, S. Kakade, M. Mesbahi, Global Convergence of Policy Gradient Methods for the Linear Quadratic Regulator, ICML, 2018. https://arxiv.org/abs/1801.05039
  • A. Agarwal, S. Kakade, J. Lee, G. Mahajan, On the Theory of Policy Gradient Methods: Optimality, Approximation, and Distribution Shift, JMLR, 2021. https://arxiv.org/abs/1908.00261
  • O. Hernández-Lerma, J. B. Lasserre, Discrete-Time Markov Control Processes, Springer, 1996. https://doi.org/10.1007/978-1-4612-0729-0
9 thms1 active userReviewed
PreviousPage 3 of 4Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me