Introduction
Humans think in concepts, and each concept is an abstraction that treats many raw sensory states as equivalent. As the token spaces of frontier AI systems inherit such abstractions from human language, the remarkable navigation power of these systems is limited to the human concept space, and nothing in their training lets them form abstractions outside it. To form a new abstraction, an agent must decide which states to treat as equivalent while it acts, leaving the agent with the dual problems of collecting data to estimate the quality of the existing abstraction and acting in a way to find a better abstraction. We study this coupling of exploration and state abstraction with the tools of learning theory. Our agents act in tabular episodic Markov decision processes (MDPs) and observe the state through an abstraction ϕ \phi ϕ , which in general makes the observed process non-Markov ([78 ] ).
Active Inference (AIF) is a normative account of this coupling. It formalises the enactivist thesis that an agent’s representation cannot be decoupled from its action ([87 , 36 ] ) by letting a single objective drive both its actions and the learning of its world model ([27 ] ). Its single objective, the expected free energy , scores an action by its expected reward and by the information it is expected to yield. The same inference learns the agent’s world model by predicting the agent’s observations, and this model includes the abstraction, that is, which states the agent treats as equivalent. AIF thus makes information gain the common currency of explorative policy search and of the abstraction of the state space. In its standard formulation, rewards enter the picture as preferences , a fixed prior distribution over desired outcomes on which inference conditions and which it does not update.
Reinforcement learning (RL) theory instead derives exploration terms from the estimation error of a value, such as an upper-confidence bonus [7 , 8 ] or a posterior quantile [44 , 84 ] . It selects abstractions by their consequences for value [56 , 66 , 38 , 21 ] . Control as Inference (CaI) [86 , 47 ] is known to fail to explore, because it ignores epistemic uncertainty [65 ] , which the information-gain term of AIF captures. K-learning [64 ] and VAPOR [83 ] add a posterior-uncertainty term to CaI and attain sublinear Bayesian regret, that is, regret averaged over a prior on MDPs. EUBRL [54 ] adds an epistemic-uncertainty variable to CaI and attains high-probability regret on every MDP. No prior study reports such guarantees for AIF, or for CaI without an added exploration term. Motivated by this gap, we investigate the following question.
When is information gain advantageous, and when is it disadvantageous, in terms of regret, compared with confidence sets, for an agent that explores and learns through a state abstraction?
We put the state-of-the-art methods of these two paradigms, AIF and Bayes-UCBVI [84 ] , on an equal footing. Bayes-UCBVI is minimax-optimal for stage-dependent kernels, and its posterior quantiles act as value-specific confidence widths. Both agents act through the same abstraction and, under a fixed reward function, hold the same Dirichlet posterior over its transitions, and Bayes-UCBVI differs from the greedy variants of AIF only in its exploration term (Section 3.1). The comparison therefore isolates information from value as the currency of exploration. We also compare AIF with CaI and with UCBVI [8 ] . Two features of AIF make the question delicate. First, AIF adds information, measured in nats, to reward at an exchange rate, the precision. Which precision, if any, calibrates the two is unspecified by the core theory. Second, when the abstraction is learned, the data that select it are generated by the agent’s exploration through it. Thus, a poor abstraction can steer the agent away from the data that would reveal its error. The three paragraphs below answer the question for a reward function fixed across episodes, episode-specific reward functions that an adaptive adversary chooses from the agent’s data, and an abstraction that the agent selects from a candidate set, and the three parts of Table 1 list the results. We provide all the proofs in the appendix.
Table 1: Regret over K K K episodes of horizon H H H , T = H K T = HK T = H K steps, with S = ∣ S ∣ S = \lvert S\rvert S = ∣ S ∣ , X = ∣ X ∣ ≪ S X = \lvert\mathcal{X}\rvert\ll S X = ∣ X ∣ ≪ S , A = ∣ A ∣ A = \lvert A\rvert A = ∣ A ∣ , the representation scale ϵ r e p \epsilon_{\mathrm{rep}} ϵ rep (Definition 1) and its bound ϵ ˉ \bar{\epsilon} ϵ ˉ (Corollary 1), the branching number Γ ϕ ≤ X \Gamma_{\phi} \le X Γ ϕ ≤ X (Theorem 3), and the candidate set Φ \Phi Φ of abstractions. Each row is a separate result for its agent. Lower bounds hold for every agent of the named kind on some MDP. O ~ \widetilde{O} O hides poly log( H S X A T / δ ) (HSXAT/\delta) ( H S X A T / δ ) . Status marks a result as known, adapted, an instance of a general theorem, or new, and Appendix § 9 states the conditions of each row. (a) PAC form in Kolter and Ng [45 ] . (b) Frequentist counterpart of Lu and Van Roy [53 ] . (c) Of Xie et al. [89 ] . (d) Boltzmann exploration in bandits (Cesa-Bianchi et al., [15 ] ).
Table 1.
Information gain costs regret under a fixed reward function. When the reward function is fixed across episodes, optimistic agents explore through ϕ \phi ϕ at a cost that scales with X X X instead of S S S . We call an exploration term valid if, with high probability, it is at least the amount by which the estimated next-step value falls short of the true one, so that the agent’s values stay optimistic. This shortfall decays with the visit count N N N as N − 1 / 2 N^{-1/2} N − 1/2 , whereas the information gain about the transition kernel, which AIF calls novelty, decays as N − 1 N^{-1} N − 1 . With a weight that does not grow with the number of episodes, an agent with a bonus of this order stops playing the optimal action with constant probability (Theorem 2), and AIF and CaI incur linear regret (Proposition 1). A transportation inequality shows that the square root of novelty, multiplied by the range of the value function and a logarithmic factor, is a valid width, a frequentist counterpart of the widths of Lu and Van Roy [53 ] . The resulting greedy agent, calibrated AIF , has regret O ( ϵ r e p K ) + O ~ ( H 3 / 2 Γ ϕ X A T ) \mathcal{O}(\epsilon_{\mathrm{rep}}K)+\widetilde{\mathcal{O}}(H^{3/2}\sqrt{\Gamma_{\phi}XAT}) O ( ϵ rep K ) + O ( H 3/2 Γ ϕ X A T ) (Theorem 3). This bound exceeds that of Bayes-UCBVI’s value-specific quantile by a factor Γ ϕ \sqrt{\Gamma_{\phi}} Γ ϕ , and calibrated information gain therefore does not improve on the bound attainable with visit counts. Under a fixed reward function, information seeking is thus disadvantageous before calibration and brings no advantage after it.
Under adaptive reward functions, calibrated information gain is advantageous over value-specific widths. When an adaptive adversary chooses the reward functions, which we call goals, from the agent’s data, Bayes-UCBVI’s value-specific quantile is accurate for every fixed goal but not for a goal chosen after the data, which causes Bayes-UCBVI to incur regret Ω ( K / ln K ) \Omega(K/\ln K) Ω ( K / ln K ) (Proposition 7). In contrast, novelty does not depend on the reward function. Calibrated AIF with a uniform prior is therefore optimistic for every reward function simultaneously, with a width within constants of the radius of an ℓ 1 \ell_{1} ℓ 1 confidence set (Jaksch et al., [37 ] ). Its advantage is thus over value-specific widths, not over ℓ 1 \ell_{1} ℓ 1 confidence sets, which Rosenberg and Mansour [71 ] use against adaptive rewards. Theorem 4 determines the price in regret of this simultaneous optimism. On some MDP with S S S states whose start states the adversary also chooses, every agent incurs a factor S 1 / 4 S^{1/4} S 1/4 more regret than under a fixed goal. Every goal-memoryless agent (Definition 2), which conditions only on the observed transitions and the current goal and breaks ties at the last step by a local rule, incurs a factor S \sqrt{S} S on such an MDP, and AIF is such an agent under the last-step conventions of Lemma 11. Both factors hold up to logarithmic factors. Calibrated AIF with a uniform prior attains the factor S \sqrt{S} S , and goals that an oblivious adversary fixes before the first episode cost no extra regret. An agent that uses past goals as data about the transitions, which AIF’s generative model cannot do, halves the exponent of the price.
Learned abstractions need a common target. When the agent learns its abstraction, value is again the better target. AIF learns ϕ \phi ϕ by predicting observations through an emission model, a probabilistic map from abstract states to ground states. Its information gain about the emission makes it prefer a worse action that yields many distinct observations, with regret linear in K K K whenever S ≥ 2 K + 2 S \ge2K + 2 S ≥ 2 K + 2 (Proposition 10). Without the decoder, as in joint-embedding predictive architectures (JEPA) ([46 , 6 ] ), the agent scores each candidate abstraction by how well it predicts its own labels. This target is self-referential. A coarse abstraction, one that merges states whose best actions differ, predicts its own labels well and is never refuted by the data that it generates. It thus incurs linear regret (Proposition 11). GOLF ([42 ] ) avoids this problem, because it uses the value function as a target that all candidate abstractions share. It attains regret O ~ ( T ) \widetilde{O}(\sqrt{T}) O ( T ) in realizable block MDPs with latent rewards. The rate also holds when an adaptive adversary chooses latent goals (Theorem 5).
Consequently, calibrated information gain acts as a reward-agnostic confidence set of the ℓ 1 \ell_1 ℓ 1 type. It is advantageous over value-specific confidence widths when the reward functions are chosen from the agent’s own data, and it is not when the reward function is fixed. The first case also covers an agent that sets its own goals from its data, such as a homeostatic agent whose set points adapt to its trajectory ([80 , 69 ] ) or an autotelic agent ([16 ] ). Calibrated AIF with a uniform prior stays optimistic whatever rule sets the goals, whereas Bayes-UCBVI locks out under a rule that uses only the agent’s own data. When the agent learns its abstraction, information about the emission of observations misleads its exploration, and value is the better target.
Episodic Control Under an Abstraction
We work in the finite-horizon episodic tabular setting of Azar et al. [8 ] . An episodic MDP is a tuple M = ( S , A , P ∗ , R ∗ , H ) \mathcal{M} = (\mathcal{S}, \mathcal{A}, P^{*}, R^{*}, H) M = ( S , A , P ∗ , R ∗ , H ) with S , A \mathcal{S}, \mathcal{A} S , A finite, a known episode length H H H , a time-homogeneous kernel P ∗ P^{*} P ∗ , and a deterministic reward R ∗ : S × A → [ 0 , 1 ] R^{*} : \mathcal{S} \times\mathcal{A} \to[0,1] R ∗ : S × A → [ 0 , 1 ] . For a policy π = ( π 1 , … , π H ) \pi= (\pi_1, \ldots, \pi_H) π = ( π 1 , … , π H ) , we set V H + 1 π ≡ 0 V^{\pi}_{H+1} \equiv0 V H + 1 π ≡ 0 , that is, V H + 1 π ( s ) = 0 V^{\pi}_{H+1}(s) = 0 V H + 1 π ( s ) = 0 for all s s s , and Q h π ( s , a ) = R ∗ ( s , a ) + ∑ s ′ P ∗ ( s ′ ∣ s , a ) V h + 1 π ( s ′ ) Q^{\pi}_h(s,a) = R^{*}(s,a) + \sum_{s'} P^{*}(s' \mid s,a)V^{\pi}_{h+1}(s') Q h π ( s , a ) = R ∗ ( s , a ) + ∑ s ′ P ∗ ( s ′ ∣ s , a ) V h + 1 π ( s ′ ) and V h π ( s ) = Q h π ( s , π h ( s ) ) V^{\pi}_h(s) = Q^{\pi}_h(s,\pi_h(s)) V h π ( s ) = Q h π ( s , π h ( s )) . The optimal values satisfy V h ∗ ( s ) = max a Q h ∗ ( s , a ) V^{*}_h(s) = \max_a Q^{*}_h(s,a) V h ∗ ( s ) = max a Q h ∗ ( s , a ) and 0 ≤ V h ∗ ≤ H − h + 1 0 \le V^{*}_h \le H-h+1 0 ≤ V h ∗ ≤ H − h + 1 . The agent does not know P ∗ P^{*} P ∗ . Before it commits to a policy, it may think about any past observations. Its regret over T = H K T = HK T = H K steps is its shortfall against an agent that knows P ∗ P^{*} P ∗ and follows an optimal policy, R K : = ∑ k ≤ K ( V 1 ∗ ( s 1 k ) − V 1 π k ( s 1 k ) ) \mathcal{R}_K := \sum_{k \le K}(V^{*}_1(s^k_1) - V^{\pi^k}_1(s^k_1)) R K := ∑ k ≤ K ( V 1 ∗ ( s 1 k ) − V 1 π k ( s 1 k )) .
Value-based baselines. We compare the information-driven agents of § 3 with two value-based agents, UCBVI ([8 ] ) and Bayes-UCBVI ([84 ] ). On the ground MDP, both know R ∗ R^{*} R ∗ , as in their original analyses.1 Both compute optimistic values V ~ h k \widetilde{V}^k_h V h k by backward induction. At each step they add a nonnegative exploration term, which we call a confidence width , to the Bellman backup R ∗ + P ~ V ~ h + 1 k R^{*} + \widetilde{P}\widetilde{V}^k_{h+1} R ∗ + P V h + 1 k under a kernel estimate P ~ \widetilde{P} P . Let e k , h : = ( P ~ − P ∗ ) V ~ h + 1 ∗ e_{k,h} := (\widetilde{P} - P^{*})\widetilde{V}^{*}_{h+1} e k , h := ( P − P ∗ ) V h + 1 ∗ be the error of the estimated next-step value. A width is valid if, with high probability, it is at least − e k , h ( s , a ) -e_{k,h}(s,a) − e k , h ( s , a ) for all k k k , h h h , s s s and a a a , that is, if it compensates every underestimation of the next-step value. By backward induction, valid widths keep the computed values optimistic, V ‾ h k ≥ V h ∗ \overline{V}^{k}_{h} \ge V^{*}_{h} V h k ≥ V h ∗ .
UCBVI uses its empirical kernel P ^ k \widehat{P}_{k} P k and a Chernoff–Hoeffding (UCBVI-CH) or Bernstein–Freedman (UCBVI-BF) bonus as its width. Bayes-UCBVI places a Dirichlet posterior ρ h k ( s , a ) \rho^{k}_{h}(s,a) ρ h k ( s , a ) on each row of the kernel, one for each step h h h . Its prior puts n 0 n_{0} n 0 pseudo-counts on an absorbing pseudo-state s E s_{\mathrm{E}} s E with reward r 0 > 1 r_{0}>1 r 0 > 1 , an instrumental device that makes unvisited rows optimistic (Appendix § 11 .§ 1 ). Value functions are extended to the pseudo-state by its value, V ‾ h + 1 ∗ ( s E ) : = r 0 ( H − h ) \overline{V}^{*}_{h+1}(s_{\mathrm{E}}) := r_{0}(H-h) V h + 1 ∗ ( s E ) := r 0 ( H − h ) . The width of Bayes-UCBVI is its quantile gap Δ h k ( s , a ) \Delta^{k}_{h}(s,a) Δ h k ( s , a ) , the difference between the quantile of order κ h k ( s , a ) \kappa^{k}_{h}(s,a) κ h k ( s , a ) (Definition 4) of the next-step value p T V ‾ h + 1 k p^{\mathsf{T}}\overline{V}^{k}_{h+1} p T V h + 1 k under p ∼ ρ h k ( s , a ) p \sim\rho^{k}_{h}(s,a) p ∼ ρ h k ( s , a ) and the next-step value under the posterior mean P ^ h k ( ⋅ ∣ s , a ) \widehat{P}^{k}_{h}(\cdot\mid s,a) P h k ( ⋅ ∣ s , a ) . Let n ‾ = n ‾ h k ( s , a ) \overline{n}=\overline{n}^{k}_{h}(s,a) n = n h k ( s , a ) be the visit count plus n 0 n_{0} n 0 , and let ℓ = ℓ h k ( s , a ) : = ln ( 1 / ( 1 − κ h k ( s , a ) ) ) = O ( ln ( S A H T / δ ) ) \ell=\ell^{k}_{h}(s,a):=\ln\left(1/(1-\kappa^{k}_{h}(s,a))\right)=O(\ln(SAHT/\delta)) ℓ = ℓ h k ( s , a ) := ln ( 1/ ( 1 − κ h k ( s , a )) ) = O ( ln ( S A H T / δ )) be the logarithmic factor of the quantile order κ h k ( s , a ) \kappa^{k}_{h}(s,a) κ h k ( s , a ) (Definition 4). On every sample path, the quantile gap is at most of order H ℓ / n ‾ H\sqrt{\ell/\overline{n}} H ℓ / n (Lemma 2 in Appendix § 11 .§ 1 ). It thus decays as n ‾ − 1 / 2 \overline{n}^{-1/2} n − 1/2 , the rate at which an empirical mean concentrates. At a fixed count, no valid width decays faster (Lemma 1(ii)).
State Abstraction and Its Cost
An abstraction is a map ϕ : S → X \phi:\mathcal{S}\to\mathcal{X} ϕ : S → X with ∣ X ∣ = X ≪ S |\mathcal{X}|=X\ll S ∣ X ∣ = X ≪ S . Its blocks ϕ − 1 ( x ) \phi^{-1}(x) ϕ − 1 ( x ) are the sets of ground states it merges. A policy is ϕ \phi ϕ -measurable if it depends on the ground state only through ϕ \phi ϕ . With a weighting W ( s ∣ x ) W(s\mid x) W ( s ∣ x ) of each block, ϕ \phi ϕ induces the abstract MDP M ‾ ϕ = ( X , A , P ‾ ϕ , R ‾ ϕ , H ) \overline{\mathcal{M}}_{\phi}=(\mathcal{X},\mathcal{A},\overline{P}_{\phi},\overline{R}_{\phi},H) M ϕ = ( X , A , P ϕ , R ϕ , H ) with R ‾ ϕ ( x , a ) = ∑ s ∈ ϕ − 1 ( x ) W ( s ∣ x ) R ∗ ( s , a ) \overline{R}_{\phi}(x,a)=\sum_{s\in\phi^{-1}(x)}W(s\mid x)R^{*}(s,a) R ϕ ( x , a ) = ∑ s ∈ ϕ − 1 ( x ) W ( s ∣ x ) R ∗ ( s , a ) and
P ‾ ϕ ( x ′ ∣ x , a ) = ∑ s ∈ ϕ − 1 ( x ) W ( s ∣ x ) ∑ s ′ ∈ ϕ − 1 ( x ′ ) P ∗ ( s ′ ∣ s , a ) . (1) \overline{P}_{\phi}(x'\mid x,a)=\sum_{s\in\phi^{-1}(x)}W(s\mid x)\sum_{s'\in\phi^{-1}(x')}{P}^{*}(s'\mid s,a). \tag*{(1)} P ϕ ( x ′ ∣ x , a ) = s ∈ ϕ − 1 ( x ) ∑ W ( s ∣ x ) s ′ ∈ ϕ − 1 ( x ′ ) ∑ P ∗ ( s ′ ∣ s , a ) . (1)
We write V ‾ ϕ , h π , Q ‾ ϕ , h π \overline{V}^{\pi}_{\phi,h},\overline{Q}^{\pi}_{\phi,h} V ϕ , h π , Q ϕ , h π for the value functions of M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ and V ‾ ϕ , h ∗ , Q ‾ ϕ , h ∗ \overline{V}^{*}_{\phi,h},\overline{Q}^{*}_{\phi,h} V ϕ , h ∗ , Q ϕ , h ∗ for its optimal value functions, defined as in § 2 with ( P ‾ ϕ , R ‾ ϕ ) (\overline{P}_{\phi},\overline{R}_{\phi}) ( P ϕ , R ϕ ) in place of ( P ∗ , R ∗ ) (P^{*},R^{*}) ( P ∗ , R ∗ ) . The agent cannot compute M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ because W W W is unknown. In particular, R ‾ ϕ \overline{R}_{\phi} R ϕ is unknown even when R ∗ R^{*} R ∗ is known.
Definition 1 (Representation scale, cf. Abel et al., 2016). With ϕ # \phi_{\#} ϕ # the pushforward through ϕ \phi ϕ , let η R ( ϕ ) : = max x , a max s , s ′ ∈ ϕ − 1 ( x ) ∣ R ∗ ( s , a ) − R ∗ ( s ′ , a ) ∣ \eta_{R}(\phi):=\max_{x,a}\max_{s,s'\in\phi^{-1}(x)}|R^{*}(s,a)-R^{*}(s',a)| η R ( ϕ ) := max x , a max s , s ′ ∈ ϕ − 1 ( x ) ∣ R ∗ ( s , a ) − R ∗ ( s ′ , a ) ∣ and η P ( ϕ ) : = max x , a max s , s ′ ∈ ϕ − 1 ( x ) ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − ϕ # P ∗ ( ⋅ ∣ s ′ , a ) ∥ 1 \eta_{P}(\phi):=\max_{x,a}\max_{s,s'\in\phi^{-1}(x)}\lVert\phi_{\#}P^{*}(\cdot\mid s,a)-\phi_{\#}P^{*}(\cdot\mid s',a)\rVert_{1} η P ( ϕ ) := max x , a max s , s ′ ∈ ϕ − 1 ( x ) ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − ϕ # P ∗ ( ⋅ ∣ s ′ , a ) ∥ 1 . The representation scale of ϕ \phi ϕ is ϵ r e p ( ϕ ) : = H η R ( ϕ ) + 1 2 H 2 η P ( ϕ ) \epsilon_{\mathrm{rep}}(\phi):=H\eta_{R}(\phi)+\frac{1}{2}H^{2}\eta_{P}(\phi) ϵ rep ( ϕ ) := H η R ( ϕ ) + 2 1 H 2 η P ( ϕ ) . We call ϕ \phi ϕ exact if ϵ r e p ( ϕ ) = 0 \epsilon_{\mathrm{rep}}(\phi)=0 ϵ rep ( ϕ ) = 0 ([50 ] ).
In an exact abstraction, merged states have the same rewards and the same pushed-forward transition laws (Appendix C). The decoder of a block MDP with latent rewards (Assumption 1 in § 5 ) is an example. The representation scale bounds the value that an agent can lose in one episode by treating each block as a single state, and this bound is tight up to a constant factor (Proposition 2). A standard simulation argument ([1 ] ) shows that it bounds two gaps, the gap between the optimal values of M \mathcal{M} M and M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ and the gap between the values of any ϕ \phi ϕ -measurable policy in the two models (Lemma 3 in Appendix § 12 .§ 1 ). Every bound below depends on ϕ \phi ϕ only through ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) .
Under abstract optimism , we run an optimistic algorithm unchanged on X \mathcal{X} X , with x τ = ϕ ( s τ ) x_{\tau}=\phi(s_{\tau}) x τ = ϕ ( s τ ) as the observed state. It estimates the unknown R ‾ ϕ ( x , a ) \overline{R}_{\phi}(x,a) R ϕ ( x , a ) by the empirical mean R ^ ϕ k ( x , a ) \widehat{R}^{k}_{\phi}(x,a) R ϕ k ( x , a ) of the rewards observed at the N k ( x , a ) N_{k}(x,a) N k ( x , a ) visits to ( x , a ) (x,a) ( x , a ) before episode k k k , and by R ^ ϕ k ( x , a ) : = 1 \widehat{R}^{k}_{\phi}(x,a):=1 R ϕ k ( x , a ) := 1 if N k ( x , a ) = 0 N_{k}(x,a)=0 N k ( x , a ) = 0 . Optimism survives up to ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) per episode (Appendix § 12 .§ 2 ).
Theorem 1 (Optimism is robust to abstraction). Run UCBVI and Bayes-UCBVI on the abstract data of ϕ \phi ϕ with R ϕ k R_{\phi}^{k} R ϕ k , and let L : = max { ι , ℓ ˉ , n 0 , 1 + ln K } L := \max\{\iota,\bar{\ell},n_{0},1+\ln K\} L := max { ι , ℓ ˉ , n 0 , 1 + ln K } , where ι : = ln ( 16 X 2 A H T 2 / δ ) \iota:= \ln(16X^{2}AHT^{2}/\delta) ι := ln ( 16 X 2 A H T 2 / δ ) , ℓ ˉ : = max k , h , x , a ℓ k h ( x , a ) \bar{\ell} := \max_{k,h,x,a}\ell_{k}^{h}(x,a) ℓ ˉ := max k , h , x , a ℓ k h ( x , a ) is the largest logarithmic factor of Bayes-UCBVI’s quantile orders (Definition 4 and Lemma 2), and n 0 n_{0} n 0 is its pseudo-count. Then L = O ( ln ( X A H T / δ ) ) L = O(\ln(XAHT/\delta)) L = O ( ln ( X A H T / δ )) . With probability at least 1 − δ 1-\delta 1 − δ , the following hold.
(a) UCBVI-CH has R K ≤ O ( ϵ r e p ( ϕ ) K ) + O ( H L X A T ) + O ( H 2 X 2 A L ( H + ln T ) ) \mathcal{R}_{K} \le O(\epsilon_{\mathrm{rep}}(\phi)K)+O(HL\sqrt{XAT})+O(H^{2}X^{2}AL(H+\ln T)) R K ≤ O ( ϵ rep ( ϕ ) K ) + O ( H L X A T ) + O ( H 2 X 2 A L ( H + ln T )) , in particular R K = O ( ϵ r e p ( ϕ ) K ) + O ~ ( H X A T ) \mathcal{R}_{K} = O(\epsilon_{\mathrm{rep}}(\phi)K)+\widetilde{O}(H\sqrt{XAT}) R K = O ( ϵ rep ( ϕ ) K ) + O ( H X A T ) for T ≥ H 4 X 3 A T \ge H^{4}X^{3}A T ≥ H 4 X 3 A .
(b) Bayes-UCBVI has R K ≤ O ( ϵ r e p ( ϕ ) K ) + O ( H 3 / 2 X A T L ) + O ( H 3 X 2 A L 2 ) \mathcal{R}_{K} \le O(\epsilon_{\mathrm{rep}}(\phi)K)+O(H^{3/2}\sqrt{XAT}L)+O(H^{3}X^{2}AL^{2}) R K ≤ O ( ϵ rep ( ϕ ) K ) + O ( H 3/2 X A T L ) + O ( H 3 X 2 A L 2 ) , in particular R K = O ( ϵ r e p ( ϕ ) K ) + O ~ ( H 3 / 2 X A T ) \mathcal{R}_{K} = O(\epsilon_{\mathrm{rep}}(\phi)K)+\widetilde{O}(H^{3/2}\sqrt{XAT}) R K = O ( ϵ rep ( ϕ ) K ) + O ( H 3/2 X A T ) for T ≥ H 3 X 3 A T \ge H^{3}X^{3}A T ≥ H 3 X 3 A .
(c) If ϕ \phi ϕ is exact and the agent is given R ϕ R_{\phi} R ϕ , the abstract data form an episodic MDP on X \mathcal{X} X , and Theorems 6 and 7 hold with S S S replaced by X X X . Their leading terms are O ~ ( H X A T ) \widetilde{O}(\sqrt{HXAT}) O ( H X A T ) for UCBVI-BF if X A ≥ H XA \ge H X A ≥ H , and O ~ ( H X A T ) \widetilde{O}(H\sqrt{XAT}) O ( H X A T ) for Bayes-UCBVI.
Optimism thus turns an abstraction error into an additive cost, which the agent incurs without knowing ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) , as Dong et al. [21 ] showed for optimistic Q-learning with state aggregation. In the worst case, no agent avoids this cost, and UCBVI-CH matches the minimax rate up to H \sqrt{H} H and logarithmic factors (Table 1 , row 1, and Corollary 1 in Appendix § 12 .§ 4 ).
Goals
§ 3 uses a reward function R ∗ R^{*} R ∗ that is fixed across all episodes. § 4 instead considers episode-specific reward functions R k : X × A → [ 0 , 1 ] R_{k} : \mathcal{X} \times A \to[0,1] R k : X × A → [ 0 , 1 ] , which we call goals . Before episode k k k , the agent receives the goal R k R_{k} R k together with a start state x 1 k x_{1}^{k} x 1 k , chosen by an adversary . The goals are said to be adaptive if the adversary chooses them from the interaction history of the agent, and oblivious if it fixes all goals and start states before the first episode. We call the adversary adaptive or oblivious accordingly. The regret against these goals is R K g o a l : = ∑ k ( V 1 ∗ ( x 1 k ; R k ) − V 1 π k ( x 1 k ; R k ) ) \mathcal{R}_{K}^{\mathrm{goal}} := \sum_{k}(V_{1}^{*}(x_{1}^{k};R_{k})-V_{1}^{\pi_{k}}(x_{1}^{k};R_{k})) R K goal := ∑ k ( V 1 ∗ ( x 1 k ; R k ) − V 1 π k ( x 1 k ; R k )) . The records of a triple ( h , x , a ) (h,x,a) ( h , x , a ) are the successors observed after playing a a a at x x x at step h h h .
Definition 2 (Goal-memoryless agents). An agent is goal-memoryless if (i) its policy in each episode is a function of the records of all triples, of the current goal and of randomness drawn afresh for the episode, and (ii) at the last step, at every state x x x at which all actions have the same reward under the current goal, it draws its action by a fixed rule from the records of the triples ( H , x , ⋅ ) (H,x,\cdot) ( H , x , ⋅ ) and from U x , j U_{x,j} U x , j . Here j j j counts its earlier last-step visits to x x x , and the U x , j U_{x,j} U x , j are independent uniform variables, independent of everything else. Fixed parameters, such as K K K and δ \delta δ , may enter both rules.
Condition (ii) excludes the goal, the records of other states and the episode index from these choices. Otherwise the agent’s actions at the last step could record the order of its earlier, goal-dependent choices (Appendix § 16 .§ 3 ). A goal-memoryless agent conditions on the current goal but does not use past goals as data about the transitions. Bayes-UCBVI, CaI, AIF and calibrated AIF (§ 3.3 and § 4 ) are goal-memoryless if, at the last step, the greedy agents break ties by a fixed order of the actions and AIF and calibrated AIF with Bayes-UCBVI’s prior act on their index before the cap at r 0 r_{0} r 0 (Lemma 11 in Appendix § 16 .§ 3 ). UCBVI is not goal-memoryless, since it clamps its values at those of the previous episode, which were computed under earlier goals. Condition (i) constrains only the last step at states where all actions earn the same reward, and the agents above meet it with a fixed tie order or with randomness drawn by local visit. Neither our upper bound nor our lock-out argument covers UCBVI under adaptive goals.
What Information Gain Costs Under a Fixed Reward Function
AIF and CaI on an Abstraction
We run AIF and CaI on the abstract MDP M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ , as § 2.1 ran UCBVI and Bayes-UCBVI. Following Friston et al. [27 ] and Da Costa et al. [18 ] , AIF posits hidden states x τ x_{\tau} x τ that emit observations s τ s_{\tau} s τ through an emission matrix A ϕ A_{\phi} A ϕ and evolve under actions through a transition matrix B ϕ B_{\phi} B ϕ . We identify the hidden states with the abstract states, x τ = ϕ ( s τ ) ∈ X x_{\tau}=\phi(s_{\tau})\in\mathcal{X} x τ = ϕ ( s τ ) ∈ X . The rows B ϕ ( ⋅ ∣ x , a ) B_{\phi}(\cdot\mid x,a) B ϕ ( ⋅ ∣ x , a ) , one for each step as in Bayes-UCBVI, then model P ‾ ϕ ( ⋅ ∣ x , a ) \overline{P}_{\phi}(\cdot\mid x,a) P ϕ ( ⋅ ∣ x , a ) . Until § 5 , the agent applies a fixed abstraction ϕ \phi ϕ to its observations, and our results hold for every such ϕ \phi ϕ . The observation s τ s_{\tau} s τ then determines the hidden state x τ x_{\tau} x τ , which AIF calls exact perception . The emission factor does not depend on B ϕ B_{\phi} B ϕ and thus plays no role in the posterior over B ϕ B_{\phi} B ϕ or in planning. Friston et al.’s Dirichlet learning of B ϕ B_{\phi} B ϕ (their Eq. 2.7), with Bayes-UCBVI’s instrumental prior and one row per step, yields exactly ρ ϕ k ( x , a ) \rho_{\phi}^{k}(x,a) ρ ϕ k ( x , a ) . AIF thus holds the same posterior as Bayes-UCBVI. The representation cost adds O ( ϵ r e p ( ϕ ) K ) O(\epsilon_{\mathrm{rep}}(\phi)K) O ( ϵ rep ( ϕ ) K ) to each upper bound below, as in Theorem 1. Our lower bounds use exact abstractions, so that this section isolates the cost of exploration.
The AIF agent scores a policy π \pi π by the expected free energy of the discrete-state formulation of AIF (Friston et al. [27 ] , Eq. 2.5),
G ( π ) = ∑ τ > t ( − E Q ( r τ ∣ π ) [ ln P ~ ( r τ ) ] − I Q ( x τ ; s τ ∣ π ) ) . (2) G(\pi)=\sum_{\tau>t}\left(-\mathbb{E}_{Q(r_{\tau}\mid\pi)}[\ln\widetilde{P}(r_{\tau})]-I_{Q}(x_{\tau};s_{\tau}\mid\pi)\right). \tag*{(2)} G ( π ) = τ > t ∑ ( − E Q ( r τ ∣ π ) [ ln P ( r τ )] − I Q ( x τ ; s τ ∣ π ) ) . (2)
Here Q Q Q denotes the agent’s approximate posterior and the predictive distributions that it induces (Appendix § 11 .§ 2.1 ), and the preferences ln P ~ ( r ) = β r + c o n s t \ln\widetilde{P}(r)=\beta r+\mathrm{const} ln P ( r ) = β r + const at precision β > 0 \beta>0 β > 0 concern the reward outcome. Under the agent’s model, this outcome is its estimate r τ = R ^ ϕ k ( x τ , a τ ) r_{\tau}=\widehat{R}_{\phi}^{k}(x_{\tau},a_{\tau}) r τ = R ϕ k ( x τ , a τ ) (Appendix § 11 .§ 2.1 ). An estimate is needed even when R ∗ R^{*} R ∗ is known, because the abstract reward R ‾ ϕ \overline{R}_{\phi} R ϕ depends on the unknown weighting W W W . The extrinsic value is thus β \beta β times the expected estimated reward, up to a constant that does not depend on π \pi π . The epistemic value, which Friston et al. [27 ] also call intrinsic value and we call the state term , is the information that the observation carries about the hidden state. Under exact perception, it equals the entropy H [ Q ( x τ ∣ π ) ] H[Q(x_{\tau}\mid\pi)] H [ Q ( x τ ∣ π )] of the predicted abstract state (Millidge et al. [58 ] , Eq. 5). Learning B ϕ B_{\phi} B ϕ adds a third term. Da Costa et al. [18 ] (Eq. 16) and Nuijten et al. [63 ] (Eq. 7c) call the information that an outcome carries about the emission parameters novelty . We apply the same definition to B ϕ B_{\phi} B ϕ , with the next abstract state as the outcome. We compute the information under the predictive joint in which the row is drawn from the posterior and the next state from the drawn row, B ∼ ρ ϕ k ( x , a ) B\sim\rho_{\phi}^{k}(x,a) B ∼ ρ ϕ k ( x , a ) and x τ + 1 ∣ B ∼ Cat ( B ) x_{\tau+1}\mid B\sim\operatorname{Cat}(B) x τ + 1 ∣ B ∼ Cat ( B ) , yielding
Novelty ( x , a ) : = I ( B ; x τ + 1 ∣ x τ = x , a τ = a ) = H [ P ^ ϕ k ( ⋅ ∣ x , a ) ] − E B ∼ ρ ϕ k ( x , a ) [ H [ B ] ] . (3) \operatorname{Novelty}(x,a):=I(B;x_{\tau+1}\mid x_{\tau}=x,a_{\tau}=a)=H[\widehat{P}_{\phi}^{k}(\cdot\mid x,a)]-\mathbb{E}_{B\sim\rho_{\phi}^{k}(x,a)}[H[B]]. \tag*{(3)} Novelty ( x , a ) := I ( B ; x τ + 1 ∣ x τ = x , a τ = a ) = H [ P ϕ k ( ⋅ ∣ x , a )] − E B ∼ ρ ϕ k ( x , a ) [ H [ B ]] . (3)
Under this joint, the marginal law of x τ + 1 x_{\tau+1} x τ + 1 is the posterior mean P ^ ϕ k ( ⋅ ∣ x , a ) \widehat{P}_{\phi}^{k}(\cdot\mid x,a) P ϕ k ( ⋅ ∣ x , a ) that the planners use. The state term one step ahead, therefore, equals E B H [ B ] + Novelty \mathbb{E}_{B}H[B]+\text{Novelty} E B H [ B ] + Novelty . It contains novelty once, and for an exact abstraction it converges to the entropy of the true transition law, which does not vanish unless the transitions are deterministic. CaI uses the same model and posterior. It places reward in the likelihood of an observed optimality variable instead of a preference over outcomes (Levine, [47 ] ). With ϕ \phi ϕ given, B ϕ B_{\phi} B ϕ enters CaI’s planning only through its posterior mean (Appendix § 11 .§ 2.2 ).
Dividing AIF’s objective by β \beta β expresses it in units of reward. With ϕ \phi ϕ given, every Bayesian agent of this paper holds the posterior ρ ϕ k ( x , a ) \rho_{\phi}^{k}(x,a) ρ ϕ k ( x , a ) , with mean P ^ ϕ k \widehat{P}_{\phi}^{k} P ϕ k , and values actions by
Q k , h ( x , a ) = R ^ ϕ k ( x , a ) + P ^ ϕ k ( ⋅ ∣ x , a ) T V k , h + 1 + Ψ k , h ( x , a ) , V k , h ( x ) = max a Q k , h ( x , a ) . (4) Q_{k,h}(x,a)=\widehat{R}_{\phi}^{k}(x,a)+\widehat{P}_{\phi}^{k}(\cdot\mid x,a)^{\mathsf{T}}V_{k,h+1}+\Psi_{k,h}(x,a),\qquad V_{k,h}(x)=\max_{a}Q_{k,h}(x,a). \tag*{(4)} Q k , h ( x , a ) = R ϕ k ( x , a ) + P ϕ k ( ⋅ ∣ x , a ) T V k , h + 1 + Ψ k , h ( x , a ) , V k , h ( x ) = a max Q k , h ( x , a ) . (4)
with V k , H + 1 ≡ 0 V_{k,H+1} \equiv0 V k , H + 1 ≡ 0 and the pseudo-state value V k , h ( x E ) = r 0 ( H − h + 1 ) V_{k,h}(x_{\mathrm{E}})=r_0(H-h+1) V k , h ( x E ) = r 0 ( H − h + 1 ) . The agents differ in the epistemic term Ψ \Psi Ψ and in the action rule. Bayes-UCBVI uses the quantile gap Δ h k \Delta_h^k Δ h k and acts greedily. The AIF agent we analyse instantiates the discrete-state AIF of Friston et al. [27 ] with Dirichlet learning of B ϕ B_{\phi} B ϕ , evaluated recursively as in sophisticated inference (Friston et al., [28 ] ). Its term Ψ \Psi Ψ is β − 1 \beta^{-1} β − 1 times the sum of the state term and novelty. It thus counts novelty twice, once inside the state term and once as the parameter information gain of standard AIF (Appendix D.2.1). It clamps its Q Q Q -values at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) and samples its action at each step from a softmax at precision β \beta β . CaI uses Ψ = 0 \Psi=0 Ψ = 0 and samples its action from the same softmax. In the backup of Eq. (4) , it computes V k , h ( x ) V_{k,h}(x) V k , h ( x ) by the soft maximum β − 1 ln ( A − 1 ∑ a e β Q k , h ( x , a ) ) \beta^{-1}\ln\left(A^{-1}\sum_a e^{\beta Q_{k,h}(x,a)}\right) β − 1 ln ( A − 1 ∑ a e β Q k , h ( x , a ) ) in place of the maximum. Calibrated AIF uses the term of § 3.3 and acts greedily. Appendix § 11 .§ 2 derives these choices from the generative models, and Appendix § 11 .§ 3 specifies every agent.
Raw Information Gain Has the Wrong Order
The next lemma compares novelty with the estimation error that every valid width must exceed.
Lemma 1 (Novelty versus valid widths) Fix ( x , a , h ) (x,a,h) ( x , a , h ) and let σ V 2 : = V P ‾ ϕ ( ⋅ ∣ x , a ) [ V ‾ ϕ , h + 1 ∗ ] \sigma_V^2 := \mathbb{V}_{\overline{P}_{\phi}(\cdot\mid x,a)}\left[\overline{V}^{*}_{\phi,h+1}\right] σ V 2 := V P ϕ ( ⋅ ∣ x , a ) [ V ϕ , h + 1 ∗ ] .
(i) At visit count n n n , with n ˉ = n + n 0 \bar{n}=n+n_0 n ˉ = n + n 0 , Novelty ( x , a ) ≤ X / ( n ˉ + 1 ) \operatorname{Novelty}(x,a)\le X/(\bar{n}+1) Novelty ( x , a ) ≤ X / ( n ˉ + 1 ) .
(ii) Let ϕ \phi ϕ be exact, and let e n : = ( ( P ~ n − P ‾ ϕ ) V ‾ ϕ , h + 1 ∗ ) ( x , a ) e_n:=((\widetilde{P}_n-\overline{P}_{\phi})\overline{V}^{*}_{\phi,h+1})(x,a) e n := (( P n − P ϕ ) V ϕ , h + 1 ∗ ) ( x , a ) be the estimation error of the empirical kernel P ~ n \widetilde{P}_n P n of the row’s first n n n samples. Let σ V 2 ≥ ν H 2 \sigma_V^2\ge\nu H^2 σ V 2 ≥ ν H 2 with ν ∈ ( 0 , 1 ] \nu\in(0,1] ν ∈ ( 0 , 1 ] and n ν ≥ 1 n\nu\ge1 n ν ≥ 1 . Then at every count n n n fixed in advance, whatever the algorithm, the empirical kernel underestimates the value with constant probability, P ( e n ≤ − H ν / ( 8 n ) ) ≥ 1 / 64 \mathbb{P}(e_n\le-H\sqrt{\nu}/(8\sqrt{n}))\ge1/64 P ( e n ≤ − H ν / ( 8 n )) ≥ 1/64 . Hence every b n b_n b n with P ( b n ≥ − e n ) ≥ 1 − δ ′ > 63 / 64 \mathbb{P}(b_n\ge-e_n)\ge1-\delta'>63/64 P ( b n ≥ − e n ) ≥ 1 − δ ′ > 63/64 satisfies P ( b n ≥ H ν / ( 8 n ) ) ≥ 1 / 64 − δ ′ \mathbb{P}(b_n\ge H\sqrt{\nu}/(8\sqrt{n}))\ge1/64-\delta' P ( b n ≥ H ν / ( 8 n )) ≥ 1/64 − δ ′ .
Part (ii) concerns the lower tail of the estimation error, which validity constrains, at every fixed count. The consequences of this lower bound on regret follow from Theorem 2 (Appendix F.§ 2 ). By (i), novelty falls below the threshold of (ii) once n ˉ ≥ 64 X 2 / ( ν H 2 ) \bar{n}\ge64X^2/(\nu H^2) n ˉ ≥ 64 X 2 / ( ν H 2 ) . It scales as the square of a valid width, as a variance does against a standard deviation. No constant factor, the precision included, changes its order.
This mismatch costs regret, as we now show for a family of greedy agents. We call an agent information-driven with exponent q > 0 q>0 q > 0 and weight λ ≥ 0 \lambda\ge0 λ ≥ 0 if it acts greedily on Eq. (4) with Ψ k , h = λ Novelty q \Psi_{k,h}=\lambda\operatorname{Novelty}^q Ψ k , h = λ Novelty q , the known reward R ∗ R^* R ∗ in place of R ^ ϕ k \widehat{R}_{\phi}^k R ϕ k , and optionally a clamp at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) . The greedy novelty-only variant of AIF with the known reward has q = 1 q=1 q = 1 and λ = 1 / β \lambda=1/\beta λ = 1/ β . Greedy CaI with the known reward and a maximum in place of its soft maximum has λ = 0 \lambda=0 λ = 0 . The first term of the calibrated width of § 3.3 has q = 1 2 q=\frac{1}{2} q = 2 1 .
Theorem 2 (The exponent decides how the weight must scale) Let an information-driven agent with n 0 , r 0 ≥ 1 n_0,r_0\ge1 n 0 , r 0 ≥ 1 , q q q , and λ \lambda λ act on an exact abstraction.
(a) Exponent above one half. Let q ∈ ( 1 2 , 1 ] q\in\left(\frac{1}{2},1\right] q ∈ ( 2 1 , 1 ] . There is an MDP with S = 4 S=4 S = 4 and A = H = 2 A=H=2 A = H = 2 , which depends only on n 0 n_0 n 0 , r 0 r_0 r 0 , q q q , and λ \lambda λ , on which, with probability at least 1 4 \frac{1}{4} 4 1 , the agent plays the optimal action at most N ∗ = O ( λ 2 / ( 2 q − 1 ) + n 0 2 r 0 2 ) N^*=O(\lambda^{2/(2q-1)}+n_0^2r_0^2) N ∗ = O ( λ 2/ ( 2 q − 1 ) + n 0 2 r 0 2 ) times in total, with N ∗ N^* N ∗ given explicitly in Proposition 4. Hence E R K = Ω ( ( K − N ∗ ) / N ∗ ) \mathbb{E}\mathcal{R}_K=\Omega((K-N^*)/\sqrt{N^*}) E R K = Ω (( K − N ∗ ) / N ∗ ) .
(b) Exponent below one half. Let q ∈ ( 0 , 1 2 ) q\in\left(0,\frac{1}{2}\right) q ∈ ( 0 , 2 1 ) and 0 < λ ≤ r 0 / 2 0<\lambda\le r_0/2 0 < λ ≤ r 0 /2 . For every K ≥ 16 ( max { n 0 , 4 1 / q } + 1 ) K\ge16(\max\{n_0,4^{1/q}\}+1) K ≥ 16 ( max { n 0 , 4 1/ q } + 1 ) , there is an MDP with S = A = H = 2 S=A=H=2 S = A = H = 2 on which R K = Ω ( min { λ K 1 − q , K } ) \mathcal{R}_K=\Omega(\min\{\lambda K^{1-q},K\}) R K = Ω ( min { λ K 1 − q , K }) .
With n 0 n_0 n 0 , r 0 r_0 r 0 , and λ \lambda λ independent of K K K , part (a) gives E R K = Ω ( K ) \mathbb{E}\mathcal{R}_K = \Omega(K) E R K = Ω ( K ) . With Bayes-UCBVI’s n 0 = Θ ( ln K ) n_0 = \Theta(\ln K) n 0 = Θ ( ln K ) , it gives Ω ( K / ln K ) \Omega(K/\ln K) Ω ( K / ln K ) , on an MDP that depends on K K K (Appendix F.§ 3 , which also covers every H ≥ 2 H \ge2 H ≥ 2 ). Unless n 0 r 0 ≳ K n_0r_0 \gtrsim\sqrt{K} n 0 r 0 ≳ K , regret O ( K ) O(\sqrt{K}) O ( K ) therefore requires λ ≳ K q − 1 / 2 \lambda\gtrsim K^{q-1/2} λ ≳ K q − 1/2 , that is, β ≲ K − 1 / 2 \beta\lesssim K^{-1/2} β ≲ K − 1/2 for novelty. At q = 1 2 q = \frac{1}{2} q = 2 1 , a weight that grows only as the square root of a logarithmic confidence factor suffices (§ 3.3 ).
Proposition 1 (Regret of AIF and CaI). For every precision β > 0 \beta> 0 β > 0 and every prior with r 0 ≥ 1 r_0 \ge1 r 0 ≥ 1 , AIF and CaI sample every action with probability at least e − β r 0 H / A e^{-\beta r_0 H}/A e − β r 0 H / A . Hence E R K ≥ K Δ e − β r 0 H / A \mathbb{E}\mathcal{R}_K \ge K\Delta e^{-\beta r_0 H}/A E R K ≥ K Δ e − β r 0 H / A on every MDP on which every start state has an action with gap at least Δ > 0 \Delta> 0 Δ > 0 .
With β \beta β and the prior independent of K K K , the greedy variants of AIF and CaI with the known reward also incur linear regret. With constant probability, they lock out of the optimal action, that is, from some episode on they never play it again (Theorem 2(a)). AIF’s state term incurs linear regret even when AIF is given P ∗ P^* P ∗ and R ∗ R^* R ∗ (Proposition 5).
Calibrated AIF
AIF adds an epistemic term measured in nats to a value measured in reward. Pinsker’s inequality relates the two units. Let span ( f ) : = max f − min f \operatorname{span}(f) := \max f - \min f span ( f ) := max f − min f , taken over all categories, the pseudo-state included, and let a belief B B B differ from the posterior mean p ˉ \bar{p} p ˉ by the information D K L ( B ∥ p ˉ ) D_{\mathrm{KL}}(B\mathbin{\|}\bar{p}) D KL ( B ∥ p ˉ ) . The expectations of a bounded function f f f under B B B and under p ˉ \bar{p} p ˉ then differ by at most span ( f ) D K L ( B ∥ p ˉ ) / 2 \operatorname{span}(f)\sqrt{D_{\mathrm{KL}}(B\mathbin{\|}\bar{p})/2} span ( f ) D KL ( B ∥ p ˉ ) /2 . Averaged over the posterior, this information is novelty. A transportation lemma makes this precise (Lemma 7 in Appendix F.§ 7 ). For every Dirichlet posterior and every f f f , the posterior variance of B ⊤ f B^\top f B ⊤ f is at most 1 2 span ( f ) 2 \frac{1}{2}\operatorname{span}(f)^2 2 1 span ( f ) 2 Novelty. Consequently, Bayes-UCBVI’s quantile gap at f f f is at most 2 span ( f ) ℓ N o v e l t y + 2 2 r 0 H ℓ / n ˉ 2\operatorname{span}(f)\sqrt{\ell\mathop{\rm Novelty}} + 2\sqrt{2}r_0H\ell/\bar{n} 2 span ( f ) ℓ Novelty + 2 2 r 0 H ℓ / n ˉ .
The first-order term of a valid width is thus the square root of novelty, multiplied by the range of the value function, as in the Bayesian widths of Lu and Van Roy [53 ] . Calibrated AIF drops the state term and sets Ψ k , h = Ψ k , h + \Psi_{k,h} = \Psi^+_{k,h} Ψ k , h = Ψ k , h + in Eq. (4) , where Ψ k , h + \Psi^+_{k,h} Ψ k , h + is built from the novelty of Eq. (3) ,
Ψ k , h + ( x , a ) : = 2 span ( V k , h + 1 + ) ℓ h k ( x , a ) Novelty ( x , a ) + 2 2 r 0 H ℓ h k ( x , a ) n ˉ h k ( x , a ) , (5) \Psi^+_{k,h}(x,a) := 2\operatorname{span}(V^+_{k,h+1})\sqrt{\ell^k_h(x,a)\operatorname{Novelty}(x,a)} + 2\sqrt{2}r_0H\frac{\ell^k_h(x,a)}{\bar{n}^k_h(x,a)}, \tag*{(5)} Ψ k , h + ( x , a ) := 2 span ( V k , h + 1 + ) ℓ h k ( x , a ) Novelty ( x , a ) + 2 2 r 0 H n ˉ h k ( x , a ) ℓ h k ( x , a ) , (5)
with ℓ h k \ell^k_h ℓ h k and n ˉ h k \bar{n}^k_h n ˉ h k as in § 2 . Calibrated AIF acts greedily on the recursive expected free energy ([28 ] ) with values clamped at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) (Algorithm 1). Its first term multiplies novelty by the exchange rate 2 span ( V k , h + 1 + ) ℓ / N o v e l t y 2\operatorname{span}(V^+_{k,h+1})\sqrt{\ell/\mathop{\rm Novelty}} 2 span ( V k , h + 1 + ) ℓ / Novelty . This rate is at least 2 span ( V k , h + 1 + ) ℓ n ˉ / X 2\operatorname{span}(V^+_{k,h+1})\sqrt{\ell\bar{n}/X} 2 span ( V k , h + 1 + ) ℓ n ˉ / X and thus grows as n ˉ 1 / 2 \bar{n}^{1/2} n ˉ 1/2 . This resolves the calibration problem of the introduction: no constant precision converts nats into reward, whereas this exchange rate does.
Theorem 3 (Calibrated AIF). Let Bayes-UCBVI’s n 0 n_0 n 0 , r 0 r_0 r 0 , and quantile schedule (Definitions 3–4) be used on X \mathcal{X} X . Let the branching number of the abstract data, the abstract counterpart of the maximal support size of Fruit et al. [29 ] , be Γ ϕ : = max x , a ∣ ⋃ s ∈ ϕ − 1 ( x ) supp ϕ # P ∗ ( ⋅ ∣ s , a ) ∣ ≤ X \Gamma_{\phi} := \max_{x,a} \lvert\bigcup_{s \in\phi^{-1}(x)} \operatorname{supp}\phi_{\#}P^*(\cdot\mid s,a) \rvert\le X Γ ϕ := max x , a ∣ ⋃ s ∈ ϕ − 1 ( x ) supp ϕ # P ∗ ( ⋅ ∣ s , a )∣ ≤ X .
(i) Ψ k , h + \Psi^+_{k,h} Ψ k , h + dominates Bayes-UCBVI’s quantile gap at every count, evaluated at calibrated AIF’s own next-step values V k , h + 1 + V^+_{k,h+1} V k , h + 1 + . Hence, with probability at least 1 − δ / 5 1-\delta/5 1 − δ /5 , simultaneously for all k k k and h h h , calibrated AIF is optimistic for an exact abstraction, V k , h + ≥ V ‾ ϕ , h ∗ V^+_{k,h} \ge\overline{V}^*_{\phi,h} V k , h + ≥ V ϕ , h ∗ , and approximately optimistic in general, V k , 1 + ≥ V ‾ ϕ , 1 ∗ − ϵ r e p ( ϕ ) V^+_{k,1} \ge\overline{V}^*_{\phi,1} - \epsilon_{\mathrm{rep}}(\phi) V k , 1 + ≥ V ϕ , 1 ∗ − ϵ rep ( ϕ ) .
(ii) Ψ k , h + ( x , a ) = O ( H Γ ϕ / n ˉ + H ℓ / n ˉ ) \Psi^+_{k,h}(x,a) = O(H\sqrt{\Gamma_{\phi}/\bar{n}} + H\ell/\bar{n}) Ψ k , h + ( x , a ) = O ( H Γ ϕ / n ˉ + H ℓ / n ˉ ) , of the order n ˉ − 1 / 2 \bar{n}^{-1/2} n ˉ − 1/2 that Lemma 1(ii) requires.*
(iii) Let L = O ( ln ( X A H T / δ ) ) L = O(\ln(XAHT/\delta)) L = O ( ln ( X A H T / δ )) be the logarithmic factor defined in Theorem 1. Let the novelty budget Γ T : = ∑ k , h Novelty k h ( x k , h , a k , h ) \Gamma_T := \sum_{k,h} \operatorname{Novelty}_{k}^{h}(x_{k,h}, a_{k,h}) Γ T := ∑ k , h Novelty k h ( x k , h , a k , h ) be the novelty accrued along the played trajectory. It satisfies Γ T ≤ Γ ϕ X A H ( 1 + ln K ) \Gamma_T \le\Gamma_{\phi}XAH(1+\ln K) Γ T ≤ Γ ϕ X A H ( 1 + ln K ) . With probability at least 1 − δ 1-\delta 1 − δ , R K ≤ O ( ϵ rep ( ϕ ) K ) + O ( H L T Γ T + H 3 / 2 X A T L ) + O ( H 3 X 2 A L 2 ) \mathfrak{R}_K \le O(\epsilon_{\operatorname{rep}}(\phi)K)+O(H\sqrt{L T\Gamma_T}+H^{3/2}\sqrt{XATL})+O(H^3X^2AL^2) R K ≤ O ( ϵ rep ( ϕ ) K ) + O ( H L T Γ T + H 3/2 X A T L ) + O ( H 3 X 2 A L 2 ) . In particular, R K = O ( ϵ rep ( ϕ ) K ) + O ~ ( H 3 / 2 Γ ϕ X A T ) \mathfrak{R}_K = O(\epsilon_{\operatorname{rep}}(\phi)K)+\widetilde{O}(H^{3/2}\sqrt{\Gamma_{\phi}XAT}) R K = O ( ϵ rep ( ϕ ) K ) + O ( H 3/2 Γ ϕ X A T ) for T ≥ H 3 X 3 A T \ge H^3X^3A T ≥ H 3 X 3 A .
Calibration thus turns AIF’s epistemic term into a valid width, but the bound of Theorem 3 exceeds Bayes-UCBVI’s by Γ ϕ \sqrt{\Gamma_{\phi}} Γ ϕ , and its variance-aware bound for exact abstractions by H Γ ϕ \sqrt{H\Gamma_{\phi}} H Γ ϕ . The next section shows that calibrated information gain is advantageous over value-specific widths when the goals are chosen adaptively.
Adaptive Goals
The bound of calibrated AIF exceeds that of Bayes-UCBVI because its width controls the deviation of the whole row B B B , whereas the value needs only the projection B T V B^{\mathsf{T}}V B T V . Controlling the whole row is useful when the value function changes with an adaptively chosen goal. Novelty does not depend on the goal, and its square root bounds the posterior deviation of every value function at once (Eq. (46) in Appendix § 16 .§ 1 ). Under AIF’s own uniform Dirichlet prior on X \mathcal{X} X , every category carries mass, and novelty is of the order X / n ˉ X/\bar{n} X / n ˉ , the squared radius of an ℓ 1 \ell_1 ℓ 1 confidence set [37 ] . Calibrated AIF with a uniform prior uses this prior, the width Ψ k , h u : = 2 span ( V k , h + 1 ) ℓ ′ Novelty \Psi_{k,h}^{u} := 2\operatorname{span}(V_{k,h+1})\sqrt{\ell' \operatorname{Novelty}} Ψ k , h u := 2 span ( V k , h + 1 ) ℓ ′ Novelty with ℓ ′ = 9 + 3 ln ( 2 X A H K / δ ) \ell' = 9 + 3\ln(2XAHK/\delta) ℓ ′ = 9 + 3 ln ( 2 X A H K / δ ) , and the clamp at H − h + 1 H-h+1 H − h + 1 . It is goal-memoryless (Lemma 11).
The Gaussian family. The hard MDPs have horizon 2, A = 2 A=2 A = 2 , and M M M start states, each with one decision. Action b b b leads to a single absorbing state, and action a a a leads to one of Y = 2 m Y=2m Y = 2 m absorbing successors shared by all start states. At start state i i i , it reaches y 2 j − 1 y_{2j-1} y 2 j − 1 with probability ( 1 + ϵ θ ~ j ( i ) ) / ( 2 m ) (1+\epsilon\tilde{\theta}^{(i)}_j)/(2m) ( 1 + ϵ θ ~ j ( i ) ) / ( 2 m ) and y 2 j y_{2j} y 2 j with probability ( 1 − ϵ θ ~ j ( i ) ) / ( 2 m ) (1-\epsilon\tilde{\theta}^{(i)}_j)/(2m) ( 1 − ϵ θ ~ j ( i ) ) / ( 2 m ) , with ϵ = m M / ( 64 K ) \epsilon=\sqrt{mM/(64K)} ϵ = m M / ( 64 K ) , independent standard Gaussian vectors θ ( 1 ) , … , θ ( M ) \theta^{(1)},\ldots,\theta^{(M)} θ ( 1 ) , … , θ ( M ) in R m \mathbb{R}^{m} R m as the prior, and θ ~ \tilde{\theta} θ ~ clipped to [ − 1 / ( 2 ϵ ) , 1 / ( 2 ϵ ) ] m [-1/(2\epsilon),1/(2\epsilon)]^{m} [ − 1/ ( 2 ϵ ) , 1/ ( 2 ϵ ) ] m . Hence S = M + Y + 1 S=M+Y+1 S = M + Y + 1 (Appendix § 16 ). A goal pays g ∈ [ 0 , 1 ] Y g\in[0,1]^Y g ∈ [ 0 , 1 ] Y at the successors and a value v v v at the other absorbing state, and the agent must compare the expected payoff P i g P_{i g} P i g of action a a a at start state i i i with v v v . In the following theorem, an adversary chooses goals and start states from the transition law and the history, and expectations include the prior.
Theorem 4 (The price of adaptive goals). There are absolute constants c , C > 0 c,C>0 c , C > 0 such that the following holds for M ≥ 1 M\ge1 M ≥ 1 , Y = 2 m Y=2m Y = 2 m with m ≥ C m\ge C m ≥ C , and K ≥ C M m 2 ln 3 ( m K ) K\ge CMm^2\ln^3(mK) K ≥ C M m 2 ln 3 ( m K ) with M M M dividing K K K , on the Gaussian family with S = M + Y + 1 S=M+Y+1 S = M + Y + 1 states.
(a) A lower bound for every agent. Some adversary forces every agent, including one that uses past goals as data and knows the adversary’s strategy, to E R K goal ≥ c Y 1 / 4 M K / ln Y \mathbb{E}\mathfrak{R}^{\operatorname{goal}}_K \ge cY^{1/4}\sqrt{MK/\ln Y} E R K goal ≥ c Y 1/4 M K / ln Y .
(b) A larger lower bound for goal-memoryless agents. If Y ≥ 600 ln ( 3 K ) Y\ge600\ln(3K) Y ≥ 600 ln ( 3 K ) , every goal-memoryless agent has E R K goal ≥ M Y K / 16000 \mathbb{E}\mathfrak{R}^{\operatorname{goal}}_K \ge\sqrt{MYK/16000} E R K goal ≥ M Y K /16000 against some adversary.
(c) Both rates are attained. On every MDP with an exact abstraction, with probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 and simultaneously for all sequences of goals and start states, calibrated AIF with a uniform prior is optimistic for every goal, V k , h ≥ V k ∗ ( ⋅ ; R k ) V_{k,h}\ge V^*_{k}(\cdot;R_k) V k , h ≥ V k ∗ ( ⋅ ; R k ) . Against every adversary, with probability at least 1 − δ 1-\delta 1 − δ , it has R K goal ≤ 8 H 3 / 2 X A ℓ ′ T + 2 H 2 T ln ( 2 / δ ) \mathfrak{R}^{\operatorname{goal}}_K\le8H^{3/2}X\sqrt{A\ell'T}+2H\sqrt{2T\ln(2/\delta)} R K goal ≤ 8 H 3/2 X A ℓ ′ T + 2 H 2 T ln ( 2/ δ ) , which is O ( S K ln ( S K / δ ) ) O(S\sqrt{K\ln(SK/\delta)}) O ( S K ln ( S K / δ ) ) on the Gaussian family. Against every adversary, some agent that uses past goals as data and knows the adversary’s strategy has expected regret at most 2 Y 1 / 4 M K ln ( 1 + 16 K ) 2Y^{1/4}\sqrt{MK\ln(1+16K)} 2 Y 1/4 M K ln ( 1 + 16 K ) .
::: (d) Goals fixed in advance cost no extra regret. Against goals and start states that an oblivious adversary fixes before the first episode, a single fixed goal included, UCBVI-CH without its clamp at the previous values has regret O ~ ( S K ) \widetilde{O}(\sqrt{SK}) O ( S K ) on every member of the family for K ≥ S 3 K \ge S^3 K ≥ S 3 (Proposition 9).
For M = Y M = Y M = Y and K ≥ S 3 K \ge S^3 K ≥ S 3 , a fixed goal thus costs O ~ ( S K ) \widetilde{O}(\sqrt{SK}) O ( S K ) , every agent incurs Θ ~ ( S 3 / 4 K ) \widetilde{\Theta}(S^{3/4}\sqrt{K}) Θ ( S 3/4 K ) , and goal-memoryless agents incur Θ ~ ( S K ) \widetilde{\Theta}(S\sqrt{K}) Θ ( S K ) . Value-specific widths are not even optimistic for all goals at once, and Bayes-UCBVI’s quantiles lock out under adaptive goals (Proposition 7 in Appendix § 16 .§ 2 ). A value-specific quantile is accurate for every fixed goal but not for a data-dependent goal, whereas the confidence set behind Ψ u \Psi^{\mathrm{u}} Ψ u certifies whatever value the agent computes. In Proposition 7, Bayes-UCBVI keeps its pseudo-state prior, whereas part (c) uses the uniform prior, so this contrast changes the prior as well as the width.
Goals as data. AIF treats goals as preferences, on which it conditions but which it does not update. It therefore does not use past goals as data, and part (b) applies to it and to its calibrated variant (Lemma 11). By part (c), calibrated AIF with a uniform prior attains the rate of part (b) in S S S and K K K . Calibration is thus what makes information gain useful under adaptive goals, and no goal-memoryless agent does better. The remaining gap between parts (a) and (b) is the value of using past goals as data. A goal chosen by an adversary that knows the transition law is an observation of that law, and AIF’s generative model has no variable for it.
Learned Abstractions
We now let the agent learn ϕ \phi ϕ from a candidate set Φ \Phi Φ of abstractions, with a uniform prior, in the realizable case. The agent scores each candidate abstraction by how well it predicts a target.
Assumption 1 (Realizable block MDP). For some ϕ † ∈ Φ \phi^\dagger\in\Phi ϕ † ∈ Φ , latent kernel B ∗ B^* B ∗ , and emission A ∗ A^* A ∗ with A ∗ ( ⋅ ∣ x ) A^*(\cdot\mid x) A ∗ ( ⋅ ∣ x ) supported on ϕ − 1 ( x ) \phi^{-1}(x) ϕ − 1 ( x ) , P ∗ ( s ′ ∣ s , a ) = B ∗ ( ϕ † ( s ′ ) ∣ ϕ † ( s ) , a ) A ∗ ( s ′ ∣ ϕ † ( s ′ ) ) P^*(s' \mid s,a) = B^*(\phi^\dagger(s') \mid\phi^\dagger(s),a) A^*(s' \mid\phi^\dagger(s')) P ∗ ( s ′ ∣ s , a ) = B ∗ ( ϕ † ( s ′ ) ∣ ϕ † ( s ) , a ) A ∗ ( s ′ ∣ ϕ † ( s ′ )) . The block MDP has latent rewards if moreover R ∗ ( s , a ) = r ∗ ( ϕ † ( s ) , a ) R^*(s,a) = r^*(\phi^\dagger(s),a) R ∗ ( s , a ) = r ∗ ( ϕ † ( s ) , a ) for some r ∗ : X × A → [ 0 , 1 ] r^*: \mathcal{X} \times\mathcal{A} \to[0,1] r ∗ : X × A → [ 0 , 1 ] .
The value function is a target that all candidate abstractions share and that suffices for control. Let F h : = { ( s , a ) ↦ g ( ϕ ( s ) , a ) : ϕ ∈ Φ , g ∈ [ 0 , H − h + 1 ] X × A } \mathcal{F}_h := \{(s,a) \mapsto g(\phi(s),a) : \phi\in\Phi, g \in[0,H-h+1]^{\mathcal{X}\times\mathcal{A}}\} F h := {( s , a ) ↦ g ( ϕ ( s ) , a ) : ϕ ∈ Φ , g ∈ [ 0 , H − h + 1 ] X × A } be the value functions that some candidate abstraction can express. AIF couples representation and action through a single objective, yet scores its abstraction by how well it predicts observations. We call an agent enactive if the target that scores its abstraction is itself the value of its actions. Our enactive agent is an instance of the GOLF algorithm (Jin et al., [42 ] ) on F = F 1 × ⋯ × F H \mathcal{F} = \mathcal{F}_1 \times\cdots\times\mathcal{F}_H F = F 1 × ⋯ × F H . Before each episode, it keeps the functions whose squared Bellman residual exceeds that of the best predictor of the same target by at most a radius ω \omega ω . It then acts greedily for the most optimistic of them (Appendix H.§ 3 ). Its residual is a self-prediction, since f h f_h f h predicts the reward plus f h + 1 f_{h+1} f h + 1 at the next state. Unlike a latent self-prediction, however, it compares f h f_h f h with the best predictor of the same target. The candidate abstractions thus compete on a common target. Under a goal R k R_k R k revealed before episode k k k , the agent relabels its data, thereby recomputing its version space from all past transitions with the rewards of R k R_k R k .
Theorem 5 (Value-based selection of the abstraction). Let Assumption 1 hold with latent rewards and a fixed start state, let C ℓ : = ln ∣ Φ ∣ + X A ln ( H K / δ ) C_\ell:= \ln|\Phi| + X A \ln(H K/\delta) C ℓ := ln ∣Φ∣ + X A ln ( H K / δ ) , and let the enactive agent use the confidence radius ω = c H 2 ln ( H K / δ ) \omega= cH^2 \ln(\sqrt{H K/\delta}) ω = c H 2 ln ( H K / δ ) on its squared Bellman residuals (Eq. (57) in Appendix H.§ 3 ), where
N \mathcal{N} N is the covering number of F \mathcal{F} F at scale H / K H/K H / K in the supremum norm and c c c is an absolute constant. With probability at least 1 − δ 1-\delta 1 − δ , the following hold.
(a) The enactive agent has R K = O ( H 2 X A T C ϵ ( 1 + ln K ) ) \mathfrak{R}_{K} = O\left(H^{2}\sqrt{XAT C_{\epsilon}(1+\ln K)}\right) R K = O ( H 2 X A T C ϵ ( 1 + ln K ) ) .
(b) Let a latent goal R k ( s , a ) = r k ( ϕ † ( s ) , a ) R_k(s,a)=r_k(\phi^{\dagger}(s),a) R k ( s , a ) = r k ( ϕ † ( s ) , a ) , with r k : X × A → [ 0 , 1 ] r_k:\mathcal{X}\times\mathcal{A}\to[0,1] r k : X × A → [ 0 , 1 ] , be revealed before each episode, possibly chosen by an adaptive adversary. The relabelling enactive agent has R K g o a l = O ( H 2 X A T C ϵ ( 1 + ln K ) ) \mathfrak{R}^{\mathrm{goal}}_{K}=O\left(H^{2}\sqrt{XAT C_{\epsilon}(1+\ln K)}\right) R K goal = O ( H 2 X A T C ϵ ( 1 + ln K ) ) , with R K g o a l \mathfrak{R}^{\mathrm{goal}}_{K} R K goal as in § 2.2 on the ground MDP.
Our contribution to part (a) is to build the class F \mathcal{F} F from the candidate abstractions and to show that, with latent rewards, it is closed under Bellman backups. The coverability analysis of Xie et al. [89 ] therefore applies, and the observations enter only through ln ∣ Φ ∣ \ln|\Phi| ln ∣Φ∣ .
Other targets. AIF predicts the next ground state by posterior averaging over the candidate abstractions, a consistent score (Proposition 12), but its information gain about the emission directs its exploration (Appendix H.§ 1 ). Given the decoder, the latent kernel and the rewards of a block MDP with S S S states and latent rewards, AIF prefers a worse action that yields many distinct observations, with regret linear in K K K whenever S ≥ 2 K + 2 S\ge2K+2 S ≥ 2 K + 2 (Proposition 10). Removing the emission model, as joint-embedding predictive architectures and self-predictive RL (Schwarzer et al., [74 ] ; Ni et al., [62 ] ) do, removes this information gain but changes the target. The decoder-free counterpart of AIF scores each candidate abstraction by the Bayesian likelihood Λ ϕ l a t \Lambda_{\phi}^{\mathrm{lat}} Λ ϕ lat of its own labels, and a latent-predictive agent acts through a maximiser of this score, exploring by any rule. A coarse candidate abstraction that merges two states whose best actions differ can score higher than the true abstraction under every policy, and the labels that the agent generates by acting through it cannot refute it (Appendix H.§ 1 ). Every latent-predictive agent therefore incurs regret Ω ( H K ) \Omega(HK) Ω ( H K ) , whereas GOLF on the same candidate set has regret O ~ ( H 2 T ) \widetilde{O}(H^{2}\sqrt{T}) O ( H 2 T ) (Proposition 11 in Appendix H.§ 1 ).
Conclusion
For a fixed reward function, raw information gain of vanilla AIF incurs linear regret, and calibrated information gain does not improve on the bound attainable with visit counts. Under adaptive goals, calibrated information gain makes the agent optimistic for every goal at once, as an ℓ 1 \ell_{1} ℓ 1 confidence set does, whereas the value-specific widths of Bayes-UCBVI lock out with regret Ω ( K / ln K ) \Omega(K/\ln K) Ω ( K / ln K ) . The price of adaptive goals is a factor S 1 / 4 S^{1/4} S 1/4 for every agent and S \sqrt{S} S for goal-memoryless agents such as AIF, up to logarithmic factors. For learned abstractions, predicting observations or the abstraction’s own labels misleads exploration and selection, whereas the value function is a target that all candidate abstractions share. Calibrated information gain is therefore advantageous over value-specific confidence widths when the goals are chosen from the agent’s own data, and not when the reward function is fixed. Open questions are whether calibrated AIF with Bayes-UCBVI’s pseudo-state prior is optimistic for every goal, whether the price of adaptive goals holds with a fixed start state and for every horizon, whether it holds on every MDP rather than in expectation over a prior, and whether a single agent that uses past goals as data attains the factor S 1 / 4 S^{1/4} S 1/4 without knowing the adversary’s strategy. A further open problem concerns an agent that moves its own goals towards the attractors into which the MDP and its exploration rule drift. Goals and policy then form a coupled dynamical system, and it is unknown whether this system converges and to which attractors. Whether physiological set points are defended targets or settling points of such coupled dynamics is itself debated in mathematical biology (Mrosovsky, [61 ] ; Speakman et al., [76 ] ). A two-time-scale analysis (Borkar, [10 ] ) with goals adapting slower than the policy is a natural starting point.
AI Disclosure
The discovery of the untapped problem in the way it stands in the main question box in the introduction belongs completely to the authors. All the most creative moments of the investigation process have also been due to the deep and to-the-point involvement of the authors with their both broad field knowledge and their nuanced intuitions. That being said, the authors used frontier AI technologies in all steps of the work, sometimes as a companion and other times as the main workhorse. The eventual outcome benefited substantially from AI support, while being an original product of the authors.
The overall structure of the paper is engineered in detail by the authors and AI is used across several tens of times to revise the whole text end-to-end based on lengthy prompts created by the authors after their careful critical reading. These prompts contained structural improvements, new literature elements to be checked, new perspectives to be put on some of the existing content, and new concept pairs to be connected. Nearly all the abstract is the original text of the authors. The paragraph-level design of the introduction and a substantial amount of the text contained therein are native to the authors. The authors provided the AI agents a long list of papers known well to them, pointing to their precise pieces of content that are relevant for the work to be done. The follow-up literature survey text is then left to AI generation, though its post-hoc fact checking is done first by the authors and by alternative AI models afterwards.
The approaching angle to the problem, for example putting AIF and Bayes-UCBVI into the equal footing by defining an abstract MDP, belongs completely to the authors. Similarly, the authors gave several rounds of long instructions to the AI agents about what sort of theoretical claims to be sought and which proof techniques may lead to a successful solution. For example, a verbal (though coarse) description of Theorem 1 was provided to the AI agent as a very likely outcome expected from putting together certain pieces of a particular list of existing work. The counter-examples found for regret lower bounds came from AI agents, despite after long interactions where many intermediate strategic decisions were made by the authors based on their scrutiny and discussion. The idea of looking into adaptive goals emerged as a long and argumentative interaction of the first author with Claude Opus 5.5 high effort, where both sides made creative contributions to the final decision of investigating that realm.
The authors used multiple AI agents in different roles at different stages of the work, that span Claude Opus 5.5 medium, high, and max effort levels mainly for content-related matters, GPT Sol 6.1 for auditing, and GLM 5.3 for narrowly defined text manipulation tasks. The authors made tedious and repeated checks on the whole spectrum of the final product and to the best of their efforts, the claims are sound.
This very AI disclosure text is written verbatim by the authors without any computer involvement whatsoever, including typo finding or text polishing, in order to set a clear reference for their own writing style. Potential grammatical or typographical errors should be attributed to this fact.
Notation
Table 2 collects the notation that the main text and several appendices share. A few letters denote local quantities inside a single proof, which defines them there.
Table 2. Notation.
Table 5.
Conditions of Table 1
The bounds of Table 1 show only the dependence on the quantities named in its caption, and the cited results state the remaining constants. O ~ \widetilde{\mathcal{O}} O hides logarithmic factors but no polynomial lower-order terms, which the full bounds contain. Upper bounds hold with probability 1 − δ 1-\delta 1 − δ , except the upper bound of row 10, which bounds the expected regret under a prior. Lower bounds hold in expectation, rows 9 and 10 also over a prior, except row 6, which holds deterministically, and rows 12 and 16, which hold with probability 1 − e − ( X − 1 ) / 32 1-e^{-(X-1)/32} 1 − e − ( X − 1 ) /32 and 1 − δ 1-\delta 1 − δ . In rows 1, 6, 9 and 14, the hard MDP depends on K K K . These rows are therefore minimax statements.
Fixed reward function. Row 1 takes A = 2 A = 2 A = 2 , H ≥ 4 H \ge4 H ≥ 4 and K ≥ X K \ge X K ≥ X . The leading terms of rows 2 and 3 hold for T ≥ H 4 X 3 A T \ge H^{4}X^{3}A T ≥ H 4 X 3 A and T ≥ H 3 X 3 A T \ge H^{3}X^{3}A T ≥ H 3 X 3 A (Theorem 1). On the ground states, UCBVI-BF has O ~ ( H S A T ) \widetilde{O}(\sqrt{HSAT}) O ( H S A T ) and Bayes-UCBVI O ~ ( H S A T ) \widetilde{O}(H\sqrt{SAT}) O ( H S A T ) , both minimax for their classes (Theorems 6 and 7). Row 4 takes β \beta β and r 0 r_{0} r 0 independent of K K K , and it holds for every n 0 n_{0} n 0 . Rows 5 and 7 take the precision, the prior, and the weight λ \lambda λ of an information bonus λ \lambda λ Noveltyq {}^{q} q independent of K K K . Row 5 takes the known reward and a maximum backup. With Bayes-UCBVI’s prior, n 0 = Θ ( ln K ) n_{0} = \Theta(\ln K) n 0 = Θ ( ln K ) , it becomes Ω ( K / ln K ) \Omega(K/\ln K) Ω ( K / ln K ) , on a hard MDP that depends on K K K . Row 6 needs 0 < λ ≤ r 0 / 2 0 < \lambda\le r_{0}/2 0 < λ ≤ r 0 /2 . Row 7 needs β Δ < ln J \beta\Delta< \ln J β Δ < ln J and is proved for AIF that is given P ∗ P^{*} P ∗ and R ∗ R^{*} R ∗ . We do not prove lock-out for greedy AIF with the state term and novelty combined, a gap that does not affect AIF as we specify it, since its softmax already incurs linear regret by Proposition 1. The leading term of row 8 holds for T ≥ H 3 X 3 A T \ge H^{3}X^{3}A T ≥ H 3 X 3 A (Theorem 3(iii)).
Adaptive goals. Rows 9–13 assume an exact abstraction and a goal revealed before each episode, chosen from the history in rows 9–12. Rows 9 and 10 take the Gaussian family of Theorem 4 with M = Y M = Y M = Y start states and horizon 2, for which X = 2 Y + 1 X = 2Y + 1 X = 2 Y + 1 , in expectation over its prior, and need K ≥ C M Y 2 ln 3 ( Y K ) K \ge CMY^{2}\ln^{3}(YK) K ≥ C M Y 2 ln 3 ( Y K ) . Row 9 also needs Y ≥ 600 ln ( 3 K ) Y \ge600\ln(3K) Y ≥ 600 ln ( 3 K ) . Both let the adversary choose the start states and use the transition law. Row 9 concerns the goal-memoryless agents of Definition 2, against an adversary that may depend on the agent. The lower bound of row 10 concerns every agent, and its upper bound an agent that uses past goals as data and knows the adversary’s strategy. Proposition 8 gives an upper bound of the same order for a single agent and all adversaries, on a hypercube prior. Row 12 needs X ≥ X 0 = O ( ln ( n 0 / δ ) ) X \ge X_{0} = O(\ln(n_{0}/\delta)) X ≥ X 0 = O ( ln ( n 0 / δ )) , and its loss per episode is at least ℓ 1 / ( 4 n 1 ) = Ω ( 1 / n 0 ) \sqrt{\ell_{1}/(4n_{1})} = \Omega(1/n_{0}) ℓ 1 / ( 4 n 1 ) = Ω ( 1/ n 0 ) for n 0 2 ≥ X n_{0}^{2} \ge X n 0 2 ≥ X , since ℓ 1 ≥ 1 \ell_{1} \ge1 ℓ 1 ≥ 1 and n 1 = O ( X + n 0 2 ) n_{1} = O(X + n_{0}^{2}) n 1 = O ( X + n 0 2 ) . With Bayes-UCBVI’s n 0 = Θ ( ln K ) n_{0} = \Theta(\ln K) n 0 = Θ ( ln K ) , the regret is therefore Ω ( K / ln K ) \Omega(K/\ln K) Ω ( K / ln K ) at a fixed δ \delta δ and X X X . Row 13 takes goals and start states fixed before the first episode, possibly using the transition law, and its leading term holds for T ≥ H 4 X 3 A T \ge H^{4}X^{3}A T ≥ H 4 X 3 A .
Learned abstractions. Rows 14–17 assume a realizable block MDP with latent rewards. Row 14 takes A = 2 A = 2 A = 2 , H ≥ 3 H \ge3 H ≥ 3 and K ≥ S K \ge S K ≥ S . Row 15 needs S ≥ 12 S \ge12 S ≥ 12 and β < 0.09 / Δ \beta< 0.09/\Delta β < 0.09/Δ , is proved for AIF that is given the decoder, and is linear in K K K for S ≥ 2 K + 2 S \ge2K + 2 S ≥ 2 K + 2 . Row 16 needs H ≥ 4 H \ge4 H ≥ 4 , concerns agents that score candidates by the likelihood of their own labels over a common label set, and holds after k 0 = O ( H ln ( H K / δ ) ) k_{0} = O(H\ln(HK/\delta)) k 0 = O ( H ln ( H K / δ )) episodes. Row 17 needs a fixed start state. Under goals, these are latent and the agent relabels its data (Theorem 5(b)).
Throughout, counts, posteriors and widths carry the episode index k k k and the step index h h h of the algorithm that maintains them, and τ \tau τ counts steps within a rollout.
Table 3 positions our contribution among the closest analyses, and the footnotes of Table 1 name the results we build on. Information-gain bonuses ([35 ] ) and ensemble-disagreement bonuses ([75 ] ) drive exploration in deep RL without regret guarantees. Both measure information or posterior variance. Hence, Theorem 2 applies to their tabular counterparts.
Table 3. The closest analyses, with their setting, the epistemic term they analyse, how the agent obtains its representation, and the type of guarantee. The setting names the model class, and the objective where it is average reward or adversarial. GP stands for Gaussian process.
Adaptive goals and adversarial MDPs. With unknown transitions and full-information rewards, ℓ 1 \ell_{1} ℓ 1 confidence sets attain O ~ ( H S A K ) \widetilde{O}(HS\sqrt{AK}) O ( H S A K ) against adaptive reward sequences ([71 ] ), as Tiapkin et al. [85 ] note, and policy optimisation attains poly ( H ) S A T \operatorname{poly}(H)\sqrt{SAT} poly ( H ) S A T against oblivious ones ([85 ] ). These works compare with the best fixed policy and reveal each reward after its episode. We instead reveal each goal before its episode and compare with each goal’s optimum. Neither setting therefore contains the other. Our protocol is that of adversarial contextual MDPs ([60 , 48 ] ), with the goal as the context and transitions that do not depend on it. These works learn context-dependent transitions and rewards, whereas our agents are given the goal, and our lower bounds rest on an adversary that chooses it from the agent’s samples. Reward-free exploration needs a number of episodes quadratic in S S S for arbitrary rewards ([41 , 70 ] ), but only linear in S S S for polynomially many rewards fixed in advance ([49 ] ). Theorem 4(b) and Proposition 9 are the online counterparts of these two rates. For policy optimisation against adversarial rewards, closing the remaining gaps is open even in the worst case ([51 ] ).
Adaptive data analysis. The goals of Theorem 4(b) are aligned with the agent’s sampling error, which makes its estimates biased exactly along the values it is asked to compute. This is the false-discovery problem of adaptive data analysis ([23 , 34 , 79 ] ), with one difference. There, the analyst sees only the answers, and noise added to them restores validity. Our adversary sees the samples. Hence, no noise added to the agent’s answers helps.
Self-predictive representations. Joint-embedding predictive architectures ([46 , 6 ] ) and self-predictive RL ([30 , 74 ] ) learn a representation by predicting its own next value rather than the next observation. Ni et al. [62 ] relate latent self-prediction, together with reward prediction, to model-irrelevance abstractions through a condition on the full state or history. Proposition 11 shows that selecting among candidates by the likelihood of their own labels can favour, under every policy, a candidate that merges two states whose best actions differ, and that the labels of such a candidate cannot refute it when the agent acts through it. GOLF’s Bellman residual is also a self-prediction, but it compares each function with the best predictor of the same target. Selecting an abstraction by its consequences for value relates to the value-equivalence principle, which learns a model only as far as it matters for value [25 , 32 , 5 ] . Representation selection with regret guarantees incurs a factor ∣ Φ ∣ \sqrt{|\Phi|} ∣Φ∣ through hard selection , an arg max or an elimination test [55 , 56 , 66 ] , whereas Theorem 5 incurs ln ∣ Φ ∣ \sqrt{\ln|\Phi|} ln ∣Φ∣ in block MDPs with latent rewards.
State abstractions, unlike the temporal abstractions of hierarchical RL [81 , 9 ] , are computed from a known model [31 , 50 ] , learned from tasks [2 ] , or selected from data [38 ] . The regret of a fixed aggregation is bounded from above by Dong et al. [21 ] . Data observed through an abstraction call for martingale concentration [78 ] . Work on rich-observation RL learns the decoder of a block MDP while exploring, which is the realizable case of our setting [22 , 59 , 3 , 24 , 89 ] . The case η R = η P = 0 \eta_R = \eta_P = 0 η R = η P = 0 of Definition 1 is model irrelevance [50 Def. 3] , and a map with small within-block spreads is an approximate model-similarity abstraction [1 Def. 13] . The ε \varepsilon ε -approximation of Ortner et al. [66 ] compares the full next-state distributions of merged states, and every ε \varepsilon ε -approximation has η R ≤ ε \eta_R \le\varepsilon η R ≤ ε and η P ≤ 2 ε \eta_P \le2\varepsilon η P ≤ 2 ε , since ϕ # \phi_{\#} ϕ # contracts ℓ 1 \ell_1 ℓ 1 distances. Among several abstractions, the one with the smallest worst-case bound of § 2.1 balances ϵ r e p ( ϕ ) K \epsilon_{\mathrm{rep}}(\phi)K ϵ rep ( ϕ ) K against X T \sqrt{XT} X T , as in the approximation–estimation trade-off of Jiang et al. [38 ] and the rate–distortion view of Arumugam and Van Roy [4 ] . Millidge et al. [58 ] relate AIF and CaI through the placement of value in the generative model, which Appendix § 11 .§ 2 uses. We use UCBVI and Bayes-UCBVI as their authors define them [8 , 84 ] . For AIF and CaI [27 , 58 ] we analyse explicitly specified variants (Appendix § 11 .§ 3 ), which instantiate novelty for the transition model, fix the backup and the action rule, and give AIF and CaI Bayes-UCBVI’s prior.
Theorem 2(a) puts into regret form the result of Kolter and Ng [45 ] that bonuses decaying faster than N − 1 / 2 N^{-1/2} N − 1/2 are not PAC-MDP. The mechanism applies to AIF because novelty has the order n ˉ − 1 \bar{n}^{-1} n ˉ − 1 of their Bayesian exploration bonus, which is near Bayes-optimal (their Thm. 1). The calibrated width is a frequentist counterpart of the widths of Lu and Van Roy [53 ] and rests on the Dirichlet quantile bounds of Tiapkin et al. [84 ] . Maillard et al. [56 ] suggest that a dependence on log ∣ Φ ∣ \sqrt{\log|\Phi|} log ∣Φ∣ , instead of their ∣ Φ ∣ \sqrt{|\Phi|} ∣Φ∣ , seems plausible when information can be propagated to all candidates. In block MDPs with latent rewards, Theorem 5 attains ln ∣ Φ ∣ \sqrt{\ln|\Phi|} ln ∣Φ∣ , inside the square root with T T T . Lemma 19 gives a function class closed under Bellman backups, built from the candidate decoders, for block MDPs with latent rewards. Existing guarantees for AIF either assume that the agent knows the transition kernel and the observation model of the POMDP it acts in [88 ] , or concern a Gaussian-process bandit whose curiosity weight exceeds a problem-dependent threshold [52 ] . Theorem 2 shows how fast such a weight must grow in an MDP.
Beyond the tabular setting. The mismatch of orders between information gains and valid widths is not specific to Dirichlet posteriors. For a Gaussian process with noise variance σ 2 \sigma^2 σ 2 , an observation at x x x carries at most σ t 2 ( x ) / ( 2 σ 2 ) \sigma_t^2(x)/(2\sigma^2) σ t 2 ( x ) / ( 2 σ 2 ) nats, quadratic in the posterior standard deviation σ t ( x ) \sigma_t(x) σ t ( x ) , whereas the GP-UCB width is linear in σ t ( x ) \sigma_t(x) σ t ( x ) [77 ] , the order of the square root of the information gain and the form of our calibrated width.
Several results connect to earlier work beyond Table 3 . Proposition 1 puts into regret form, for a fixed precision, the observation of O’Donoghue et al. [65 ] that CaI ignores epistemic uncertainty and can fail to explore. Proposition 5 formalises the maximum-entropy reading of AIF’s epistemic term [27 ] and is an instance of the noisy-TV phenomenon [13 ] . It is the finite-precision counterpart of the Bellman optimality of recursive AIF as β → ∞ \beta\to\infty β → ∞ (Da Costa et al., 2023). The form H T Γ T H\sqrt{T\Gamma_T} H T Γ T of Theorem 3 is the tabular analogue of the T β T γ T \sqrt{T\beta_T\gamma_T} T β T γ T of GP-UCB [77 ] and of Russo and Van Roy [72 ] . Proposition 10 is the MDP form of the decision-irrelevant information of Russo and Van Roy [72 ] and the AIF counterpart of the exogenous-distractor problem [24 ] .
Agents and Their Generative Models
This appendix restates the value-based baselines and the results that we cite from their authors, derives the planning objectives of AIF and CaI from their generative models, and specifies every analysed agent.
Baseline Algorithms and Cited Bounds
We restate the two algorithms of § 2 and the results that we cite from their authors.
UCBVI. At the start of episode k k k , UCBVI [8 ] holds the counts N k ( s , a ) N_k(s,a) N k ( s , a ) and N k ( s , a , s ′ ) N_k(s,a,s') N k ( s , a , s ′ ) of the transitions observed in episodes 1 , … , k − 1 1,\ldots,k-1 1 , … , k − 1 and the empirical kernel P ^ k ( s ′ ∣ s , a ) = N k ( s , a , s ′ ) / N k ( s , a ) \widehat{P}_k(s' \mid s,a)=N_k(s,a,s')/N_k(s,a) P k ( s ′ ∣ s , a ) = N k ( s , a , s ′ ) / N k ( s , a ) , which is arbitrary if N k ( s , a ) = 0 N_k(s,a)=0 N k ( s , a ) = 0 . It computes optimistic values by backward induction from V ^ k , H + 1 ≡ 0 \widehat{V}_{k,H+1}\equiv0 V k , H + 1 ≡ 0 ,
Q ^ k , h ( s , a ) = min { Q ^ k − 1 , h ( s , a ) , H , R ∗ ( s , a ) + ( P ^ k V ^ k , h + 1 ) ( s , a ) + b k , h ( s , a ) } , (6) \widehat{Q}_{k,h}(s,a)=\min\left\{\widehat{Q}_{k-1,h}(s,a),H,R^*(s,a)+(\widehat{P}_k\widehat{V}_{k,h+1})(s,a)+b_{k,h}(s,a)\right\}, \tag*{(6)} Q k , h ( s , a ) = min { Q k − 1 , h ( s , a ) , H , R ∗ ( s , a ) + ( P k V k , h + 1 ) ( s , a ) + b k , h ( s , a ) } , (6)
with V ^ k , h ( s ) = max a Q ^ k , h ( s , a ) \widehat{V}_{k,h}(s)=\max_a\widehat{Q}_{k,h}(s,a) V k , h ( s ) = max a Q k , h ( s , a ) and Q ^ k , h ( s , a ) = H \widehat{Q}_{k,h}(s,a)=H Q k , h ( s , a ) = H if N k ( s , a ) = 0 N_k(s,a)=0 N k ( s , a ) = 0 , and it acts greedily. UCBVI-CH uses the Chernoff–Hoeffding bonus of their Algorithm 3,
b k , h ( s , a ) = 7 H L 1 / N k ( s , a ) , L = ln ( 5 S A T / δ ) , (7) b_{k,h}(s,a)=7HL\sqrt{1/N_k(s,a)},\qquad L=\ln(5SAT/\delta), \tag*{(7)} b k , h ( s , a ) = 7 H L 1/ N k ( s , a ) , L = ln ( 5 S A T / δ ) , (7)
which depends on the data only through the count. UCBVI-BF, which attains their optimal rate, uses a Bernstein–Freedman bonus that combines an empirical-variance term, a range correction, and a term that certifies optimism under the empirical variance (their Algorithm 4).
Theorem 6 (UCBVI regret, Azar et al. [8 ] ). Let L = ln ( 5 H S A T / δ ) L=\ln(5HSAT/\delta) L = ln ( 5 H S A T / δ ) . With probability at least 1 − δ 1-\delta 1 − δ , UCBVI-CH has R K ≤ 20 H L S A T + 250 H 2 S 2 A L 2 \mathfrak{R}_K\leq20HL\sqrt{SAT}+250H^2S^2AL^2 R K ≤ 20 H L S A T + 250 H 2 S 2 A L 2 , which is O ~ ( H S A T ) \widetilde{O}(H\sqrt{SAT}) O ( H S A T ) for T ≥ H 2 S 3 A T\geq H^2S^3A T ≥ H 2 S 3 A , and UCBVI-BF satisfies
R K ≤ 30 H L S A K + 2500 H 2 S 2 A L 2 + 4 H 3 / 2 K L , (8) \mathfrak{R}_K\leq30HL\sqrt{SAK}+2500H^2S^2AL^2+4H^{3/2}\sqrt{K}L, \tag*{(8)} R K ≤ 30 H L S A K + 2500 H 2 S 2 A L 2 + 4 H 3/2 K L , (8) which is O ~ ( H S A T ) \widetilde{O}(\sqrt{HSAT}) O ( H S A T ) for T ≥ H 3 S 3 A T\geq H^3S^3A T ≥ H 3 S 3 A and S A ≥ H SA\geq H S A ≥ H .
Up to poly-logarithmic factors, the bound of UCBVI-BF matches the minimax lower bound Ω ( H S A T ) \Omega(\sqrt{HSAT}) Ω ( H S A T ) [37 , 67 ] , which Domingues et al. [20 ] prove for episodic MDPs. Azar et al. [8 ] state the CH bound as 20 H 3 / 2 L S A K 20H^{3/2}L\sqrt{SAK} 20 H 3/2 L S A K , which equals 20 H L S A T 20HL\sqrt{SAT} 20 H L S A T for K = T / H K=T/H K = T / H . Its second term is of lower order, up to logarithmic factors, once T ≥ H 2 S 3 A T\geq H^2S^3A T ≥ H 2 S 3 A . Their bonuses use ln ( 5 S A T / δ ) \ln(5SAT/\delta) ln ( 5 S A T / δ ) in place of L L L , and their theorems state the larger L L L above, which covers both.
Bayes-UCBVI. Tiapkin et al. [84 ] replace UCBVI’s hand-built bonus by an optimistic rule read off a Dirichlet posterior over the transition kernel, with R ∗ R^* R ∗ known. Their algorithm is stated for time-inhomogeneous MDPs, which include our time-homogeneous class, and it keeps a separate belief at every step. We therefore index its posteriors and quantile orders by h h h .
Definition 3 (Dirichlet posterior with a pseudo-state, Tiapkin et al., [84 ] ). Extend S S S to S ′ = S ∪ { s E } S^{\prime}=S\cup\{s_{\mathrm{E}}\} S ′ = S ∪ { s E } with an absorbing pseudo-state s E s_{\mathrm{E}} s E of reward r 0 = 2 r_{0}=2 r 0 = 2 , so that V h ∗ ( s E ) = r 0 ( H − h + 1 ) V_{h}^{*}(s_{\mathrm{E}})=r_{0}(H-h+1) V h ∗ ( s E ) = r 0 ( H − h + 1 ) ([cf. 12 , 82 ] ). With the pseudo-count n 0 = ⌈ c n 0 + log 17 / 16 K ⌉ n_{0}=\lceil c_{n_{0}}+\log_{17/16}K\rceil n 0 = ⌈ c n 0 + log 17/16 K ⌉ , where c n 0 c_{n_{0}} c n 0 is an absolute constant (their Appendix B.2), place on every row the prior
ρ h 0 ( s , a ) = Dir ( n 0 ⋅ 1 { s ′ = s E } ) s ′ ∈ S ′ , \rho_{h}^{0}(s,a)=\operatorname{Dir}\left(n_{0}\cdot\mathbf{1}\{s^{\prime}=s_{\mathrm{E}}\}\right)_{s^{\prime}\in S^{\prime}}, ρ h 0 ( s , a ) = Dir ( n 0 ⋅ 1 { s ′ = s E } ) s ′ ∈ S ′ , and update it with the counts N k h ( s , a , s ′ ) N_{k}^{h}(s,a,s^{\prime}) N k h ( s , a , s ′ ) of the transitions from ( s , a ) (s,a) ( s , a ) to s ′ s^{\prime} s ′ at step h h h in episodes 1 , … , k − 1 1,\ldots,k-1 1 , … , k − 1 . The posterior is ρ h k ( s , a ) = Dir ( n ˉ h k ( s ′ ∣ s , a ) ) s ′ \rho_{h}^{k}(s,a)=\operatorname{Dir}\left(\bar{n}_{h}^{k}(s^{\prime}\mid s,a)\right)_{s^{\prime}} ρ h k ( s , a ) = Dir ( n ˉ h k ( s ′ ∣ s , a ) ) s ′ with n ˉ h k ( s ′ ∣ s , a ) = N k h ( s , a , s ′ ) + n 0 1 { s ′ = s E } \bar{n}_{h}^{k}(s^{\prime}\mid s,a)=N_{k}^{h}(s,a,s^{\prime})+n_{0}\mathbf{1}\{s^{\prime}=s_{\mathrm{E}}\} n ˉ h k ( s ′ ∣ s , a ) = N k h ( s , a , s ′ ) + n 0 1 { s ′ = s E } .
The prior is improper, and we follow Tiapkin et al. [84 ] in using it only as an instrumental device that defines ρ h k \rho_{h}^{k} ρ h k by this update, never through a marginal likelihood.
Definition 4 (Optimistic Bayesian value iteration, Tiapkin et al., [84 ] , Eqs. 1–2}). With the raw visit count n h k ( s , a ) n_{h}^{k}(s,a) n h k ( s , a ) , the total mass n ˉ h k ( s , a ) = n h k ( s , a ) + n 0 \bar{n}_{h}^{k}(s,a)=n_{h}^{k}(s,a)+n_{0} n ˉ h k ( s , a ) = n h k ( s , a ) + n 0 , and the quantile order
κ h k ( s , a ) = 1 − C κ δ S A H [ 2 n h k ( s , a ) + 1 ] 3 [ n ˉ h k ( s , a ) ] 3 / 2 , C κ = 1 5 ( e π ) 3 , (9) \kappa_{h}^{k}(s,a)=1-\frac{C_{\kappa}\delta}{SAH[2n_{h}^{k}(s,a)+1]^{3}[\bar{n}_{h}^{k}(s,a)]^{3/2}},\qquad C_{\kappa}=\frac{1}{5(e^{\pi})^{3}}, \tag*{(9)} κ h k ( s , a ) = 1 − S A H [ 2 n h k ( s , a ) + 1 ] 3 [ n ˉ h k ( s , a ) ] 3/2 C κ δ , C κ = 5 ( e π ) 3 1 , (9) define, for h = H , … , 1 h=H,\ldots,1 h = H , … , 1 , with V ˉ H + 1 k ≡ 0 \bar{V}_{H+1}^{k}\equiv0 V ˉ H + 1 k ≡ 0 and V ˉ h k ( s E ) ≡ V h ∗ ( s E ) \bar{V}_{h}^{k}(s_{\mathrm{E}})\equiv V_{h}^{*}(s_{\mathrm{E}}) V ˉ h k ( s E ) ≡ V h ∗ ( s E ) ,
Q ˉ h k ( s , a ) = R ∗ ( s , a ) + Q p ∼ ρ h k ( s , a ) ( p T V ˉ h + 1 k , κ h k ( s , a ) ) , V ˉ h k ( s ) = max a Q ˉ h k ( s , a ) , (10) \bar{Q}_{h}^{k}(s,a)=R^{*}(s,a)+\mathbb{Q}_{p\sim\rho_{h}^{k}(s,a)}\left(p^{\mathsf{T}}\bar{V}_{h+1}^{k},\kappa_{h}^{k}(s,a)\right),\qquad\bar{V}_{h}^{k}(s)=\max_{a}\bar{Q}_{h}^{k}(s,a), \tag*{(10)} Q ˉ h k ( s , a ) = R ∗ ( s , a ) + Q p ∼ ρ h k ( s , a ) ( p T V ˉ h + 1 k , κ h k ( s , a ) ) , V ˉ h k ( s ) = a max Q ˉ h k ( s , a ) , (10) where Q p ∼ ρ ( f , κ ) \mathbb{Q}_{p\sim\rho}(f,\kappa) Q p ∼ ρ ( f , κ ) is the order-κ \kappa κ quantile of the pushforward of ρ \rho ρ through p ↦ p T f p\mapsto p^{\mathsf{T}}f p ↦ p T f . The agent plays π h k ( s ) = arg max a Q ˉ h k ( s , a ) \pi_{h}^{k}(s)=\arg\max_{a}\bar{Q}_{h}^{k}(s,a) π h k ( s ) = arg max a Q ˉ h k ( s , a ) .
Lemma 2 (Quantile-gap bound, Tiapkin et al., [84 ] ). Let ℓ = ℓ h k ( s , a ) : = ln ( 1 / ( 1 − κ h k ( s , a ) ) ) \ell=\ell_{h}^{k}(s,a):=\ln\left(1/(1-\kappa_{h}^{k}(s,a))\right) ℓ = ℓ h k ( s , a ) := ln ( 1/ ( 1 − κ h k ( s , a )) ) and n ˉ : = n ˉ h k ( s , a ) \bar{n}:=\bar{n}_{h}^{k}(s,a) n ˉ := n ˉ h k ( s , a ) . On every sample path, the quantile gap satisfies
Δ h k ( s , a ) : = Q p ∼ ρ h k ( s , a ) ( p T V ˉ h + 1 k , κ h k ( s , a ) ) − P ^ h k ( ⋅ ∣ s , a ) T V ˉ h + 1 k \Delta_{h}^{k}(s,a):=\mathbb{Q}_{p\sim\rho_{h}^{k}(s,a)}\left(p^{\mathsf{T}}\bar{V}_{h+1}^{k},\kappa_{h}^{k}(s,a)\right)-\widehat{P}_{h}^{k}(\cdot\mid s,a)^{\mathsf{T}}\bar{V}_{h+1}^{k} Δ h k ( s , a ) := Q p ∼ ρ h k ( s , a ) ( p T V ˉ h + 1 k , κ h k ( s , a ) ) − P h k ( ⋅ ∣ s , a ) T V ˉ h + 1 k ≤ 2 V ^ P ^ h k ( ⋅ ∣ s , a ) [ V ˉ h + 1 k ] ℓ n ˉ + 2 2 r 0 H ℓ n ˉ . \leq2\sqrt{\widehat{\mathbb{V}}_{\widehat{P}_{h}^{k}(\cdot\mid s,a)}[\bar{V}_{h+1}^{k}]\frac{\ell}{\bar{n}}}+2\sqrt{2}r_{0}H\frac{\ell}{\bar{n}}. ≤ 2 V P h k ( ⋅ ∣ s , a ) [ V ˉ h + 1 k ] n ˉ ℓ + 2 2 r 0 H n ˉ ℓ .
Here P ^ h k ( ⋅ ∣ s , a ) = n ˉ h k ( ⋅ ∣ s , a ) / n ˉ h k ( s , a ) \widehat{P}_{h}^{k}(\cdot\mid s,a)=\bar{n}_{h}^{k}(\cdot\mid s,a)/\bar{n}_{h}^{k}(s,a) P h k ( ⋅ ∣ s , a ) = n ˉ h k ( ⋅ ∣ s , a ) / n ˉ h k ( s , a ) is the posterior mean, which differs from the empirical kernel by O ( n 0 / n ˉ h k ( s , a ) ) O(n_{0}/\bar{n}_{h}^{k}(s,a)) O ( n 0 / n ˉ h k ( s , a )) . The lemma is the upper inequality of their Corollary B.7, stated as their Lemma 3.4. It follows from a Bernstein-type inequality for weighted Dirichlet sums (their Lemma C.8), which needs no high-probability event and holds for every f f f with 0 ≤ f ≤ f ( s E ) 0\leq f\leq f(s_{\mathrm{E}}) 0 ≤ f ≤ f ( s E ) and integer Dirichlet parameters, the form in which Lemma 7 uses it. Validity (§ 2 ) is one-sided, since a width must compensate an underestimation of the next-step value but not an overestimation. At an unvisited row, for instance, the posterior is the point mass at the pseudo-state, and the quantile gap is zero. The posterior mean then assigns the next-step value r 0 ( H − h ) r_{0}(H-h) r 0 ( H − h ) , which exceeds every value of the MDP, and the agent stays optimistic without a width.
Theorem 7 (Bayes-UCBVI regret, Tiapkin et al., [84 ] , Theorem 3.1). With the n 0 , r 0 n_{0},r_{0} n 0 , r 0 of Definition 3, with probability at least 1 − δ 1-\delta 1 − δ ,
R K = O ( H S A T ⋅ L + H 3 S 2 A L 2 ) , L = O ( ln ( H S A T / δ ) ) . (11) \mathfrak{R}_{K}=\mathcal{O}\left(H\sqrt{SAT}\cdot L+H^{3}S^{2}AL^{2}\right),\qquad L=\mathcal{O}\left(\ln(H SAT/\delta)\right). \tag*{(11)} R K = O ( H S A T ⋅ L + H 3 S 2 A L 2 ) , L = O ( ln ( H S A T / δ ) ) . (11)
For T ≥ H 4 S 3 A T \ge H^{4}S^{3}A T ≥ H 4 S 3 A , this bound matches the Ω ( H S A T ) \Omega(H\sqrt{SAT}) Ω ( H S A T ) lower bound for time-inhomogeneous kernels [40 , 20 ] up to poly-logarithmic factors. Tiapkin et al. [84 ] count episodes by T T T and state the bound as O ( H 3 S A K L + H 3 S 2 A L 2 ) O(\sqrt{H^{3}SAKL+H^{3}S^{2}AL^{2}}) O ( H 3 S A K L + H 3 S 2 A L 2 ) , which becomes the form above with K = T / H K=T/H K = T / H . They note that it matches the lower bound for K ≥ H 3 S 3 A K \ge H^{3}S^{3}A K ≥ H 3 S 3 A . Its factor H \sqrt{H} H over UCBVI is the price of their larger, time-inhomogeneous class (their §1, footnote 1), not of their exploration rule.
Generative Models
This subsection derives the planning objectives of AIF and CaI (Appendix § 11 .§ 3 ) from their generative models. We specify the steps that arise from a modelling choice. Within an episode, the models generate latent abstract states x 1 : H + 1 x_{1:H+1} x 1 : H + 1 , observations s 1 : H + 1 s_{1:H+1} s 1 : H + 1 and actions a 1 : H a_{1:H} a 1 : H , condition on the start state s 1 s_1 s 1 , and emit one observation for each transition.
model (G), with the abstraction given. We assume ϕ ( S ) = X \phi(S)=\mathcal{X} ϕ ( S ) = X , extend the latent and observation spaces by the pseudo-states, X ′ = X ∪ { x E } \mathcal{X}'=\mathcal{X}\cup\{x_E\} X ′ = X ∪ { x E } and S ′ = S ∪ { s E } \mathcal{S}'=\mathcal{S}\cup\{s_E\} S ′ = S ∪ { s E } with ϕ ( s E ) : = x E \phi(s_E):=x_E ϕ ( s E ) := x E , and take as parameters the rows B = ( B h , x , a ) B=(B_{h,x,a}) B = ( B h , x , a ) , distributions on X ′ \mathcal{X}' X ′ , with the absorbing row B h , x E , a : = δ x E B_{h,x_E,a}:=\delta_{x_E} B h , x E , a := δ x E . The forward model is
P ( s 2 : H + 1 , x 1 : H + 1 ∣ s 1 , a 1 : H , B ) = 1 { x 1 = ϕ ( s 1 ) } ∏ h = 1 H Cat ( x h + 1 ; B h , x h , a h ) A ϕ 0 ( s h + 1 ∣ x h + 1 ) , (12) P(s_{2:H+1},x_{1:H+1}\mid s_1,a_{1:H},B)=\mathbb{1}\{x_1=\phi(s_1)\}\prod_{h=1}^{H}\operatorname{Cat}(x_{h+1};B_{h,x_h,a_h})A_{\phi}^{0}(s_{h+1}\mid x_{h+1}), \tag*{(12)} P ( s 2 : H + 1 , x 1 : H + 1 ∣ s 1 , a 1 : H , B ) = 1 { x 1 = ϕ ( s 1 )} h = 1 ∏ H Cat ( x h + 1 ; B h , x h , a h ) A ϕ 0 ( s h + 1 ∣ x h + 1 ) , (12)
where the emission A ϕ 0 ( ⋅ ∣ x ) A_{\phi}^{0}(\cdot\mid x) A ϕ 0 ( ⋅ ∣ x ) is a fixed distribution on the block ϕ − 1 ( x ) \phi^{-1}(x) ϕ − 1 ( x ) and A ϕ 0 ( ⋅ ∣ x E ) : = δ s E A_{\phi}^{0}(\cdot\mid x_E):=\delta_{s_E} A ϕ 0 ( ⋅ ∣ x E ) := δ s E . It is the abstract MDP of Eq. (1) , extended by the pseudo-state and written as a latent-variable model. Since the blocks partition S ′ \mathcal{S}' S ′ , the observation determines x τ = ϕ ( s τ ) x_{\tau}=\phi(s_{\tau}) x τ = ϕ ( s τ ) , and the emission factor does not depend on B B B . It therefore drops out of the posterior over B B B and out of every planning quantity below, which makes the choice of A ϕ 0 A_{\phi}^{0} A ϕ 0 immaterial. On each row we place the instrumental prior of Definition 3, with the conjugate update ρ h k ( x , a ) = Dir ( n ˉ h k ( ⋅ ∣ x , a ) ) \rho_{h}^{k}(x,a)=\operatorname{Dir}(\bar{n}_{h}^{k}(\cdot\mid x,a)) ρ h k ( x , a ) = Dir ( n ˉ h k ( ⋅ ∣ x , a )) as the posterior. Under the agent’s model, the reward outcome of a step is its estimate r h = R ^ ϕ k ( x h , a h ) r_h=\widehat{R}_{\phi}^{k}(x_h,a_h) r h = R ϕ k ( x h , a h ) , with R ^ ϕ k ( x E , ⋅ ) : = r 0 \widehat{R}_{\phi}^{k}(x_E,\cdot):=r_0 R ϕ k ( x E , ⋅ ) := r 0 , whereas the data are generated by R ∗ R^* R ∗ and P ∗ P^* P ∗ .
model (L), with the abstraction learned. Each candidate ϕ ∈ Φ \phi\in\Phi ϕ ∈ Φ is surjective onto X \mathcal{X} X . Given ϕ \phi ϕ , the parameters are the transition rows B ϕ , h , x , a B_{\phi,h,x,a} B ϕ , h , x , a , distributions on X \mathcal{X} X , and the emission rows A ϕ , h , x A_{\phi,h,x} A ϕ , h , x , distributions on ϕ − 1 ( x ) \phi^{-1}(x) ϕ − 1 ( x ) , one for the state reached at each step, with independent uniform Dirichlet priors and no pseudo-state. The forward model is Eq. (12) with B ϕ , h B_{\phi,h} B ϕ , h and A ϕ , h A_{\phi,h} A ϕ , h in place of B h B_h B h and A ϕ 0 A_{\phi}^{0} A ϕ 0 . A candidate’s posterior predictive of the next observation, P ϕ ( s ′ ∣ s , a ) = ∑ x ′ B ^ ϕ ( x ′ ∣ ϕ ( s ) , a ) A ^ ϕ ( s ′ ∣ x ′ ) P_{\phi}(s'\mid s,a)=\sum_{x'}\widehat{B}_{\phi}(x'\mid\phi(s),a)\widehat{A}_{\phi}(s'\mid x') P ϕ ( s ′ ∣ s , a ) = ∑ x ′ B ϕ ( x ′ ∣ ϕ ( s ) , a ) A ϕ ( s ′ ∣ x ′ ) with posterior means B ^ ϕ \widehat{B}_{\phi} B ϕ and A ^ ϕ \widehat{A}_{\phi} A ϕ , sums to one because every block is nonempty, whereas a map with an empty block would leak the mass that its rows put on the empty latent state. The marginal likelihood Λ ϕ \Lambda_{\phi} Λ ϕ of a candidate is the product of its sequential predictive probabilities, and its posterior is Q ( ϕ ∣ H ) ∝ P ( ϕ ) Λ ϕ \mathcal{Q}(\phi\mid\mathcal{H})\propto P(\phi)\Lambda_{\phi} Q ( ϕ ∣ H ) ∝ P ( ϕ ) Λ ϕ . model (L) needs proper priors, since under the instrumental prior every real successor seen for the first time would have predictive probability zero.
model (L) without its emission. Dropping the emission factor from model (L) leaves, for each candidate, a Bayesian model of its own labels, with rows B ϕ , h , x , a B_{\phi,h,x,a} B ϕ , h , x , a , distributions on a common label set X \mathcal{X} X , with independent uniform Dirichlet priors. Its marginal likelihood Λ ϕ j \Lambda_{\phi}^{j} Λ ϕ j of the label sequences ϕ ( s 1 : H + 1 j ) \phi(s_{1:H+1}^{j}) ϕ ( s 1 : H + 1 j ) given the actions is the score of the latent-predictive agent of Appendix H.§ 1 . It needs no surjectivity, since it predicts labels rather than ground states, and its rows do not grow with S. Since different candidates assign likelihoods to different sequences, Λ ϕ l a t \Lambda_{\phi}^{\mathrm{lat}} Λ ϕ lat is not a likelihood of the observed data, and its ratios across candidates are not likelihood ratios.
Active Inference
At the current step t t t of an episode, after the observations s 1 : t s_{1:t} s 1 : t , AIF performs variational inference over the structured family
Q ( x 1 : H + 1 , θ , π ∣ s 1 : t ) = Q ( π ) Q ( ϕ ) Q ( B ϕ ∣ ϕ ) Q ( A ϕ ∣ ϕ ) ∏ τ ≤ t δ ϕ ( s τ ) ( x τ ) ∏ τ > t B ϕ , τ − 1 ( x τ ∣ x τ − 1 , a τ − 1 ) , (13) Q(x_{1:H+1},\theta,\pi\mid s_{1:t}) = Q(\pi)\,Q(\phi)\,Q(B_{\phi}\mid\phi)\,Q(A_{\phi}\mid\phi)
\prod_{\tau\leq t}\delta_{\phi(s_{\tau})}(x_{\tau})\prod_{\tau>t}B_{\phi,\tau-1}(x_{\tau}\mid x_{\tau-1},a_{\tau-1}), \tag*{(13)} Q ( x 1 : H + 1 , θ , π ∣ s 1 : t ) = Q ( π ) Q ( ϕ ) Q ( B ϕ ∣ ϕ ) Q ( A ϕ ∣ ϕ ) τ ≤ t ∏ δ ϕ ( s τ ) ( x τ ) τ > t ∏ B ϕ , τ − 1 ( x τ ∣ x τ − 1 , a τ − 1 ) , (13)
with θ = ( ϕ , A ϕ , B ϕ ) \theta=(\phi,A_{\phi},B_{\phi}) θ = ( ϕ , A ϕ , B ϕ ) , in which each observed latent state is tied to the abstraction that decodes it and each future latent state is drawn from the row of B ϕ B_{\phi} B ϕ for the previous state and action. The observations enter only through the point masses δ ϕ ( s τ ) \delta_{\phi(s_{\tau})} δ ϕ ( s τ ) and through the posterior factors over ϕ \phi ϕ , B ϕ B_{\phi} B ϕ and A ϕ A_{\phi} A ϕ , and we suppress them in the notation below. A factor Q ( x τ ) Q(x_{\tau}) Q ( x τ ) that does not depend on ϕ \phi ϕ could not represent the posterior, since two candidates with positive weight can decode the same observation differently. In model (L), the minimiser of the variational free energy of the observed data is the exact posterior, by the Gibbs variational principle. In model (G), where the improper prior leaves the free energy undefined, the posterior is the conjugate update ρ h k \rho_h^k ρ h k by definition. Hence AIF and Bayes-UCBVI hold the same posterior.
Predictions. The factors of Eq. (13) define a predictive joint in which a row is drawn from the posterior and the next state from the drawn row, and every information term below is a mutual information under this joint. In particular, novelty is I Q ( B ; x τ + 1 ∣ x τ , a τ ) I_Q(B;x_{\tau+1}\mid x_{\tau},a_{\tau}) I Q ( B ; x τ + 1 ∣ x τ , a τ ) , Eq. (3) , and the information about the emission used in Proposition 10 is I Q ( A ; s τ + 1 ∣ x τ + 1 ) I_Q(A;s_{\tau+1}\mid x_{\tau+1}) I Q ( A ; s τ + 1 ∣ x τ + 1 ) . With ϕ \phi ϕ given, the rows used along a path are indexed by distinct steps and are therefore independent under the posterior, and the marginal law of a path is the product of the posterior means P ^ h k \widehat{P}_h^k P h k . With ϕ \phi ϕ uncertain, the rows are independent only given ϕ \phi ϕ , and the predictive law of an episode is the mixture ∑ ϕ Q ( ϕ ) ∏ τ B ^ ϕ , τ \sum_{\phi}Q(\phi)\prod_{\tau}\widehat{B}_{\phi,\tau} ∑ ϕ Q ( ϕ ) ∏ τ B ϕ , τ over a shared decoder.
Expected free energy. The outcome of step τ \tau τ is o τ = ( s τ , r τ ) o_{\tau}=(s_{\tau},r_{\tau}) o τ = ( s τ , r τ ) and its latent variables are z τ = ( x τ , θ ) z_{\tau}=(x_{\tau},\theta) z τ = ( x τ , θ ) . AIF adds a policy prior P ( π ) P(\pi) P ( π ) and the preference distribution P ~ ( o τ ) = P ~ ( r τ ) U ( s τ ) \widetilde{P}(o_{\tau})=\widetilde{P}(r_{\tau})\,\mathcal{U}(s_{\tau}) P ( o τ ) = P ( r τ ) U ( s τ ) with ln P ~ ( r ) = β r − ln Z β \ln\widetilde{P}(r)=\beta r-\ln Z_{\beta} ln P ( r ) = β r − ln Z β on [ 0 , r 0 ] [0,r_0] [ 0 , r 0 ] , where U \mathcal{U} U is uniform on S \mathcal{S} S . The preference thus concerns only the reward (cf. [58 ] ). Value enters through the biased joint P ~ ( o τ , z τ ∣ π ) = P ~ ( o τ ) Q ( z τ ∣ o τ , π ) \widetilde{P}(o_{\tau},z_{\tau}\mid\pi)=\widetilde{P}(o_{\tau})Q(z_{\tau}\mid o_{\tau},\pi) P ( o τ , z τ ∣ π ) = P ( o τ ) Q ( z τ ∣ o τ , π ) ([27 Eq. 2.5] ), and AIF scores a plan by
G ( π ) = ∑ τ ≥ t E Q ( o τ , z τ ∣ π ) [ ln Q ( z τ ∣ π ) − ln P ~ ( o τ , z τ ∣ π ) ] = ∑ τ ≥ t ( − E Q [ ln P ~ ( o τ ) ] − I Q ( z τ ; o τ ∣ π ) ) . (14) \begin{aligned}
G(\pi)=\sum_{\tau\geq t}\mathbb{E}_{Q(o_{\tau},z_{\tau}\mid\pi)}\left[\ln Q(z_{\tau}\mid\pi)-\ln\widetilde{P}(o_{\tau},z_{\tau}\mid\pi)\right] \\
&=\sum_{\tau\geq t}\left(-\mathbb{E}_{Q}\left[\ln\widetilde{P}(o_{\tau})\right]-I_Q(z_{\tau};o_{\tau}\mid\pi)\right). \tag*{(14)}
\end{aligned} G ( π ) = τ ≥ t ∑ E Q ( o τ , z τ ∣ π ) [ ln Q ( z τ ∣ π ) − ln P ( o τ , z τ ∣ π ) ] = τ ≥ t ∑ ( − E Q [ ln P ( o τ ) ] − I Q ( z τ ; o τ ∣ π ) ) . (14)
The first term is − β E Q [ r τ ] -\beta\,\mathbb{E}_{Q}[r_{\tau}] − β E Q [ r τ ] up to constants that do not depend on π \pi π . The plan π \pi π fixes the action a τ a_{\tau} a τ . In model (G), the abstraction ϕ \phi ϕ is fixed, and the outcome r τ = R ^ ϕ k ( ϕ ( s τ ) , a τ ) r_{\tau}=\widehat{R}_{\phi}^{k}(\phi(s_{\tau}),a_{\tau}) r τ = R ϕ k ( ϕ ( s τ ) , a τ ) is thus a function of s τ s_{\tau} s τ given π \pi π . In model (L), we take the reward to be a known function R ∗ ( s τ , a τ ) R^{*}(s_{\tau},a_{\tau}) R ∗ ( s τ , a τ ) of the ground state and the action, the same for every candidate abstraction, as in Proposition 10, where AIF knows the rewards. In both models, r τ r_{\tau} r τ is therefore a function of s τ s_{\tau} s τ given π \pi π . Hence I Q ( z τ ; o τ ∣ π ) = I Q ( z τ ; s τ ∣ π ) I_Q(z_\tau; o_\tau\mid\pi) = I_Q(z_\tau; s_\tau\mid\pi) I Q ( z τ ; o τ ∣ π ) = I Q ( z τ ; s τ ∣ π ) , and the chain rule gives
G ( π ) = ∑ τ > t ( − β E Q [ r τ ] − I Q ( x τ ; s τ ∣ π ) − I Q ( θ ; s τ ∣ x τ , π ) ) + c o n s t . (15) G(\pi) = \sum_{\tau>t} \left( -\beta\mathbb{E}_Q[r_\tau] - I_Q(x_\tau; s_\tau\mid\pi) - I_Q(\theta; s_\tau\mid x_\tau,\pi) \right) + \mathrm{const.} \tag*{(15)} G ( π ) = τ > t ∑ ( − β E Q [ r τ ] − I Q ( x τ ; s τ ∣ π ) − I Q ( θ ; s τ ∣ x τ , π ) ) + const. (15)
In model (G), the parameter term vanishes, since s τ s_\tau s τ is independent of B B B given x τ x_\tau x τ , and under exact perception the intrinsic value is the entropy H [ Q ( x τ ∣ π ) ] \mathrm{H}[Q(x_\tau\mid\pi)] H [ Q ( x τ ∣ π )] of the predicted abstract state. One step ahead from ( x , a ) (x,a) ( x , a ) , this entropy is E B H [ B ] + Novelty ( x , a ) \mathbb{E}_B\mathrm{H}[B] + \operatorname{Novelty}(x,a) E B H [ B ] + Novelty ( x , a ) by Eq. (3) . It thus contains the information about B B B once, and its aleatoric part does not shrink with data (Proposition 5).
The analysed variant. The AIF agent we analyse makes three modelling choices in addition to Eq. (15) . First, it adds Novelty ( x τ , a τ ) \operatorname{Novelty}(x_\tau,a_\tau) Novelty ( x τ , a τ ) as a separate term, as the information gain about the emission parameters does in Da Costa et al. [18 ] and Schwartenbeck et al. [73 ] , which add it to the Dirichlet learning of Friston et al. [27 ] . Hence, novelty is counted twice. Second, it evaluates these terms recursively, one step ahead from each ( x , a ) (x,a) ( x , a ) (Friston et al. [28 ] ), with maximum backups and the clamp at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) . Third, it samples its action at each step from a softmax over the resulting values (Algorithm 1). Sophisticated inference selects actions step by step, as our variant does, whereas the discrete-state AIF of Friston et al. [27 ] samples a whole plan from its policy posterior Q ( π ) ∝ P ( π ) e − G ( π ) Q(\pi) \propto P(\pi)e^{-G(\pi)} Q ( π ) ∝ P ( π ) e − G ( π ) . Proposition 5 holds for both rules under a uniform plan prior, and Proposition 10 holds for the greedy rule and the per-step softmax. Counting novelty once changes no result of this paper. Theorem 2 holds for every weight on novelty, and the instance of Proposition 5 has no novelty. In model (L), the parameter term contains the novelty of the emission rows, which drives Proposition 10.
Control as Inference
CaI uses model (G) and places value in the likelihood of a binary optimality variable,
ln P ( O τ = 1 ∣ x τ , a τ ) = β ( R ^ ϕ k ( x τ , a τ ) − r 0 ) ≤ 0 , (16) \ln P(O_\tau= 1 \mid x_\tau,a_\tau) = \beta(\widehat{R}^{k}_{\phi}(x_\tau,a_\tau)-r_0) \le0, \tag*{(16)} ln P ( O τ = 1 ∣ x τ , a τ ) = β ( R ϕ k ( x τ , a τ ) − r 0 ) ≤ 0 , (16)
where subtracting the constant r 0 r_0 r 0 keeps the likelihood at most one, the pseudo-state included, and shifts every backed-up value of a step by the same amount. CaI uses the structured variational family of Levine [47 ] , in which only the policy factors Q ( a h ∣ x h ) Q(a_h \mid x_h) Q ( a h ∣ x h ) are free and the dynamics factors are the model’s predictive dynamics, here exactly P ^ h k \widehat{P}^{k}_h P h k . Minimising D K L ( Q ∥ P ( ⋅ ∣ O 1 : H = 1 ) ) D_{\mathrm{KL}}(Q \mathbin{\|} P(\cdot\mid O_{1:H}=1)) D KL ( Q ∥ P ( ⋅ ∣ O 1 : H = 1 )) over the policy factors then amounts to minimising
G C a I ( π ) = − β ∑ τ E Q [ R ^ ϕ k ( x τ , a τ ) ] + ∑ τ E Q D K L ( Q ( a τ ∣ x τ ) ∥ P ( a τ ∣ x τ ) ) (17) G_{\mathrm{CaI}}(\pi) = -\beta\sum_\tau\mathbb{E}_Q[\widehat{R}^{k}_{\phi}(x_\tau,a_\tau)] + \sum_\tau\mathbb{E}_Q D_{\mathrm{KL}}(Q(a_\tau\mid x_\tau) \mathbin{\|} P(a_\tau\mid x_\tau)) \tag*{(17)} G CaI ( π ) = − β τ ∑ E Q [ R ϕ k ( x τ , a τ )] + τ ∑ E Q D KL ( Q ( a τ ∣ x τ ) ∥ P ( a τ ∣ x τ )) (17)
up to a constant, which is Eq. (1) of Millidge et al. [58 ] without the state-divergence term, which vanishes under the structured family, and the observation-ambiguity term of POMDPs. With a uniform action prior, backward induction gives the soft backup V h ( x ) = β − 1 ln ( A − 1 ∑ a exp ( β Q h ( x , a ) ) ) V_h(x)=\beta^{-1}\ln\left(A^{-1}\sum_a \exp(\beta Q_h(x,a))\right) V h ( x ) = β − 1 ln ( A − 1 ∑ a exp ( β Q h ( x , a )) ) and the softmax policy of Algorithm 1. The structured constraint matters. Under a mean-field factorisation Q ( B ) Q ( x 1 : H + 1 ) Q(B)Q(x_{1:H+1}) Q ( B ) Q ( x 1 : H + 1 ) without it, the optimal dynamics factor involves the geometric mean exp E ρ [ ln B ] \exp\mathbb{E}_\rho[\ln B] exp E ρ [ ln B ] instead of P ^ h k \widehat{P}^{k}_h P h k and tilts towards successors of high value. In model (L), the predictive law of an episode is a mixture of products, not a product of mixtures, and we derive no CaI planner for it.
Algorithms
Table 4 specifies every analysed agent. UCBVI appears as equations in Appendix § 11 .§ 1 , calibrated AIF with a uniform prior in § 4 and Appendix § 16 , and the agents that learn ϕ \phi ϕ in § 5 and Appendix H.§ 3 . Algorithm 1 gives AIF, calibrated AIF and CaI on the same abstract space and the same posterior ρ h k \rho^{k}_{h} ρ h k , so that the three can be compared line by line. Every agent plans once per episode, by backward induction with the beliefs held at the start of the episode, and acts by a per-step rule on the resulting values, which makes its policy closed-loop.
Table 4. The analysed agents. All Bayesian agents on ϕ \phi ϕ use the instrumental pseudo-state prior with one Dirichlet row per step, and estimate rewards by R ^ ϕ k \widehat{R}^{k}_{\phi} R ϕ k , which is 1 at unvisited pairs (Eq. (23) ). The column Value states how V h ( x ) V_h(x) V h ( x ) is computed from Q h ( x , ⋅ ) Q_h(x,\cdot) Q h ( x , ⋅ ) in Eq. (4) , by a maximum or a soft maximum, the column Epistemic term gives Ψ \Psi Ψ , and “clamp” is the cap at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) .
Algorithm 1 turns AIF into calibrated AIF by three changes. First, it drops the state term β − 1 H [ P ^ h k ( ⋅ ∣ x , a ) ] \beta^{-1}\mathbb{H}[\widehat{P}^{k}_{h}(\cdot\mid x,a)] β − 1 H [ P h k ( ⋅ ∣ x , a )] . Second, it replaces β − 1 Novelty \beta^{-1}\operatorname{Novelty} β − 1 Novelty by Ψ k , h + \Psi^{+}_{k,h} Ψ k , h + of Eq. (5) , whose logarithmic factor ρ h k \rho^{k}_{h} ρ h k comes from Bayes-UCBVI’s quantile schedule (Definition 4). Third, it acts greedily instead of
Algorithm 1 AIF, calibrated AIF and CaI on an abstraction (§ 3 , Proposition 1 and Theorem 3). Comments mark this paper’s own constructions and the three changes from AIF to calibrated AIF.
Input: X \mathcal{X} X , A \mathcal{A} A , H H H , K K K , δ \delta δ , ϕ \phi ϕ , n 0 n_0 n 0 , r 0 = 2 r_0 = 2 r 0 = 2 , precision β \beta β , variant ∈ { A I F , c a l i b r a t e d , C a I } \in\{\mathrm{AIF}, \mathrm{calibrated}, \mathrm{CaI}\} ∈ { AIF , calibrated , CaI }
n ˉ h ( x ′ ∣ x , a ) ← n 0 1 { x ′ = x E } \bar{n}_h(x' \mid x,a) \leftarrow n_0 \mathbf{1}\{x' = x_{\mathrm{E}}\} n ˉ h ( x ′ ∣ x , a ) ← n 0 1 { x ′ = x E } for all h , x , a , x ′ h,x,a,x' h , x , a , x ′ , and cnt ( x , a ) ← 0 \operatorname{cnt}(x,a) \leftarrow0 cnt ( x , a ) ← 0 , sum ( x , a ) ← 0 \operatorname{sum}(x,a) \leftarrow0 sum ( x , a ) ← 0 for all x , a x,a x , a
for episode k = 1 , 2 , … , K k = 1,2,\ldots,K k = 1 , 2 , … , K do
R ^ ϕ k ( x , a ) ← sum ( x , a ) / cnt ( x , a ) \hat{R}_{\phi}^{k}(x,a) \leftarrow\operatorname{sum}(x,a)/\operatorname{cnt}(x,a) R ^ ϕ k ( x , a ) ← sum ( x , a ) / cnt ( x , a ) if cnt ( x , a ) ≥ 1 \operatorname{cnt}(x,a) \ge1 cnt ( x , a ) ≥ 1 , else 1 1 1 ▷ Eq. (23)
ρ h k ( x , a ) ← Dir ( n ˉ h ( ⋅ ∣ x , a ) ) \rho_h^k(x,a) \leftarrow\operatorname{Dir}(\bar{n}_h(\cdot\mid x,a)) ρ h k ( x , a ) ← Dir ( n ˉ h ( ⋅ ∣ x , a )) and P ^ h k ( ⋅ ∣ x , a ) ← n ˉ h ( ⋅ ∣ x , a ) / n ˉ h ( x , a ) \hat{P}_h^k(\cdot\mid x,a) \leftarrow\bar{n}_h(\cdot\mid x,a)/\bar{n}_h(x,a) P ^ h k ( ⋅ ∣ x , a ) ← n ˉ h ( ⋅ ∣ x , a ) / n ˉ h ( x , a ) for all h , x , a h,x,a h , x , a
V H + 1 ← 0 V_{H+1} \leftarrow0 V H + 1 ← 0 and V h ( x E ) ← r 0 ( H − h + 1 ) V_h(x_{\mathrm{E}}) \leftarrow r_0(H-h+1) V h ( x E ) ← r 0 ( H − h + 1 ) for all h h h
for h = H , H − 1 , … , 1 h = H,H-1,\ldots,1 h = H , H − 1 , … , 1 do ▷ recursive expected free energy
for each ( x , a ) ∈ X × A (x,a) \in\mathcal{X} \times\mathcal{A} ( x , a ) ∈ X × A do
Nov ← Novelty ( x , a ) \operatorname{Nov} \leftarrow\operatorname{Novelty}(x,a) Nov ← Novelty ( x , a ) under ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) , Eq. (3) ▷ our instantiation
if variant = AIF then
Ψ ← β − 1 ( H [ P ^ h k ( ⋅ ∣ x , a ) ] + Nov ) \Psi\leftarrow\beta^{-1}\left(\mathbb{H}[\hat{P}_h^k(\cdot\mid x,a)] + \operatorname{Nov}\right) Ψ ← β − 1 ( H [ P ^ h k ( ⋅ ∣ x , a )] + Nov )
else if variant = calibrated then ▷ first change, no state term
ℓ ← ln ( 1 / ( 1 − κ h k ( x , a ) ) ) \ell\leftarrow\ln\left(1/(1-\kappa_h^k(x,a))\right) ℓ ← ln ( 1/ ( 1 − κ h k ( x , a )) )
Ψ ← 2 span ( V h + 1 ) ℓ Nov + 2 2 r 0 H ℓ / n ˉ h ( x , a ) \Psi\leftarrow2\operatorname{span}(V_{h+1})\sqrt{\ell}\operatorname{Nov} + 2\sqrt{2}r_0H\ell/\bar{n}_h(x,a) Ψ ← 2 span ( V h + 1 ) ℓ Nov + 2 2 r 0 H ℓ / n ˉ h ( x , a ) ▷ second change
else
Ψ ← 0 \Psi\leftarrow0 Ψ ← 0 ▷ CaI
end if
Q h ( x , a ) ← R ^ ϕ k ( x , a ) + P ^ h k ( ⋅ ∣ x , a ) T V h + 1 + Ψ Q_h(x,a) \leftarrow\hat{R}_{\phi}^k(x,a) + \hat{P}_h^k(\cdot\mid x,a)^{\mathsf{T}}V_{h+1} + \Psi Q h ( x , a ) ← R ^ ϕ k ( x , a ) + P ^ h k ( ⋅ ∣ x , a ) T V h + 1 + Ψ , capped at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) unless variant = CaI
end for
V h ( x ) ← max a Q h ( x , a ) V_h(x) \leftarrow\max_a Q_h(x,a) V h ( x ) ← max a Q h ( x , a ) , or β − 1 ln ( A − 1 ∑ a exp ( β Q h ( x , a ) ) ) \beta^{-1}\ln\left(A^{-1}\sum_a \exp(\beta Q_h(x,a))\right) β − 1 ln ( A − 1 ∑ a exp ( β Q h ( x , a )) ) if variant = CaI, for all x ∈ X x \in\mathcal{X} x ∈ X
end for
for h = 1 , … , H h = 1,\ldots,H h = 1 , … , H do
Observe s h k s_h^k s h k and set x h k ← ϕ ( s h k ) x_h^k \leftarrow\phi(s_h^k) x h k ← ϕ ( s h k )
a h k ← arg max a Q h ( x h k , a ) a_h^k \leftarrow\arg\max_a Q_h(x_h^k,a) a h k ← arg max a Q h ( x h k , a ) if variant = calibrated ▷ third change
otherwise a h k ∼ Q ( ⋅ ∣ x h k ) ∝ exp ( β Q h ( x h k , ⋅ ) ) a_h^k \sim\mathcal{Q}(\cdot\mid x_h^k) \propto\exp\left(\beta Q_h(x_h^k,\cdot)\right) a h k ∼ Q ( ⋅ ∣ x h k ) ∝ exp ( β Q h ( x h k , ⋅ ) ) ▷ softmax at precision β \beta β
Execute a h k a_h^k a h k , observe r h k r_h^k r h k and s h + 1 k s_{h+1}^k s h + 1 k , and set x ′ ← ϕ ( s h + 1 k ) x' \leftarrow\phi(s_{h+1}^k) x ′ ← ϕ ( s h + 1 k )
cnt ( x h k , a h k ) + = 1 \operatorname{cnt}(x_h^k,a_h^k) += 1 cnt ( x h k , a h k ) + = 1 , sum ( x h k , a h k ) + = r h k \operatorname{sum}(x_h^k,a_h^k) += r_h^k sum ( x h k , a h k ) + = r h k , n ˉ h ( x ′ ∣ x h k , a h k ) + = 1 \bar{n}_h(x' \mid x_h^k,a_h^k) += 1 n ˉ h ( x ′ ∣ x h k , a h k ) + = 1
end for
end for
sampling from the softmax. The precision β \beta β thus disappears. The posterior ρ h k \rho_h^k ρ h k , the pseudo-state prior, the clamp, and the recursive expected free energy stay the same. CaI differs from AIF by having no epistemic term and a soft maximum in the backup.
The softmax of Algorithm 1 puts mass at least e − β r 0 H / A e^{-\beta r_0H}/A e − β r 0 H / A on every action, which gives the linear lower bound of Proposition 1 at every fixed β \beta β . Making this floor vanish requires β → ∞ \beta\to\infty β → ∞ , which removes the epistemic terms from AIF’s action rule. Boltzmann exploration with a monotone schedule is known to be suboptimal already in multi-armed bandits [15 ] .
Proofs for Section 2
Representation Error
The following lemma is standard. It is the episodic form of the simulation argument behind approximate model-similarity abstractions (Abel et al., [1 ] , Lem. 2), with the within-block spreads of Definition 1. The second gap of Section 2.1 is not zero, because the projected process { ϕ ( s τ ) } \{\phi(s_\tau)\} { ϕ ( s τ )} is in general not Markov. Transition errors compound over the remaining steps, hence the factor H 2 H^2 H 2 in ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) . We include its short proof because the cited form is discounted and concerns optimal values only, whereas our proofs use the episodic constants and part (c), which bounds the value of ϕ \phi ϕ -measurable policies although the projected process is not Markov.
Lemma 3 (Control of representation error) Let ϵ b i a s ( ϕ ) : = max h , s , a ∣ Q h ∗ ( s , a ) − Q ‾ ϕ , h ∗ ( ϕ ( s ) , a ) ∣ \epsilon_{\mathrm{bias}}(\phi) := \max_{h,s,a} |Q_h^*(s,a)-\overline{Q}_{\phi,h}^*(\phi(s),a)| ϵ bias ( ϕ ) := max h , s , a ∣ Q h ∗ ( s , a ) − Q ϕ , h ∗ ( ϕ ( s ) , a ) ∣ be the optimal-value bias of ϕ \phi ϕ . For all x x x , a a a , all s ∈ ϕ − 1 ( x ) s \in\phi^{-1}(x) s ∈ ϕ − 1 ( x ) , and all Markov ϕ \phi ϕ -measurable π \pi π ,
(a) ∣ R ∗ ( s , a ) − R ‾ ϕ ( x , a ) ∣ ≤ η R ( ϕ ) \lvert R^*(s,a)-\overline{R}_{\phi}(x,a)\rvert\le\eta_R(\phi) ∣ R ∗ ( s , a ) − R ϕ ( x , a )∣ ≤ η R ( ϕ ) and ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − P ‾ ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P ( ϕ ) \lVert\phi_{\#}P^*(\cdot\mid s,a)-\overline{P}_{\phi}(\cdot\mid x,a)\rVert_1 \le\eta_P(\phi) ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − P ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P ( ϕ ) .
(b) ϵ b i a s ( ϕ ) ≤ ϵ r e p ( ϕ ) \epsilon_{\mathrm{bias}}(\phi) \le\epsilon_{\mathrm{rep}}(\phi) ϵ bias ( ϕ ) ≤ ϵ rep ( ϕ ) .
(c) max h , s ∣ V h π ( s ) − V ‾ ϕ , h π ( ϕ ( s ) ) ∣ ≤ ϵ r e p ( ϕ ) \max_{h,s}\lvert V_h^\pi(s)-\overline{V}_{\phi,h}^\pi(\phi(s))\rvert\le\epsilon_{\mathrm{rep}}(\phi) max h , s ∣ V h π ( s ) − V ϕ , h π ( ϕ ( s ))∣ ≤ ϵ rep ( ϕ ) .
Proof. Fix ϕ \phi ϕ , write η R : = η R ( ϕ ) \eta_R := \eta_R(\phi) η R := η R ( ϕ ) , η P : = η P ( ϕ ) \eta_P := \eta_P(\phi) η P := η P ( ϕ ) , and fix x x x , a a a and s ∈ ϕ − 1 ( x ) s \in\phi^{-1}(x) s ∈ ϕ − 1 ( x ) .
Part (a), the one-step bounds. Summing Eq. (1) over the block gives P ‾ ϕ ( ⋅ ∣ x , a ) = ∑ s ′ ′ W ( s ′ ′ ∣ x ) ϕ # P ∗ ( ⋅ ∣ s ′ ′ , a ) \overline{P}_{\phi}(\cdot\mid x,a)=\sum_{s''}W(s''\mid x)\phi_{\#}P^*(\cdot\mid s'',a) P ϕ ( ⋅ ∣ x , a ) = ∑ s ′′ W ( s ′′ ∣ x ) ϕ # P ∗ ( ⋅ ∣ s ′′ , a ) , and R ‾ ϕ ( x , a ) = ∑ s ′ ′ W ( s ′ ′ ∣ x ) R ∗ ( s ′ ′ , a ) \overline{R}_{\phi}(x,a)=\sum_{s''}W(s''\mid x)R^*(s'',a) R ϕ ( x , a ) = ∑ s ′′ W ( s ′′ ∣ x ) R ∗ ( s ′′ , a ) . Both are convex combinations, over s ′ ′ ∈ ϕ − 1 ( x ) s''\in\phi^{-1}(x) s ′′ ∈ ϕ − 1 ( x ) , of points of sets whose diameters Definition 1 calls η R \eta_R η R and η P \eta_P η P . A point f ( s ) f(s) f ( s ) of such a set is within its diameter η \eta η of every convex combination,
∣ f ( s ) − ∑ s ′ ′ w ( s ′ ′ ) f ( s ′ ′ ) ∣ = ∣ ∑ s ′ ′ w ( s ′ ′ ) ( f ( s ) − f ( s ′ ′ ) ) ∣ ≤ η , (18) \left|f(s)-\sum_{s''}w(s'')f(s'')\right|=\left|\sum_{s''}w(s'')(f(s)-f(s''))\right|\le\eta, \tag*{(18)} f ( s ) − s ′′ ∑ w ( s ′′ ) f ( s ′′ ) = s ′′ ∑ w ( s ′′ ) ( f ( s ) − f ( s ′′ )) ≤ η , (18)
applied coordinatewise and summed for the ℓ 1 \ell_1 ℓ 1 case. Hence
∣ R ∗ ( s , a ) − R ‾ ϕ ( x , a ) ∣ ≤ η R , ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − P ‾ ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P . (19) \lvert R^*(s,a)-\overline{R}_{\phi}(x,a)\rvert\le\eta_R,\qquad\lVert\phi_{\#}P^*(\cdot\mid s,a)-\overline{P}_{\phi}(\cdot\mid x,a)\rVert_1\le\eta_P. \tag*{(19)} ∣ R ∗ ( s , a ) − R ϕ ( x , a )∣ ≤ η R , ∥ ϕ # P ∗ ( ⋅ ∣ s , a ) − P ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P . (19)
Part (b), the recurrence for optimal values. Let q h : = max s , a ∣ Q h ∗ ( s , a ) − Q ‾ ϕ , h ∗ ( ϕ ( s ) , a ) ∣ q_h:=\max_{s,a}\lvert Q_h^*(s,a)-\overline{Q}_{\phi,h}^*(\phi(s),a)\rvert q h := max s , a ∣ Q h ∗ ( s , a ) − Q ϕ , h ∗ ( ϕ ( s ) , a )∣ and e h : = max s ∣ V h ∗ ( s ) − V ‾ ϕ , h ∗ ( ϕ ( s ) ) ∣ e_h:=\max_s\lvert V_h^*(s)-\overline{V}_{\phi,h}^*(\phi(s))\rvert e h := max s ∣ V h ∗ ( s ) − V ϕ , h ∗ ( ϕ ( s ))∣ , with q H + 1 = e H + 1 = 0 q_{H+1}=e_{H+1}=0 q H + 1 = e H + 1 = 0 , so that ϵ b i a s ( ϕ ) = max h q h \epsilon_{\mathrm{bias}}(\phi)=\max_h q_h ϵ bias ( ϕ ) = max h q h and e h ≤ q h e_h\le q_h e h ≤ q h , since ∣ max a f ( a ) − max a g ( a ) ∣ ≤ max a ∣ f ( a ) − g ( a ) ∣ \lvert\max_a f(a)-\max_a g(a)\rvert\le\max_a\lvert f(a)-g(a)\rvert ∣ max a f ( a ) − max a g ( a )∣ ≤ max a ∣ f ( a ) − g ( a )∣ . Write g : = V ‾ ϕ , h + 1 ∗ g:=\overline{V}_{\phi,h+1}^* g := V ϕ , h + 1 ∗ , which takes values in [ 0 , H − h ] [0,H-h] [ 0 , H − h ] . Since
∑ s ′ P ∗ ( s ′ ∣ s , a ) g ( ϕ ( s ′ ) ) = ϕ # P ∗ ( ⋅ ∣ s , a ) ⊤ g , \sum_{s'}P^*(s'\mid s,a)g(\phi(s'))=\phi_{\#}P^*(\cdot\mid s,a)^\top g, s ′ ∑ P ∗ ( s ′ ∣ s , a ) g ( ϕ ( s ′ )) = ϕ # P ∗ ( ⋅ ∣ s , a ) ⊤ g ,
∣ Q h ∗ ( s , a ) − Q ‾ ϕ , h ∗ ( x , a ) ∣ ≤ ∣ R ∗ ( s , a ) − R ‾ ϕ ( x , a ) ∣ + ∣ ∑ s ′ P ∗ ( s ′ ∣ s , a ) ( V h + 1 ∗ ( s ′ ) − g ( ϕ ( s ′ ) ) ) ∣ + ∣ ( ϕ # P ∗ ( ⋅ ∣ s , a ) − P ‾ ϕ ( ⋅ ∣ x , a ) ) ⊤ g ∣ ≤ η R + e h + 1 + ( H − h ) η P , (20) \begin{aligned}
\lvert Q_h^*(s,a)-\overline{Q}_{\phi,h}^*(x,a)\rvert
&\le\lvert R^*(s,a)-\overline{R}_{\phi}(x,a)\rvert
+\left|\sum_{s'}P^*(s'\mid s,a)(V_{h+1}^*(s')-g(\phi(s')))\right|\\
&\quad+\left|(\phi_{\#}P^*(\cdot\mid s,a)-\overline{P}_{\phi}(\cdot\mid x,a))^\top g\right|\\
&\le\eta_R+e_{h+1}+(H-h)\eta_P, \tag*{(20)}
\end{aligned} ∣ Q h ∗ ( s , a ) − Q ϕ , h ∗ ( x , a )∣ ≤ ∣ R ∗ ( s , a ) − R ϕ ( x , a )∣ + s ′ ∑ P ∗ ( s ′ ∣ s , a ) ( V h + 1 ∗ ( s ′ ) − g ( ϕ ( s ′ ))) + ( ϕ # P ∗ ( ⋅ ∣ s , a ) − P ϕ ( ⋅ ∣ x , a ) ) ⊤ g ≤ η R + e h + 1 + ( H − h ) η P , (20)
by Eq. (19) and Hölder’s inequality. Hence q h ≤ η R + ( H − h ) η P + q h + 1 q_h\le\eta_R+(H-h)\eta_P+q_{h+1} q h ≤ η R + ( H − h ) η P + q h + 1 , and summing the recurrence from h h h to H H H ,
q h ≤ ( H − h + 1 ) η R + ( H − h + 1 2 ) η P ≤ H η R + 1 2 H 2 η P = ϵ r e p ( ϕ ) . q_h\le(H-h+1)\eta_R+\binom{H-h+1}{2}\eta_P\le H\eta_R+\frac{1}{2}H^2\eta_P=\epsilon_{\mathrm{rep}}(\phi). q h ≤ ( H − h + 1 ) η R + ( 2 H − h + 1 ) η P ≤ H η R + 2 1 H 2 η P = ϵ rep ( ϕ ) .
Part (c), the recurrence for a fixed policy. Let π \pi π be Markov and ϕ \phi ϕ -measurable, and e h π : = max s ∣ V h π ( s ) − V ‾ ϕ , h π ( ϕ ( s ) ) ∣ e_h^\pi:= \max_s |V_h^\pi(s) - \overline{V}_{\phi,h}^\pi(\phi(s))| e h π := max s ∣ V h π ( s ) − V ϕ , h π ( ϕ ( s )) ∣ . Both value functions use the same action a = π h ( ϕ ( s ) ) a = \pi_h(\phi(s)) a = π h ( ϕ ( s )) . Hence, Eq. (20) with V π V^\pi V π , V ‾ ϕ π \overline{V}_\phi^\pi V ϕ π in place of V ∗ V^* V ∗ , V ‾ ϕ ∗ \overline{V}_\phi^* V ϕ ∗ gives e h π ≤ η R + ( H − h ) η P + e h + 1 π e_h^\pi\le\eta_R + (H-h)\eta_P + e_{h+1}^\pi e h π ≤ η R + ( H − h ) η P + e h + 1 π without the step e h ≤ q h e_h \le q_h e h ≤ q h , and the same sum gives e h π ≤ ϵ r e p ( ϕ ) e_h^\pi\le\epsilon_{\mathrm{rep}}(\phi) e h π ≤ ϵ rep ( ϕ ) .
Proof of Theorem 1
Under abstract optimism (§ 2.1 ), we run an optimistic algorithm unchanged on X \mathcal{X} X , with x τ = ϕ ( s τ ) x_\tau= \phi(s_\tau) x τ = ϕ ( s τ ) as the observed state. It estimates the unknown R ‾ ϕ ( x , a ) \overline{R}_\phi(x,a) R ϕ ( x , a ) by the empirical mean R ^ ϕ k ( x , a ) \widehat{R}_\phi^k(x,a) R ϕ k ( x , a ) of the rewards observed at the N k ( x , a ) N_k(x,a) N k ( x , a ) visits to ( x , a ) (x,a) ( x , a ) before episode k k k (Jaksch et al., [37 ] ), and by R ^ ϕ k ( x , a ) : = 1 \widehat{R}_\phi^k(x,a) := 1 R ϕ k ( x , a ) := 1 if N k ( x , a ) = 0 N_k(x,a)=0 N k ( x , a ) = 0 . Given ( x τ , a τ ) (x_\tau,a_\tau) ( x τ , a τ ) , the next abstract state is drawn from ϕ # P ∗ ( ⋅ ∣ s τ , a τ ) \phi_\#P^*(\cdot\mid s_\tau,a_\tau) ϕ # P ∗ ( ⋅ ∣ s τ , a τ ) , a law that depends on s τ s_\tau s τ . The samples of a row are thus not identically distributed. Optimism nevertheless survives up to ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) per episode, without widening the width, because every sample law lies within η P ( ϕ ) \eta_P(\phi) η P ( ϕ ) of P ‾ ϕ ( ⋅ ∣ x τ , a τ ) \overline{P}_\phi(\cdot\mid x_\tau,a_\tau) P ϕ ( ⋅ ∣ x τ , a τ ) , as we now show.
Fix ϕ \phi ϕ , abbreviate η R : = η R ( ϕ ) \eta_R := \eta_R(\phi) η R := η R ( ϕ ) and η P : = η P ( ϕ ) \eta_P := \eta_P(\phi) η P := η P ( ϕ ) , and let η : = η R + 1 2 H η P \eta:= \eta_R + \frac{1}{2}H\eta_P η := η R + 2 1 H η P , so that H η = ϵ r e p ( ϕ ) H\eta= \epsilon_{\mathrm{rep}}(\phi) H η = ϵ rep ( ϕ ) and
H η R + H 2 η P ≤ 2 ϵ r e p ( ϕ ) . (21) H\eta_R + H^2\eta_P \le2\epsilon_{\mathrm{rep}}(\phi). \tag*{(21)} H η R + H 2 η P ≤ 2 ϵ rep ( ϕ ) . (21)
We may assume ϵ r e p ( ϕ ) ≤ H \epsilon_{\mathrm{rep}}(\phi) \le H ϵ rep ( ϕ ) ≤ H , since otherwise every bound below exceeds the trivial H K HK H K . Let P k , h : = ϕ # P ∗ ( ⋅ ∣ s k , h , a k , h ) P_{k,h} := \phi_\#P^*(\cdot\mid s_{k,h},a_{k,h}) P k , h := ϕ # P ∗ ( ⋅ ∣ s k , h , a k , h ) be the law of x k , h + 1 x_{k,h+1} x k , h + 1 given everything observed before it, ground states included. The policies π k \pi^k π k of the agents below are Markov and ϕ \phi ϕ -measurable within an episode.
Three-way decomposition. For each k k k , at s 1 k s_1^k s 1 k and ϕ ( s 1 k ) \phi(s_1^k) ϕ ( s 1 k ) ,
V 1 ∗ − V 1 π k = ( V 1 ∗ − V ‾ ϕ , 1 ∗ ) ⏟ (I) optimal-value bias + ( V ‾ ϕ , 1 ∗ − V ‾ ϕ , 1 π k ) ⏟ (II) abstract-MDP regret + ( V ‾ ϕ , 1 π k − V 1 π k ) ⏟ (III) policy-evaluation gap . (22) V_1^* - V_1^{\pi^k}
=
\underbrace{\left(V_1^*-\overline{V}_{\phi,1}^*\right)}_{\text{(I) optimal-value bias}}
+
\underbrace{\left(\overline{V}_{\phi,1}^*-\overline{V}_{\phi,1}^{\pi^k}\right)}_{\text{(II) abstract-MDP regret}}
+
\underbrace{\left(\overline{V}_{\phi,1}^{\pi^k}-V_1^{\pi^k}\right)}_{\text{(III) policy-evaluation gap}} . \tag*{(22)} V 1 ∗ − V 1 π k = (I) optimal-value bias ( V 1 ∗ − V ϕ , 1 ∗ ) + (II) abstract-MDP regret ( V ϕ , 1 ∗ − V ϕ , 1 π k ) + (III) policy-evaluation gap ( V ϕ , 1 π k − V 1 π k ) . (22)
Term (III) is not zero, since the projected process { ϕ ( s τ ) } \{\phi(s_\tau)\} { ϕ ( s τ )} is not the Markov chain M ‾ ϕ \overline{\mathcal{M}}_\phi M ϕ , but Lemma 3(b)–(c) bounds (I) and (III) by ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) each. Term (II) is the regret of π k \pi^k π k in M ‾ ϕ \overline{\mathcal{M}}_\phi M ϕ , whose reward is unknown and whose kernel P ‾ ϕ \overline{P}_\phi P ϕ is not the law ϕ # P ∗ ( ⋅ ∣ s τ , a τ ) \phi_\#P^*(\cdot\mid s_\tau,a_\tau) ϕ # P ∗ ( ⋅ ∣ s τ , a τ ) of the observed abstract transitions, which depends on the ground state s τ s_\tau s τ .
The reward estimate. The agents use
R ^ ϕ k ( x , a ) = { 1 N k ( x , a ) ∑ τ : ϕ ( s τ ) = x , a τ = a R ∗ ( s τ , a τ ) if N k ( x , a ) ≥ 1 , 1 if N k ( x , a ) = 0. (23) \widehat{R}_\phi^k(x,a) =
\begin{cases}
\frac{1}{N_k(x,a)}\sum_{\tau:\,\phi(s_\tau)=x,\,a_\tau=a} R^*(s_\tau,a_\tau) & \text{if } N_k(x,a)\ge1,\\
1 & \text{if } N_k(x,a)=0.
\end{cases} \tag*{(23)} R ϕ k ( x , a ) = { N k ( x , a ) 1 ∑ τ : ϕ ( s τ ) = x , a τ = a R ∗ ( s τ , a τ ) 1 if N k ( x , a ) ≥ 1 , if N k ( x , a ) = 0. (23)
For N k ( x , a ) ≥ 1 N_k(x,a)\ge1 N k ( x , a ) ≥ 1 , let W ^ k ( ⋅ ∣ x , a ) \widehat{W}_k(\cdot\mid x,a) W k ( ⋅ ∣ x , a ) be the empirical distribution of the ground states realised at the visits to ( x , a ) (x,a) ( x , a ) before episode k k k . Since R ∗ R^* R ∗ is deterministic,
R ^ ϕ k ( x , a ) = ∑ s ∈ ϕ − 1 ( x ) W ^ k ( s ∣ x , a ) R ∗ ( s , a ) , R ‾ ϕ ( x , a ) = ∑ s ∈ ϕ − 1 ( x ) W ( s ∣ x ) R ∗ ( s , a ) , (24) \widehat{R}_\phi^k(x,a)=\sum_{s\in\phi^{-1}(x)}\widehat{W}_k(s\mid x,a)R^*(s,a),\qquad
\overline{R}_\phi(x,a)=\sum_{s\in\phi^{-1}(x)}W(s\mid x)R^*(s,a), \tag*{(24)} R ϕ k ( x , a ) = s ∈ ϕ − 1 ( x ) ∑ W k ( s ∣ x , a ) R ∗ ( s , a ) , R ϕ ( x , a ) = s ∈ ϕ − 1 ( x ) ∑ W ( s ∣ x ) R ∗ ( s , a ) , (24)
two convex combinations of { R ∗ ( s , a ) : s ∈ ϕ − 1 ( x ) } \{R^*(s,a):s\in\phi^{-1}(x)\} { R ∗ ( s , a ) : s ∈ ϕ − 1 ( x )} , a set of diameter η R \eta_R η R . With p : = W ^ k p:=\widehat{W}_k p := W k and q : = W q:=W q := W ,
∣ R ^ ϕ k ( x , a ) − R ‾ ϕ ( x , a ) ∣ = ∣ ∑ s , s ′ p ( s ) q ( s ′ ) ( R ∗ ( s , a ) − R ∗ ( s ′ , a ) ) ∣ ≤ η R , (25) \left|\widehat{R}_\phi^k(x,a)-\overline{R}_\phi(x,a)\right|
=\left|\sum_{s,s'}p(s)q(s')\left(R^*(s,a)-R^*(s',a)\right)\right|
\le\eta_R, \tag*{(25)} R ϕ k ( x , a ) − R ϕ ( x , a ) = s , s ′ ∑ p ( s ) q ( s ′ ) ( R ∗ ( s , a ) − R ∗ ( s ′ , a ) ) ≤ η R , (25)
deterministically. At an unvisited pair, R ^ ϕ k ( x , a ) = 1 ≥ R ‾ ϕ ( x , a ) \widehat{R}_{\phi}^{k}(x,a)=1\ge\overline{R}_{\phi}(x,a) R ϕ k ( x , a ) = 1 ≥ R ϕ ( x , a ) . Hence, for all k k k and ( x , a ) (x,a) ( x , a ) ,
R ‾ ϕ ( x , a ) − η R ≤ R ^ ϕ k ( x , a ) ≤ R ‾ ϕ ( x , a ) + η R + 1 { N k ( x , a ) = 0 } . (26) \overline{R}_{\phi}(x,a)-\eta_{R}\le\widehat{R}_{\phi}^{k}(x,a)\le\overline{R}_{\phi}(x,a)+\eta_{R}+\mathbf{1}\{N_{k}(x,a)=0\}. \tag*{(26)} R ϕ ( x , a ) − η R ≤ R ϕ k ( x , a ) ≤ R ϕ ( x , a ) + η R + 1 { N k ( x , a ) = 0 } . (26)
The samples of a row. A row is a pair ( x , a ) (x,a) ( x , a ) pooled over steps, for UCBVI, or a triple ( x , a , h ) (x,a,h) ( x , a , h ) , for Bayes-UCBVI. At the j j j -th visit of a row, the next abstract state x j ′ x_{j}^{\prime} x j ′ has conditional law P j P_{j} P j , one of the laws P k , h P_{k,h} P k , h , given the history. Let P ~ n \widetilde{P}_{n} P n be the empirical law of x 1 ′ , … , x n ′ x_{1}^{\prime},\ldots,x_{n}^{\prime} x 1 ′ , … , x n ′ and P ‾ n : = n − 1 ∑ j ≤ n P j \overline{P}_{n}:=n^{-1}\sum_{j\le n}P_{j} P n := n − 1 ∑ j ≤ n P j . The laws P j P_{j} P j , P k , h P_{k,h} P k , h at a visit of the row, P ‾ n \overline{P}_{n} P n and P ‾ ϕ ( ⋅ ∣ x , a ) \overline{P}_{\phi}(\cdot\mid x,a) P ϕ ( ⋅ ∣ x , a ) all lie in the convex hull of { ϕ # P ∗ ( ⋅ ∣ s , a ) : s ∈ ϕ − 1 ( x ) } \{\phi_{\#}P^{*}(\cdot\mid s,a):s\in\phi^{-1}(x)\} { ϕ # P ∗ ( ⋅ ∣ s , a ) : s ∈ ϕ − 1 ( x )} , a set of ℓ 1 \ell_{1} ℓ 1 -diameter at most η P \eta_{P} η P by Lemma 3(a). As in Eq. (18) , any two of them are within η P \eta_{P} η P in ℓ 1 \ell_{1} ℓ 1 ,
∥ P k , h − P ‾ n ∥ 1 ≤ η P , ∥ P ‾ n − P ‾ ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P , ∥ P k , h − P ‾ ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P . (27) \lVert P_{k,h}-\overline{P}_{n}\rVert_{1}\le\eta_{P},\qquad\lVert\overline{P}_{n}-\overline{P}_{\phi}(\cdot\mid x,a)\rVert_{1}\le\eta_{P},\qquad\lVert P_{k,h}-\overline{P}_{\phi}(\cdot\mid x,a)\rVert_{1}\le\eta_{P}. \tag*{(27)} ∥ P k , h − P n ∥ 1 ≤ η P , ∥ P n − P ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P , ∥ P k , h − P ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ η P . (27)
For probability vectors P , P ′ P,P^{\prime} P , P ′ and every f f f , ∣ ( P − P ′ ) f ∣ ≤ 1 2 span ( f ) ∥ P − P ′ ∥ 1 \lvert(P-P^{\prime})f\rvert\le\frac{1}{2}\operatorname{span}(f)\lVert P-P^{\prime}\rVert_{1} ∣( P − P ′ ) f ∣ ≤ 2 1 span ( f ) ∥ P − P ′ ∥ 1 , since ( P − P ′ ) f = ( P − P ′ ) ( f − c ) (P-P^{\prime})f=(P-P^{\prime})(f-c) ( P − P ′ ) f = ( P − P ′ ) ( f − c ) for the midpoint c c c of the range of f f f . The estimate of a row thus concentrates around P ‾ n \overline{P}_{n} P n , which lies within η P \eta_{P} η P of P ‾ ϕ \overline{P}_{\phi} P ϕ ,
∥ P ~ n − P ‾ ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ ∥ P ~ n − P ‾ n ∥ 1 + η P . (28) \lVert\widetilde{P}_{n}-\overline{P}_{\phi}(\cdot\mid x,a)\rVert_{1}\le\lVert\widetilde{P}_{n}-\overline{P}_{n}\rVert_{1}+\eta_{P}. \tag*{(28)} ∥ P n − P ϕ ( ⋅ ∣ x , a ) ∥ 1 ≤ ∥ P n − P n ∥ 1 + η P . (28)
Lemma 4 (Concentration on a row) Fix a row, a count n ≥ 1 n\ge1 n ≥ 1 and δ ′ ∈ ( 0 , 1 / e ] \delta^{\prime}\in(0,1/e] δ ′ ∈ ( 0 , 1/ e ] , and consider the event that the row has at least n n n visits.
(i) For every g : X → [ 0 , b ] g:\mathcal{X}\to[0,b] g : X → [ 0 , b ] fixed in advance, with probability at least 1 − 2 δ ′ 1-2\delta^{\prime} 1 − 2 δ ′ , on this event,
∣ ( P ~ n − P ‾ n ) g ∣ ≤ b ln ( 1 / δ ′ ) / ( 2 n ) . \lvert(\widetilde{P}_{n}-\overline{P}_{n})g\rvert\le b\sqrt{\ln(1/\delta^{\prime})/(2n)}. ∣( P n − P n ) g ∣ ≤ b ln ( 1/ δ ′ ) / ( 2 n ) . (ii) For every y ∈ X y\in\mathcal{X} y ∈ X , on this event and with probability at least 1 − 2 δ ′ 1-2\delta^{\prime} 1 − 2 δ ′ , ∣ P ~ n ( y ) − P ‾ n ( y ) ∣ ≤ 3 P ‾ n ( y ) ι ′ / n + 2 ι ′ / n \lvert\widetilde{P}_{n}(y)-\overline{P}_{n}(y)\rvert\le3\sqrt{\overline{P}_{n}(y)\iota^{\prime}/n}+2\iota^{\prime}/n ∣ P n ( y ) − P n ( y )∣ ≤ 3 P n ( y ) ι ′ / n + 2 ι ′ / n , with ι ′ : = ln ( ( 2 + log 2 n ) / δ ′ ) \iota^{\prime}:=\ln((2+\log_{2}n)/\delta^{\prime}) ι ′ := ln (( 2 + log 2 n ) / δ ′ ) .
Proof. Index the steps of play by t t t , let F t \mathcal{F}_{t} F t be the history before x t + 1 x_{t+1} x t + 1 is drawn and P t P_{t} P t the law of x t + 1 x_{t+1} x t + 1 given F t \mathcal{F}_{t} F t . The indicator χ t \chi_{t} χ t that step t t t is one of the first n n n visits of the row is F t \mathcal{F}_{t} F t -measurable, and ∑ t χ t ≤ n \sum_{t}\chi_{t}\le n ∑ t χ t ≤ n , with equality on the event. For g g g fixed in advance, Z t : = χ t ( g ( x t + 1 ) − P t g ) Z_{t}:=\chi_{t}(g(x_{t+1})-P_{t}g) Z t := χ t ( g ( x t + 1 ) − P t g ) satisfies E [ Z t ∣ F t ] = 0 \mathbb{E}[Z_{t}\mid\mathcal{F}_{t}]=0 E [ Z t ∣ F t ] = 0 , and ∑ t Z t = n ( P ~ n − P ‾ n ) g \sum_{t}Z_{t}=n(\widetilde{P}_{n}-\overline{P}_{n})g ∑ t Z t = n ( P n − P n ) g on the event. (i) Z t Z_{t} Z t lies in an interval of length b χ t b\chi_{t} b χ t with F t \mathcal{F}_{t} F t -measurable endpoints. By Hoeffding’s lemma, exp ( λ ∑ t ′ ≤ t Z t ′ − λ 2 b 2 ∑ t ′ ≤ t χ t ′ / 8 ) \exp(\lambda\sum_{t^{\prime}\le t}Z_{t^{\prime}}-\lambda^{2}b^{2}\sum_{t^{\prime}\le t}\chi_{t^{\prime}}/8) exp ( λ ∑ t ′ ≤ t Z t ′ − λ 2 b 2 ∑ t ′ ≤ t χ t ′ /8 ) is a supermartingale for every λ > 0 \lambda>0 λ > 0 . Markov’s inequality at λ = 4 ε / ( b 2 n ) \lambda=4\varepsilon/(b^{2}n) λ = 4 ε / ( b 2 n ) bounds the probability that ∑ t Z t ≥ ε \sum_{t}Z_{t}\ge\varepsilon ∑ t Z t ≥ ε on the event by e − 2 ε 2 / ( b 2 n ) e^{-2\varepsilon^{2}/(b^{2}n)} e − 2 ε 2 / ( b 2 n ) , which is δ ′ \delta^{\prime} δ ′ at ε = b n ln ( 1 / δ ′ ) / 2 \varepsilon=b\sqrt{n\ln(1/\delta^{\prime})/2} ε = b n ln ( 1/ δ ′ ) /2 . The lower tail is symmetric. (ii) For g = 1 { y } g=\mathbf{1}\{y\} g = 1 { y } , ∣ Z t ∣ ≤ χ t \lvert Z_{t}\rvert\le\chi_{t} ∣ Z t ∣ ≤ χ t and E [ Z t 2 ∣ F t ] ≤ χ t P t ( y ) \mathbb{E}[Z_{t}^{2}\mid\mathcal{F}_{t}]\le\chi_{t}P_{t}(y) E [ Z t 2 ∣ F t ] ≤ χ t P t ( y ) . For λ ∈ ( 0 , 1 ] \lambda\in(0,1] λ ∈ ( 0 , 1 ] , the inequality e u ≤ 1 + u + u 2 e^{u}\le1+u+u^{2} e u ≤ 1 + u + u 2 for u ≤ 1 u\le1 u ≤ 1 gives E [ e λ Z t ∣ F t ] ≤ exp ( λ 2 χ t P t ( y ) ) \mathbb{E}[e^{\lambda Z_{t}}\mid\mathcal{F}_{t}]\le\exp(\lambda^{2}\chi_{t}P_{t}(y)) E [ e λ Z t ∣ F t ] ≤ exp ( λ 2 χ t P t ( y )) , making exp ( λ ∑ t ′ ≤ t Z t ′ − λ 2 ∑ t ′ ≤ t χ t ′ P t ′ ( y ) ) \exp(\lambda\sum_{t^{\prime}\le t}Z_{t^{\prime}}-\lambda^{2}\sum_{t^{\prime}\le t}\chi_{t^{\prime}}P_{t^{\prime}}(y)) exp ( λ ∑ t ′ ≤ t Z t ′ − λ 2 ∑ t ′ ≤ t χ t ′ P t ′ ( y )) a supermartingale. With V : = n P ‾ n ( y ) V:=n\overline{P}_{n}(y) V := n P n ( y ) , for each fixed λ \lambda λ , ∑ t Z t ≤ λ V + ln ( 1 / δ ′ ′ ) / λ \sum_{t}Z_{t}\le\lambda V+\ln(1/\delta^{\prime\prime})/\lambda ∑ t Z t ≤ λV + ln ( 1/ δ ′′ ) / λ on the event, with probability at least 1 − δ ′ ′ 1-\delta^{\prime\prime} 1 − δ ′′ (cf. Freedman [26 ] ). Take λ ∈ { 2 − i : 0 ≤ i ≤ I } \lambda\in\{2^{-i}:0\le i\le I\} λ ∈ { 2 − i : 0 ≤ i ≤ I } with I : = ⌈ 1 2 log 2 n ⌉ I:=\lceil\frac{1}{2}\log_{2}n\rceil I := ⌈ 2 1 log 2 n ⌉ and δ ′ ′ = δ ′ / ( I + 1 ) \delta^{\prime\prime}=\delta^{\prime}/(I+1) δ ′′ = δ ′ / ( I + 1 ) , so that ln ( 1 / δ ′ ′ ) ≤ ι ′ \ln(1/\delta^{\prime\prime})\le\iota^{\prime} ln ( 1/ δ ′′ ) ≤ ι ′ and ι ′ ≥ 1 \iota^{\prime}\ge1 ι ′ ≥ 1 . If V < ι ′ V<\iota^{\prime} V < ι ′ , then λ = 1 \lambda=1 λ = 1 gives ∑ t Z t ≤ 2 ι ′ \sum_{t}Z_{t}\le2\iota^{\prime} ∑ t Z t ≤ 2 ι ′ . Otherwise λ ∗ : = ι ′ / V \lambda^{*}:=\sqrt{\iota^{\prime}/V} λ ∗ := ι ′ / V lies in [ 2 − I , 1 ) [2^{-I},1) [ 2 − I , 1 ) , since V ≤ n ≤ 4 I ι ′ V\le n\le4^{I}\iota^{\prime} V ≤ n ≤ 4 I ι ′ . Hence, a grid point lies in ( λ ∗ / 2 , λ ∗ ] (\lambda^{*}/2,\lambda^{*}] ( λ ∗ /2 , λ ∗ ] , and ∑ t Z t ≤ λ ∗ V + 2 ι ′ / λ ∗ = 3 V ι ′ \sum_{t}Z_{t}\le\lambda^{*}V+2\iota^{\prime}/\lambda^{*}=3\sqrt{V\iota^{\prime}} ∑ t Z t ≤ λ ∗ V + 2 ι ′ / λ ∗ = 3 V ι ′ . The lower tail is symmetric, and dividing by n n n gives (ii). ■
Let ι : = ln ( 16 X 2 A H T 2 / δ ) \iota:=\ln(16X^{2}AHT^{2}/\delta) ι := ln ( 16 X 2 A H T 2 / δ ) . Apply Lemma 4(i) to the at most X A H XAH X A H rows, the counts n ≤ T n\le T n ≤ T and the functions g = V ‾ ϕ , h + 1 ∗ g=\overline{V}^{*}_{\phi,h+1} g = V ϕ , h + 1 ∗ , h ≤ H h\le H h ≤ H , which take values in [ 0 , H ] [0,H] [ 0 , H ] , each at level δ ′ = δ / ( 8 X A H 2 T ) \delta^{\prime}=\delta/(8XAH^{2}T) δ ′ = δ / ( 8 X A H 2 T ) , and part (ii) to the rows, the counts and the y ∈ X y\in\mathcal{X} y ∈ X , each at level δ ′ = δ / ( 8 X 2 A H T ) \delta^{\prime}=\delta/(8X^{2}AHT) δ ′ = δ / ( 8 X 2 A H T ) . Since 2 + log 2 T ≤ 2 T 2+\log_{2} T \le2T 2 + log 2 T ≤ 2 T , both logarithms are at most ι \iota ι , and a union bound gives an event E c o n c \mathcal{E}_{\mathrm{conc}} E conc of probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 on which, for every row, every count n ≥ 1 n \ge1 n ≥ 1 that the row reaches, every h h h and every y y y ,
∣ ( P ~ n − P ‾ n ) V ‾ ϕ , h + 1 ∗ ∣ ≤ H ι 2 n , ∣ P ~ n ( y ) − P ‾ n ( y ) ∣ ≤ 3 P ‾ n ( y ) ι n + 2 ι n . (29) \left|(\widetilde{P}_{n}-\overline{P}_{n})\overline{V}^{*}_{\phi,h+1}\right| \le H\sqrt{\frac{\iota}{2n}}, \qquad\left|\widetilde{P}_{n}(y)-\overline{P}_{n}(y)\right| \le3\sqrt{\frac{\overline{P}_{n}(y)\iota}{n}}+\frac{2\iota}{n}. \tag*{(29)} ( P n − P n ) V ϕ , h + 1 ∗ ≤ H 2 n ι , P n ( y ) − P n ( y ) ≤ 3 n P n ( y ) ι + n 2 ι . (29)
The first bound concerns fixed functions only. The second holds for all coordinates at once, which is what makes it applicable to value functions computed from the data. On E c o n c \mathcal{E}_{\mathrm{conc}} E conc , for every row with n ≥ 1 n \ge1 n ≥ 1 visits and every Δ : X → [ 0 , B ] \Delta:\mathcal{X}\to[0,B] Δ : X → [ 0 , B ] ,
( P ~ n − P ‾ n ) Δ ≤ 1 H P ‾ n Δ + 5 X H B ι n . (30) (\widetilde{P}_{n}-\overline{P}_{n})\Delta\le\frac{1}{H}\overline{P}_{n}\Delta+\frac{5XHB\iota}{n}. \tag*{(30)} ( P n − P n ) Δ ≤ H 1 P n Δ + n 5 X H B ι . (30)
Indeed ( P ~ n − P ‾ n ) Δ ≤ ∑ y ∣ P ~ n ( y ) − P ‾ n ( y ) ∣ Δ ( y ) (\widetilde{P}_{n}-\overline{P}_{n})\Delta\le\sum_y|\widetilde{P}_{n}(y)-\overline{P}_{n}(y)|\Delta(y) ( P n − P n ) Δ ≤ ∑ y ∣ P n ( y ) − P n ( y ) ∣Δ ( y ) , and the AM–GM inequality gives
3 P ‾ n ( y ) ι n Δ ( y ) = 3 P ‾ n ( y ) Δ ( y ) H H ι Δ ( y ) n ≤ P ‾ n ( y ) Δ ( y ) H + 9 4 H ι Δ ( y ) n , 3\sqrt{\frac{\overline{P}_{n}(y)\iota}{n}}\Delta(y)=3\sqrt{\frac{\overline{P}_{n}(y)\Delta(y)}{H}\frac{H\iota\Delta(y)}{n}}\le\frac{\overline{P}_{n}(y)\Delta(y)}{H}+\frac{9}{4}\frac{H\iota\Delta(y)}{n}, 3 n P n ( y ) ι Δ ( y ) = 3 H P n ( y ) Δ ( y ) n H ι Δ ( y ) ≤ H P n ( y ) Δ ( y ) + 4 9 n H ι Δ ( y ) ,
while Δ ( y ) ≤ B \Delta(y)\le B Δ ( y ) ≤ B and 9 4 H + 2 ≤ 5 H \frac{9}{4}H+2\le5H 4 9 H + 2 ≤ 5 H .
Part (A), UCBVI-CH
UCBVI-CH runs Eq. (6) on X \mathcal{X} X with R ^ ϕ k \widehat{R}^{k}_{\phi} R ϕ k in place of R ϕ ∗ R^{*}_{\phi} R ϕ ∗ , the empirical kernel P ^ k = P ~ n \widehat{P}_{k}=\widetilde{P}_{n} P k = P n of the pooled row ( x , a ) (x,a) ( x , a ) , n = N k ( x , a ) n=N_{k}(x,a) n = N k ( x , a ) , and the bonus b k ( x , a ) = 7 H L A / n b_{k}(x,a)=7HL_{A}/\sqrt{n} b k ( x , a ) = 7 H L A / n of Eq. (7) , L A = ln ( 5 X A T / δ ) L_{A}=\ln(5XAT/\delta) L A = ln ( 5 X A T / δ ) . Since 16 X 2 A H T 2 / δ ≤ ( 5 X A T / δ ) 4 16X^{2}AHT^{2}/\delta\le(5XAT/\delta)^{4} 16 X 2 A H T 2 / δ ≤ ( 5 X A T / δ ) 4 , ι ≤ 4 L A ≤ 98 L A 2 \iota\le4L_{A}\le98L_{A}^{2} ι ≤ 4 L A ≤ 98 L A 2 . Hence, on E c o n c \mathcal{E}_{\mathrm{conc}} E conc the bonus dominates the first bound of Eq. (29) , b k ( x , a ) ≥ H ι / ( 2 n ) b_{k}(x,a)\ge H\sqrt{\iota/(2n)} b k ( x , a ) ≥ H ι / ( 2 n ) .
Approximate optimism. On E c o n c \mathcal{E}_{\mathrm{conc}} E conc , Q ^ k , h ≥ Q ‾ ϕ , h ∗ − ( H − h + 1 ) η \widehat{Q}_{k,h}\ge\overline{Q}^{*}_{\phi,h}-(H-h+1)\eta Q k , h ≥ Q ϕ , h ∗ − ( H − h + 1 ) η for all k k k and h h h . We prove the bound by an outer induction over k k k , in increasing order, and, for each k k k , an inner induction over h h h , in decreasing order. The outer hypothesis is the bound at ( k − 1 , h ) (k-1,h) ( k − 1 , h ) for every h h h , and the inner hypothesis is the bound at ( k , h + 1 ) (k,h+1) ( k , h + 1 ) . The case h = H + 1 h=H+1 h = H + 1 is trivial, and at an unvisited pair Q ^ k , h = H ≥ Q ‾ ϕ , h ∗ \widehat{Q}_{k,h}=H\ge\overline{Q}^{*}_{\phi,h} Q k , h = H ≥ Q ϕ , h ∗ . Otherwise the inner hypothesis gives V ^ k , h + 1 ≥ V ‾ ϕ , h + 1 ∗ − ( H − h ) η \widehat{V}_{k,h+1}\ge\overline{V}^{*}_{\phi,h+1}-(H-h)\eta V k , h + 1 ≥ V ϕ , h + 1 ∗ − ( H − h ) η , and since P ^ k \widehat{P}_{k} P k is a probability vector, Eqs. (26) , (29) and (27) give
R ^ ϕ k + P ^ k V ^ k , h + 1 + b k ≥ R ‾ ϕ − η R + P ^ k V ‾ ϕ , h + 1 ∗ − ( H − h ) η + b k ≥ R ‾ ϕ − η R + P ‾ n V ‾ ϕ , h + 1 ∗ − ( H − h ) η ≥ R ‾ ϕ + P ‾ ϕ V ‾ ϕ , h + 1 ∗ − η R − 1 2 H η P − ( H − h ) η = Q ‾ ϕ , h ∗ − ( H − h + 1 ) η . \begin{aligned}
\widehat{R}^{k}_{\phi}+\widehat{P}_{k}\widehat{V}_{k,h+1}+b_{k}
&\ge\overline{R}_{\phi}-\eta_{R}+\widehat{P}_{k}\overline{V}^{*}_{\phi,h+1}-(H-h)\eta+b_{k}\\
&\ge\overline{R}_{\phi}-\eta_{R}+\overline{P}_{n}\overline{V}^{*}_{\phi,h+1}-(H-h)\eta\\
&\ge\overline{R}_{\phi}+\overline{P}_{\phi}\overline{V}^{*}_{\phi,h+1}-\eta_{R}-\frac{1}{2}H\eta_{P}-(H-h)\eta\\
&=\overline{Q}^{*}_{\phi,h}-(H-h+1)\eta.
\end{aligned} R ϕ k + P k V k , h + 1 + b k ≥ R ϕ − η R + P k V ϕ , h + 1 ∗ − ( H − h ) η + b k ≥ R ϕ − η R + P n V ϕ , h + 1 ∗ − ( H − h ) η ≥ R ϕ + P ϕ V ϕ , h + 1 ∗ − η R − 2 1 H η P − ( H − h ) η = Q ϕ , h ∗ − ( H − h + 1 ) η .
The clamps preserve this bound, since H ≥ Q ‾ ϕ , h ∗ H\ge\overline{Q}^{*}_{\phi,h} H ≥ Q ϕ , h ∗ and Q ^ k − 1 , h ≥ Q ‾ ϕ , h ∗ − ( H − h + 1 ) η \widehat{Q}_{k-1,h}\ge\overline{Q}^{*}_{\phi,h}-(H-h+1)\eta Q k − 1 , h ≥ Q ϕ , h ∗ − ( H − h + 1 ) η by the outer hypothesis, with Q ^ 0 , h : = H \widehat{Q}_{0,h}:=H Q 0 , h := H . In particular V ^ k , 1 ≥ V ‾ ϕ , 1 ∗ − ϵ r e p ( ϕ ) \widehat{V}_{k,1}\ge\overline{V}^{*}_{\phi,1}-\epsilon_{\mathrm{rep}}(\phi) V k , 1 ≥ V ϕ , 1 ∗ − ϵ rep ( ϕ ) .
The recursion. Let δ k , h : = V ^ k , h ( x k , h ) − V ‾ ϕ , h π k ( x k , h ) \delta_{k,h}:=\widehat{V}_{k,h}(x_{k,h})-\overline{V}^{\pi^{k}}_{\phi,h}(x_{k,h}) δ k , h := V k , h ( x k , h ) − V ϕ , h π k ( x k , h ) , ( x , a ) : = ( x k , h , a k , h ) (x,a):=(x_{k,h},a_{k,h}) ( x , a ) := ( x k , h , a k , h ) , n : = N k ( x , a ) n:=N_{k}(x,a) n := N k ( x , a ) , and ξ k , h : = P k , h ( V ^ k , h + 1 − V ‾ ϕ , h + 1 π k ) − ( V ^ k , h + 1 − V ‾ ϕ , h + 1 π k ) ( x k , h + 1 ) \xi_{k,h}:=P_{k,h}(\widehat{V}_{k,h+1}-\overline{V}^{\pi^{k}}_{\phi,h+1})-(\widehat{V}_{k,h+1}-\overline{V}^{\pi^{k}}_{\phi,h+1})(x_{k,h+1}) ξ k , h := P k , h ( V k , h + 1 − V ϕ , h + 1 π k ) − ( V k , h + 1 − V ϕ , h + 1 π k ) ( x k , h + 1 ) , a martingale difference with ∣ ξ k , h ∣ ≤ 2 H |\xi_{k,h}|\le2H ∣ ξ k , h ∣ ≤ 2 H , since V ^ k , h + 1 − V ‾ ϕ , h + 1 π k \widehat{V}_{k,h+1}-\overline{V}^{\pi^{k}}_{\phi,h+1} V k , h + 1 − V ϕ , h + 1 π k is fixed before episode k k k and takes values in [ − H , H ] [-H,H] [ − H , H ] . By approximate optimism and V ‾ ϕ ∗ ≥ V ‾ ϕ π k \overline{V}^{*}_{\phi}\ge\overline{V}^{\pi^{k}}_{\phi} V ϕ ∗ ≥ V ϕ π k , δ k , h + 1 + ξ k , h = P k , h ( V ^ k , h + 1 − V ‾ ϕ , h + 1 π k ) ≥ − ϵ r e p ( ϕ ) \delta_{k,h+1}+\xi_{k,h}=P_{k,h}(\widehat{V}_{k,h+1}-\overline{V}^{\pi^{k}}_{\phi,h+1})\ge-\epsilon_{\mathrm{rep}}(\phi) δ k , h + 1 + ξ k , h = P k , h ( V k , h + 1 − V ϕ , h + 1 π k ) ≥ − ϵ rep ( ϕ ) . If n = 0 n=0 n = 0 , then δ k , h ≤ H ≤ ( 1 + 1 / H ) ( δ k , h + 1 + ξ k , h ) + H + 2 ϵ r e p ( ϕ ) \delta_{k,h}\le H\le(1+1/H)(\delta_{k,h+1}+\xi_{k,h})+H+2\epsilon_{\mathrm{rep}}(\phi) δ k , h ≤ H ≤ ( 1 + 1/ H ) ( δ k , h + 1 + ξ k , h ) + H + 2 ϵ rep ( ϕ ) . If n ≥ 1 n\ge1 n ≥ 1 , greediness and the fact that the clamps only lower Q ^ k , h \widehat{Q}_{k,h} Q k , h give, at ( x , a ) (x,a) ( x , a ) ,
δ k , h ≤ ( R ^ ϕ k − R ‾ ϕ ) + b k + ( P ^ k − P ‾ ϕ ) V ^ k , h + 1 + P ‾ ϕ ( V ^ k , h + 1 − V ‾ ϕ , h + 1 π k ) . \delta_{k,h}\le(\widehat{R}^{k}_{\phi}-\overline{R}_{\phi})+b_{k}+(\widehat{P}_{k}-\overline{P}_{\phi})\widehat{V}_{k,h+1}+\overline{P}_{\phi}(\widehat{V}_{k,h+1}-\overline{V}^{\pi^{k}}_{\phi,h+1}). δ k , h ≤ ( R ϕ k − R ϕ ) + b k + ( P k − P ϕ ) V k , h + 1 + P ϕ ( V k , h + 1 − V ϕ , h + 1 π k ) .
The reward term is at most η R \eta_R η R . The span of V ^ k , h + 1 − V ‾ ϕ , h + 1 π k \widehat{V}_{k,h+1}-\overline{V}^{\pi_k}_{\phi,h+1} V k , h + 1 − V ϕ , h + 1 π k is at most 2 H 2H 2 H . By Eq. (27) , the last term is therefore at most δ k , h + 1 + ξ k , h + H η P \delta_{k,h+1}+\xi_{k,h}+H\eta_P δ k , h + 1 + ξ k , h + H η P . For the middle term, let g : = V ‾ ϕ , h + 1 ⋆ g:=\overline{V}^{\star}_{\phi,h+1} g := V ϕ , h + 1 ⋆ and Δ : = V ^ k , h + 1 − g + ( H − h ) η \Delta:=\widehat{V}_{k,h+1}-g+(H-h)\eta Δ := V k , h + 1 − g + ( H − h ) η , which takes values in [ 0 , 2 H ] [0,2H] [ 0 , 2 H ] . Since both kernels are probability vectors, ( P ^ k − P ‾ ϕ ) V ^ k , h + 1 = ( P ^ k − P ‾ ϕ ) g + ( P ^ k − P ‾ ϕ ) Δ (\widehat{P}_k-\overline{P}_{\phi})\widehat{V}_{k,h+1}=(\widehat{P}_k-\overline{P}_{\phi})g+(\widehat{P}_k-\overline{P}_{\phi})\Delta ( P k − P ϕ ) V k , h + 1 = ( P k − P ϕ ) g + ( P k − P ϕ ) Δ . By Eqs. (29) and (27) , ( P ^ k − P ‾ ϕ ) g ≤ b k + 1 2 H η P (\widehat{P}_k-\overline{P}_{\phi})g\leq b_k+\frac{1}{2}H\eta_P ( P k − P ϕ ) g ≤ b k + 2 1 H η P . By Eqs. (30) with B = 2 H B=2H B = 2 H and (27) ,
( P ^ k − P ‾ ϕ ) Δ ≤ 1 H P ‾ n Δ + 10 X H 2 ι / n + H η P , (\widehat{P}_k-\overline{P}_{\phi})\Delta\leq\frac{1}{H}\overline{P}_n\Delta+10XH^2\iota/n+H\eta_P, ( P k − P ϕ ) Δ ≤ H 1 P n Δ + 10 X H 2 ι / n + H η P ,
and
P ‾ n Δ ≤ P k , h Δ + H η P = P k , h ( V ^ k , h + 1 − g ) + ( H − h ) η + H η P ≤ δ k , h + 1 + ξ k , h + H η + H η P , \overline{P}_n\Delta\leq P_{k,h}\Delta+H\eta_P=P_{k,h}\left(\widehat{V}_{k,h+1}-g\right)+(H-h)\eta+H\eta_P\leq\delta_{k,h+1}+\xi_{k,h}+H\eta+H\eta_P, P n Δ ≤ P k , h Δ + H η P = P k , h ( V k , h + 1 − g ) + ( H − h ) η + H η P ≤ δ k , h + 1 + ξ k , h + H η + H η P ,
using g ≥ V ‾ ϕ , h + 1 π k g\geq\overline{V}^{\pi_k}_{\phi,h+1} g ≥ V ϕ , h + 1 π k . Collecting, with η = η R + 1 2 H η P \eta=\eta_R+\frac{1}{2}H\eta_P η = η R + 2 1 H η P ,
δ k , h ≤ ( 1 + 1 H ) ( δ k , h + 1 + ξ k , h ) + 2 b k + 10 X H 2 ι / n + 2 η R + 4 H η P . (31) \delta_{k,h}\leq\left(1+\frac{1}{H}\right)(\delta_{k,h+1}+\xi_{k,h})+2b_k+10XH^2\iota/n+2\eta_R+4H\eta_P. \tag*{(31)} δ k , h ≤ ( 1 + H 1 ) ( δ k , h + 1 + ξ k , h ) + 2 b k + 10 X H 2 ι / n + 2 η R + 4 H η P . (31)
Let u k , h u_{k,h} u k , h be the sum of the last four terms if n ≥ 1 n\geq1 n ≥ 1 , and 3 H ≥ H + 2 ϵ r e p ( ϕ ) 3H\geq H+2\epsilon_{\mathrm{rep}}(\phi) 3 H ≥ H + 2 ϵ rep ( ϕ ) if n = 0 n=0 n = 0 . Unrolling from h = 1 h=1 h = 1 with δ k , H + 1 = 0 \delta_{k,H+1}=0 δ k , H + 1 = 0 gives δ k , 1 ≤ e ∑ h u k , h + ∑ h ( 1 + 1 / H ) h ξ k , h \delta_{k,1}\leq e\sum_h u_{k,h}+\sum_h(1+1/H)^h\xi_{k,h} δ k , 1 ≤ e ∑ h u k , h + ∑ h ( 1 + 1/ H ) h ξ k , h .
Count sums. For a pair ( x , a ) (x,a) ( x , a ) , let n k ≤ H n_k\leq H n k ≤ H be its visits in episode k k k and N k = ∑ j < k n j N_k=\sum_{j<k}n_j N k = ∑ j < k n j . Episodes with 1 ≤ N k < H 1\leq N_k<H 1 ≤ N k < H contribute fewer than 2 H 2H 2 H visits in total. If N k ≥ H N_k\geq H N k ≥ H , then N k + 1 ≤ 2 N k N_{k+1}\leq2N_k N k + 1 ≤ 2 N k , which yields n k / N k ≤ 2 2 ( N k + 1 − N k ) n_k/\sqrt{N_k}\leq2\sqrt{2}(\sqrt{N_{k+1}}-\sqrt{N_k}) n k / N k ≤ 2 2 ( N k + 1 − N k ) and n k / N k ≤ 2 ln ( N k + 1 / N k ) n_k/N_k\leq2\ln(N_{k+1}/N_k) n k / N k ≤ 2 ln ( N k + 1 / N k ) , by ( b − a ) / b ≤ 2 ( b − a ) (b-a)/\sqrt{b}\leq2(\sqrt{b}-\sqrt{a}) ( b − a ) / b ≤ 2 ( b − a ) and ( b − a ) / b ≤ ln ( b / a ) (b-a)/b\leq\ln(b/a) ( b − a ) / b ≤ ln ( b / a ) . Summing over episodes and pairs, with Cauchy–Schwarz over the pairs,
∑ k , h : n ≥ 1 1 N k ( x k , h , a k , h ) ≤ 2 H X A + 2 2 X A T , \sum_{k,h:n\geq1}\frac{1}{\sqrt{N_k(x_{k,h},a_{k,h})}}\leq2HXA+2\sqrt{2XAT}, k , h : n ≥ 1 ∑ N k ( x k , h , a k , h ) 1 ≤ 2 H X A + 2 2 X A T ,
∑ k , h : n ≥ 1 1 N k ( x k , h , a k , h ) ≤ 2 X A ( H + ln T ) , \sum_{k,h:n\geq1}\frac{1}{N_k(x_{k,h},a_{k,h})}\leq2XA(H+\ln T), k , h : n ≥ 1 ∑ N k ( x k , h , a k , h ) 1 ≤ 2 X A ( H + ln T ) ,
and the steps at unvisited pairs number at most X A H XAH X A H . The biases sum to K ( 2 H η R + 4 H 2 η P ) ≤ 8 ϵ r e p ( ϕ ) K K(2H\eta_R+4H^2\eta_P)\leq8\epsilon_{\mathrm{rep}}(\phi)K K ( 2 H η R + 4 H 2 η P ) ≤ 8 ϵ rep ( ϕ ) K by Eq. (21) . By the Azuma–Hoeffding inequality, with probability at least 1 − δ / 4 1-\delta/4 1 − δ /4 ,
∑ k , h ( 1 + 1 H ) h ξ k , h ≤ 2 e H 2 T ln ( 4 / δ ) . \sum_{k,h}\left(1+\frac{1}{H}\right)^h\xi_{k,h}\leq2eH\sqrt{2T\ln(4/\delta)}. k , h ∑ ( 1 + H 1 ) h ξ k , h ≤ 2 eH 2 T ln ( 4/ δ ) .
Collecting. By approximate optimism (II)k ≤ δ k , 1 + ϵ r e p ( ϕ ) _k\leq\delta_{k,1}+\epsilon_{\mathrm{rep}}(\phi) k ≤ δ k , 1 + ϵ rep ( ϕ ) , and (I) and (III) cost ϵ r e p ( ϕ ) \epsilon_{\mathrm{rep}}(\phi) ϵ rep ( ϕ ) each. With probability at least 1 − δ 1-\delta 1 − δ ,
R K ≤ ( 3 + 8 e ) ϵ r e p ( ϕ ) K + 14 e H L A ( 2 H X A + 2 2 X A T ) \mathfrak{R}_K\leq(3+8e)\epsilon_{\mathrm{rep}}(\phi)K+14eHL_A(2HXA+2\sqrt{2XAT}) R K ≤ ( 3 + 8 e ) ϵ rep ( ϕ ) K + 14 eH L A ( 2 H X A + 2 2 X A T )
+ 20 e X 2 A H 2 ι ( H + ln T ) + 3 e X A H 2 + 2 e H 2 T ln ( 4 / δ ) , \qquad+20eX^2AH^2\iota(H+\ln T)+3eXAH^2+2eH\sqrt{2T\ln(4/\delta)}, + 20 e X 2 A H 2 ι ( H + ln T ) + 3 e X A H 2 + 2 eH 2 T ln ( 4/ δ ) ,
which is part (a), since the factor L L L of Theorem 1 satisfies L ≥ ι ≥ L A L\geq\iota\geq L_A L ≥ ι ≥ L A .
Part (B), Bayes-UCBVI
We prove part (b) through two lemmas that also serve calibrated AIF (Appendix F.§ 7 ). Both concern agents that use Bayes-UCBVI’s rows ρ k h \rho_k^h ρ k h on X \mathcal{X} X , with posterior mean P ^ h k = ( n P ‾ n + n 0 δ x E ) / n ‾ \widehat{P}_h^k=(n\overline{P}_n+n_0\delta_{x_E})/\overline{n} P h k = ( n P n + n 0 δ x E ) / n for a row with n n n visits, and that compute V k , H + 1 ≡ 0 V_{k,H+1}\equiv0 V k , H + 1 ≡ 0 , V k , h ( x E ) = r 0 ( H − h + 1 ) V_{k,h}(x_E)=r_0(H-h+1) V k , h ( x E ) = r 0 ( H − h + 1 ) , and
Q k , h ( x , a ) = min { r 0 ( H − h + 1 ) , R ^ ϕ k ( x , a ) + P ^ h k ( ⋅ ∣ x , a ) ⊤ V k , h + 1 + w k , h ( x , a ) } . (32) Q_{k,h}(x,a)=\min\left\{r_0(H-h+1),\widehat{R}_{\phi}^k(x,a)+\widehat{P}_h^k(\cdot\mid x,a)^{\top}V_{k,h+1}+w_{k,h}(x,a)\right\}. \tag*{(32)} Q k , h ( x , a ) = min { r 0 ( H − h + 1 ) , R ϕ k ( x , a ) + P h k ( ⋅ ∣ x , a ) ⊤ V k , h + 1 + w k , h ( x , a ) } . (32)
V k , h ( x ) = max a Q k , h ( x , a ) V_{k,h}(x)=\max_a Q_{k,h}(x,a) V k , h ( x ) = max a Q k , h ( x , a ) , with a width w k , h ≥ 0 w_{k,h}\geq0 w k , h ≥ 0 , and act greedily. Bayes-UCBVI is such an agent with w k , h = Δ h k w_{k,h}=\Delta_h^k w k , h = Δ h k , the quantile gap at V k , h + 1 V_{k,h+1} V k , h + 1 . Its clamp is never active, since R ^ ϕ k ≤ 1 \widehat{R}_{\phi}^k\leq1 R ϕ k ≤ 1 and the quantile is at most r 0 ( H − h ) r_0(H-h) r 0 ( H − h ) .
Lemma 5 (Approximate optimism of Dirichlet-optimistic agents). There is an event, denoted E o p t \mathcal{E}_{\mathrm{opt}} E opt , of probability at least 1 − δ / 5 1-\delta/5 1 − δ /5 on which, for all k , h , x , a k,h,x,a k , h , x , a , with V ϕ , h + 1 ∗ V^{*}_{\phi,h+1} V ϕ , h + 1 ∗ extended by r 0 ( H − h ) r_0(H-h) r 0 ( H − h ) at x E x_{\mathrm{E}} x E ,
Q p ∼ ρ h k ( x , a ) ( p T V ϕ , h + 1 ∗ , κ h k ( x , a ) ) ≥ ( P ‾ ϕ V ϕ , h + 1 ∗ ) ( x , a ) − 1 2 H η P . \mathop{\mathrm{Q}}\limits_{p\sim\rho^{k}_{h}(x,a)}\left(p^{\mathsf{T}}V^{*}_{\phi,h+1},\kappa^{k}_{h}(x,a)\right)\geq\left(\overline{P}_{\phi}V^{*}_{\phi,h+1}\right)(x,a)-\frac{1}{2}H\eta_{P}. p ∼ ρ h k ( x , a ) Q ( p T V ϕ , h + 1 ∗ , κ h k ( x , a ) ) ≥ ( P ϕ V ϕ , h + 1 ∗ ) ( x , a ) − 2 1 H η P . On E o p t \mathcal{E}_{\mathrm{opt}} E opt , every agent of the form Eq. (32) whose width is at least Bayes-UCBVI’s quantile gap at its own next-step values, w k , h ≥ Q p ∼ ρ h k ( p T V k , h + 1 , κ h k ) − P ^ h k V k , h + 1 w_{k,h}\geq\mathop{\mathrm{Q}}\limits_{p\sim\rho^{k}_{h}}\left(p^{\mathsf{T}}V_{k,h+1},\kappa^{k}_{h}\right)-\widehat{P}^{k}_{h}V_{k,h+1} w k , h ≥ p ∼ ρ h k Q ( p T V k , h + 1 , κ h k ) − P h k V k , h + 1 , satisfies V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η V_{k,h}\geq V^{*}_{\phi,h}-(H-h+1)\eta V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η on X \mathcal{X} X for all k k k and h h h .
Proof. The quantile. Fix ( x , a , h ) (x,a,h) ( x , a , h ) and let f : = V ϕ , h + 1 ∗ f:=V^{*}_{\phi,h+1} f := V ϕ , h + 1 ∗ , b : = f ( x E ) = r 0 ( H − h ) b:=f(x_{\mathrm{E}})=r_0(H-h) b := f ( x E ) = r 0 ( H − h ) and u : = P ‾ ϕ f − 1 2 ( H − h ) η P u:=\overline{P}_{\phi}f-\frac{1}{2}(H-h)\eta_{P} u := P ϕ f − 2 1 ( H − h ) η P . The claim is trivial for h = H h=H h = H , where f ≡ 0 f\equiv0 f ≡ 0 . We therefore let h < H h<H h < H , whence u < b u<b u < b . At the j j j -th visit of the row, the conditional mean of f f f is P j f ≥ P ‾ ϕ f − 1 2 ( H − h ) η P = u P_jf\geq\overline{P}_{\phi}f-\frac{1}{2}(H-h)\eta_{P}=u P j f ≥ P ϕ f − 2 1 ( H − h ) η P = u , by Eq. (27) , since f f f takes values in [ 0 , H − h ] [0,H-h] [ 0 , H − h ] on X \mathcal{X} X . The optimism lemma of Tiapkin et al. [84 ] (their Lemmas B.4–B.5 and Theorem C.4) shows, for i.i.d. successors with mean P ‾ ϕ f \overline{P}_{\phi}f P ϕ f , that the κ h k \kappa^{k}_{h} κ h k -quantile exceeds P ‾ ϕ f \overline{P}_{\phi}f P ϕ f for all k , h , x , a k,h,x,a k , h , x , a on an event of probability at least 1 − δ / 5 1-\delta/5 1 − δ /5 . Its only probabilistic step is the method of mixtures applied to the nonnegative martingales
∏ j ≤ n ( 1 − λ f ( x j ′ ) − P ‾ ϕ f b − P ‾ ϕ f ) , \prod_{j\leq n}\left(1-\lambda\frac{f(x'_j)-\overline{P}_{\phi}f}{b-\overline{P}_{\phi}f}\right), j ≤ n ∏ ( 1 − λ b − P ϕ f f ( x j ′ ) − P ϕ f ) ,
λ ∈ [ 0 , 1 ] \lambda\in[0,1] λ ∈ [ 0 , 1 ] . With u u u in place of P ‾ ϕ f \overline{P}_{\phi}f P ϕ f , each factor is nonnegative and has conditional mean 1 − λ ( P j f − u ) / ( b − u ) ≤ 1 1-\lambda(P_jf-u)/(b-u)\leq1 1 − λ ( P j f − u ) / ( b − u ) ≤ 1 , making the products nonnegative supermartingales along the visits of the row, and Ville’s inequality gives the same event with u u u in place of P ‾ ϕ f \overline{P}_{\phi}f P ϕ f . The remaining steps of their proof, the anti-concentration of the Dirichlet distribution and the case n ‾ < 2 n 0 \overline{n}<2n_0 n < 2 n 0 , are deterministic and use only u ≤ H − h u\leq H-h u ≤ H − h . They give Q ( p T f , κ h k ) ≥ u ≥ P ‾ ϕ f − 1 2 H η P \mathrm{Q}(p^{\mathsf{T}}f,\kappa^{k}_{h})\geq u\geq\overline{P}_{\phi}f-\frac{1}{2}H\eta_{P} Q ( p T f , κ h k ) ≥ u ≥ P ϕ f − 2 1 H η P .
The induction. Let d : = ( H − h ) η d:=(H-h)\eta d := ( H − h ) η , and assume V k , h + 1 ≥ f − d V_{k,h+1}\geq f-d V k , h + 1 ≥ f − d on X \mathcal{X} X , with V k , h + 1 ( x E ) = f ( x E ) V_{k,h+1}(x_{\mathrm{E}})=f(x_{\mathrm{E}}) V k , h + 1 ( x E ) = f ( x E ) . The quantile is monotone in the function and p T ( f − d 1 X ) ≥ p T f − d p^{\mathsf{T}}(f-d\mathbf{1}_{\mathcal{X}})\geq p^{\mathsf{T}}f-d p T ( f − d 1 X ) ≥ p T f − d , which yields
P ^ h k V k , h + 1 + w k , h ≥ Q ( p T V k , h + 1 , κ h k ) ≥ Q ( p T f , κ h k ) − d ≥ P ‾ ϕ f − 1 2 H η P − d . \widehat{P}^{k}_{h}V_{k,h+1}+w_{k,h}\geq\mathrm{Q}(p^{\mathsf{T}}V_{k,h+1},\kappa^{k}_{h})\geq\mathrm{Q}(p^{\mathsf{T}}f,\kappa^{k}_{h})-d\geq\overline{P}_{\phi}f-\frac{1}{2}H\eta_{P}-d. P h k V k , h + 1 + w k , h ≥ Q ( p T V k , h + 1 , κ h k ) ≥ Q ( p T f , κ h k ) − d ≥ P ϕ f − 2 1 H η P − d .
With R ^ ϕ k ≥ R ‾ ϕ − η R \widehat{R}^{k}_{\phi}\geq\overline{R}_{\phi}-\eta_{R} R ϕ k ≥ R ϕ − η R (Eq. (26) ) and Q ‾ ϕ , h ∗ ≤ H − h + 1 ≤ r 0 ( H − h + 1 ) \overline{Q}^{*}_{\phi,h}\leq H-h+1\leq r_0(H-h+1) Q ϕ , h ∗ ≤ H − h + 1 ≤ r 0 ( H − h + 1 ) , this gives Q k , h ≥ Q ‾ ϕ , h ∗ − η − d Q_{k,h}\geq\overline{Q}^{*}_{\phi,h}-\eta-d Q k , h ≥ Q ϕ , h ∗ − η − d , hence V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η V_{k,h}\geq V^{*}_{\phi,h}-(H-h+1)\eta V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η .
:::
Lemma 6 (Direct regret bound for Dirichlet-optimistic agents). Let r 0 = 2 r_0=2 r 0 = 2 , and let an agent of the form Eq. (32) satisfy V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η V_{k,h}\geq V^{*}_{\phi,h}-(H-h+1)\eta V k , h ≥ V ϕ , h ∗ − ( H − h + 1 ) η on X \mathcal{X} X for all k k k and h h h , on an event E ′ \mathcal{E}' E ′ . There is an event E m a r t \mathcal{E}_{\mathrm{mart}} E mart of probability at least 1 − δ / 4 1-\delta/4 1 − δ /4 such that, on E ′ ∩ E c o n c ∩ E m a r t \mathcal{E}'\cap\mathcal{E}_{\mathrm{conc}}\cap\mathcal{E}_{\mathrm{mart}} E ′ ∩ E conc ∩ E mart ,
R K ≤ ( 3 + 13 e ) ϵ r e p ( ϕ ) K + e ∑ k , h w k , h ( x k , h , a k , h ) + 2 e H ι X A H T \mathfrak{R}_{K}\leq(3+13e)\epsilon_{\mathrm{rep}}(\phi)K+e\sum_{k,h}w_{k,h}(x_{k,h},a_{k,h})+2eH\sqrt{\iota X A H T} R K ≤ ( 3 + 13 e ) ϵ rep ( ϕ ) K + e k , h ∑ w k , h ( x k , h , a k , h ) + 2 eH ι X A H T + e ( 4 n 0 H + 20 X H 2 ι ) X A H ( 1 + ln K ) + 4 e X A H 2 + 3 e H 2 T ln ( 4 / δ ) . {}+e(4n_0H+20XH^2\iota)XAH(1+\ln K)+4eXAH^2+3eH\sqrt{2T\ln(4/\delta)}. + e ( 4 n 0 H + 20 X H 2 ι ) X A H ( 1 + ln K ) + 4 e X A H 2 + 3 eH 2 T ln ( 4/ δ ) . Proof. Let δ k , h : = V k , h ( x k , h ) − V ‾ ϕ , h π k ( x k , h ) \delta_{k,h}:=V_{k,h}(x_{k,h})-\overline{V}^{\pi^k}_{\phi,h}(x_{k,h}) δ k , h := V k , h ( x k , h ) − V ϕ , h π k ( x k , h ) , ( x , a ) : = ( x k , h , a k , h ) (x,a):=(x_{k,h},a_{k,h}) ( x , a ) := ( x k , h , a k , h ) , let n n n be the visit count of the row ( x , a , h ) (x,a,h) ( x , a , h ) before episode k k k , n ‾ = n + n 0 \overline{n}=n+n_0 n = n + n 0 , and let ξ k , h \xi_{k,h} ξ k , h be as in part (a) with V k , h + 1 V_{k,h+1} V k , h + 1 in place of
V ^ k , h + 1 \widehat{V}_{k,h+1} V k , h + 1 , now with ∣ ξ k , h ∣ ≤ ( 1 + r 0 ) H |\xi_{k,h}| \le(1+r_0)H ∣ ξ k , h ∣ ≤ ( 1 + r 0 ) H , since V k , h + 1 − V ‾ ϕ , h + 1 π k V_{k,h+1}-\overline{V}^{\pi^k}_{\phi,h+1} V k , h + 1 − V ϕ , h + 1 π k takes values in [ − H , r 0 H ] [-H,r_0H] [ − H , r 0 H ] on X \mathcal{X} X . As in part (a), δ k , h + 1 + ξ k , h ≥ − ϵ r e p ( ϕ ) \delta_{k,h+1}+\xi_{k,h} \ge-\epsilon_{\mathrm{rep}}(\phi) δ k , h + 1 + ξ k , h ≥ − ϵ rep ( ϕ ) . If n = 0 n=0 n = 0 , then
δ k , h ≤ r 0 H ≤ ( 1 + 1 / H ) ( δ k , h + 1 + ξ k , h ) + r 0 H + 2 ϵ r e p ( ϕ ) , \delta_{k,h} \le r_0H \le(1+1/H)(\delta_{k,h+1}+\xi_{k,h})+r_0H+2\epsilon_{\mathrm{rep}}(\phi), δ k , h ≤ r 0 H ≤ ( 1 + 1/ H ) ( δ k , h + 1 + ξ k , h ) + r 0 H + 2 ϵ rep ( ϕ ) ,
which happens at most once for each of the X A H XAH X A H rows, since a row is visited at most once per episode. If n ≥ 1 n \ge1 n ≥ 1 , greediness and the clamp give, at ( x , a ) (x,a) ( x , a ) ,
δ k , h ≤ ( R ^ ϕ k − R ‾ ϕ ) + w k , h + ( P ^ h k − P ‾ ϕ ) V k , h + 1 + P ‾ ϕ ( V k , h + 1 − V ‾ ϕ , h + 1 π k ) , \delta_{k,h} \le(\widehat{R}^{k}_{\phi}-\overline{R}_{\phi})+w_{k,h}+(\widehat{P}^{k}_{h}-\overline{P}_{\phi})V_{k,h+1}+\overline{P}_{\phi}(V_{k,h+1}-\overline{V}^{\pi^k}_{\phi,h+1}), δ k , h ≤ ( R ϕ k − R ϕ ) + w k , h + ( P h k − P ϕ ) V k , h + 1 + P ϕ ( V k , h + 1 − V ϕ , h + 1 π k ) ,
where P ‾ ϕ \overline{P}_{\phi} P ϕ puts no mass on x E x_{\mathrm{E}} x E . The reward term is at most η R \eta_R η R , and Eq. (27) bounds the last term by δ k , h + 1 + ξ k , h + 1 2 ( 1 + r 0 ) H η P \delta_{k,h+1}+\xi_{k,h}+\frac{1}{2}(1+r_0)H\eta_P δ k , h + 1 + ξ k , h + 2 1 ( 1 + r 0 ) H η P . For the middle term let g : = V ‾ ϕ , h + 1 ∗ g:=\overline{V}^{\ast}_{\phi,h+1} g := V ϕ , h + 1 ∗ on X \mathcal{X} X , g ( x E ) : = r 0 ( H − h ) = V k , h + 1 ( x E ) g(x_{\mathrm{E}}):=r_0(H-h)=V_{k,h+1}(x_{\mathrm{E}}) g ( x E ) := r 0 ( H − h ) = V k , h + 1 ( x E ) , and Δ : = V k , h + 1 − g + ( H − h ) η \Delta:=V_{k,h+1}-g+(H-h)\eta Δ := V k , h + 1 − g + ( H − h ) η on X \mathcal{X} X , which takes values in [ 0 , 2 r 0 H ] [0,2r_0H] [ 0 , 2 r 0 H ] . Then
( P ^ h k − P ‾ ϕ ) V k , h + 1 = ( P ^ h k − P ‾ ϕ ) g + n n ‾ P ~ n Δ − P ‾ ϕ Δ + n 0 n ‾ ( H − h ) η . (\widehat{P}^{k}_{h}-\overline{P}_{\phi})V_{k,h+1}=(\widehat{P}^{k}_{h}-\overline{P}_{\phi})g+\frac{n}{\overline{n}}\widetilde{P}_{n}\Delta-\overline{P}_{\phi}\Delta+\frac{n_0}{\overline{n}}(H-h)\eta. ( P h k − P ϕ ) V k , h + 1 = ( P h k − P ϕ ) g + n n P n Δ − P ϕ Δ + n n 0 ( H − h ) η .
The first part equals
n n ‾ ( P ~ n − P ‾ ϕ ) g + n 0 n ‾ ( g ( x E ) − P ‾ ϕ g ) , \frac{n}{\overline{n}}(\widetilde{P}_{n}-\overline{P}_{\phi})g+\frac{n_0}{\overline{n}}(g(x_{\mathrm{E}})-\overline{P}_{\phi}g), n n ( P n − P ϕ ) g + n n 0 ( g ( x E ) − P ϕ g ) ,
which is at most H ι / ( 2 n ‾ ) + 1 2 H η P + n 0 r 0 H / n ‾ H\sqrt{\iota/(2\overline{n})}+\frac{1}{2}H\eta_P+n_0r_0H/\overline{n} H ι / ( 2 n ) + 2 1 H η P + n 0 r 0 H / n by Eqs. (29) and (27) and ( n / n ‾ ) 1 / n ≤ 1 / n ‾ (n/\overline{n})\sqrt{1/n}\le\sqrt{1/\overline{n}} ( n / n ) 1/ n ≤ 1/ n . Since Δ ≥ 0 \Delta\ge0 Δ ≥ 0 , the middle two terms are at most
n n ‾ ( P ~ n − P ‾ n ) Δ + ( P ‾ n − P ‾ ϕ ) Δ ≤ 1 H P ‾ n Δ + 10 r 0 X H 2 ι / n ‾ + r 0 H η P , \frac{n}{\overline{n}}(\widetilde{P}_{n}-\overline{P}_{n})\Delta+(\overline{P}_{n}-\overline{P}_{\phi})\Delta\le\frac{1}{H}\overline{P}_{n}\Delta+10r_0XH^2\iota/\overline{n}+r_0H\eta_P, n n ( P n − P n ) Δ + ( P n − P ϕ ) Δ ≤ H 1 P n Δ + 10 r 0 X H 2 ι / n + r 0 H η P ,
by Eqs. (30) with B = 2 r 0 H B=2r_0H B = 2 r 0 H and (27) . As in part (a), P ‾ n Δ ≤ δ k , h + 1 + ξ k , h + ( H − h ) η + r 0 H η P \overline{P}_{n}\Delta\le\delta_{k,h+1}+\xi_{k,h}+(H-h)\eta+r_0H\eta_P P n Δ ≤ δ k , h + 1 + ξ k , h + ( H − h ) η + r 0 H η P , and ( n 0 / n ‾ ) ( H − h ) η ≤ n 0 H / n ‾ (n_0/\overline{n})(H-h)\eta\le n_0H/\overline{n} ( n 0 / n ) ( H − h ) η ≤ n 0 H / n . Collecting, with r 0 = 2 r_0=2 r 0 = 2 and η P ≤ H η P \eta_P\le H\eta_P η P ≤ H η P ,
δ k , h ≤ ( 1 + 1 / H ) ( δ k , h + 1 + ξ k , h ) + w k , h + H ι / ( 2 n ‾ ) + ( 4 n 0 H + 20 X H 2 ι ) / n ‾ + 2 η R + 6.5 H η P . \delta_{k,h}\le(1+1/H)(\delta_{k,h+1}+\xi_{k,h})+w_{k,h}+H\sqrt{\iota/(2\overline{n})}+(4n_0H+20XH^2\iota)/\overline{n}+2\eta_R+6.5H\eta_P. δ k , h ≤ ( 1 + 1/ H ) ( δ k , h + 1 + ξ k , h ) + w k , h + H ι / ( 2 n ) + ( 4 n 0 H + 20 X H 2 ι ) / n + 2 η R + 6.5 H η P .
A row visited N ≤ K N\le K N ≤ K times contributes ∑ n = 1 N − 1 ( n + n 0 ) − 1 / 2 ≤ 2 N \sum_{n=1}^{N-1}(n+n_0)^{-1/2}\le2\sqrt{N} ∑ n = 1 N − 1 ( n + n 0 ) − 1/2 ≤ 2 N and ∑ n = 1 N − 1 ( n + n 0 ) − 1 ≤ 1 + ln K \sum_{n=1}^{N-1}(n+n_0)^{-1}\le1+\ln K ∑ n = 1 N − 1 ( n + n 0 ) − 1 ≤ 1 + ln K , and ∑ r o w s 2 N ≤ 2 X A H T \sum_{\mathrm{rows}}2\sqrt{N}\le2\sqrt{XAHT} ∑ rows 2 N ≤ 2 X A H T by Cauchy–Schwarz. The biases sum to K ( 2 H η R + 6.5 H 2 η P ) ≤ 13 ϵ r e p ( ϕ ) K K(2H\eta_R+6.5H^2\eta_P)\le13\epsilon_{\mathrm{rep}}(\phi)K K ( 2 H η R + 6.5 H 2 η P ) ≤ 13 ϵ rep ( ϕ ) K . By the Azuma–Hoeffding inequality, the event E m a r t \mathcal{E}_{\mathrm{mart}} E mart on which
∑ k , h ( 1 + 1 / H ) h ξ k , h ≤ e ( 1 + r 0 ) H 2 T ln ( 4 / δ ) \sum_{k,h}(1+1/H)^h\xi_{k,h}\le e(1+r_0)H\sqrt{2T\ln(4/\delta)} k , h ∑ ( 1 + 1/ H ) h ξ k , h ≤ e ( 1 + r 0 ) H 2 T ln ( 4/ δ )
has probability at least 1 − δ / 4 1-\delta/4 1 − δ /4 . Unrolling and summing as in part (a) on E ′ ∩ E c o n c ∩ E m a r t \mathcal{E}'\cap\mathcal{E}_{\mathrm{conc}}\cap\mathcal{E}_{\mathrm{mart}} E ′ ∩ E conc ∩ E mart , with ( I I ) k ≤ δ k , 1 + ϵ r e p ( ϕ ) (\mathrm{II})_k\le\delta_{k,1}+\epsilon_{\mathrm{rep}}(\phi) ( II ) k ≤ δ k , 1 + ϵ rep ( ϕ ) , gives the claim.
Proof of part (b). Lemma 5 with w k , h = Δ h k w_{k,h}=\Delta^k_h w k , h = Δ h k gives approximate optimism on E o p t \mathcal{E}_{\mathrm{opt}} E opt . By Lemma 2 and P ^ h k [ V k , h + 1 ] ≤ ( r 0 H ) 2 / 4 \widehat{P}^{k}_{h}[V_{k,h+1}]\le(r_0H)^2/4 P h k [ V k , h + 1 ] ≤ ( r 0 H ) 2 /4 , Δ h k ≤ r 0 H ℓ / n ‾ + 2 2 r 0 H ℓ / n ‾ \Delta^k_h\le r_0H\sqrt{\ell/\overline{n}}+2\sqrt{2}r_0H\ell/\overline{n} Δ h k ≤ r 0 H ℓ / n + 2 2 r 0 H ℓ / n , which yields
∑ k , h Δ h k ≤ 2 r 0 H ℓ ‾ X A H T + 2 2 r 0 H ℓ ‾ X A H ( 1 + ln K ) , \sum_{k,h}\Delta^k_h\le2r_0H\sqrt{\overline{\ell}XAHT}+2\sqrt{2}r_0H\overline{\ell}XAH(1+\ln K), k , h ∑ Δ h k ≤ 2 r 0 H ℓ X A H T + 2 2 r 0 H ℓ X A H ( 1 + ln K ) ,
with ℓ ‾ : = max k , h , x , a ℓ h k ( x , a ) = O ( ln ( X A H K / δ ) ) \overline{\ell}:=\max_{k,h,x,a}\ell^k_h(x,a)=O(\ln(XAHK/\delta)) ℓ := max k , h , x , a ℓ h k ( x , a ) = O ( ln ( X A H K / δ )) . Lemma 6 applies on E o p t ∩ E c o n c \mathcal{E}_{\mathrm{opt}}\cap\mathcal{E}_{\mathrm{conc}} E opt ∩ E conc , and the three failure probabilities sum to at most 19 δ / 20 19\delta/20 19 δ /20 . This gives part (b) with the factor L = max { ι , ℓ ‾ , n 0 , 1 + ln K } L=\max\{\iota,\overline{\ell},n_0,1+\ln K\} L = max { ι , ℓ , n 0 , 1 + ln K } of Theorem 1. Parts (a) and (b) sum the widths through the range of the value function. For Bayes-UCBVI this costs a factor H \sqrt{H} H against the variance-aware analysis behind part (c), which sums them through the law of total variance. We do not know whether that analysis survives misspecification, since its empirical-variance and total-variance steps would need concentration for data-dependent value functions under non-identical sampling.
Part (C), Exact Abstractions
If η R = η P = 0 \eta_R=\eta_P=0 η R = η P = 0 , then ϕ # P ∗ ( ⋅ ∣ s , a ) = P ‾ ϕ ( ⋅ ∣ x , a ) \phi_{\#}P^*(\cdot\mid s,a)=\overline{P}_{\phi}(\cdot\mid x,a) ϕ # P ∗ ( ⋅ ∣ s , a ) = P ϕ ( ⋅ ∣ x , a ) and R ∗ ( s , a ) = R ‾ ϕ ( x , a ) R^*(s,a)=\overline{R}_{\phi}(x,a) R ∗ ( s , a ) = R ϕ ( x , a ) for every s ∈ ϕ − 1 ( x ) s\in\phi^{-1}(x) s ∈ ϕ − 1 ( x ) . Given the history, x k , h + 1 x_{k,h+1} x k , h + 1 therefore has law P ‾ ϕ ( ⋅ ∣ x k , h , a k , h ) \overline{P}_{\phi}(\cdot\mid x_{k,h},a_{k,h}) P ϕ ( ⋅ ∣ x k , h , a k , h ) , and the reward is R ‾ ϕ ( x k , h , a k , h ) \overline{R}_{\phi}(x_{k,h},a_{k,h}) R ϕ ( x k , h , a k , h ) . The abstract data are therefore generated by the episodic MDP M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ on X \mathcal{X} X , which is time-homogeneous. An agent that observes only these data and is given R ‾ ϕ \overline{R}_{\phi} R ϕ is UCBVI or Bayes-UCBVI run on M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ . Hence, Theorems 6 and 7 bound its regret in M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ , with S S S replaced by X X X . Since Lemma 3(b)–(c) with ϵ r e p ( ϕ ) = 0 \epsilon_{\mathrm{rep}}(\phi)=0 ϵ rep ( ϕ ) = 0 make terms (I) and (III) of Eq. (22) vanish, its regret in M ‾ ϕ \overline{\mathcal{M}}_{\phi} M ϕ equals its regret in M \mathcal{M} M .
The Cost of Acting Through an Abstraction
Proposition 2 (Acting through an abstraction has a linear cost) For every H ≥ 4 H\ge4 H ≥ 4 and every η > 0 \eta>0 η > 0 with ( H − 2 ) η ≤ 2 (H-2)\eta\le2 ( H − 2 ) η ≤ 2 , some MDP with S = 4 S=4 S = 4 and A = 2 A=2 A = 2 has an abstraction ϕ \phi ϕ with X = 3 X=3 X = 3 , η R ( ϕ ) = 0 \eta_R(\phi)=0 η R ( ϕ ) = 0 and η P ( ϕ ) = η \eta_P(\phi)=\eta η P ( ϕ ) = η on which every agent that sees the current state only through ϕ \phi ϕ has regret R K ≥ ϵ r e p ( ϕ ) K / 32 \mathfrak{R}_K\ge\epsilon_{\mathrm{rep}}(\phi)K/32 R K ≥ ϵ rep ( ϕ ) K /32 deterministically, while UCBVI on its ground states has R K = O ~ ( H T ) \mathfrak{R}_K=\widetilde{O}(H\sqrt{T}) R K = O ( H T ) .
The instance below merges two states whose best actions differ. An agent that cannot tell them apart acts correctly half of the time, and each wrong choice forfeits probability η / 2 \eta/2 η /2 of entering a rewarding absorbing state, Θ ( η H 2 ) = Θ ( ϵ r e p ( ϕ ) ) \Theta(\eta H^2)=\Theta(\epsilon_{\mathrm{rep}}(\phi)) Θ ( η H 2 ) = Θ ( ϵ rep ( ϕ )) per episode. Ortner et al. [66 ] show the average-reward analogue for the aggregated model’s optimal gain, Θ ( ϵ D ) \Theta(\epsilon D) Θ ( ϵD ) in the diameter D D D .
Proof of Proposition 2. The instance. Let S = { s 0 , u A , u B , g } \mathcal{S}=\{s_0,u_A,u_B,g\} S = { s 0 , u A , u B , g } , A = { a , b } \mathcal{A}=\{a,b\} A = { a , b } , and δ 0 : = η / 4 \delta_0:=\eta/4 δ 0 := η /4 , so that ( H − 2 ) δ 0 ≤ 1 2 (H-2)\delta_0\le\frac{1}{2} ( H − 2 ) δ 0 ≤ 2 1 by the range of η \eta η . Every episode starts at s 0 s_0 s 0 . The reward is R ∗ ( g , ⋅ ) = 1 R^*(g,\cdot)=1 R ∗ ( g , ⋅ ) = 1 and R ∗ = 0 R^*=0 R ∗ = 0 elsewhere. From s 0 s_0 s 0 either action leads to u A u_A u A or u B u_B u B with probability 1 2 \frac{1}{2} 2 1 each. From u A u_A u A , action a a a leads to g g g with probability 2 δ 0 2\delta_0 2 δ 0 and otherwise to u A u_A u A or u B u_B u B with probability 1 2 ( 1 − 2 δ 0 ) \frac{1}{2}(1-2\delta_0) 2 1 ( 1 − 2 δ 0 ) each, while action b b b leads to u A u_A u A or u B u_B u B with probability 1 2 \frac{1}{2} 2 1 each. The state u B u_B u B is the mirror image, with the roles of a a a and b b b exchanged. The state g g g is absorbing. The abstraction maps s 0 ↦ x 0 s_0\mapsto x_0 s 0 ↦ x 0 , { u A , u B } ↦ x 1 \{u_A,u_B\}\mapsto x_1 { u A , u B } ↦ x 1 and g ↦ x g g\mapsto x_g g ↦ x g , and thus X = 3 X=3 X = 3 .
Spreads. All states of the block { u A , u B } \{u_A,u_B\} { u A , u B } have reward 0 0 0 under both actions. Hence, η R ( ϕ ) = 0 \eta_R(\phi)=0 η R ( ϕ ) = 0 . Under action a a a , ϕ # P ∗ ( ⋅ ∣ u A , a ) \phi_{\#}P^*(\cdot\mid u_A,a) ϕ # P ∗ ( ⋅ ∣ u A , a ) puts mass 1 − 2 δ 0 1-2\delta_0 1 − 2 δ 0 on x 1 x_1 x 1 and 2 δ 0 2\delta_0 2 δ 0 on x g x_g x g , whereas ϕ # P ∗ ( ⋅ ∣ u B , a ) \phi_{\#}P^*(\cdot\mid u_B,a) ϕ # P ∗ ( ⋅ ∣ u B , a ) puts all its mass on x 1 x_1 x 1 . The two pushforwards are at ℓ 1 \ell_1 ℓ 1 distance 4 δ 0 = η 4\delta_0=\eta 4 δ 0 = η , under b b b as well. The other blocks are singletons. Hence η P ( ϕ ) = η \eta_P(\phi)=\eta η P ( ϕ ) = η and ϵ r e p ( ϕ ) = 1 2 H 2 η = 2 H 2 δ 0 \epsilon_{\mathrm{rep}}(\phi)=\frac{1}{2}H^2\eta=2H^2\delta_0 ϵ rep ( ϕ ) = 2 1 H 2 η = 2 H 2 δ 0 .
Values. Call { u A , u B } \{u_A,u_B\} { u A , u B } the pool. From the pool, the optimal ground policy, which plays a a a at u A u_A u A and b b b at u B u_B u B , enters g g g with probability r ∗ = 2 δ 0 r^*=2\delta_0 r ∗ = 2 δ 0 at every step. Consider any agent whose action at a pool step depends on the current state only through ϕ \phi ϕ , possibly at random and on the whole history. Every transition into the pool lands on u A u_A u A and u B u_B u B with equal probability, whatever the previous state and action, and everything the agent observes (abstract states, actions, rewards) has the same law under both. The current ground state is therefore uniform on { u A , u B } \{u_A,u_B\} { u A , u B } given the agent’s information, its action is the correct one with probability exactly 1 2 \frac{1}{2} 2 1 , and it enters g g g with probability r = 1 2 ⋅ 2 δ 0 = δ 0 r=\frac{1}{2}\cdot2\delta_0=\delta_0 r = 2 1 ⋅ 2 δ 0 = δ 0 at every pool step. From the pool with m m m transitions left, the value under an entry probability r r r is v ( m ; r ) = ∑ j = 1 m ( 1 − ( 1 − r ) j ) v(m;r)=\sum_{j=1}^{m}\left(1-(1-r)^j\right) v ( m ; r ) = ∑ j = 1 m ( 1 − ( 1 − r ) j ) , since g g g is absorbing and the agent is in g g g at the j j j -th subsequent step with probability 1 − ( 1 − r ) j 1-(1-r)^j 1 − ( 1 − r ) j . The episode spends step 1 at s 0 s_0 s 0 and step 2 in the pool. Hence, V 1 ∗ ( s 0 ) = v ( H − 2 ; 2 δ 0 ) V^*_1(s_0)=v(H-2;2\delta_0) V 1 ∗ ( s 0 ) = v ( H − 2 ; 2 δ 0 ) and V 1 π ( s 0 ) = v ( H − 2 ; δ 0 ) V^\pi_1(s_0)=v(H-2;\delta_0) V 1 π ( s 0 ) = v ( H − 2 ; δ 0 ) for every such agent’s policy π \pi π , and
G : = V 1 ∗ ( s 0 ) − V 1 π ( s 0 ) = ∑ j = 1 H − 2 [ ( 1 − δ 0 ) j − ( 1 − 2 δ 0 ) j ] . (33) G:=V^*_1(s_0)-V^\pi_1(s_0)=\sum_{j=1}^{H-2}\left[(1-\delta_0)^j-(1-2\delta_0)^j\right]. \tag*{(33)} G := V 1 ∗ ( s 0 ) − V 1 π ( s 0 ) = j = 1 ∑ H − 2 [ ( 1 − δ 0 ) j − ( 1 − 2 δ 0 ) j ] . (33)
Lower bound. Since 1 − 2 δ 0 ≤ ( 1 − δ 0 ) 2 1-2\delta_0 \le(1-\delta_0)^2 1 − 2 δ 0 ≤ ( 1 − δ 0 ) 2 , each summand is at least ( 1 − δ 0 ) j ( 1 − ( 1 − δ 0 ) j ) (1-\delta_0)^j(1-(1-\delta_0)^j) ( 1 − δ 0 ) j ( 1 − ( 1 − δ 0 ) j ) . For j ≤ H − 2 j \le H-2 j ≤ H − 2 we have j δ 0 ≤ 1 2 j\delta_0 \le\frac{1}{2} j δ 0 ≤ 2 1 , hence ( 1 − δ 0 ) j ≥ 1 − j δ 0 ≥ 1 2 (1-\delta_0)^j \ge1-j\delta_0 \ge\frac{1}{2} ( 1 − δ 0 ) j ≥ 1 − j δ 0 ≥ 2 1 and
1 − ( 1 − δ 0 ) j ≥ 1 − e − j δ 0 ≥ j δ 0 − 1 2 ( j δ 0 ) 2 ≥ 3 4 j δ 0 . 1-(1-\delta_0)^j \ge1-e^{-j\delta_0} \ge j\delta_0-\frac{1}{2}(j\delta_0)^2 \ge\frac{3}{4}j\delta_0. 1 − ( 1 − δ 0 ) j ≥ 1 − e − j δ 0 ≥ j δ 0 − 2 1 ( j δ 0 ) 2 ≥ 4 3 j δ 0 .
Each summand is thus at least 3 8 j δ 0 \frac{3}{8}j\delta_0 8 3 j δ 0 , and
G ≥ 3 8 δ 0 ∑ j = 1 H − 2 j = 3 16 δ 0 ( H − 2 ) ( H − 1 ) = 3 32 ϵ r e p ( ϕ ) ( H − 2 ) ( H − 1 ) H 2 ≥ 9 256 ϵ r e p ( ϕ ) ≥ ϵ r e p ( ϕ ) 32 . (34) \begin{aligned}
G \ge\frac{3}{8}\delta_0\sum_{j=1}^{H-2}j = \frac{3}{16}\delta_0(H-2)(H-1) \\
&= \frac{3}{32}\epsilon_{\mathrm{rep}}(\phi)\frac{(H-2)(H-1)}{H^2} \ge\frac{9}{256}\epsilon_{\mathrm{rep}}(\phi) \ge\frac{\epsilon_{\mathrm{rep}}(\phi)}{32}. \tag*{(34)}
\end{aligned} G ≥ 8 3 δ 0 j = 1 ∑ H − 2 j = 16 3 δ 0 ( H − 2 ) ( H − 1 ) = 32 3 ϵ rep ( ϕ ) H 2 ( H − 2 ) ( H − 1 ) ≥ 256 9 ϵ rep ( ϕ ) ≥ 32 ϵ rep ( ϕ ) . (34)
using that ( H − 2 ) ( H − 1 ) / H 2 = 1 − 3 / H + 2 / H 2 (H-2)(H-1)/H^2=1-3/H+2/H^2 ( H − 2 ) ( H − 1 ) / H 2 = 1 − 3/ H + 2/ H 2 is increasing for H ≥ 2 H \ge2 H ≥ 2 and equals 3 8 \frac{3}{8} 8 3 at H = 4 H=4 H = 4 . Every episode starts at s 0 s_0 s 0 and every admissible policy has the same value. Hence, R K = K G ≥ ϵ r e p ( ϕ ) K / 32 \mathcal{R}_K=KG\ge\epsilon_{\mathrm{rep}}(\phi)K/32 R K = K G ≥ ϵ rep ( ϕ ) K /32 for every agent in the class, deterministically.
Ground optimism. Since the ground MDP has S = 4 S=4 S = 4 and A = 2 A=2 A = 2 , Theorem 6 gives
R K ≤ 30 H L 8 K + 2500 ⋅ 32 H 2 L 2 + 4 H 3 / 2 K L = O ~ ( H T ) . \mathcal{R}_K \le30HL\sqrt{8K}+2500\cdot32H^2L^2+4H^{3/2}\sqrt{KL}=\widetilde{O}(H\sqrt{T}). R K ≤ 30 H L 8 K + 2500 ⋅ 32 H 2 L 2 + 4 H 3/2 K L = O ( H T ) .
The Price of an Unstructured Class and Proof of Corollary 1
Corollary 1 (Minimax price of a fixed abstraction). For X ≥ 4 X\ge4 X ≥ 4 and 0 < ϵ ˉ ≤ H 0<\bar{\epsilon}\le H 0 < ϵ ˉ ≤ H , let C ( X , ϵ ˉ ) \mathcal{C}(X,\bar{\epsilon}) C ( X , ϵ ˉ ) contain the episodic MDPs with A = 2 A=2 A = 2 and an abstraction ϕ \phi ϕ onto X X X blocks with ϵ r e p ( ϕ ) ≤ ϵ ˉ \epsilon_{\mathrm{rep}}(\phi)\le\bar{\epsilon} ϵ rep ( ϕ ) ≤ ϵ ˉ . For H ≥ 4 H\ge4 H ≥ 4 and K ≥ X K\ge X K ≥ X , every agent that observes the state only through ϕ \phi ϕ has
sup C ( X , ϵ ˉ ) E R K ≥ ϵ ˉ K / 64 + H X T / 600. \sup_{\mathcal{C}(X,\bar{\epsilon})}\mathbb{E}\mathcal{R}_K \ge\bar{\epsilon}K/64+\sqrt{HXT}/600. C ( X , ϵ ˉ ) sup E R K ≥ ϵ ˉ K /64 + H X T /600. UCBVI-CH on ϕ \phi ϕ attains O ( ϵ ˉ K ) + O ~ ( H X T ) O(\bar{\epsilon}K)+\widetilde{O}(H\sqrt{XT}) O ( ϵ ˉ K ) + O ( H X T ) with probability 1 − δ 1-\delta 1 − δ for T ≥ H 4 X 3 A T\ge H^4X^3A T ≥ H 4 X 3 A .
The corollary combines two lower bounds. The representation term ϵ ˉ K \bar{\epsilon}K ϵ ˉ K comes from Proposition 2, whose abstraction merges two states whose best actions differ. An agent that acts through it cannot tell them apart and errs at one of them in every episode. The exploration term H X T \sqrt{HXT} H X T comes from Proposition 3 below, applied with S = X S=X S = X and the identity as the abstraction. Its MDPs differ only in which action is better at each state, and every agent must test both actions at every state to find out. The proposition is stated for an unknown decoder because it also gives the lower bound of row 14 of Table 1 for learned abstractions. The upper bound matches the representation term up to a constant and the exploration term up to H \sqrt{H} H and logarithmic factors.
Proposition 3 (The price of an unstructured abstraction). For every H ≥ 3 H\ge3 H ≥ 3 , S ≥ 4 S\ge4 S ≥ 4 , and K ≥ S K\ge S K ≥ S there is a family C u \mathcal{C}_u C u of MDPs with S S S states and A = 2 A=2 A = 2 actions, each a realizable block MDP with at most five latent states, latent rewards, and separated latent states, whose decoders range over all assignments of S − 3 S-3 S − 3 ground states to two latent states, such that every agent has max M ∈ C u E M R K ≥ H S T / 300 \max_{M\in\mathcal{C}_u}\mathbb{E}_M\mathcal{R}_K\ge\sqrt{HST}/300 max M ∈ C u E M R K ≥ H S T /300 . Furthermore, an agent that knows the decoder in advance has regret O ~ ( H T ) \widetilde{O}(H\sqrt{T}) O ( H T ) , and UCBVI on the ground states O ~ ( H S T ) \widetilde{O}(\sqrt{HST}) O ( H S T ) for T ≥ H 3 S 3 T\ge H^3S^3 T ≥ H 3 S 3 and S ≥ H / 2 S\ge H/2 S ≥ H /2 .
Each of the S − 3 S-3 S − 3 ground states u i u_i u i carries an unknown label σ i \sigma_i σ i that decides which action is better there (cf. Jaksch et al., [37 ] ). Under a uniform prior over labellings, the labels are independent. Data observed at u i u_i u i therefore carry no information about σ j \sigma_j σ j for j ≠ i j \ne i j = i , and every agent must test both actions at every u i u_i u i . As a block MDP, the family has the class of all labellings as its candidate class, ln ∣ Φ ∣ = ( S − 3 ) ln 2 \ln|\Phi|=(S-3)\ln2 ln ∣Φ∣ = ( S − 3 ) ln 2 , and Theorem 5 matches the lower bound in S S S and T T T .
Proof of Proposition 3. The family. Let S ′ : = S − 3 ≥ 1 S' := S-3 \ge1 S ′ := S − 3 ≥ 1 , S = { s 0 , u 1 , … , u S ′ , g , z } \mathcal{S}=\{s_0,u_1,\ldots,u_{S'},g,z\} S = { s 0 , u 1 , … , u S ′ , g , z } , and A = { 1 , 2 } \mathcal{A}=\{1,2\} A = { 1 , 2 } . Every episode starts at s 0 s_0 s 0 . For a labelling σ ∈ { − 1 , + 1 } S ′ \sigma\in\{-1,+1\}^{S'} σ ∈ { − 1 , + 1 } S ′ , both actions lead from s 0 s_0 s 0 to a uniformly random u i u_i u i . At u i u_i u i , action 1 leads to g g g with probability 1 2 + σ i ε \frac{1}{2}+\sigma_i\varepsilon 2 1 + σ i ε and to z z z otherwise, and action 2 leads to g g g with probability 1 2 − σ i ε \frac{1}{2}-\sigma_i\varepsilon 2 1 − σ i ε and to z z z otherwise. The states g g g and z z z are absorbing, R ∗ ( g , ⋅ ) = 1 R^*(g,\cdot)=1 R ∗ ( g , ⋅ ) = 1 , and R ∗ = 0 R^*=0 R ∗ = 0 elsewhere, with ε ∈ ( 0 , 1 4 ] \varepsilon\in(0,\frac{1}{4}] ε ∈ ( 0 , 4 1 ] fixed below. The latent states are s 0 s_0 s 0 , g g g , z z z , and those of u + u^+ u + and u − u^- u − whose blocks are nonempty, so that X ≤ 5 X\le5 X ≤ 5 . The decoder maps u i u_i u i to u σ i u^{\sigma_i} u σ i and every other state to itself, the emission of u ± u^\pm u ± is uniform over its block, and the latent rows of u + u^+ u + and u − u^- u − differ by 4 ε 4\varepsilon 4 ε in ℓ 1 \ell_1 ℓ 1 under either action. Every member of the family is therefore a realizable block MDP with X ≤ 5 X\le5 X ≤ 5 , latent rewards, and separated latent states. As σ \sigma σ varies, the decoder ranges over all labellings of u 1 , … , u S ′ u_1,\ldots,u_{S'} u 1 , … , u S ′ .
Regret. From step 3 on the agent is in g g g or z z z , where its actions do not matter. An episode’s value thus depends only on the action taken at the state u i u_i u i visited at step 2. The action matching σ i \sigma_i σ i enters g g g with probability 1 2 + ε \frac{1}{2}+\varepsilon 2 1 + ε , the other with probability 1 2 − ε \frac{1}{2}-\varepsilon 2 1 − ε , and each of the remaining H − 2 H-2 H − 2 steps in g g g yields reward 1. Hence
V 1 ∗ ( s 0 ) − V 1 π k ( s 0 ) = 2 ε ( H − 2 ) S ′ ∑ i ≤ S ′ π k ( wrong action ∣ u i ) . V_1^*(s_0)-V_1^{\pi^k}(s_0)=\frac{2\varepsilon(H-2)}{S'}\sum_{i\le S'}\pi^k(\text{wrong action}\mid u_i). V 1 ∗ ( s 0 ) − V 1 π k ( s 0 ) = S ′ 2 ε ( H − 2 ) i ≤ S ′ ∑ π k ( wrong action ∣ u i ) .
where π k ( wrong action ∣ u i ) \pi^k(\text{wrong action}\mid u_i) π k ( wrong action ∣ u i ) is the probability that the agent’s policy for episode k k k plays, at a step-2 visit of u i u_i u i , the action that does not match σ i \sigma_i σ i .
A Bayesian lower bound. Draw σ \sigma σ uniformly. The number N i ( k ) N_i(k) N i ( k ) of visits to u i u_i u i before episode k k k is Binomial ( k − 1 , 1 / S ′ ) \operatorname{Binomial}(k-1,1/S') Binomial ( k − 1 , 1/ S ′ ) , independent of σ \sigma σ and of the agent, and the labels are independent across i i i . Recode each outcome observed at u i u_i u i as ω = 1 { g } \omega=1\{g\} ω = 1 { g } after action 1 and ω = 1 { z } \omega=1\{z\} ω = 1 { z } after action 2. Whatever actions the agent takes, the recoded outcomes are i.i.d. Bernoulli ( 1 2 + σ i ε ) \operatorname{Bernoulli}(\frac{1}{2}+\sigma_i\varepsilon) Bernoulli ( 2 1 + σ i ε ) given σ i \sigma_i σ i , and the likelihood of the whole history depends on σ i \sigma_i σ i only through them. Given the history before episode k k k , the agent’s policy is fixed up to its own randomisation. It therefore plays the wrong action at u i u_i u i with conditional probability at least min ( q i , 1 − q i ) \min(q_i,1-q_i) min ( q i , 1 − q i ) , where q i q_i q i is the posterior probability of σ i = + 1 \sigma_i=+1 σ i = + 1 . Given N i ( k ) = j N_i(k)=j N i ( k ) = j , the expectation of min ( q i , 1 − q i ) \min(q_i,1-q_i) min ( q i , 1 − q i ) is the Bayes error of testing σ i \sigma_i σ i from j j j recoded outcomes,
1 2 ( 1 − TV ( Ber ( 1 2 + ε ) ⊗ j , Ber ( 1 2 − ε ) ⊗ j ) ) . \frac{1}{2}\left(1-\operatorname{TV}\left(\operatorname{Ber}\left(\frac{1}{2}+\varepsilon\right)^{\otimes j},\operatorname{Ber}\left(\frac{1}{2}-\varepsilon\right)^{\otimes j}\right)\right). 2 1 ( 1 − TV ( Ber ( 2 1 + ε ) ⊗ j , Ber ( 2 1 − ε ) ⊗ j ) ) .
By Pinsker’s inequality and Eq. (37) ,
TV ≤ j 2 D K L ( Ber ( 1 2 + ε ) ∥ Ber ( 1 2 − ε ) ) ≤ j 2 ⋅ 4 ε 2 1 4 − ε 2 ≤ ε 32 j 3 . (35) \operatorname{TV}\le\sqrt{\frac{j}{2}D_{\mathrm{KL}}\left(\operatorname{Ber}\left(\frac{1}{2}+\varepsilon\right)\mathbin\Vert\operatorname{Ber}\left(\frac{1}{2}-\varepsilon\right)\right)}
\le\sqrt{\frac{j}{2}\cdot\frac{4\varepsilon^2}{\frac{1}{4}-\varepsilon^2}}
\le\varepsilon\sqrt{\frac{32j}{3}}. \tag*{(35)} TV ≤ 2 j D KL ( Ber ( 2 1 + ε ) ∥ Ber ( 2 1 − ε ) ) ≤ 2 j ⋅ 4 1 − ε 2 4 ε 2 ≤ ε 3 32 j . (35)
Let J : = ⌊ 2 K / S ′ ⌋ J:=\lfloor2K/S'\rfloor J := ⌊ 2 K / S ′ ⌋ and ε : = 3 / ( 128 J ) \varepsilon:=\sqrt{3/(128J)} ε := 3/ ( 128 J ) , which is at most 1 4 \frac{1}{4} 4 1 . For j ≤ J j\le J j ≤ J the total variation is then at most 1 2 \frac{1}{2} 2 1 and the Bayes error at least 1 4 \frac{1}{4} 4 1 . By Markov’s inequality, P ( N i ( k ) ≤ J ) ≥ P ( Bin ( K , 1 / S ′ ) ≤ 2 K / S ′ ) ≥ 1 2 \mathbb{P}(N_i(k)\le J)\ge\mathbb{P}(\operatorname{Bin}(K,1/S')\le2K/S')\ge\frac{1}{2} P ( N i ( k ) ≤ J ) ≥ P ( Bin ( K , 1/ S ′ ) ≤ 2 K / S ′ ) ≥ 2 1 for every k ≤ K k\le K k ≤ K . Summing over i i i and k k k ,
E R K ≥ 2 ε ( H − 2 ) S ′ ∑ i ≤ S ′ ∑ k ≤ K 1 4 ⋅ 1 2 = ε ( H − 2 ) K 4 . \mathbb{E}\mathcal{R}_K\ge\frac{2\varepsilon(H-2)}{S'}\sum_{i\le S'}\sum_{k\le K}\frac{1}{4}\cdot\frac{1}{2}=\frac{\varepsilon(H-2)K}{4}. E R K ≥ S ′ 2 ε ( H − 2 ) i ≤ S ′ ∑ k ≤ K ∑ 4 1 ⋅ 2 1 = 4 ε ( H − 2 ) K .
Since K ≥ S ′ K \ge S' K ≥ S ′ , we have J ≤ 3 K / S ′ J \le3K/S' J ≤ 3 K / S ′ and ε ≥ S ′ / ( 128 K ) \varepsilon\ge\sqrt{S'/(128K)} ε ≥ S ′ / ( 128 K ) , which yields R K ≥ ( H − 2 ) S ′ K / ( 32 2 ) \mathfrak{R}_{K} \ge(H-2)\sqrt{S'K}/(32\sqrt{2}) R K ≥ ( H − 2 ) S ′ K / ( 32 2 ) . With K = T / H K = T/H K = T / H , ( H − 2 ) / H ≥ H / 3 (H-2)/\sqrt{H} \ge\sqrt{H}/3 ( H − 2 ) / H ≥ H /3 for H ≥ 3 H \ge3 H ≥ 3 , and S ′ ≥ S / 4 S' \ge S/4 S ′ ≥ S /4 for S ≥ 4 S \ge4 S ≥ 4 , this is at least H S T / ( 192 2 ) ≥ H S T / 300 \sqrt{HST}/(192\sqrt{2}) \ge\sqrt{HST}/300 H S T / ( 192 2 ) ≥ H S T /300 , and some σ \sigma σ attains at least the average.
Upper bounds. An agent that knows σ \sigma σ runs UCBVI-CH on the at most five latent states, an exact abstraction with X ≤ 5 X \le5 X ≤ 5 and A = 2 A = 2 A = 2 . By Theorem 1(a) with ϵ r e p = 0 \epsilon_{\mathrm{rep}} = 0 ϵ rep = 0 , its regret is O ( H L T + H 3 L 2 + H 2 L ln T ) = O ~ ( H T ) O(HL\sqrt{T} + H^{3}L^{2} + H^{2}L\ln T) = \widetilde{O}(H\sqrt{T}) O ( H L T + H 3 L 2 + H 2 L ln T ) = O ( H T ) for T ≥ H 4 T \ge H^{4} T ≥ H 4 . UCBVI-BF on the ground states has the regret of Theorem 6 with A = 2 A = 2 A = 2 , O ~ ( H S T ) \widetilde{O}(\sqrt{HST}) O ( H S T ) for T ≥ H 3 S 3 T \ge H^{3}S^{3} T ≥ H 3 S 3 and 2 S ≥ H 2S \ge H 2 S ≥ H .
Proof of Corollary 1. The class C ( X , ε ˉ ) C(X,\bar{\varepsilon}) C ( X , ε ˉ ) contains two hard instances. The first is the MDP of Proposition 2 with η : = 2 ε ˉ / H 2 \eta:= 2\bar{\varepsilon}/H^{2} η := 2 ε ˉ / H 2 , so that ϵ r e p ( ϕ ) = 1 2 H 2 η = ε ˉ \epsilon_{\mathrm{rep}}(\phi) = \frac{1}{2}H^{2}\eta= \bar{\varepsilon} ϵ rep ( ϕ ) = 2 1 H 2 η = ε ˉ and ( H − 2 ) η ≤ 2 (H-2)\eta\le2 ( H − 2 ) η ≤ 2 because ε ˉ ≤ H \bar{\varepsilon} \le H ε ˉ ≤ H , padded with X − 3 X-3 X − 3 unreachable singleton blocks. On it every agent that acts through ϕ \phi ϕ has R K ≥ ε ˉ K / 32 \mathfrak{R}_{K} \ge\bar{\varepsilon}K/32 R K ≥ ε ˉ K /32 . The second is the family above with S = X S = X S = X and ϕ \phi ϕ the identity, so that ϵ r e p ( ϕ ) = 0 \epsilon_{\mathrm{rep}}(\phi) = 0 ϵ rep ( ϕ ) = 0 . Its proof never uses that the agent cannot see the states, since the labels σ \sigma σ remain unknown. Every agent therefore has E R K ≥ H X T / 300 \mathbb{E}\mathfrak{R}_{K} \ge\sqrt{HXT}/300 E R K ≥ H X T /300 on some member. Hence
sup C ( X , ε ˉ ) E R K ≥ max { ε ˉ K / 32 , H X T / 300 } ≥ ε ˉ K / 64 + H X T / 600. \sup_{C(X,\bar{\varepsilon})} \mathbb{E}\mathfrak{R}_{K} \ge\max\{\bar{\varepsilon}K/32,\sqrt{HXT}/300\} \ge\bar{\varepsilon}K/64 + \sqrt{HXT}/600. C ( X , ε ˉ ) sup E R K ≥ max { ε ˉ K /32 , H X T /300 } ≥ ε ˉ K /64 + H X T /600.
The upper bound is Theorem 1(a) with A = 2 A = 2 A = 2 and ϵ r e p ( ϕ ) ≤ ε ˉ \epsilon_{\mathrm{rep}}(\phi) \le\bar{\varepsilon} ϵ rep ( ϕ ) ≤ ε ˉ , whose lower-order terms are dominated by H L X A T HL\sqrt{XAT} H L X A T for T ≥ H 4 X 3 A T \ge H^{4}X^{3}A T ≥ H 4 X 3 A .
The crossover horizon. On every MDP with S A ≥ H SA \ge H S A ≥ H , UCBVI-BF on the ground states has regret at most 30 H L S A K + 2500 H 2 S 2 A L 2 + 4 H 3 / 2 K L 30HL\sqrt{SAK} + 2500H^{2}S^{2}AL^{2} + 4H^{3/2}\sqrt{KL} 30 H L S A K + 2500 H 2 S 2 A L 2 + 4 H 3/2 K L (Theorem 6, with its logarithmic factor L L L ). Each of these terms is at most ε ˉ K / 192 \bar{\varepsilon}K/192 ε ˉ K /192 as soon as T ≥ T ∗ ( ϕ ) : = c H 3 S A L 2 ( ε ˉ − 2 + S ε ˉ − 1 ) T \ge T^{*}(\phi) := cH^{3}SAL^{2}(\bar{\varepsilon}^{-2} + S\bar{\varepsilon}^{-1}) T ≥ T ∗ ( ϕ ) := c H 3 S A L 2 ( ε ˉ − 2 + S ε ˉ − 1 ) , for an absolute constant c c c , where the third term is handled by S A ≥ H SA \ge H S A ≥ H . Beyond T ∗ ( ϕ ) T^{*}(\phi) T ∗ ( ϕ ) the ground bound is therefore below ε ˉ K / 64 \bar{\varepsilon}K/64 ε ˉ K /64 , the worst-case regret over C ( X , ε ˉ ) C(X,\bar{\varepsilon}) C ( X , ε ˉ ) of every agent acting through ϕ \phi ϕ , and acting through ϕ \phi ϕ is worse in the worst case. For T ≥ H 3 S 3 A L 2 T \ge H^{3}S^{3}AL^{2} T ≥ H 3 S 3 A L 2 the ground bound is at most c ′ H L S A K c'HL\sqrt{SAK} c ′ H L S A K . An abstraction can thus be competitive in the worst case only if ε ˉ ≤ 64 c ′ H 3 / 2 L S A / T \bar{\varepsilon} \le64c'H^{3/2}L\sqrt{SA/T} ε ˉ ≤ 64 c ′ H 3/2 L S A / T . Below T ∗ ( ϕ ) T^{*}(\phi) T ∗ ( ϕ ) , acting through the abstraction can be beneficial. The bound of Theorem 1(a) is smaller than that of UCBVI-CH on the ground states when ϵ r e p ( ϕ ) K ≲ H A T ( S − X ) \epsilon_{\mathrm{rep}}(\phi)K \lesssim H\sqrt{AT}(\sqrt{S}-\sqrt{X}) ϵ rep ( ϕ ) K ≲ H A T ( S − X ) . This comparison orders our guarantees rather than the regrets themselves.
Proofs for Section 3
Exact Identity and Bounds for Novelty
Let ρ = Dir ( α ) \rho= \operatorname{Dir}(\alpha) ρ = Dir ( α ) over m m m categories with α i > 0 \alpha_i > 0 α i > 0 , α ˉ = ∑ i α i \bar{\alpha} = \sum_i \alpha_i α ˉ = ∑ i α i , p ˉ = α / α ˉ \bar{p} = \alpha/\bar{\alpha} p ˉ = α / α ˉ , and B ∼ ρ B \sim\rho B ∼ ρ . For any mixture, the mutual information between the mixing variable and the outcome is the expected divergence of the outcome’s conditional law from its mean law. Hence, Novelty = E B ∼ ρ [ D K L ( B ∥ p ˉ ) ] = \mathbb{E}_{B\sim\rho}[D_{\mathrm{KL}}(B\mathbin\Vert\bar{p})] = E B ∼ ρ [ D KL ( B ∥ p ˉ )] . With the digamma function ψ \psi ψ , Lu and Van Roy [53 ] give the closed form
Novelty = ∑ i p ˉ i [ ψ ( α i + 1 ) − ln α i ] − [ ψ ( α ˉ + 1 ) − ln α ˉ ] . (36) \operatorname{Novelty} = \sum_i \bar{p}_i[\psi(\alpha_i+1)-\ln\alpha_i]-[\psi(\bar{\alpha}+1)-\ln\bar{\alpha}]. \tag*{(36)} Novelty = i ∑ p ˉ i [ ψ ( α i + 1 ) − ln α i ] − [ ψ ( α ˉ + 1 ) − ln α ˉ ] . (36)
Upper bound. For probability vectors p , q p,q p , q with q i > 0 q_i > 0 q i > 0 , the inequality ln u ≤ u − 1 \ln u \le u-1 ln u ≤ u − 1 at u = p i / q i u=p_i/q_i u = p i / q i gives the χ 2 \chi^2 χ 2 bound on the divergence,
D K L ( p ∥ q ) ≤ ∑ i p i ( p i q i − 1 ) = ∑ i ( p i − q i ) 2 q i . (37) D_{\mathrm{KL}}(p\mathbin\Vert q) \le\sum_i p_i\left(\frac{p_i}{q_i}-1\right)=\sum_i\frac{(p_i-q_i)^2}{q_i}. \tag*{(37)} D KL ( p ∥ q ) ≤ i ∑ p i ( q i p i − 1 ) = i ∑ q i ( p i − q i ) 2 . (37)
We apply it at p = B p = B p = B and q = p ˉ q = \bar{p} q = p ˉ and take expectations. With the Dirichlet variance Var ( B i ) = p ˉ i ( 1 − p ˉ i ) / ( α ˉ + 1 ) \operatorname{Var}(B_i) = \bar{p}_i(1 - \bar{p}_i)/(\bar{\alpha} + 1) Var ( B i ) = p ˉ i ( 1 − p ˉ i ) / ( α ˉ + 1 ) , we obtain Novelty ≤ ∑ i Var ( B i ) / p ˉ i = ( m − 1 ) / ( α ˉ + 1 ) \operatorname{Novelty} \le\sum_i \operatorname{Var}(B_i)/\bar{p}_i = (m - 1)/(\bar{\alpha} + 1) Novelty ≤ ∑ i Var ( B i ) / p ˉ i = ( m − 1 ) / ( α ˉ + 1 ) . For a row ρ h k ( x , a ) \rho_h^k(x, a) ρ h k ( x , a ) , α ˉ = n ˉ h k ( x , a ) \bar{\alpha} = \bar{n}_h^k(x, a) α ˉ = n ˉ h k ( x , a ) , which yields
Novelty ( x , a ) ≤ m − 1 n ˉ h k ( x , a ) + 1 at every count. (38) \operatorname{Novelty}(x, a) \le\frac{m - 1}{\bar{n}_h^k(x, a) + 1} \quad\text{at every count.} \tag*{(38)} Novelty ( x , a ) ≤ n ˉ h k ( x , a ) + 1 m − 1 at every count. (38)
Lower bound. If every category has α i ≥ 1 \alpha_i \ge1 α i ≥ 1 , as for posteriors with integer parameters, then
Novelty ≥ 2 m − 3 6 α ˉ ≥ m − 1 6 α ˉ ( m ≥ 2 ) . (39) \operatorname{Novelty} \ge\frac{2m - 3}{6\bar{\alpha}} \ge\frac{m - 1}{6\bar{\alpha}} \quad(m \ge2). \tag*{(39)} Novelty ≥ 6 α ˉ 2 m − 3 ≥ 6 α ˉ m − 1 ( m ≥ 2 ) . (39)
Indeed, the bounds ln ( z + 1 2 ) ≤ ψ ( z + 1 ) ≤ ln z + 1 / ( 2 z ) \ln(z + \frac{1}{2}) \le\psi(z + 1) \le\ln z + 1/(2z) ln ( z + 2 1 ) ≤ ψ ( z + 1 ) ≤ ln z + 1/ ( 2 z ) for z > 0 z > 0 z > 0 ([53 Lemma 16] ) give ψ ( α i + 1 ) − ln α i ≥ ln ( 1 + 1 / ( 2 α i ) ) ≥ 1 / ( 2 α i + 1 ) \psi(\alpha_i + 1) - \ln\alpha_i \ge\ln(1 + 1/(2\alpha_i)) \ge1/(2\alpha_i + 1) ψ ( α i + 1 ) − ln α i ≥ ln ( 1 + 1/ ( 2 α i )) ≥ 1/ ( 2 α i + 1 ) and ψ ( α ˉ + 1 ) − ln α ˉ ≤ 1 / ( 2 α ˉ ) \psi(\bar{\alpha} + 1) - \ln\bar{\alpha} \le1/(2\bar{\alpha}) ψ ( α ˉ + 1 ) − ln α ˉ ≤ 1/ ( 2 α ˉ ) . Eq. (36) then gives
Novelty ≥ 1 α ˉ ∑ i α i 2 α i + 1 − 1 2 α ˉ ≥ m 3 α ˉ − 1 2 α ˉ , \operatorname{Novelty} \ge\frac{1}{\bar{\alpha}}\sum_i \frac{\alpha_i}{2\alpha_i + 1} - \frac{1}{2\bar{\alpha}} \ge\frac{m}{3\bar{\alpha}} - \frac{1}{2\bar{\alpha}}, Novelty ≥ α ˉ 1 i ∑ 2 α i + 1 α i − 2 α ˉ 1 ≥ 3 α ˉ m − 2 α ˉ 1 ,
since α / ( 2 α + 1 ) ≥ 1 / 3 \alpha/(2\alpha+ 1) \ge1/3 α / ( 2 α + 1 ) ≥ 1/3 for α ≥ 1 \alpha\ge1 α ≥ 1 . Up to a factor 6, novelty is therefore the number of categories with mass, minus one, per unit of posterior mass.
Proof of Lemma 1
Proof. Fix ( x , a , h ) (x, a, h) ( x , a , h ) with visit count n n n and write ρ h k ( x , a ) = Dir ( α ) \rho_h^k(x, a) = \operatorname{Dir}(\alpha) ρ h k ( x , a ) = Dir ( α ) , α ˉ = n ˉ h k ( x , a ) = n ˉ = n + n 0 \bar{\alpha} = \bar{n}_h^k(x, a) = \bar{n} = n + n_0 α ˉ = n ˉ h k ( x , a ) = n ˉ = n + n 0 , p ˉ = α / α ˉ \bar{p} = \alpha/\bar{\alpha} p ˉ = α / α ˉ , and m ≤ X + 1 m \le X + 1 m ≤ X + 1 for the number of categories with α i > 0 \alpha_i > 0 α i > 0 .
( i ) (i) ( i ) . This follows from Eq. (38) (Appendix F.1) and m − 1 ≤ X m - 1 \le X m − 1 ≤ X . The bound involves only α ˉ \bar{\alpha} α ˉ . In particular, novelty does not depend on V ˉ h + 1 k \bar{V}_{h+1}^k V ˉ h + 1 k , which is what the rest of the proof turns on.
( i i ) (ii) ( ii ) . The quantile-gap bound of Lemma 2 is an upper bound of order H ℓ n ˉ − 1 / 2 H\sqrt{\ell}\,\bar{n}^{-1/2} H ℓ n ˉ − 1/2 , which we do not use in the other direction. Part (ii) replaces the matching lower bound by a statement about the lower tail of the deviation itself, which is what validity constrains. Since the abstraction is exact, in the standard model of the data as a table of independent samples drawn in advance for each row, the successors x 1 , x 2 , … x_1, x_2, \ldots x 1 , x 2 , … recorded at the row’s successive visits are i.i.d. draws from P ˉ ϕ ( ⋅ ∣ x , a ) \bar{P}_{\phi}(\cdot\mid x, a) P ˉ ϕ ( ⋅ ∣ x , a ) , whatever algorithm chooses when to visit the row. Fix n n n and set
Z j : = V ˉ ϕ , h + 1 ∗ ( x j ) − ( P ˉ ϕ V ˉ ϕ , h + 1 ∗ ) ( x , a ) , j = 1 , … , n . (40) Z_j := \bar{V}_{\phi,h+1}^*(x_j) - (\bar{P}_{\phi}\bar{V}_{\phi,h+1}^*)(x, a), \qquad j = 1, \ldots, n. \tag*{(40)} Z j := V ˉ ϕ , h + 1 ∗ ( x j ) − ( P ˉ ϕ V ˉ ϕ , h + 1 ∗ ) ( x , a ) , j = 1 , … , n . (40)
Because V ˉ ϕ , h + 1 ∗ \bar{V}_{\phi,h+1}^* V ˉ ϕ , h + 1 ∗ is a fixed function that does not depend on the data, the Z j Z_j Z j are i.i.d., mean zero, ∣ Z j ∣ ≤ H |Z_j| \le H ∣ Z j ∣ ≤ H , and E Z j 2 = σ V 2 \mathbb{E}Z_j^2 = \sigma_V^2 E Z j 2 = σ V 2 . The error of the empirical kernel of the first n n n samples is e n = n − 1 ∑ j ≤ n Z j e_n = n^{-1}\sum_{j \le n} Z_j e n = n − 1 ∑ j ≤ n Z j .
Expanding the fourth moment of a sum of independent centred variables, in which only the terms E Z j 4 \mathbb{E}Z_j^4 E Z j 4 and the 3 n ( n − 1 ) 3n(n - 1) 3 n ( n − 1 ) terms E Z i 2 Z j 2 \mathbb{E}Z_i^2Z_j^2 E Z i 2 Z j 2 survive,
E e n 4 = 1 n 4 ( n E Z 1 4 + 3 n ( n − 1 ) σ V 4 ) ≤ H 2 σ V 2 n 3 + 3 σ V 4 n 2 ≤ 4 σ V 4 n 2 , (41) \mathbb{E}e_n^4 = \frac{1}{n^4}\left(n\mathbb{E}Z_1^4 + 3n(n - 1)\sigma_V^4\right) \le\frac{H^2\sigma_V^2}{n^3} + \frac{3\sigma_V^4}{n^2} \le\frac{4\sigma_V^4}{n^2}, \tag*{(41)} E e n 4 = n 4 1 ( n E Z 1 4 + 3 n ( n − 1 ) σ V 4 ) ≤ n 3 H 2 σ V 2 + n 2 3 σ V 4 ≤ n 2 4 σ V 4 , (41)
using E Z 1 4 ≤ H 2 E Z 1 2 = H 2 σ V 2 \mathbb{E}Z_1^4 \le H^2\mathbb{E}Z_1^2 = H^2\sigma_V^2 E Z 1 4 ≤ H 2 E Z 1 2 = H 2 σ V 2 and, in the last step, σ V 2 ≥ ν H 2 \sigma_V^2 \ge\nu H^2 σ V 2 ≥ ν H 2 and n ν ≥ 1 n\nu\ge1 n ν ≥ 1 , so that H 2 / ( n σ V 2 ) ≤ 1 H^2/(n\sigma_V^2) \le1 H 2 / ( n σ V 2 ) ≤ 1 . Hölder’s inequality gives E e n 2 ≤ ( E ∣ e n ∣ ) 2 / 3 ( E e n 4 ) 1 / 3 \mathbb{E}e_n^2 \le(\mathbb{E}|e_n|)^{2/3}(\mathbb{E}e_n^4)^{1/3} E e n 2 ≤ ( E ∣ e n ∣ ) 2/3 ( E e n 4 ) 1/3 , hence E ∣ e n ∣ ≥ ( E e n 2 ) 3 / 2 / ( E e n 4 ) 1 / 2 ≥ σ V / ( 2 n ) \mathbb{E}|e_n| \ge(\mathbb{E}e_n^2)^{3/2}/(\mathbb{E}e_n^4)^{1/2} \ge\sigma_V/(2\sqrt{n}) E ∣ e n ∣ ≥ ( E e n 2 ) 3/2 / ( E e n 4 ) 1/2 ≥ σ V / ( 2 n ) . Since E e n = 0 \mathbb{E}e_n = 0 E e n = 0 , the negative part e n − : = max { − e n , 0 } e_n^- := \max\{-e_n, 0\} e n − := max { − e n , 0 } has $\mathbb{E}e_n^- = \frac{1}{2}\mathbb{E}|e_n| \ge σ V / ( 4 n ) \sigma_V/(4\sqrt{n}) σ V / ( 4 n ) , and E ( e n ) 2 ≤ E e n 2 = σ V 2 / n \mathbb{E}(e_n)^2 \le\mathbb{E}e_n^2 = \sigma_V^2/n E ( e n ) 2 ≤ E e n 2 = σ V 2 / n . The Paley–Zygmund inequality P ( e n ≥ 1 2 E e n ) ≥ 1 4 ( E e n ) 2 / E ( e n 2 ) \mathbb{P}(e_n \ge\frac{1}{2}\mathbb{E}e_n) \ge\frac{1}{4}(\mathbb{E}e_n)^2/\mathbb{E}(e_n^2) P ( e n ≥ 2 1 E e n ) ≥ 4 1 ( E e n ) 2 / E ( e n 2 ) therefore gives
P ( e n ≤ − σ V 8 n ) ≥ 1 64 . (42) \mathbb{P}\left(e_n \le-\frac{\sigma_V}{8\sqrt{n}}\right) \ge\frac{1}{64}. \tag*{(42)} P ( e n ≤ − 8 n σ V ) ≥ 64 1 . (42)
and σ V ≥ H ν \sigma_V \ge H\sqrt{\nu} σ V ≥ H ν gives the claim. Consequently, let b n b_n b n be any quantity, possibly computed from the same samples, with P ( b n ≥ − e n ) ≥ 1 − δ ′ \mathbb{P}(b_n \ge-e_n) \ge1-\delta' P ( b n ≥ − e n ) ≥ 1 − δ ′ . Then
P ( b n ≥ H ν 8 n ) ≥ P ( − e n ≥ H ν 8 n ) − P ( b n < − e n ) ≥ 1 64 − δ ′ , (43) \mathbb{P}\left(b_n \ge\frac{H\sqrt{\nu}}{8\sqrt{n}}\right) \ge\mathbb{P}\left(-e_n \ge\frac{H\sqrt{\nu}}{8\sqrt{n}}\right)-\mathbb{P}(b_n<-e_n) \ge\frac{1}{64}-\delta', \tag*{(43)} P ( b n ≥ 8 n H ν ) ≥ P ( − e n ≥ 8 n H ν ) − P ( b n < − e n ) ≥ 64 1 − δ ′ , (43)
which is positive when δ ′ < 1 64 \delta' < \frac{1}{64} δ ′ < 64 1 . A quantity that is below H ν / ( 8 n ) H\sqrt{\nu}/(8\sqrt{n}) H ν / ( 8 n ) almost surely is therefore not valid at count n n n . Comparing with (i), and using n ≤ n ˉ n \le\bar n n ≤ n ˉ ,
Novelty ( x , a ) ≤ X n ˉ + 1 < H ν 8 n ˉ ≤ H ν 8 n \operatorname{Novelty}(x,a) \le\frac{X}{\bar n+1} < \frac{H\sqrt{\nu}}{8\sqrt{\bar n}} \le\frac{H\sqrt{\nu}}{8\sqrt{n}} Novelty ( x , a ) ≤ n ˉ + 1 X < 8 n ˉ H ν ≤ 8 n H ν
as soon as n ˉ ≥ 64 X 2 / ( ν H 2 ) \bar n \ge64X^2/(\nu H^2) n ˉ ≥ 64 X 2 / ( ν H 2 ) , and in that regime novelty is of the order of the square of any valid width.
The posterior mean. After the first n n n samples, Bayes-UCBVI’s posterior mean is P ^ h k = ( n P ~ n + n 0 δ x E ) / n ˉ \widehat{P}^{k}_{h}=(n\widetilde{P}_n+n_0\delta_{x_E})/\bar n P h k = ( n P n + n 0 δ x E ) / n ˉ . With V ‾ ϕ , h + 1 ∗ \overline{V}^{*}_{\phi,h+1} V ϕ , h + 1 ∗ extended by its value r 0 ( H − h ) r_0(H-h) r 0 ( H − h ) at the pseudo-state, the shortfall of the posterior mean is
( P ‾ ϕ − P ^ h k ) V ‾ ϕ , h + 1 ∗ = − n n ˉ e n − n 0 n ˉ ( r 0 ( H − h ) − P ‾ ϕ V ‾ ϕ , h + 1 ∗ ) ≥ − n n ˉ e n − n 0 r 0 H n ˉ . (\overline{P}_{\phi}-\widehat{P}^{k}_{h})\overline{V}^{*}_{\phi,h+1}
=-\frac{n}{\bar n}e_n-\frac{n_0}{\bar n}\left(r_0(H-h)-\overline{P}_{\phi}\overline{V}^{*}_{\phi,h+1}\right)
\ge-\frac{n}{\bar n}e_n-\frac{n_0r_0H}{\bar n}. ( P ϕ − P h k ) V ϕ , h + 1 ∗ = − n ˉ n e n − n ˉ n 0 ( r 0 ( H − h ) − P ϕ V ϕ , h + 1 ∗ ) ≥ − n ˉ n e n − n ˉ n 0 r 0 H .
The pseudo-state shift is of novelty’s order, O ( ln T / n ˉ ) O(\ln T/\bar n) O ( ln T / n ˉ ) for n 0 = O ( ln T ) n_0=O(\ln T) n 0 = O ( ln T ) . Hence, on the event of (ii) the shortfall is still of order n ˉ − 1 / 2 \bar n^{-1/2} n ˉ − 1/2 once n ˉ \bar n n ˉ is large, and a valid width for the posterior mean must have this order as well.
Fixed versus data-dependent counts. The statement concerns a count n n n fixed in advance. At a count chosen by the data, the probability can be smaller. An agent that stops sampling the row as soon as its empirical error vanishes visits it a random number of times at which e n = 0 e_n=0 e n = 0 . Regret consequences therefore go through Theorem 2, which handles the agent’s adaptivity directly.
The variance condition. If V ‾ h + 1 k \overline{V}^{k}_{h+1} V h + 1 k is constant on the support of P ^ h k ( ⋅ ∣ x , a ) \widehat{P}^{k}_{h}(\cdot\mid x,a) P h k ( ⋅ ∣ x , a ) then V P ^ h k [ V ‾ h + 1 k ] = 0 \operatorname{V}_{\widehat{P}^{k}_{h}}[\overline{V}^{k}_{h+1}]=0 V P h k [ V h + 1 k ] = 0 , Lemma 2’s leading term vanishes and Δ h k ( x , a ) = O ( H n ˉ − 1 ) \Delta^{k}_{h}(x,a)=O(H\bar n^{-1}) Δ h k ( x , a ) = O ( H n ˉ − 1 ) , of strictly smaller order than n ˉ − 1 / 2 \bar n^{-1/2} n ˉ − 1/2 , while Novelty ( x , a ) \operatorname{Novelty}(x,a) Novelty ( x , a ) is unchanged by (i). At such a row both quantities are of order n ˉ − 1 \bar n^{-1} n ˉ − 1 . Part (ii) therefore needs the variance condition.
Proof of Theorem 2
We prove Theorem 2 in the following explicit form.
Proposition 4 (Explicit form of Theorem 2) Let an information-driven agent with n 0 n_0 n 0 , r 0 ≥ 1 r_0 \ge1 r 0 ≥ 1 , q q q , and λ \lambda λ act on an exact abstraction.
(a) Let q ∈ ( 1 2 , 1 ] q \in\left(\frac{1}{2},1\right] q ∈ ( 2 1 , 1 ] and λ ≥ 0 \lambda\ge0 λ ≥ 0 , and let N ⋆ N^\star N ⋆ be the smallest integer N N N with 4 λ N − q + n 0 r 0 / N ≤ 1 / ( 4 2 N ) 4\lambda N^{-q} + n_0r_0/N \le1/(4\sqrt{2N}) 4 λ N − q + n 0 r 0 / N ≤ 1/ ( 4 2 N ) . Then N ⋆ ≤ max { ( 32 2 λ ) 2 / ( 2 q − 1 ) , 128 n 0 2 r 0 2 } + 1 N^\star\le\max\{(32\sqrt{2}\lambda)^{2/(2q-1)},128n_0^2r_0^2\}+1 N ⋆ ≤ max {( 32 2 λ ) 2/ ( 2 q − 1 ) , 128 n 0 2 r 0 2 } + 1 . On the MDP of the proof below, with probability at least 1 24 \frac{1}{24} 24 1 , the agent plays the optimal action at most N ⋆ N^\star N ⋆ times in total, and E R K ≥ ( K − N ⋆ ) / ( 192 2 N ⋆ ) \mathbb{E}\mathcal{R}_K \ge(K-N^\star)/(192\sqrt{2N^\star}) E R K ≥ ( K − N ⋆ ) / ( 192 2 N ⋆ ) for every K K K .
(b) Let q ∈ ( 0 , 1 2 ) q \in\left(0,\frac{1}{2}\right) q ∈ ( 0 , 2 1 ) , 0 < λ ≤ r 0 / 2 0<\lambda\le r_0/2 0 < λ ≤ r 0 /2 , and K ≥ 16 ( max { n 0 , 4 1 / q } + 1 ) K \ge16(\max\{n_0,4^{1/q}\}+1) K ≥ 16 ( max { n 0 , 4 1/ q } + 1 ) . On the MDP of the proof below, whose gap depends on K K K , the regret satisfies R K ≥ min { K , ( 1 − ( 6 / 7 ) q ) λ K 1 − q / 32 } \mathcal{R}_K \ge\min\{K,(1-(6/7)^q)\lambda K^{1-q}/32\} R K ≥ min { K , ( 1 − ( 6/7 ) q ) λ K 1 − q /32 } .
The MDP of part (a) depends on n 0 n_0 n 0 , r 0 r_0 r 0 , q q q , and λ \lambda λ through N ⋆ N^\star N ⋆ , and on nothing else. If n 0 n_0 n 0 grows with K K K , as Bayes-UCBVI’s n 0 = ⌈ c n 0 + log 17 / 16 K ⌉ n_0=\lceil c_{n_0}+\log_{17/16}K\rceil n 0 = ⌈ c n 0 + log 17/16 K ⌉ does, then N ⋆ = O ( λ 2 / ( 2 q − 1 ) + ln 2 K ) N^\star=O(\lambda^{2/(2q-1)}+\ln^2K) N ⋆ = O ( λ 2/ ( 2 q − 1 ) + ln 2 K ) . Part (a) then gives E R K = Ω ( K / ln K ) \mathbb{E}\mathcal{R}_K=\Omega(K/\ln K) E R K = Ω ( K / ln K ) at constant λ \lambda λ and r 0 r_0 r 0 , on an MDP that depends on K K K .
Conventions. Throughout, the agent is the information-driven agent of § 3.2 on the exact abstraction. Its rows are therefore the ground rows and it uses R = R ⋆ R=R^\star R = R ⋆ . Its pseudo-state prior itself acts as a bonus of exponent one, since it inflates the posterior mean of the next-step value by at most n 0 r 0 H / n ˉ n_0r_0H/\bar n n 0 r 0 H / n ˉ , which is why n 0 r 0 n_0r_0 n 0 r 0 enters N ⋆ N^\star N ⋆ . We write Nov h ( x , a ) \operatorname{Nov}_h(x,a) Nov h ( x , a ) for the novelty of the row ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) , whose counts include the n 0 n_0 n 0 pseudo-counts on x E x_{\mathrm{E}} x E . A row whose only category with positive mass is x E x_{\mathrm{E}} x E has novelty zero, and a row with m m m such categories has novelty at most ( m − 1 ) / ( n ˉ + 1 ) (m-1)/(\bar n+1) ( m − 1 ) / ( n ˉ + 1 ) by Eq. (38) .
Proof of part (a). The instance. Let S = { s 0 , g , b , c } \mathcal{S}=\{s_0,g,b,c\} S = { s 0 , g , b , c } , A = { 1 , 2 } \mathcal{A}=\{1,2\} A = { 1 , 2 } and H = 2 H=2 H = 2 , and let every episode start at s 0 s_0 s 0 . Action 1 at s 0 s_0 s 0 (risky ) leads to g g g or b b b with probability 1 2 \frac{1}{2} 2 1 each, action 2 (safe ) leads to c c c , and g g g , b b b , c c c are absorbing under both actions. Rewards are R ⋆ ( s 0 , ⋅ ) = 0 R^\star(s_0,\cdot)=0 R ⋆ ( s 0 , ⋅ ) = 0 , R ⋆ ( g , ⋅ ) = 1 R^\star(g,\cdot)=1 R ⋆ ( g , ⋅ ) = 1 , R ⋆ ( b , ⋅ ) = 0 R^\star(b,\cdot)=0 R ⋆ ( b , ⋅ ) = 0 and R ⋆ ( c , ⋅ ) = 1 2 − Δ R^\star(c,\cdot)=\frac{1}{2}-\Delta R ⋆ ( c , ⋅ ) = 2 1 − Δ , with Δ : = 1 / ( 8 2 N ⋆ ) \Delta:=1/(8\sqrt{2N^\star}) Δ := 1/ ( 8 2 N ⋆ ) . The risky action is optimal with V 1 ⋆ ( s 0 ) = 1 2 V_1^\star(s_0)=\frac{1}{2} V 1 ⋆ ( s 0 ) = 2 1 , and every episode that plays safe costs Δ \Delta Δ .
The safe index never falls below 1 2 − Δ \frac{1}{2}-\Delta 2 1 − Δ . Since the epistemic term is nonnegative and V k , 3 ≡ 0 V_{k,3}\equiv0 V k , 3 ≡ 0 , V k , 2 ( c ) ≥ R ⋆ ( c , ⋅ ) = 1 2 − Δ V_{k,2}(c)\ge R^\star(c,\cdot)=\frac{1}{2}-\Delta V k , 2 ( c ) ≥ R ⋆ ( c , ⋅ ) = 2 1 − Δ , and the pseudo-state has value V k , 2 ( x E ) = r 0 ≥ 1 V_{k,2}(x_{\mathrm{E}})=r_0\ge1 V k , 2 ( x E ) = r 0 ≥ 1 . The posterior mean of the safe row averages these two values. Hence, Q k , 1 ( s 0 , 2 ) ≥ 1 2 − Δ Q_{k,1}(s_0,2)\ge\frac{1}{2}-\Delta Q k , 1 ( s 0 , 2 ) ≥ 2 1 − Δ , with or without a clamp at 2 r 0 2r_0 2 r 0 .
The risky index after N N N risky episodes. Let N g + N b = N N_g+N_b=N N g + N b = N count the risky episodes that reached g g g and b b b , and let μ ^ N = N g / N \hat\mu_N=N_g/N μ ^ N = N g / N . At step 2 = H 2=H 2 = H the next-step value vanishes, at the pseudo-state as well. For y ∈ { g , b } y\in\{g,b\} y ∈ { g , b } , the value V k , 2 ( y ) V_{k,2}(y) V k , 2 ( y ) is therefore at most R ⋆ ( y , ⋅ ) + λ max a Nov 2 ( y , a ) q R^\star(y,\cdot)+\lambda\max_a\operatorname{Nov}_2(y,a)^q R ⋆ ( y , ⋅ ) + λ max a Nov 2 ( y , a ) q . The row ( y , a , 2 ) (y,a,2) ( y , a , 2 ) records the self-loop at y y y . While unvisited, its novelty is zero, and once visited n ≥ 1 n\ge1 n ≥ 1 times, it has two categories and novelty in ( 0 , 1 / ( n + n 0 + 1 ) ] (0,1/(n+n_0+1)] ( 0 , 1/ ( n + n 0 + 1 )] . For λ > 0 \lambda>0 λ > 0 , the agent maximises λ Nov 2 ( y , ⋅ ) q \lambda\operatorname{Nov}_2(y,\cdot)^q λ Nov 2 ( y , ⋅ ) q at y y y and therefore keeps visiting the first row. (With a clamp and r 0 = 1 r_0=1 r 0 = 1 , the two indices at g g g may tie, but then V k , 2 ( g ) = 1 = R ⋆ ( g , ⋅ ) V_{k,2}(g)=1=R^\star(g,\cdot) V k , 2 ( g ) = 1 = R ⋆ ( g , ⋅ ) .) Hence
V k , 2 ( y ) ≤ R ⋆ ( y , ⋅ ) + λ ( N y + n 0 + 1 ) − q ≤ R ⋆ ( y , ⋅ ) + λ N y − q ( N y ≥ 1 ) . V_{k,2}(y)\le R^\star(y,\cdot)+\lambda(N_y+n_0+1)^{-q}\le R^\star(y,\cdot)+\lambda N_y^{-q}\qquad(N_y\ge1). V k , 2 ( y ) ≤ R ⋆ ( y , ⋅ ) + λ ( N y + n 0 + 1 ) − q ≤ R ⋆ ( y , ⋅ ) + λ N y − q ( N y ≥ 1 ) .
For λ = 0 \lambda=0 λ = 0 , the bound holds trivially. The risky row has at most three categories. Its own epistemic term is thus at most λ ( 2 / ( N + n 0 + 1 ) ) q ≤ 2 λ N − q \lambda(2/(N+n_0+1))^q\le2\lambda N^{-q} λ ( 2/ ( N + n 0 + 1 ) ) q ≤ 2 λ N − q . Its posterior mean puts mass n 0 / ( N + n 0 ) n_0/(N+n_0) n 0 / ( N + n 0 ) on the pseudo-state, whose value is r 0 r_0 r 0 . Therefore
Q k , 1 ( s 0 , 1 ) ≤ N g ( 1 + λ N g − q ) + N b λ N b − q + n 0 r 0 N + n 0 + 2 λ N − q ≤ μ ^ N + λ N g 1 − q + N b 1 − q N + n 0 r 0 N + 2 λ N − q ≤ μ ^ N + E N , (44) \begin{aligned}
Q_{k,1}(s_0,1)\le\frac{N_g(1+\lambda N_g^{-q})+N_b\lambda N_b^{-q}+n_0r_0}{N+n_0}+2\lambda N^{-q} \\
&\le\hat\mu_N+\lambda\frac{N_g^{1-q}+N_b^{1-q}}{N}+\frac{n_0r_0}{N}+2\lambda N^{-q}\le\hat\mu_N+E_N, \tag*{(44)}
\end{aligned} Q k , 1 ( s 0 , 1 ) ≤ N + n 0 N g ( 1 + λ N g − q ) + N b λ N b − q + n 0 r 0 + 2 λ N − q ≤ μ ^ N + λ N N g 1 − q + N b 1 − q + N n 0 r 0 + 2 λ N − q ≤ μ ^ N + E N , (44)
with E N : = 4 λ N − q + n 0 r 0 / N E_N := 4\lambda N^{-q} + n_0 r_0/N E N := 4 λ N − q + n 0 r 0 / N , using N y 1 − q ≤ N 1 − q N_y^{1-q} \le N^{1-q} N y 1 − q ≤ N 1 − q , valid for q ≤ 1 q \le1 q ≤ 1 , where a term with N y = 0 N_y = 0 N y = 0 is absent. The risky row and the rows at g g g and b b b receive data only in risky episodes. After the N N N -th risky episode, the bound therefore holds at every later episode until the agent plays risky again.
Lock-out. Draw ω 1 , ω 2 , … \omega_1,\omega_2,\ldots ω 1 , ω 2 , … i.i.d. Bernoulli( 1 2 ) (\frac{1}{2}) ( 2 1 ) in advance, and let the j j j -th risky episode reach g g g if and only if ω j = 1 \omega_j = 1 ω j = 1 . This does not change the law of the interaction. Let μ ^ N : = N − 1 ∑ j ≤ N ω j \hat{\mu}_N := N^{-1}\sum_{j\le N}\omega_j μ ^ N := N − 1 ∑ j ≤ N ω j , which equals N g / N N_g/N N g / N after N N N risky episodes, and let Z : = ( μ ^ N ⋆ − 1 2 ) 2 Z := (\hat{\mu}_{N^\star} - \frac{1}{2})^2 Z := ( μ ^ N ⋆ − 2 1 ) 2 . The centred outcomes ω j − 1 2 = ± 1 2 \omega_j - \frac{1}{2} = \pm\frac{1}{2} ω j − 2 1 = ± 2 1 give E Z = 1 / ( 4 N ⋆ ) \mathbb{E}Z = 1/(4N^\star) E Z = 1/ ( 4 N ⋆ ) and E Z 2 ≤ 3 / ( 16 ( N ⋆ ) 2 ) \mathbb{E}Z^2 \le3/(16(N^\star)^2) E Z 2 ≤ 3/ ( 16 ( N ⋆ ) 2 ) , as in the fourth-moment computation of Eq. (41) in Appendix F.2. The Paley–Zygmund inequality therefore gives P ( Z ≥ E Z / 2 ) ≥ 1 4 ( E Z ) 2 / E Z 2 ≥ 1 12 \mathbb{P}(Z \ge\mathbb{E}Z/2) \ge\frac{1}{4}(\mathbb{E}Z)^2/\mathbb{E}Z^2 \ge\frac{1}{12} P ( Z ≥ E Z /2 ) ≥ 4 1 ( E Z ) 2 / E Z 2 ≥ 12 1 . Since μ ^ N ⋆ − 1 2 \hat{\mu}_{N^\star} - \frac{1}{2} μ ^ N ⋆ − 2 1 is symmetric about zero, the event G : = { μ ^ N ⋆ ≤ 1 2 − 1 / ( 2 2 N ⋆ ) } G := \{\hat{\mu}_{N^\star} \le\frac{1}{2} - 1/(2\sqrt{2N^\star})\} G := { μ ^ N ⋆ ≤ 2 1 − 1/ ( 2 2 N ⋆ )} has probability at least 1 24 \frac{1}{24} 24 1 . On G G G , by the definition of N ⋆ N^\star N ⋆ ,
μ ^ N ⋆ + E N ⋆ ≤ 1 2 − 1 2 2 N ⋆ + 1 4 2 N ⋆ = 1 2 − 2 Δ < 1 2 − Δ . \hat{\mu}_{N^\star} + E_{N^\star} \le\frac{1}{2} - \frac{1}{2\sqrt{2N^\star}} + \frac{1}{4\sqrt{2N^\star}} = \frac{1}{2} - 2\Delta< \frac{1}{2} - \Delta. μ ^ N ⋆ + E N ⋆ ≤ 2 1 − 2 2 N ⋆ 1 + 4 2 N ⋆ 1 = 2 1 − 2Δ < 2 1 − Δ.
If the agent ever plays risky for the N ⋆ N^\star N ⋆ -th time, Eq. (44) and the bound on the safe index therefore show that it never plays risky again. On G G G , the agent plays risky at most N ⋆ N^\star N ⋆ times and safe at least K − N ⋆ K-N^\star K − N ⋆ times. Hence,
E R K ≥ P ( G ) ( K − N ⋆ ) Δ ≥ K − N ⋆ 192 2 N ⋆ . \mathbb{E}R_K \ge\mathbb{P}(G)(K-N^\star)\Delta\ge\frac{K-N^\star}{192\sqrt{2N^\star}}. E R K ≥ P ( G ) ( K − N ⋆ ) Δ ≥ 192 2 N ⋆ K − N ⋆ .
The bound on N ⋆ N^\star N ⋆ . The inequality 4 λ N − q ≤ 1 / ( 8 2 N ) 4\lambda N^{-q} \le1/(8\sqrt{2N}) 4 λ N − q ≤ 1/ ( 8 2 N ) holds once N q − 1 / 2 ≥ 32 2 λ N^{q-1/2} \ge32\sqrt{2}\lambda N q − 1/2 ≥ 32 2 λ , and n 0 r 0 / N ≤ 1 / ( 8 2 N ) n_0r_0/N \le1/(8\sqrt{2N}) n 0 r 0 / N ≤ 1/ ( 8 2 N ) holds once N ≥ 8 2 n 0 r 0 \sqrt{N} \ge8\sqrt{2}n_0r_0 N ≥ 8 2 n 0 r 0 . Together they give E N ≤ 1 / ( 4 2 N ) E_N \le1/(4\sqrt{2N}) E N ≤ 1/ ( 4 2 N ) . Every integer N ≥ max { ( 32 2 λ ) 2 / ( 2 q − 1 ) , 128 n 0 2 r 0 2 } N \ge\max\{(32\sqrt{2}\lambda)^{2/(2q-1)},128n_0^2r_0^2\} N ≥ max {( 32 2 λ ) 2/ ( 2 q − 1 ) , 128 n 0 2 r 0 2 } therefore satisfies the defining inequality, and N ⋆ N^\star N ⋆ obeys the stated bound. ■
Proof of part (b). Fix K K K . Let S = { s 0 , y } S=\{s_0,y\} S = { s 0 , y } and H = 2 H=2 H = 2 , let both actions lead from s 0 s_0 s 0 to the absorbing state y y y , and let R ⋆ ( s 0 , 1 ) = 1 2 R^\star(s_0,1)=\frac{1}{2} R ⋆ ( s 0 , 1 ) = 2 1 , R ⋆ ( s 0 , 2 ) = 1 2 − Δ R^\star(s_0,2)=\frac{1}{2}-\Delta R ⋆ ( s 0 , 2 ) = 2 1 − Δ and R ⋆ ( y , ⋅ ) = 0 R^\star(y,\cdot)=0 R ⋆ ( y , ⋅ ) = 0 , with
Δ : = min { 1 2 , Δ 0 } , Δ 0 : = 1 2 λ ( 3 K / 4 ) − q ( 1 − ( 6 / 7 ) q ) , \Delta:= \min\left\{\frac{1}{2},\Delta_0\right\},\qquad\Delta_0 := \frac{1}{2}\lambda(3K/4)^{-q}\left(1-(6/7)^q\right), Δ := min { 2 1 , Δ 0 } , Δ 0 := 2 1 λ ( 3 K /4 ) − q ( 1 − ( 6/7 ) q ) ,
so that R ⋆ ( s 0 , 2 ) ∈ [ 0 , 1 ] R^\star(s_0,2)\in[0,1] R ⋆ ( s 0 , 2 ) ∈ [ 0 , 1 ] . Every episode that plays action 2 costs Δ \Delta Δ . Both actions lead to y y y . They therefore share the value v : = V k , 2 ( y ) = λ max a Nov 2 ( y , a ) q ≤ λ 2 − q ≤ r 0 / 2 v:=V_{k,2}(y)=\lambda\max_a\operatorname{Nov}_2(y,a)^q\le\lambda2^{-q}\le r_0/2 v := V k , 2 ( y ) = λ max a Nov 2 ( y , a ) q ≤ λ 2 − q ≤ r 0 /2 . With n a n_a n a the count of the row ( s 0 , a , 1 ) (s_0,a,1) ( s 0 , a , 1 ) ,
Q k , 1 ( s 0 , a ) = R ⋆ ( s 0 , a ) + v + φ ( n a ) , φ ( n ) : = n 0 n + n 0 ( r 0 − v ) + λ Nov ( n ) q , Q_{k,1}(s_0,a)=R^\star(s_0,a)+v+\varphi(n_a),\qquad\varphi(n):=\frac{n_0}{n+n_0}(r_0-v)+\lambda\operatorname{Nov}(n)^q, Q k , 1 ( s 0 , a ) = R ⋆ ( s 0 , a ) + v + φ ( n a ) , φ ( n ) := n + n 0 n 0 ( r 0 − v ) + λ Nov ( n ) q ,
where Nov ( n ) \operatorname{Nov}(n) Nov ( n ) is the novelty of the two-category row with counts ( n , n 0 ) (n,n_0) ( n , n 0 ) . It is zero for n = 0 n=0 n = 0 , and for n ≥ 1 n\ge1 n ≥ 1 it lies between 1 / ( 6 ( n + n 0 ) ) 1/(6(n+n_0)) 1/ ( 6 ( n + n 0 )) and 1 / ( n + n 0 + 1 ) 1/(n+n_0+1) 1/ ( n + n 0 + 1 ) , by Eqs. (39) and (38) . A clamp at 2 r 0 2r_0 2 r 0 never binds, since Q k , 1 < 1 2 + r 0 + λ ≤ 2 r 0 Q_{k,1}<\frac{1}{2}+r_0+\lambda\le2r_0 Q k , 1 < 2 1 + r 0 + λ ≤ 2 r 0 . The agent plays action 2 only if φ ( n 2 ) − φ ( n 1 ) ≥ Δ \varphi(n_2)-\varphi(n_1)\ge\Delta φ ( n 2 ) − φ ( n 1 ) ≥ Δ , and action 1 only if φ ( n 2 ) − φ ( n 1 ) ≤ Δ \varphi(n_2)-\varphi(n_1)\le\Delta φ ( n 2 ) − φ ( n 1 ) ≤ Δ .
Let K 1 : = max { n 0 , 4 1 / q } + 1 K_1:=\max\{n_0,4^{1/q}\}+1 K 1 := max { n 0 , 4 1/ q } + 1 . Action 2 is played within the first ⌈ K 1 ⌉ \lceil K_1\rceil ⌈ K 1 ⌉ episodes. Indeed, while n 2 = 0 n_2=0 n 2 = 0 and n 1 ≥ K 1 − 1 n_1\ge K_1-1 n 1 ≥ K 1 − 1 , the bounds r 0 − v ≥ r 0 / 2 r_0-v\ge r_0/2 r 0 − v ≥ r 0 /2 , n 1 ≥ n 0 n_1\ge n_0 n 1 ≥ n 0 , λ ≤ r 0 / 2 \lambda\le r_0/2 λ ≤ r 0 /2 and n 1 − q ≤ 1 4 n_1^{-q}\le\frac{1}{4} n 1 − q ≤ 4 1 give
φ ( 0 ) − φ ( n 1 ) ≥ r 0 2 n 1 n 1 + n 0 − λ n 1 − q ≥ r 0 4 − r 0 8 > Δ , \varphi(0)-\varphi(n_1)\ge\frac{r_0}{2}\frac{n_1}{n_1+n_0}-\lambda n_1^{-q}\ge\frac{r_0}{4}-\frac{r_0}{8}>\Delta, φ ( 0 ) − φ ( n 1 ) ≥ 2 r 0 n 1 + n 0 n 1 − λ n 1 − q ≥ 4 r 0 − 8 r 0 > Δ ,
since Δ ≤ λ ( 1 − ( 6 / 7 ) q ) / 2 < r 0 / 8 \Delta\le\lambda(1-(6/7)^q)/2<r_0/8 Δ ≤ λ ( 1 − ( 6/7 ) q ) /2 < r 0 /8 . Now let K ≥ 16 K 1 K\ge16K_1 K ≥ 16 K 1 , and suppose that n 2 < K / 16 n_2<K/16 n 2 < K /16 after K K K episodes. Then action 1 was played more than 15 K / 16 15K/16 15 K /16 times. At its last play, which comes after the first play of action 2, the counts satisfy n 1 ≥ 7 K / 8 n_1 \ge7K/8 n 1 ≥ 7 K /8 and 1 ≤ n 2 < K / 16 1 \le n_2 < K/16 1 ≤ n 2 < K /16 . Since the first part of φ \varphi φ is nonincreasing and n 0 ≤ K / 16 n_0 \le K/16 n 0 ≤ K /16 , we attain
φ ( n 2 ) − φ ( n 1 ) ≥ λ [ ( 6 ( n 2 + n 0 ) ) − q − ( n 1 + n 0 + 1 ) − q ] ≥ λ [ ( 3 K 4 ) − q − ( 7 K 8 ) − q ] = 2 Δ 0 ≥ 2 Δ , \varphi(n_2)-\varphi(n_1) \ge\lambda\left[(6(n_2+n_0))^{-q}-(n_1+n_0+1)^{-q}\right]
\ge\lambda\left[\left(\frac{3K}{4}\right)^{-q}-\left(\frac{7K}{8}\right)^{-q}\right]=2\Delta_0\ge2\Delta, φ ( n 2 ) − φ ( n 1 ) ≥ λ [ ( 6 ( n 2 + n 0 ) ) − q − ( n 1 + n 0 + 1 ) − q ] ≥ λ [ ( 4 3 K ) − q − ( 8 7 K ) − q ] = 2 Δ 0 ≥ 2Δ ,
and action 2 had the strictly larger index, a contradiction. Hence n 2 ≥ K / 16 n_2 \ge K/16 n 2 ≥ K /16 , and R K ≥ K Δ / 16 ≥ min { K , ( 1 − ( 6 / 7 ) q ) λ K 1 − q } / 32 \mathfrak{R}_K \ge K\Delta/16 \ge\min\{K,(1-(6/7)^q)\lambda K^{1-q}\}/32 R K ≥ K Δ/16 ≥ min { K , ( 1 − ( 6/7 ) q ) λ K 1 − q } /32 .
Exponent one half at a constant weight. The same mechanism locks out a bonus of exponent 1 2 \frac{1}{2} 2 1 , with a smaller but still K K K -independent probability. Take the instance of part (a) with R ∗ ( c , ⋅ ) = 1 4 R^*(c,\cdot)=\frac{1}{4} R ∗ ( c , ⋅ ) = 4 1 , n 0 = 1 n_0=1 n 0 = 1 , r 0 = 2 r_0=2 r 0 = 2 , q = 1 2 q=\frac{1}{2} q = 2 1 , and λ = 1 \lambda=1 λ = 1 . If the first 64 risky episodes all reach b b b , which has probability 2 − 64 2^{-64} 2 − 64 , the risky row has counts ( 64 , 1 ) (64,1) ( 64 , 1 ) on b b b and the pseudo-state, and the row at b b b has the same counts. The closed form of Eq. (36) then gives a risky index of 0.191 < 1 4 0.191<\frac{1}{4} 0.191 < 4 1 . The index stays there, since only risky episodes change it, whereas the safe index never falls below 1 4 \frac{1}{4} 4 1 . Hence E R K ≥ 2 − 64 ( K − 64 ) / 4 \mathbb{E}\mathfrak{R}_K\ge2^{-64}(K-64)/4 E R K ≥ 2 − 64 ( K − 64 ) /4 . A weight that grows with a confidence factor, as in calibrated AIF, makes the probability of such a run negligible.
A posterior-variance bonus. Replace Novelty by V B ∼ ρ [ B ⊤ V k , h + 1 ] V_{B\sim\rho}[B^\top V_{k,h+1}] V B ∼ ρ [ B ⊤ V k , h + 1 ] in the bonus λ Novelty q \lambda\operatorname{Novelty}^q λ Novelty q of Section 3.2. At step 2 = H 2=H 2 = H the next-step value vanishes, at the pseudo-state as well. This bonus is thus zero on every step-2 row and V k , 2 ( y ) = R ∗ ( y , ⋅ ) V_{k,2}(y)=R^*(y,\cdot) V k , 2 ( y ) = R ∗ ( y , ⋅ ) for y ∈ { g , b } y\in\{g,b\} y ∈ { g , b } . On the risky row, V k , 2 V_{k,2} V k , 2 takes values in [ 0 , r 0 ] [0,r_0] [ 0 , r 0 ] , and the Dirichlet covariance gives V B ∼ ρ [ B ⊤ V k , 2 ] = V ‾ p ˉ [ V k , 2 ] / ( N + n 0 + 1 ) ≤ r 0 2 / ( 4 N ) V_{B\sim\rho}[B^\top V_{k,2}]=\overline{V}_{\bar p}[V_{k,2}]/(N+n_0+1)\le r_0^2/(4N) V B ∼ ρ [ B ⊤ V k , 2 ] = V p ˉ [ V k , 2 ] / ( N + n 0 + 1 ) ≤ r 0 2 / ( 4 N ) . The safe index is still at least 1 2 − Δ \frac{1}{2}-\Delta 2 1 − Δ , since the bonus is nonnegative. The proof of part (a) therefore goes through with E N : = λ ( r 0 2 / 4 ) q N − q + n 0 r 0 / N E_N:=\lambda(r_0^2/4)^qN^{-q}+n_0r_0/N E N := λ ( r 0 2 /4 ) q N − q + n 0 r 0 / N in place of 4 λ N − q + n 0 r 0 / N 4\lambda N^{-q}+n_0r_0/N 4 λ N − q + n 0 r 0 / N , which replaces 32 2 λ 32\sqrt{2}\lambda 32 2 λ by 8 2 λ ( r 0 2 / 4 ) q 8\sqrt{2}\lambda(r_0^2/4)^q 8 2 λ ( r 0 2 /4 ) q in the bound on N ⋆ N^\star N ⋆ .
Extension to every H ≥ 2 H\ge2 H ≥ 2 . Prepend to either instance a deterministic chain of H − 2 H-2 H − 2 zero-reward states, through which both actions lead to the next chain state and finally to s 0 s_0 s 0 , so that the instance occupies steps H − 1 H-1 H − 1 and H H H . Every chain row has a single real successor. The agent’s choices on the chain therefore do not affect the trajectory. At steps H − 1 H-1 H − 1 and H H H the pseudo-state values r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) and the clamps equal those at steps 1 and 2 of the instance with H = 2 H=2 H = 2 , and the chain collects no reward. The arguments above use only the rows at steps H − 1 H-1 H − 1 and H H H . They therefore apply unchanged, with the same regret per episode.
Proof of Proposition 1
Proof. AIF and CaI sample a h k ∼ Q ( ⋅ ∣ x h k ) ∝ exp ( β Q k , h ( x h k , ⋅ ) ) a_h^k\sim Q(\cdot\mid x_h^k)\propto\exp(\beta Q_{k,h}(x_h^k,\cdot)) a h k ∼ Q ( ⋅ ∣ x h k ) ∝ exp ( β Q k , h ( x h k , ⋅ )) (Algorithm 1). Their planning values lie in [ 0 , r 0 ( H − h + 1 ) ] [0,r_0(H-h+1)] [ 0 , r 0 ( H − h + 1 )] . AIF caps the values Q k , h Q_{k,h} Q k , h that enter its softmax at τ 0 ( H − h + 1 ) \tau_0(H-h+1) τ 0 ( H − h + 1 ) , and its rewards and epistemic terms are nonnegative. CaI’s values satisfy 0 ≤ Q k , h ≤ 1 + max V k , h + 1 ≤ r 0 ( H − h + 1 ) 0\le Q_{k,h}\le1+\max V_{k,h+1}\le r_0(H-h+1) 0 ≤ Q k , h ≤ 1 + max V k , h + 1 ≤ r 0 ( H − h + 1 ) by backward induction. Indeed, the soft maximum β − 1 log ( ∑ a e β Q k , h ( x , a ) ) \beta^{-1}\log\left(\sum_a e^{\beta Q_{k,h}(x,a)}\right) β − 1 log ( ∑ a e β Q k , h ( x , a ) ) lies between the minimum and the maximum of its arguments, and r 0 ≥ 1 r_0\ge1 r 0 ≥ 1 . Every action therefore has probability at least 1 / ( 1 + ( A − 1 ) e β r 0 H ) ≥ e − β r 0 H / A 1/(1+(A-1)e^{\beta r_0H})\ge e^{-\beta r_0H}/A 1/ ( 1 + ( A − 1 ) e β r 0 H ) ≥ e − β r 0 H / A . The floor depends on the prior only through r 0 r_0 r 0 . It therefore holds for every n 0 n_0 n 0 , including Bayes-UCBVI’s n 0 = Θ ( ln K ) n_0=\Theta(\ln K) n 0 = Θ ( ln K ) . Let s 1 s_1 s 1 be a state with an action a a a of gap Δ : = V 1 ∗ ( s 1 ) − Q 1 ∗ ( s 1 , a ) > 0 \Delta:=V_1^*(s_1)-Q_1^*(s_1,a)>0 Δ := V 1 ∗ ( s 1 ) − Q 1 ∗ ( s 1 , a ) > 0 . By the performance-difference lemma [43 ] , for every possibly randomised policy π \pi π , with V h π ( s ) = ∑ a π h ( a ∣ s ) Q h π ( s , a ) V_h^\pi(s)=\sum_a\pi_h(a\mid s)Q_h^\pi(s,a) V h π ( s ) = ∑ a π h ( a ∣ s ) Q h π ( s , a ) ,
V 1 ∗ ( s 1 ) − V 1 π ( s 1 ) = E π [ ∑ h = 1 H ( V h ∗ ( s h ) − Q h ∗ ( s h , a h ) ) ] ≥ π 1 ( a ∣ s 1 ) Δ , V_1^*(s_1)-V_1^\pi(s_1)=\mathbb{E}^\pi\left[\sum_{h=1}^{H}\left(V_h^*(s_h)-Q_h^*(s_h,a_h)\right)\right]\ge\pi_1(a\mid s_1)\Delta, V 1 ∗ ( s 1 ) − V 1 π ( s 1 ) = E π [ h = 1 ∑ H ( V h ∗ ( s h ) − Q h ∗ ( s h , a h ) ) ] ≥ π 1 ( a ∣ s 1 ) Δ ,
since every summand is nonnegative. The policy of episode k k k is fixed by the planning values computed before the episode and plays every action at s 1 k s^k_1 s 1 k with probability at least e − β r 0 H / A e^{-\beta r_0 H}/A e − β r 0 H / A . Each episode whose start state s 1 k s^k_1 s 1 k has an action with gap at least Δ \Delta Δ therefore costs at least Δ e − β r 0 H / A \Delta e^{-\beta r_0 H}/A Δ e − β r 0 H / A , and E R K ≥ K Δ e − β r 0 H / A \mathbb{E}\mathcal{R}_K \ge K\Delta e^{-\beta r_0 H}/A E R K ≥ K Δ e − β r 0 H / A when every start state has one. The argument uses the reward only through 0 ≤ R ^ ϕ k ≤ 1 0 \le\widehat{R}^k_\phi\le1 0 ≤ R ϕ k ≤ 1 . It therefore also holds when a goal R k : X × A → [ 0 , 1 ] R_k:\mathcal{X}\times\mathcal{A}\to[0,1] R k : X × A → [ 0 , 1 ] replaces R ^ ϕ k \widehat{R}^k_\phi R ϕ k in the backup, with the gaps taken under R k R_k R k , whatever the adversary does.
AIF’s State Term
Proposition 5 (AIF’s state term is a bias) Under exact perception, AIF’s state term is H [ Q ( x τ ∣ π ) ] ≤ ln ( X + 1 ) \mathbb{H}[Q(x_\tau\mid\pi)] \le\ln(X+1) H [ Q ( x τ ∣ π )] ≤ ln ( X + 1 ) . For an exact abstraction, one step ahead, it converges to the entropy of the true next-state law as counts grow and does not vanish unless that law is deterministic. For every H ≥ 2 H \ge2 H ≥ 2 , Δ ∈ ( 0 , 1 ] \Delta\in(0,1] Δ ∈ ( 0 , 1 ] , J ≥ 2 J \ge2 J ≥ 2 and β \beta β with β Δ < ln J \beta\Delta< \ln J β Δ < ln J , there is an MDP with S = J + 2 S=J+2 S = J + 2 and A = 2 A=2 A = 2 on which the following holds for AIF that is given P ∗ P^* P ∗ and R ∗ R^* R ∗ . AIF prefers a branch that loses ( H − 1 ) Δ (H-1)\Delta ( H − 1 ) Δ per episode. Its policy posterior over plans under a uniform plan prior and its per-step softmax put mass above 1 2 \frac{1}{2} 2 1 on that branch, and its greedy rule plays it. Hence E R K ≥ K ( H − 1 ) Δ / 2 \mathbb{E}\mathcal{R}_K \ge K(H-1)\Delta/2 E R K ≥ K ( H − 1 ) Δ/2 .
Proof of Proposition 5. The closed form. Under exact perception the emission A ϕ A_\phi A ϕ has disjoint supports, which makes Q ( x τ ∣ s τ , π ) Q(x_\tau\mid s_\tau,\pi) Q ( x τ ∣ s τ , π ) a point mass and H [ Q ( x τ ∣ s τ , π ) ] = 0 \mathbb{H}[Q(x_\tau\mid s_\tau,\pi)]=0 H [ Q ( x τ ∣ s τ , π )] = 0 . Hence
I Q ( x τ ; s τ ∣ π ) = H [ Q ( x τ ∣ π ) ] − E Q ( s τ ∣ π ) H [ Q ( x τ ∣ s τ , π ) ] = H [ Q ( x τ ∣ π ) ] ≤ ln ( X + 1 ) , I_Q(x_\tau;s_\tau\mid\pi)=\mathbb{H}[Q(x_\tau\mid\pi)]-\mathbb{E}_{Q(s_\tau\mid\pi)}\mathbb{H}[Q(x_\tau\mid s_\tau,\pi)]=\mathbb{H}[Q(x_\tau\mid\pi)]\le\ln(X+1), I Q ( x τ ; s τ ∣ π ) = H [ Q ( x τ ∣ π )] − E Q ( s τ ∣ π ) H [ Q ( x τ ∣ s τ , π )] = H [ Q ( x τ ∣ π )] ≤ ln ( X + 1 ) ,
the X X X abstract states and the pseudo-state being the only categories. At a single step from ( x , a ) (x,a) ( x , a ) the predicted law is the posterior mean P ^ h k ( ⋅ ∣ x , a ) \widehat{P}^k_h(\cdot\mid x,a) P h k ( ⋅ ∣ x , a ) , which, for an exact abstraction, converges almost surely to P ‾ ϕ ( ⋅ ∣ x , a ) \overline{P}_\phi(\cdot\mid x,a) P ϕ ( ⋅ ∣ x , a ) as the row’s count grows. Its entropy, E B H [ B ] + Novelty \mathbb{E}_B\mathbb{H}[B]+\text{Novelty} E B H [ B ] + Novelty by Eq. (3) , converges to that of the true transition law. This limit is a property of the MDP that does not depend on the counts, and it is positive unless that law is deterministic.
The instance. Let S = { s 0 , c , n 1 , … , n J } S=\{s_0,c,n_1,\ldots,n_J\} S = { s 0 , c , n 1 , … , n J } , with S = J + 2 S=J+2 S = J + 2 , and A = { a c , a n } A=\{a_c,a_n\} A = { a c , a n } , with ϕ \phi ϕ the identity (an exact abstraction). From s 0 s_0 s 0 , action a c a_c a c leads to c c c and action a n a_n a n to a uniformly random state of { n 1 , … , n J } \{n_1,\ldots,n_J\} { n 1 , … , n J } . The state c c c is absorbing, and every n i n_i n i leads to a uniformly random state of { n 1 , … , n J } \{n_1,\ldots,n_J\} { n 1 , … , n J } under both actions. Rewards are R ∗ ( s 0 , ⋅ ) = 0 R^*(s_0,\cdot)=0 R ∗ ( s 0 , ⋅ ) = 0 , R ∗ ( c , ⋅ ) = 1 R^*(c,\cdot)=1 R ∗ ( c , ⋅ ) = 1 and R ∗ ( n i , ⋅ ) = 1 − Δ R^*(n_i,\cdot)=1-\Delta R ∗ ( n i , ⋅ ) = 1 − Δ . Every episode starts at s 0 s_0 s 0 . Every plan that plays a c a_c a c first is optimal and collects V 1 ∗ ( s 0 ) = H − 1 V^*_1(s_0)=H-1 V 1 ∗ ( s 0 ) = H − 1 . Any plan that plays a n a_n a n first collects ( H − 1 ) ( 1 − Δ ) (H-1)(1-\Delta) ( H − 1 ) ( 1 − Δ ) and loses ( H − 1 ) Δ (H-1)\Delta ( H − 1 ) Δ .
AIF’s policy posterior. Give AIF the true kernel and rewards, so that its B B B -posterior is a point mass and novelty vanishes. Actions after the first affect neither the predicted states nor the predicted rewards. The expected free energy of Eq. (2) , summed over the predicted rewards r 2 , … , r H r_2,\ldots,r_H r 2 , … , r H and the predicted states x 2 , … , x H + 1 x_2,\ldots,x_{H+1} x 2 , … , x H + 1 , therefore depends on a plan only through its first action. Up to a common constant,
G ( plan starting with a c ) = − ( H − 1 ) β , \mathcal{G}(\text{plan starting with }a_c)=-(H-1)\beta, G ( plan starting with a c ) = − ( H − 1 ) β ,
G ( plan starting with a n ) = − ( H − 1 ) β ( 1 − Δ ) − H ln J , \mathcal{G}(\text{plan starting with }a_n)=-(H-1)\beta(1-\Delta)-H\ln J, G ( plan starting with a n ) = − ( H − 1 ) β ( 1 − Δ ) − H ln J ,
since the predicted state is c c c with certainty on the first branch and uniform on { n 1 , … , n J } \{n_1,\ldots,n_J\} { n 1 , … , n J } on the second. The second is smaller whenever ( H − 1 ) β Δ < H ln J (H-1)\beta\Delta< H\ln J ( H − 1 ) β Δ < H ln J , in particular whenever β Δ < ln J \beta\Delta< \ln J β Δ < ln J . Since the two branches contain equally many plans, under a uniform prior over plans the policy posterior Q ( π ) ∝ P ( π ) e − G ( π ) Q(\pi)\propto P(\pi)e^{-\mathcal{G}(\pi)} Q ( π ) ∝ P ( π ) e − G ( π ) places mass ( 1 + e − ( H ln J − ( H − 1 ) β Δ ) ) − 1 > 1 2 (1+e^{-(H\ln J-(H-1)\beta\Delta)})^{-1}>\frac{1}{2} ( 1 + e − ( H l n J − ( H − 1 ) β Δ ) ) − 1 > 2 1 on the second branch. AIF’s per-step rules. With the recursion of Eq. (4) , Ψ k , h ( x , a ) = β − 1 H [ P ∗ ( ⋅ ∣ x , a ) ] \Psi_{k,h}(x,a)=\beta^{-1}\operatorname{H}[P^*(\cdot\mid x,a)] Ψ k , h ( x , a ) = β − 1 H [ P ∗ ( ⋅ ∣ x , a )] , and the clamp at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) , backward induction over h h h gives, since r 0 ≥ 1 r_0\ge1 r 0 ≥ 1 , V k , h ( c ) = H − h + 1 V_{k,h}(c)=H-h+1 V k , h ( c ) = H − h + 1 and V k , h ( n i ) ≥ min { r 0 ( H − h + 1 ) , ( H − h + 1 ) ( 1 − Δ + β − 1 ln J ) } V_{k,h}(n_i)\ge\min\{r_0(H-h+1),(H-h+1)(1-\Delta+\beta^{-1}\ln J)\} V k , h ( n i ) ≥ min { r 0 ( H − h + 1 ) , ( H − h + 1 ) ( 1 − Δ + β − 1 ln J )} . Hence, whenever β Δ < ln J \beta\Delta<\ln J β Δ < ln J ,
Q k , 1 ( s 0 , a n ) ≥ min { r 0 H , V k , 2 ( n 1 ) + β − 1 ln J } > H − 1 = Q k , 1 ( s 0 , a c ) , Q_{k,1}(s_0,a_n)\ge\min\{r_0H,V_{k,2}(n_1)+\beta^{-1}\ln J\}>H-1=Q_{k,1}(s_0,a_c), Q k , 1 ( s 0 , a n ) ≥ min { r 0 H , V k , 2 ( n 1 ) + β − 1 ln J } > H − 1 = Q k , 1 ( s 0 , a c ) ,
since the second argument of the minimum exceeds H − 1 H-1 H − 1 by at least min { β − 1 ln J , H β − 1 ln J − ( H − 1 ) Δ } > 0 \min\{\beta^{-1}\ln J,H\beta^{-1}\ln J-(H-1)\Delta\}>0 min { β − 1 ln J , H β − 1 ln J − ( H − 1 ) Δ } > 0 . Therefore, the per-step softmax puts mass above 1 2 \frac{1}{2} 2 1 on a n a_n a n , and the greedy rule plays it. After the first step the actions do not matter. Under each rule, each episode therefore loses ( H − 1 ) Δ (H-1)\Delta ( H − 1 ) Δ with probability above 1 2 \frac{1}{2} 2 1 , and ERK ≥ K ( H − 1 ) Δ / 2 \operatorname{ERK}\ge K(H-1)\Delta/2 ERK ≥ K ( H − 1 ) Δ/2 . We do not analyse the learning agent here. With its softmax, it still incurs linear regret by Proposition 1. CaI, which has no state term, prefers a c a_c a c at every β > 0 \beta>0 β > 0 .
The lower bounds for novelty (Theorem 2(a)) and for the state term (Proposition 5) use different instances, since on the instance of Theorem 2(a) the state term favours the risky action, which is optimal there.
The Novelty Budget
Proposition 6 (Novelty budget is poly-logarithmic). Let the rows ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) carry Bayes-UCBVI’s prior (Definition 3) on X \mathcal{X} X , as in Theorem 3. On any trajectory, whatever policy generated it, every row ( x , a , h ) (x,a,h) ( x , a , h ) satisfies
∑ k ≤ K : ( x k , h , a k , h ) = ( x , a ) Novelty h k ( x , a ) ≤ Γ ϕ ( 1 + ln K ) ≤ X ( 1 + ln K ) , \sum_{k\le K:(x_{k,h},a_{k,h})=(x,a)}\operatorname{Novelty}_h^k(x,a)\le\Gamma_\phi(1+\ln K)\le X(1+\ln K), k ≤ K : ( x k , h , a k , h ) = ( x , a ) ∑ Novelty h k ( x , a ) ≤ Γ ϕ ( 1 + ln K ) ≤ X ( 1 + ln K ) , with the branching number Γ ϕ \Gamma_\phi Γ ϕ of Theorem 3. Hence the novelty budget of Theorem 3(iii) satisfies
Γ T = ∑ k ≤ K , h ≤ H Novelty h k ( x k , h , a k , h ) ≤ Γ ϕ X A H ( 1 + ln K ) = O ( X 2 A H ln T ) . \Gamma_T=\sum_{k\le K,h\le H}\operatorname{Novelty}_h^k(x_{k,h},a_{k,h})\le\Gamma_\phi XAH(1+\ln K)=O(X^2AH\ln T). Γ T = k ≤ K , h ≤ H ∑ Novelty h k ( x k , h , a k , h ) ≤ Γ ϕ X A H ( 1 + ln K ) = O ( X 2 A H ln T ) .
Proof. Fix a posterior row ( x , a , h ) (x,a,h) ( x , a , h ) , and let m m m be the number of its categories with positive mass, as in Eq. (38) . These are the pseudo-state and the successors observed so far. Each observed successor lies in the support of some ϕ # P ∗ ( ⋅ ∣ s , a ) \phi_{\#}P^*(\cdot\mid s,a) ϕ # P ∗ ( ⋅ ∣ s , a ) with s ∈ ϕ − 1 ( x ) s\in\phi^{-1}(x) s ∈ ϕ − 1 ( x ) . Hence, m − 1 ≤ Γ ϕ m-1\le\Gamma_\phi m − 1 ≤ Γ ϕ . The row is visited at most once per episode, at step h h h , hence at most K K K times. If its j j j -th visit falls in episode k k k , its j − 1 j-1 j − 1 earlier visits fall in episodes 1 , … , k − 1 1,\ldots,k-1 1 , … , k − 1 . The posterior ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) therefore has total mass n ˉ h k ( x , a ) = j − 1 + n 0 \bar n_h^k(x,a)=j-1+n_0 n ˉ h k ( x , a ) = j − 1 + n 0 , and by Eq. (38) the novelty accrued at that visit is at most ( m − 1 ) / ( j + n 0 ) ≤ Γ ϕ / j (m-1)/(j+n_0)\le\Gamma_\phi/j ( m − 1 ) / ( j + n 0 ) ≤ Γ ϕ / j . Hence
∑ k ≤ K : ( x k , h , a k , h ) = ( x , a ) Novelty h k ( x , a ) ≤ Γ ϕ ∑ j = 1 K 1 j ≤ Γ ϕ ( 1 + ∫ 1 K d z z ) = Γ ϕ ( 1 + ln K ) . \sum_{k\le K:(x_{k,h},a_{k,h})=(x,a)}\operatorname{Novelty}_h^k(x,a)\le\Gamma_\phi\sum_{j=1}^{K}\frac{1}{j}\le\Gamma_\phi\left(1+\int_1^K\frac{dz}{z}\right)=\Gamma_\phi(1+\ln K). k ≤ K : ( x k , h , a k , h ) = ( x , a ) ∑ Novelty h k ( x , a ) ≤ Γ ϕ j = 1 ∑ K j 1 ≤ Γ ϕ ( 1 + ∫ 1 K z d z ) = Γ ϕ ( 1 + ln K ) .
Summing over the X A H XAH X A H rows gives the claim.
The budget thus grows only logarithmically in T T T . The term H L T Γ T H\sqrt{LT\Gamma_T} H L T Γ T of Theorem 3(iii) is therefore at most H 3 / 2 Γ ϕ X A T L ( 1 + ln K ) = O ~ ( H 3 / 2 Γ ϕ X A T ) H^{3/2}\sqrt{\Gamma_\phi XAT\,L(1+\ln K)}=\widetilde{O}(H^{3/2}\sqrt{\Gamma_\phi XAT}) H 3/2 Γ ϕ X A T L ( 1 + ln K ) = O ( H 3/2 Γ ϕ X A T ) , a factor Γ ϕ ( 1 + ln K ) \sqrt{\Gamma_\phi(1+\ln K)} Γ ϕ ( 1 + ln K ) above the leading term of Theorem 1(b). With rows pooled over h h h , as in the time-invariant B B B of Friston et al. [27 ] , whose parameters are updated at the end of each trial, a row can be visited up to H H H times under one posterior, and the argument gives Γ ϕ X A H ( 1 + ln T ) \Gamma_\phi XAH(1+\ln T) Γ ϕ X A H ( 1 + ln T ) . If the pooled posterior is instead updated after every transition, the same argument gives Γ ϕ X A ( 1 + ln T ) \Gamma_\phi XA(1+\ln T) Γ ϕ X A ( 1 + ln T ) .
Proofs of Lemma 7 and Theorem 3
Lemma 7 (A transportation inequality for novelty). For every Dirichlet posterior ρ \rho ρ with mean p ˉ \bar{p} p ˉ and every f f f ,
V B ∼ ρ [ B ⊤ f ] ≤ 1 2 span ( f ) 2 Novelty . \mathbb{V}_{B\sim\rho}[B^\top f] \le\frac{1}{2}\operatorname{span}(f)^2\operatorname{Novelty}. V B ∼ ρ [ B ⊤ f ] ≤ 2 1 span ( f ) 2 Novelty . Consequently, let ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) be a row, whose Dirichlet parameters are integers, and let 0 ≤ f ≤ f ( x E ) ≤ r 0 H 0 \le f \le f(x_{\mathrm{E}}) \le r_0H 0 ≤ f ≤ f ( x E ) ≤ r 0 H . Then Bayes-UCBVI’s quantile gap at f f f , Q p ∼ ρ h k ( x , a ) ( p ⊤ f , κ h k ( x , a ) ) − P ^ h k ( ⋅ ∣ x , a ) ⊤ f Q_{p\sim\rho_h^k(x,a)}(p^\top f, \kappa_h^k(x,a))-\widehat{P}_h^k(\cdot\mid x,a)^\top f Q p ∼ ρ h k ( x , a ) ( p ⊤ f , κ h k ( x , a )) − P h k ( ⋅ ∣ x , a ) ⊤ f (Lemma 2 with f f f in place of V ‾ h + 1 k \overline{V}_{h+1}^k V h + 1 k ), is at most
2 span ( f ) ℓ h k ( x , a ) Novelty ( x , a ) + 2 2 r 0 H ℓ h k ( x , a ) / n ˉ h k ( x , a ) . 2\operatorname{span}(f)\sqrt{\ell_h^k(x,a)\operatorname{Novelty}(x,a)}+2\sqrt{2}r_0H\ell_h^k(x,a)/\bar{n}_h^k(x,a). 2 span ( f ) ℓ h k ( x , a ) Novelty ( x , a ) + 2 2 r 0 H ℓ h k ( x , a ) / n ˉ h k ( x , a ) .
Proof of Lemma 7. Let B ∼ ρ B\sim\rho B ∼ ρ , and let c c c be the midpoint of the range of f f f on the support of p ˉ \bar{p} p ˉ , where span ( f ) : = max f − min f \operatorname{span}(f):=\max f-\min f span ( f ) := max f − min f is taken over all categories, the pseudo-state included. For every row ρ h k ( x , a ) \rho_h^k(x,a) ρ h k ( x , a ) this support contains x E x_{\mathrm{E}} x E . Hence, in Eq. (5) , the span of V h + 1 k , + V_{h+1}^{k,+} V h + 1 k , + includes V h + 1 k , + ( x E ) V_{h+1}^{k,+}(x_{\mathrm{E}}) V h + 1 k , + ( x E ) . Since B − p ˉ B-\bar{p} B − p ˉ sums to zero, B ⊤ f − p ˉ ⊤ f = ( B − p ˉ ) ⊤ ( f − c ) B^\top f-\bar{p}^\top f=(B-\bar{p})^\top(f-c) B ⊤ f − p ˉ ⊤ f = ( B − p ˉ ) ⊤ ( f − c ) , and ∣ f − c ∣ ≤ 1 2 span ( f ) \lvert f-c\rvert\le\frac{1}{2}\operatorname{span}(f) ∣ f − c ∣ ≤ 2 1 span ( f ) on the support, which yields
∣ B ⊤ f − p ˉ ⊤ f ∣ ≤ 1 2 span ( f ) ∥ B − p ˉ ∥ 1 ≤ span ( f ) D K L ( B ∥ p ˉ ) / 2 . \left|B^\top f-\bar{p}^\top f\right|\le\frac{1}{2}\operatorname{span}(f)\lVert B-\bar{p}\rVert_1\le\operatorname{span}(f)\sqrt{D_{\mathrm{KL}}(B\mathbin{\|}\bar{p})/2}. B ⊤ f − p ˉ ⊤ f ≤ 2 1 span ( f ) ∥ B − p ˉ ∥ 1 ≤ span ( f ) D KL ( B ∥ p ˉ ) /2 .
the second step being Pinsker’s inequality 1 2 ∥ B − p ˉ ∥ 1 ≤ D K L ( B ∥ p ˉ ) / 2 \frac{1}{2}\lVert B-\bar{p}\rVert_1\le\sqrt{D_{\mathrm{KL}}(B\mathbin{\|}\bar{p})/2} 2 1 ∥ B − p ˉ ∥ 1 ≤ D KL ( B ∥ p ˉ ) /2 (Boucheron et al. [11 ] ). Squaring and taking the expectation over ρ \rho ρ , whose mean is p ˉ \bar{p} p ˉ ,
V B ∼ ρ [ B ⊤ f ] ≤ 1 2 span ( f ) 2 E B ∼ ρ D K L ( B ∥ p ˉ ) = 1 2 span ( f ) 2 Novelty , \mathbb{V}_{B\sim\rho}[B^\top f]\le\frac{1}{2}\operatorname{span}(f)^2\mathbb{E}_{B\sim\rho}D_{\mathrm{KL}}(B\mathbin{\|}\bar{p})=\frac{1}{2}\operatorname{span}(f)^2\operatorname{Novelty}, V B ∼ ρ [ B ⊤ f ] ≤ 2 1 span ( f ) 2 E B ∼ ρ D KL ( B ∥ p ˉ ) = 2 1 span ( f ) 2 Novelty ,
by the identity Novelty = E B ∼ ρ [ D K L ( B ∥ p ˉ ) ] \operatorname{Novelty}=\mathbb{E}_{B\sim\rho}[D_{\mathrm{KL}}(B\mathbin{\|}\bar{p})] Novelty = E B ∼ ρ [ D KL ( B ∥ p ˉ )] (Appendix F.§ 1 ). For a Dirichlet posterior of total mass n ˉ \bar{n} n ˉ , the covariance of B B B is ( diag ( p ˉ ) − p ˉ p ˉ ⊤ ) / ( n ˉ + 1 ) (\operatorname{diag}(\bar{p})-\bar{p}\bar{p}^{\top})/(\bar{n}+1) ( diag ( p ˉ ) − p ˉ p ˉ ⊤ ) / ( n ˉ + 1 ) , which yields V B ∼ ρ [ B ⊤ f ] = V p ˉ [ f ] / ( n ˉ + 1 ) \mathbb{V}_{B\sim\rho}[B^\top f]=\mathbb{V}_{\bar{p}}[f]/(\bar{n}+1) V B ∼ ρ [ B ⊤ f ] = V p ˉ [ f ] / ( n ˉ + 1 ) and, for n ˉ ≥ 1 \bar{n}\ge1 n ˉ ≥ 1 ,
V p ˉ [ f ] n ˉ = n ˉ + 1 n ˉ V B ∼ ρ [ B ⊤ f ] ≤ span ( f ) 2 Novelty . (45) \frac{\mathbb{V}_{\bar{p}}[f]}{\bar{n}}=\frac{\bar{n}+1}{\bar{n}}\mathbb{V}_{B\sim\rho}[B^\top f]\le\operatorname{span}(f)^2\operatorname{Novelty}. \tag*{(45)} n ˉ V p ˉ [ f ] = n ˉ n ˉ + 1 V B ∼ ρ [ B ⊤ f ] ≤ span ( f ) 2 Novelty . (45)
Lemma C.8 of Tiapkin et al. [84 ] bounds, for a Dirichlet posterior with integer parameters and every f f f with 0 ≤ f ≤ f ( x E ) = b 0\le f\le f(x_{\mathrm{E}})=b 0 ≤ f ≤ f ( x E ) = b , the order-κ \kappa κ quantile of B ⊤ f B^\top f B ⊤ f by
p ˉ ⊤ f + 2 V p ˉ [ f ] ℓ / n ˉ + 2 2 b ℓ / n ˉ , ℓ = ln ( 1 / ( 1 − κ ) ) \bar{p}^\top f+2\sqrt{\mathbb{V}_{\bar{p}}[f]\ell/\bar{n}}+2\sqrt{2}b\ell/\bar{n},\qquad\ell=\ln(1/(1-\kappa)) p ˉ ⊤ f + 2 V p ˉ [ f ] ℓ / n ˉ + 2 2 b ℓ / n ˉ , ℓ = ln ( 1/ ( 1 − κ ))
(Appendix § 11 .§ 1 ). Every row has n ˉ ≥ n 0 ≥ 1 \bar{n}\ge n_0\ge1 n ˉ ≥ n 0 ≥ 1 , unvisited rows included. Substituting Eq. (45) and b ≤ r 0 H b\le r_0H b ≤ r 0 H gives the second claim.
Proof of Theorem 3(i)–(ii). Calibrated AIF clamps its values at r 0 ( H − h + 1 ) r_0(H-h+1) r 0 ( H − h + 1 ) , the value of the pseudo-state. Hence, 0 ≤ V h + 1 k , + ≤ V h + 1 k , + ( x E ) = r 0 ( H − h ) 0\le V_{h+1}^{k,+}\le V_{h+1}^{k,+}(x_{\mathrm{E}})=r_0(H-h) 0 ≤ V h + 1 k , + ≤ V h + 1 k , + ( x E ) = r 0 ( H − h ) , and its rows have integer parameters. Lemma 7 therefore applies at f = V h + 1 k , + f=V_{h+1}^{k,+} f = V h + 1 k , + , and Ψ k , h + \Psi_{k,h}^+ Ψ k , h + exceeds Bayes-UCBVI’s quantile gap at calibrated AIF’s own next-step values. Calibrated AIF is thus an agent of the form Eq. (32) to which Lemma 5 applies. On E o p t \mathcal{E}_{\mathrm{opt}} E opt it gives V k , h + ≥ V ϕ , h ∗ − ( H − h + 1 ) η V_{k,h}^+\ge V_{\phi,h}^*-(H-h+1)\eta V k , h + ≥ V ϕ , h ∗ − ( H − h + 1 ) η , which is optimism for an exact abstraction and V k , 1 + ≥ V ϕ , 1 ∗ − ϵ r e p ( ϕ ) V_{k,1}^+\ge V_{\phi,1}^*-\epsilon_{\mathrm{rep}}(\phi) V k , 1 + ≥ V ϕ , 1 ∗ − ϵ rep ( ϕ ) in general. For (ii), a row’s categories with positive mass are the pseudo-state and at most Γ ϕ \Gamma_\phi Γ ϕ observed successors (proof of Proposition 6). Hence, Eq. (38) gives Novelty ≤ Γ ϕ / ( n ˉ + 1 ) \operatorname{Novelty}\le\Gamma_\phi/(\bar{n}+1) Novelty ≤ Γ ϕ / ( n ˉ + 1 ) , and with span ( V h + 1 k , + ) ≤ r 0 H \operatorname{span}(V_{h+1}^{k,+})\le r_0H span ( V h + 1 k , + ) ≤ r 0 H ,
Ψ k , h + ≤ 2 r 0 H Γ ϕ ℓ n ˉ + 1 + 2 2 r 0 H ℓ / n ˉ = O ( H Γ ϕ ℓ / n ˉ + H ℓ / n ˉ ) . \Psi_{k,h}^+\le2r_0H\sqrt{\frac{\Gamma_\phi\ell}{\bar{n}+1}}+2\sqrt{2}r_0H\ell/\bar{n}=\mathcal{O}\left(H\sqrt{\Gamma_\phi\ell/\bar{n}}+H\ell/\bar{n}\right). Ψ k , h + ≤ 2 r 0 H n ˉ + 1 Γ ϕ ℓ + 2 2 r 0 H ℓ / n ˉ = O ( H Γ ϕ ℓ / n ˉ + H ℓ / n ˉ ) .
which is O ( H Γ ‾ ϕ ℓ / n ‾ ) O(H\sqrt{\overline{\Gamma}_{\phi}\ell/\overline{n}}) O ( H Γ ϕ ℓ / n ) for n ‾ ≥ ℓ \overline{n} \ge\ell n ≥ ℓ .
Proof of Theorem 3(iii). Lemma 6 applies with w k , h = Ψ k , h + w_{k,h}=\Psi_{k,h}^{+} w k , h = Ψ k , h + on E o p t ∩ E c o n c \mathcal{E}_{\mathrm{opt}}\cap\mathcal{E}_{\mathrm{conc}} E opt ∩ E conc . By span ( V k , h + 1 + ) ≤ r 0 H \operatorname{span}(V_{k,h+1}^{+})\le r_0H span ( V k , h + 1 + ) ≤ r 0 H and Cauchy–Schwarz,
∑ k , h 2 span ( V k , h + 1 + ) ϱ h k Novelty h k ≤ 2 r 0 H ℓ ‾ T ∑ k , h Novelty h k = 2 r 0 H ℓ ‾ T Γ T , \sum_{k,h}2\operatorname{span}(V_{k,h+1}^{+})\sqrt{\varrho_h^k\operatorname{Novelty}_h^k}\le2r_0H\sqrt{\overline{\ell}}\sqrt{T\sum_{k,h}\operatorname{Novelty}_h^k}=2r_0H\sqrt{\overline{\ell}T\Gamma_T}, k , h ∑ 2 span ( V k , h + 1 + ) ϱ h k Novelty h k ≤ 2 r 0 H ℓ T k , h ∑ Novelty h k = 2 r 0 H ℓ T Γ T ,
with ℓ h k \ell_h^k ℓ h k and novelty evaluated at ( x k , h , a k , h ) (x_{k,h},a_{k,h}) ( x k , h , a k , h ) and ℓ ‾ : = max k , h , x , a ℓ h k ( x , a ) \overline{\ell}:=\max_{k,h,x,a}\ell_h^k(x,a) ℓ := max k , h , x , a ℓ h k ( x , a ) as in the proof of Theorem 1(b). Moreover,
∑ k , h 2 2 r 0 H ℓ h k / n ‾ h k ≤ 2 2 r 0 H ℓ ‾ ℓ ‾ X A H ( 1 + ln K ) . \sum_{k,h}2\sqrt{2}r_0H\ell_h^k/\overline{n}_h^k\le2\sqrt{2}r_0H\overline{\ell}\overline{\ell}XAH(1+\ln K). k , h ∑ 2 2 r 0 H ℓ h k / n h k ≤ 2 2 r 0 H ℓ ℓ X A H ( 1 + ln K ) .
Proposition 6 gives Γ T ≤ Γ ϕ X A H ( 1 + ln K ) \Gamma_T\le\Gamma_{\phi}XAH(1+\ln K) Γ T ≤ Γ ϕ X A H ( 1 + ln K ) . The other terms of Lemma 6 are those of Theorem 1(b), and the failure probabilities sum to at most 19 20 δ \frac{19}{20}\delta 20 19 δ . With the logarithmic factor L = max { ι , ℓ ‾ , n 0 , 1 + ln K } L=\max\{\iota,\overline{\ell},n_0,1+\ln K\} L = max { ι , ℓ , n 0 , 1 + ln K } of Theorem 1, this is the stated bound. For T ≥ H 3 X 3 A T\ge H^3X^3A T ≥ H 3 X 3 A we have H 3 X 2 A ≤ H 3 / 2 X A T H^3X^2A\le H^{3/2}\sqrt{XAT} H 3 X 2 A ≤ H 3/2 X A T , and Γ T ≤ Γ ϕ X A H ( 1 + ln K ) \Gamma_T\le\Gamma_{\phi}XAH(1+\ln K) Γ T ≤ Γ ϕ X A H ( 1 + ln K ) gives the O ~ \widetilde{O} O form.
Why calibrated AIF’s bound exceeds Bayes-UCBVI’s. Our bound for calibrated AIF exceeds that of Theorem 1(b) for Bayes-UCBVI on ϕ \phi ϕ by Γ ϕ \sqrt{\Gamma_{\phi}} Γ ϕ , and the variance-aware bound of Theorem 1(c) for exact abstractions by H Γ ϕ \sqrt{H\Gamma_{\phi}} H Γ ϕ . The factor H \sqrt{H} H arises because the range of the next-step value V ‾ \overline{V} V (here V ‾ ϕ , h + 1 ∗ \overline{V}_{\phi,h+1}^{*} V ϕ , h + 1 ∗ or V k , h + 1 + V_{k,h+1}^{+} V k , h + 1 + ) stands in for its standard deviation. The variance-aware analysis sums its widths through the law of total variance, ∑ k , h V ‾ P ‾ ϕ [ V ‾ ϕ , h + 1 ] ≲ H 2 K = H T \sum_{k,h}\overline{V}_{\overline{P}_{\phi}}[\overline{V}_{\phi,h+1}]\lesssim H^2K=HT ∑ k , h V P ϕ [ V ϕ , h + 1 ] ≲ H 2 K = H T , against ∑ k , h H 2 = H 2 T \sum_{k,h}H^2=H^2T ∑ k , h H 2 = H 2 T for the range. A width proportional to the standard deviation of the value can exploit this. A width proportional to its range, or a width bounded through its range as in our direct analysis of Bayes-UCBVI (Appendix § 12 .§ 2 ), cannot. The factor Γ ϕ \sqrt{\Gamma_{\phi}} Γ ϕ arises because novelty is information about the whole row B B B , whereas only the projection B ⊤ V ‾ B^{\top}\overline{V} B ⊤ V enters the value, whose deviation is of order V ‾ p ‾ [ V ‾ ] / n ‾ \sqrt{\overline{V}_{\overline{p}}[\overline{V}]/\overline{n}} V p [ V ] / n . Replacing span ( V k , h + 1 + ) 2 Novelty \operatorname{span}(V_{k,h+1}^{+})^2\operatorname{Novelty} span ( V k , h + 1 + ) 2 Novelty by V ‾ p ‾ [ V k , h + 1 + ] / n ‾ \overline{V}_{\overline{p}}[V_{k,h+1}^{+}]/\overline{n} V p [ V k , h + 1 + ] / n in Eq. (5) , that is, undoing Eq. (45) , removes this factor and returns the leading term of Lemma 2. Information does not improve on counts here. By Eqs. (38) and (39) , ( m − 1 ) / ( 6 n ‾ ) ≤ Novelty ≤ ( m − 1 ) / ( n ‾ + 1 ) (m-1)/(6\overline{n})\le\operatorname{Novelty}\le(m-1)/(\overline{n}+1) ( m − 1 ) / ( 6 n ) ≤ Novelty ≤ ( m − 1 ) / ( n + 1 ) for a row with m m m categories of positive mass, the pseudo-state and m − 1 m-1 m − 1 observed successors. Hence the first term of Ψ k , h + \Psi_{k,h}^{+} Ψ k , h + is within constant factors of the count bonus span ( V k , h + 1 + ) ( m − 1 ) ℓ / n ‾ \operatorname{span}(V_{k,h+1}^{+})\sqrt{(m-1)\ell/\overline{n}} span ( V k , h + 1 + ) ( m − 1 ) ℓ / n , which counts the observed successors. That novelty concerns the whole row B B B rather than one projection also makes it uniform over value functions, which is what § 4 exploits.
Proofs for Section 4
We prove the results of § 4 in the order of their dependencies. Appendix § 16 .§ 1 shows that calibrated AIF with a uniform prior is optimistic for every goal at once and bounds its regret, the first claim of Theorem 4(c). Appendix § 16 .§ 2 proves that Bayes-UCBVI’s value-specific quantiles lock out under adaptive goals (Proposition 7), and that every index that is optimistic for all goals at once overestimates some goal (Lemma 8). Its ℓ 1 \ell_1 ℓ 1 argument underlies the lower bound for goal-memoryless agents, Theorem 4(b), in Appendix § 16 .§ 3 , which also shows which agents are goal-memoryless. Appendix § 16 .§ 4 collects the concentration tools of the lower bound for every agent, Theorem 4(a), which Appendix § 16 .§ 5 proves. Appendix § 16 .§ 6 gives agents that use past goals as data and attain this rate, Proposition 8 and the second claim of Theorem 4(c). Appendix § 16 .§ 7 treats goals fixed in advance, Theorem 4(d) and Proposition 9.
The Gaussian family. In the Gaussian family of § 4 , at start state i i i , action a a a reaches y 2 j − 1 y_{2j-1} y 2 j − 1 with probability ( 1 + ε θ ~ j ( i ) ) / ( 2 m ) (1+\varepsilon\tilde{\theta}^{(i)}_j)/(2m) ( 1 + ε θ ~ j ( i ) ) / ( 2 m ) and y 2 j y_{2j} y 2 j with probability ( 1 − ε θ ~ j ( i ) ) / ( 2 m ) (1-\varepsilon\tilde{\theta}^{(i)}_j)/(2m) ( 1 − ε θ ~ j ( i ) ) / ( 2 m ) . Here θ ( 1 ) , … , θ ( M ) \theta^{(1)},\ldots,\theta^{(M)} θ ( 1 ) , … , θ ( M ) are independent standard Gaussian vectors in R m \mathbb{R}^m R m , ε 2 = m M / ( 64 K ) \varepsilon^2=mM/(64K) ε 2 = m M / ( 64 K ) , and θ ~ \tilde{\theta} θ ~ clips θ \theta θ so that ε ∣ θ ~ j ∣ ≤ 1 2 \varepsilon|\tilde{\theta}_j|\le\frac{1}{2} ε ∣ θ ~ j ∣ ≤ 2 1 .
Proof overview. In both lower bounds, the goal asks the agent to compare P i g P_i g P i g with a value v v v . A goal-memoryless agent decides from its records and the current goal, and its records are functions of the samples at the current start state and of randomness independent of P i P_i P i (Lemma 10). Its decisions for all goals together therefore amount to an estimate of P i P_i P i in ℓ 1 \ell_1 ℓ 1 . This estimate errs by order Y / n \sqrt{Y/n} Y / n after n n n samples ([68 , 33 ] ). An adversary that knows P i P_i P i picks the goal on which the estimate errs, which gives part (b) (Lemma 9). Goals aligned with the agent’s errors, however, reveal P i P_i P i , and an agent that uses past goals as data learns from them. Against such an agent, the adversary of part (a) proceeds in about Y \sqrt{Y} Y phases at each start state (Appendix § 16 .§ 5 ). In each phase, it draws a goal direction uniformly from the directions along which the unknown θ ( i ) \theta^{(i)} θ ( i ) has a projection of order Y 1 / 4 Y^{1/4} Y 1/4 , restricted to the complement of all earlier directions and of the agent’s data. The reflection that flips the sign of this projection leaves the prior, the earlier goals, the probability of the adversary’s choice and the linear part of the data likelihood exactly unchanged. The sign therefore stays unknown until about K / Y K/\sqrt{Y} K / Y samples have resolved it, and every episode until then costs every agent a constant fraction of the projection’s value.
Throughout, ϕ \phi ϕ is exact. We work on the abstract MDP with kernel P : = P ‾ ϕ P := \overline{P}_{\phi} P := P ϕ , and on a row ( x , a , h ) (x,a,h) ( x , a , h ) the first n n n successors are i.i.d. draws from P ( ⋅ ∣ x , a ) P(\cdot\mid x,a) P ( ⋅ ∣ x , a ) , whatever the agent does, as in Appendix F.§ 2 .
Optimism for Every Goal and the First Claim of Theorem 4(c)
Novelty bounds every value function at once. For a Dirichlet posterior ρ \rho ρ with mean p ˉ \bar{p} p ˉ , Pinsker’s inequality gives
sup f : span ( f ) ≤ 1 ( B − p ˉ ) T f = 1 2 ∥ B − p ˉ ∥ 1 ≤ DKL ( B ∥ p ˉ ) / 2 , \sup_{f:\operatorname{span}(f)\le1}(B-\bar{p})^{\mathsf{T}}f=\frac{1}{2}\lVert B-\bar{p}\rVert_1\le\sqrt{\operatorname{DKL}(B\mathbin\Vert\bar{p})/2}, f : span ( f ) ≤ 1 sup ( B − p ˉ ) T f = 2 1 ∥ B − p ˉ ∥ 1 ≤ DKL ( B ∥ p ˉ ) /2 ,
and Jensen’s inequality gives
E B ∼ ρ sup f : span ( f ) ≤ 1 ( B − p ˉ ) T f ≤ Novelty / 2 . (46) \mathbb{E}_{B\sim\rho}\sup_{f:\operatorname{span}(f)\le1}(B-\bar{p})^{\mathsf{T}}f\le\sqrt{\operatorname{Novelty}/2}. \tag*{(46)} E B ∼ ρ f : span ( f ) ≤ 1 sup ( B − p ˉ ) T f ≤ Novelty /2 . (46)
The quantile gap of Lemma 2, in contrast, concerns one function p T f p^{\mathsf{T}}f p T f at a time.
Proof of the first claim of Theorem 4(c). The agent. Calibrated AIF with a uniform prior keeps, for each row, the posterior Dir ( 1 + N k h ( ⋅ ∣ x , a ) ) \operatorname{Dir}(\mathbb{1}+N_k^h(\cdot\mid x,a)) Dir ( 1 + N k h ( ⋅ ∣ x , a )) on X \mathcal{X} X , whose mean is p ^ = ( n P ˉ n + X U ) / n ˉ \hat{p}=(n\bar{P}_n+X\mathcal{U})/\bar{n} p ^ = ( n P ˉ n + X U ) / n ˉ with n ˉ = n + X \bar{n}=n+X n ˉ = n + X and U \mathcal{U} U the uniform law on X \mathcal{X} X . It computes V k , H + 1 ≡ 0 V_{k,H+1}\equiv0 V k , H + 1 ≡ 0 and
Q k , h ( x , a ) = min { H − h + 1 , R k ( x , a ) + p ^ T V k , h + 1 + Ψ k , h u ( x , a ) } . Q_{k,h}(x,a)=\min\left\{H-h+1,\ R_k(x,a)+\hat{p}^{\mathsf{T}}V_{k,h+1}+\Psi^u_{k,h}(x,a)\right\}. Q k , h ( x , a ) = min { H − h + 1 , R k ( x , a ) + p ^ T V k , h + 1 + Ψ k , h u ( x , a ) } .
with Ψ k , h u = 2 span ( V k , h + 1 ) ℓ ′ Novelty \Psi^u_{k,h}=2\operatorname{span}(V_{k,h+1})\sqrt{\ell'\operatorname{Novelty}} Ψ k , h u = 2 span ( V k , h + 1 ) ℓ ′ Novelty , ℓ ′ = 9 + 3 u \ell'=9+3u ℓ ′ = 9 + 3 u and l u = ln ( 2 X A H K / δ ) l_u=\ln(2XAHK/\delta) l u = ln ( 2 X A H K / δ ) , and acts greedily. Let X ≥ 2 X\ge2 X ≥ 2 . For X = 1 X=1 X = 1 there is nothing to learn.
A confidence set uniform over value functions. For a row and a count n ≥ 1 n\ge1 n ≥ 1 , and a sign vector v ∈ { − 1 , 1 } X v\in\{-1,1\}^{\mathcal{X}} v ∈ { − 1 , 1 } X , ⟨ v , P ˉ n − P ⟩ \langle v,\bar{P}_n-P\rangle ⟨ v , P ˉ n − P ⟩ is an average of n n n independent terms that lie in intervals of length 2. Hence, P ( ⟨ v , P ~ n − P ⟩ ≥ ε ) ≤ e − n ε 2 / 2 \mathbb{P}(\langle v,\widetilde{P}_n-P\rangle\ge\varepsilon) \le e^{-n\varepsilon^2/2} P (⟨ v , P n − P ⟩ ≥ ε ) ≤ e − n ε 2 /2 . Since ∥ μ ∥ 1 = max v ⟨ v , μ ⟩ \|\mu\|_1=\max_v\langle v,\mu\rangle ∥ μ ∥ 1 = max v ⟨ v , μ ⟩ , a union bound over the 2 X 2^X 2 X sign vectors, the X A H XAH X A H rows and the counts n ≤ K n\le K n ≤ K gives an event E ℓ 1 \mathcal{E}_{\ell_1} E ℓ 1 of probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 on which ∥ P ~ n − P ( ⋅ ∣ x , a ) ∥ 1 ≤ 2 ( X ln 2 + ι u ) / n \|\widetilde{P}_n-P(\cdot\mid x,a)\|_1\le\sqrt{2(X\ln2+\iota_u)/n} ∥ P n − P ( ⋅ ∣ x , a ) ∥ 1 ≤ 2 ( X ln 2 + ι u ) / n for all of them. On E ℓ 1 \mathcal{E}_{\ell_1} E ℓ 1 , for every row, every count and every f : X → R f:\mathcal{X}\to\mathbb{R} f : X → R ,
∣ ( p ^ − P ) f ∣ ≤ n n ~ ∣ ( P ~ n − P ) f ∣ + X n ~ ∣ ( U − P ) f ∣ ≤ span ( f ) ( n n ~ X ln 2 + ι u 2 + X n ~ ) ≤ span ( f ) ( X ln 2 + ι u 2 n ~ + X n ~ ) ≤ span ( f ) 3 X + ι u n ~ , \begin{aligned}
|(\widehat{p}-P)f| &\le\frac{n}{\widetilde{n}}|(\widetilde{P}_n-P)f|+\frac{X}{\widetilde{n}}|(U-P)f| \le\operatorname{span}(f)\left(\frac{\sqrt{n}}{\widetilde{n}}\sqrt{\frac{X\ln2+\iota_u}{2}}+\frac{X}{\widetilde{n}}\right)\\
&\le\operatorname{span}(f)\left(\sqrt{\frac{X\ln2+\iota_u}{2\widetilde{n}}}+\sqrt{\frac{X}{\widetilde{n}}}\right)\le\operatorname{span}(f)\sqrt{\frac{3X+\iota_u}{\widetilde{n}}},
\end{aligned} ∣ ( p − P ) f ∣ ≤ n n ∣ ( P n − P ) f ∣ + n X ∣ ( U − P ) f ∣ ≤ span ( f ) ( n n 2 X ln 2 + ι u + n X ) ≤ span ( f ) ( 2 n X ln 2 + ι u + n X ) ≤ span ( f ) n 3 X + ι u ,
using ∣ ( P − P ′ ) f ∣ ≤ 1 2 span ( f ) ∥ P − P ′ ∥ 1 |(P-P')f|\le\frac{1}{2}\operatorname{span}(f)\|P-P'\|_1 ∣ ( P − P ′ ) f ∣ ≤ 2 1 span ( f ) ∥ P − P ′ ∥ 1 , X ≤ n ~ X\le\widetilde{n} X ≤ n , and a + b ≤ 2 ( a + b ) \sqrt{a}+\sqrt{b}\le\sqrt{2(a+b)} a + b ≤ 2 ( a + b ) . The first term is absent for n = 0 n=0 n = 0 . Since every category carries mass at least one, Eq. (39) with m = X m=X m = X gives Novelty ≥ ( 2 X − 3 ) / ( 6 n ~ ) ≥ X / ( 12 n ~ ) \ge(2X-3)/(6\widetilde{n})\ge X/(12\widetilde{n}) ≥ ( 2 X − 3 ) / ( 6 n ) ≥ X / ( 12 n ) . Hence
Ψ u ( f ) : = 2 span ( f ) ℓ ′ Novelty ≥ span ( f ) ℓ ′ X 3 n ~ ≥ ∣ ( p ^ − P ) f ∣ for every f , (47) \Psi^u(f):=2\operatorname{span}(f)\sqrt{\ell' \operatorname{Novelty}}\ge\operatorname{span}(f)\sqrt{\frac{\ell'X}{3\widetilde{n}}}\ge|(\widehat{p}-P)f|\qquad\text{for every }f, \tag*{(47)} Ψ u ( f ) := 2 span ( f ) ℓ ′ Novelty ≥ span ( f ) 3 n ℓ ′ X ≥ ∣ ( p − P ) f ∣ for every f , (47)
since ℓ ′ X / 3 ≥ 3 X + ι u \ell'X/3\ge3X+\iota_u ℓ ′ X /3 ≥ 3 X + ι u .
Optimism for every goal. Fix k k k and the goal R k R_k R k . If V k , h + 1 ≥ V h + 1 ∗ ( ⋅ ; R k ) V_{k,h+1}\ge V^*_{h+1}(\cdot;R_k) V k , h + 1 ≥ V h + 1 ∗ ( ⋅ ; R k ) , then Eq. (47) at f = V k , h + 1 f=V_{k,h+1} f = V k , h + 1 , which is allowed because it holds for every function simultaneously, gives
R k + p ^ T V k , h + 1 + Ψ k , h u ≥ R k + P V k , h + 1 ≥ R k + P V h + 1 ∗ ( ⋅ ; R k ) = Q h ∗ ( ⋅ ; R k ) , R_k+\widehat{p}^{\mathsf T}V_{k,h+1}+\Psi^u_{k,h}\ge R_k+PV_{k,h+1}\ge R_k+PV^*_{h+1}(\cdot;R_k)=Q^*_h(\cdot;R_k), R k + p T V k , h + 1 + Ψ k , h u ≥ R k + P V k , h + 1 ≥ R k + P V h + 1 ∗ ( ⋅ ; R k ) = Q h ∗ ( ⋅ ; R k ) ,
and the clamp H − h + 1 H-h+1 H − h + 1 preserves this. By induction, V k , h ≥ V h ∗ ( ⋅ ; R k ) V_{k,h}\ge V^*_h(\cdot;R_k) V k , h ≥ V h ∗ ( ⋅ ; R k ) on E ℓ 1 \mathcal{E}_{\ell_1} E ℓ 1 , for every k k k and every goal sequence, because the event does not involve the goals.
Regret. Let δ k , h : = V k , h ( x k , h ) − V h π k ( x k , h ; R k ) \delta_{k,h}:=V_{k,h}(x_{k,h})-V^{\pi^k}_h(x_{k,h};R_k) δ k , h := V k , h ( x k , h ) − V h π k ( x k , h ; R k ) and ξ k , h : = P ( V k , h + 1 − V h + 1 π k ) ( x k , h , a k , h ) − ( V k , h + 1 − V h + 1 π k ) ( x k , h + 1 ) \xi_{k,h}:=P(V_{k,h+1}-V^{\pi^k}_{h+1})(x_{k,h},a_{k,h})-(V_{k,h+1}-V^{\pi^k}_{h+1})(x_{k,h+1}) ξ k , h := P ( V k , h + 1 − V h + 1 π k ) ( x k , h , a k , h ) − ( V k , h + 1 − V h + 1 π k ) ( x k , h + 1 ) , a martingale difference with ∣ ξ k , h ∣ ≤ 2 H |\xi_{k,h}|\le2H ∣ ξ k , h ∣ ≤ 2 H , since R k R_k R k and π k \pi^k π k are fixed before episode k k k . Since the agent is greedy and the clamp only lowers Q k , h Q_{k,h} Q k , h , Eq. (47) gives
δ k , h ≤ ( p ^ − P ) V k , h + 1 + Ψ k , h u + P ( V k , h + 1 − V h + 1 π k ) ≤ 2 Ψ k , h u + δ k , h + 1 + ξ k , h . \begin{aligned}
\delta_{k,h}&\le(\widehat{p}-P)V_{k,h+1}+\Psi^u_{k,h}+P(V_{k,h+1}-V^{\pi^k}_{h+1})\\
&\le2\Psi^u_{k,h}+\delta_{k,h+1}+\xi_{k,h}.
\end{aligned} δ k , h ≤ ( p − P ) V k , h + 1 + Ψ k , h u + P ( V k , h + 1 − V h + 1 π k ) ≤ 2 Ψ k , h u + δ k , h + 1 + ξ k , h .
By optimism, R K g o a l ≤ ∑ k δ k , 1 \mathfrak{R}^{\mathrm{goal}}_K\le\sum_k\delta_{k,1} R K goal ≤ ∑ k δ k , 1 , which is at most ∑ k , h ( 2 Ψ k , h u + ξ k , h ) \sum_{k,h}(2\Psi^u_{k,h}+\xi_{k,h}) ∑ k , h ( 2 Ψ k , h u + ξ k , h ) . With Novelty ≤ ( X − 1 ) / ( n ~ + 1 ) \le(X-1)/(\widetilde{n}+1) ≤ ( X − 1 ) / ( n + 1 ) (Eq. (38) with m = X m=X m = X ) and span ( V k , h + 1 ) ≤ H \operatorname{span}(V_{k,h+1})\le H span ( V k , h + 1 ) ≤ H , a row visited N N N times contributes ∑ j < N 2 H ℓ ′ X / ( j + X + 1 ) ≤ 4 H ℓ ′ X N \sum_{j<N}2H\sqrt{\ell'X/(j+X+1)}\le4H\sqrt{\ell'XN} ∑ j < N 2 H ℓ ′ X / ( j + X + 1 ) ≤ 4 H ℓ ′ X N , and Cauchy–Schwarz over the X A H XAH X A H rows gives ∑ k , h Ψ k , h u ≤ 4 H 3 / 2 X A ℓ ′ T \sum_{k,h}\Psi^u_{k,h}\le4H^{3/2}X\sqrt{A\ell'T} ∑ k , h Ψ k , h u ≤ 4 H 3/2 X A ℓ ′ T . With probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 , the Azuma–Hoeffding inequality gives ∑ k , h ξ k , h ≤ 2 H 2 T ln ( 2 / δ ) \sum_{k,h}\xi_{k,h}\le2H\sqrt{2T\ln(2/\delta)} ∑ k , h ξ k , h ≤ 2 H 2 T ln ( 2/ δ ) . This event depends on the adversary. The regret bound therefore holds for every adversary separately, whereas optimism holds on E ℓ 1 \mathcal{E}_{\ell_1} E ℓ 1 for all goal sequences at once. For H = 2 H=2 H = 2 , the step-2 values are exact, ξ k , h = 0 \xi_{k,h}=0 ξ k , h = 0 , and the regret bound also holds on E ℓ 1 \mathcal{E}_{\ell_1} E ℓ 1 for all goal sequences at once.
Lock-Out of Value-Specific Quantiles and the Price of Simultaneous Optimism
Value-specific widths are not even optimistic for all goals at once.
Proposition 7 (Value-specific quantiles lock out). Let ϕ \phi ϕ be exact. There is X 0 = O ( ln ( n 0 / δ ) ) X_0 = O(\ln(n_0/\delta)) X 0 = O ( ln ( n 0 / δ )) such that for every X ≥ X 0 X \ge X_0 X ≥ X 0 there are an MDP with X + 2 X + 2 X + 2 states and A = H = 2 A = H = 2 A = H = 2 , and a goal sequence computed from the agent’s history alone, on which the following holds with probability at least 1 − e − ( X − 1 ) / 32 1-e^{-(X-1)/32} 1 − e − ( X − 1 ) /32 . Bayes-UCBVI, with each goal in its backup, plays a suboptimal action in every episode k > K 0 k > K_0 k > K 0 , where K 0 K_0 K 0 depends on K K K only through n 0 n_0 n 0 . In each such episode it loses at least ℓ 1 / ( 4 n 1 ) \sqrt{\ell_1/(4n_1)} ℓ 1 / ( 4 n 1 ) , where the count n 1 = O ( X + n 0 2 ) n_1 = O(X+n_0^2) n 1 = O ( X + n 0 2 ) is defined in the proof and ℓ 1 ≥ 1 \ell_1 \ge1 ℓ 1 ≥ 1 is the logarithmic factor ℓ \ell ℓ of Lemma 2 of the row of the suboptimal action at count n 1 n_1 n 1 .
Proof of Proposition 7. The instance. Let S = { s 0 , z , y 1 , … , y X } \mathcal{S} = \{s_0,z,y_1,\ldots,y_X\} S = { s 0 , z , y 1 , … , y X } , A = { a , b } \mathcal{A} = \{a,b\} A = { a , b } , H = 2 H = 2 H = 2 , and let every episode start at s 0 s_0 s 0 . Action a a a leads from s 0 s_0 s 0 to a uniformly random y i y_i y i , action b b b leads to z z z , and z z z and the y i y_i y i are absorbing. A goal sets R ( s 0 , ⋅ ) = 0 R(s_0,\cdot)=0 R ( s 0 , ⋅ ) = 0 , R ( y i , ⋅ ) = g ( i ) ∈ [ 0 , 1 ] R(y_i,\cdot)=g(i) \in[0,1] R ( y i , ⋅ ) = g ( i ) ∈ [ 0 , 1 ] and R ( z , ⋅ ) = v ∈ [ 0 , 1 ] R(z,\cdot)=v \in[0,1] R ( z , ⋅ ) = v ∈ [ 0 , 1 ] . Action a a a is thus worth X − 1 ∑ i g ( i ) X^{-1}\sum_i g(i) X − 1 ∑ i g ( i ) and action b b b is worth v v v . Bayes-UCBVI runs with the goal R k R_k R k in place of R ∗ R^* R ∗ . Its step-2 values are the goal’s rewards, V ‾ 2 k ( y i ) = g ( i ) \overline{V}^{k}_2(y_i)=g(i) V 2 k ( y i ) = g ( i ) and V ‾ 2 k ( z ) = v \overline{V}^{k}_2(z)=v V 2 k ( z ) = v , since V ‾ 3 k ≡ 0 \overline{V}^{k}_3 \equiv0 V 3 k ≡ 0 also at the pseudo-state, and V ‾ 2 k ( x E ) = r 0 = 2 \overline{V}^{k}_2(x_E)=r_0=2 V 2 k ( x E ) = r 0 = 2 . Its step-1 indices are the κ \kappa κ -quantiles of p ⊤ V ‾ 2 k p^\top\overline{V}^{k}_2 p ⊤ V 2 k under the posteriors of the rows ( s 0 , a , 1 ) (s_0,a,1) ( s 0 , a , 1 ) and ( s 0 , b , 1 ) (s_0,b,1) ( s 0 , b , 1 ) . Write n n n and n b n_b n b for their counts, ℓ ( n ) \ell(n) ℓ ( n ) for the logarithmic factor ℓ \ell ℓ of Lemma 2 of the first row at count n n n , and P ~ n \widetilde{P}_n P n for its empirical law.
The adversary. Phase 1. The goal is g ≡ 1 g \equiv1 g ≡ 1 , v = 0 v=0 v = 0 . The index of a a a is at least 1 1 1 , since p ⊤ V ‾ 2 k ≥ 1 p^\top\overline{V}^{k}_2 \ge1 p ⊤ V 2 k ≥ 1 on the support of the posterior, and by Lemma 2 the index of b b b is at most
2 n 0 n b + n 0 + 2 ℓ b n b + n 0 + 8 2 ℓ b n b + n 0 . \frac{2n_0}{n_b+n_0}+2\sqrt{\frac{\ell_b}{n_b+n_0}}+\frac{8\sqrt{2}\ell_b}{n_b+n_0}. n b + n 0 2 n 0 + 2 n b + n 0 ℓ b + n b + n 0 8 2 ℓ b .
with ℓ b \ell_b ℓ b the logarithmic factor ℓ \ell ℓ of Lemma 2 of the second row, which is below 1 for all n b ≥ N b n_b \ge N_b n b ≥ N b , for a number N b N_b N b that depends only on n 0 n_0 n 0 , δ \delta δ and X X X . Hence Bayes-UCBVI plays b b b in at most N b N_b N b episodes of phase 1 and a a a in all others. Phase 1 ends when the first row has n 1 n_1 n 1 samples, after at most K 0 : = n 1 + N b K_0 := n_1+N_b K 0 := n 1 + N b episodes, where n 1 n_1 n 1 is the smallest integer n ≥ 2 X n \ge2X n ≥ 2 X with n ≥ ( 2 n 0 + 12 ℓ ( n ) ) 2 / ℓ ( n ) n \ge(2n_0+12\ell(n))^2/\ell(n) n ≥ ( 2 n 0 + 12 ℓ ( n ) ) 2 / ℓ ( n ) , so that n 1 = O ( X + n 0 2 + ln ( 1 / δ ) ) n_1 = O(X+n_0^2+\ln(1/\delta)) n 1 = O ( X + n 0 2 + ln ( 1/ δ )) , which is O ( X + n 0 2 ) O(X+n_0^2) O ( X + n 0 2 ) for X ≥ X 0 X \ge X_0 X ≥ X 0 below. Phase 2. Let ℓ 1 : = ℓ ( n 1 ) \ell_1 := \ell(n_1) ℓ 1 := ℓ ( n 1 ) , let U : = { i : P ~ n 1 ( y i ) < 1 / X } U := \{i:\widetilde{P}_{n_1}(y_i)<1/X\} U := { i : P n 1 ( y i ) < 1/ X } be the under-represented successors, and fix from now on the goal g : = 1 U g := \mathbf{1}_U g := 1 U and v : = min { 1 , Q ‾ a + 1 2 ℓ 1 / n 1 } v := \min\{1,\overline{Q}_a+\frac{1}{2}\sqrt{\ell_1/n_1}\} v := min { 1 , Q a + 2 1 ℓ 1 / n 1 } , where Q ‾ a \overline{Q}_a Q a is Bayes-UCBVI’s index of a a a under g g g , which does not depend on v v v . The quantities n 1 n_1 n 1 , ℓ 1 \ell_1 ℓ 1 , U U U and Q ‾ a \overline{Q}_a Q a , and the time at which phase 2 starts, are functions of the agent’s history and of the fixed parameters X X X , n 0 n_0 n 0 , K K K and δ \delta δ . The goal sequence therefore uses only the agent’s history.
The deficit. The n 1 n_1 n 1 samples are i.i.d. from the uniform law U \mathcal{U} U on { y 1 , … , y X } \{y_1,\ldots,y_X\} { y 1 , … , y X } , which is the meaning of U \mathcal{U} U in the rest of this proof. Each count N i N_i N i is Bin ( n 1 , 1 / X ) \operatorname{Bin}(n_1,1/X) Bin ( n 1 , 1/ X ) with variance σ 2 = ( n 1 / X ) ( 1 − 1 / X ) ≥ 1 \sigma^2=(n_1/X)(1-1/X)\ge1 σ 2 = ( n 1 / X ) ( 1 − 1/ X ) ≥ 1 for n 1 ≥ 2 X n_1\ge2X n 1 ≥ 2 X and X ≥ 2 X\ge2 X ≥ 2 , and central fourth moment at most σ 2 + 3 σ 4 \sigma^2+3\sigma^4 σ 2 + 3 σ 4 . Hölder’s inequality, as in Appendix F.§ 2 , gives E ∣ N i − n 1 / X ∣ ≥ σ 3 / σ 2 + 3 σ 4 ≥ σ / 2 \mathbb{E}|N_i-n_1/X|\ge\sigma^3/\sqrt{\sigma^2+3\sigma^4}\ge\sigma/2 E ∣ N i − n 1 / X ∣ ≥ σ 3 / σ 2 + 3 σ 4 ≥ σ /2 , which yields E ∥ P ~ n 1 − U ∥ 1 ≥ 1 2 ( X − 1 ) / n 1 \mathbb{E}\|\widetilde{P}_{n_1}-\mathcal{U}\|_1\ge\frac{1}{2}\sqrt{(X-1)/n_1} E ∥ P n 1 − U ∥ 1 ≥ 2 1 ( X − 1 ) / n 1 . Changing one sample changes ∥ P ~ n 1 − U ∥ 1 \|\widetilde{P}_{n_1}-\mathcal{U}\|_1 ∥ P n 1 − U ∥ 1 by at most 2 / n 1 2/n_1 2/ n 1 . Hence, the bounded-difference inequality ([57 ] ) gives, with probability at least 1 − e − ( X − 1 ) / 32 1-e^{-(X-1)/32} 1 − e − ( X − 1 ) /32 , ∥ P ~ n 1 − U ∥ 1 ≥ 1 4 ( X − 1 ) / n 1 \|\widetilde{P}_{n_1}-\mathcal{U}\|_1\ge\frac{1}{4}\sqrt{(X-1)/n_1} ∥ P n 1 − U ∥ 1 ≥ 4 1 ( X − 1 ) / n 1 . On this event the true value of a a a under the phase-2 goal exceeds its empirical value by
∣ U ∣ X − P ~ n 1 ( U ) = 1 2 ∥ P ~ n 1 − U ∥ 1 ≥ 1 8 ( X − 1 ) / n 1 . \frac{|U|}{X}-\widetilde{P}_{n_1}(U)=\frac{1}{2}\|\widetilde{P}_{n_1}-\mathcal{U}\|_1\ge\frac{1}{8}\sqrt{(X-1)/n_1}. X ∣ U ∣ − P n 1 ( U ) = 2 1 ∥ P n 1 − U ∥ 1 ≥ 8 1 ( X − 1 ) / n 1 .
By Lemma 2 with V ≤ 1 V\le1 V ≤ 1 , r 0 = 2 r_0=2 r 0 = 2 and H = 2 H=2 H = 2 , the index is
Q ‾ a ≤ P ~ n 1 ( U ) + 2 n 0 n 1 + 2 ℓ 1 / n 1 + 8 2 ℓ 1 n 1 . \overline{Q}_a\le\widetilde{P}_{n_1}(U)+\frac{2n_0}{n_1}+2\sqrt{\ell_1/n_1}+\frac{8\sqrt{2}\ell_1}{n_1}. Q a ≤ P n 1 ( U ) + n 1 2 n 0 + 2 ℓ 1 / n 1 + n 1 8 2 ℓ 1 .
If X − 1 ≥ 1024 ℓ 1 X-1\ge1024\ell_1 X − 1 ≥ 1024 ℓ 1 , the deficit is at least 4 ℓ 1 / n 1 4\sqrt{\ell_1/n_1} 4 ℓ 1 / n 1 , and the choice of n 1 n_1 n 1 gives ( 2 n 0 + 12 ℓ 1 ) / n 1 ≤ ℓ 1 / n 1 (2n_0+12\ell_1)/n_1\le\sqrt{\ell_1/n_1} ( 2 n 0 + 12 ℓ 1 ) / n 1 ≤ ℓ 1 / n 1 . Hence,
∣ U ∣ X − Q ‾ a ≥ 4 ℓ 1 / n 1 − 2 ℓ 1 / n 1 − ℓ 1 / n 1 = ℓ 1 / n 1 . \frac{|U|}{X}-\overline{Q}_a\ge4\sqrt{\ell_1/n_1}-2\sqrt{\ell_1/n_1}-\sqrt{\ell_1/n_1}=\sqrt{\ell_1/n_1}. X ∣ U ∣ − Q a ≥ 4 ℓ 1 / n 1 − 2 ℓ 1 / n 1 − ℓ 1 / n 1 = ℓ 1 / n 1 .
Since ℓ 1 = O ( ln ( ( X + n 0 ) / δ ) ) \ell_1=O(\ln((X+n_0)/\delta)) ℓ 1 = O ( ln (( X + n 0 ) / δ )) , the condition X − 1 ≥ 1024 ℓ 1 X-1\ge1024\ell_1 X − 1 ≥ 1024 ℓ 1 holds for all X ≥ X 0 = O ( ln ( n 0 / δ ) ) X\ge X_0=O(\ln(n_0/\delta)) X ≥ X 0 = O ( ln ( n 0 / δ )) .
Lock-out. Under the phase-2 goal, Q ‾ a + 1 2 ℓ 1 / n 1 ≤ ∣ U ∣ / X − 1 2 ℓ 1 / n 1 < 1 \overline{Q}_a+\frac{1}{2}\sqrt{\ell_1/n_1}\le|U|/X-\frac{1}{2}\sqrt{\ell_1/n_1}<1 Q a + 2 1 ℓ 1 / n 1 ≤ ∣ U ∣/ X − 2 1 ℓ 1 / n 1 < 1 , so that the minimum in the definition of v v v is not active and v v v lies strictly between Q ‾ a \overline{Q}_a Q a and the value ∣ U ∣ / X |U|/X ∣ U ∣/ X of a a a . The index of b b b is at least v v v , since p ⊤ V ‾ 2 k ≥ v p^\top\overline{V}^{k}_2\ge v p ⊤ V 2 k ≥ v on the support { z , x E } \{z,x_E\} { z , x E } of its posterior. Bayes-UCBVI therefore plays b b b . The first row then receives no data. Hence, Q ‾ a \overline{Q}_a Q a does not change, and Bayes-UCBVI plays b b b in every later episode. Each such episode loses ∣ U ∣ / X − v = ∣ U ∣ / X − Q ‾ a − 1 2 ℓ 1 / n 1 ≥ ℓ 1 / ( 4 n 1 ) |U|/X-v=|U|/X-\overline{Q}_a-\frac{1}{2}\sqrt{\ell_1/n_1}\ge\sqrt{\ell_1/(4n_1)} ∣ U ∣/ X − v = ∣ U ∣/ X − Q a − 2 1 ℓ 1 / n 1 ≥ ℓ 1 / ( 4 n 1 ) , which gives the claim. ■
Scope of Proposition 7. Its construction uses that Bayes-UCBVI adds no width at the last step, where its next-step values vanish. UCBVI adds its bonus at every step, including the last, where the successors’ own counts, of order n 1 / X n_1/X n 1 / X , keep it large on this instance. We therefore do not claim Proposition 7 for UCBVI.
No index avoids the price of simultaneous optimism at a fixed count. Every index that is optimistic for all goals at once overestimates some goal by order ( H − 1 ) X / n (H-1)\sqrt{X/n} ( H − 1 ) X / n after n n n samples, the order of calibrated AIF’s width under a uniform prior.
Lemma 8 (Indices that are optimistic for all goals overestimate) Let X , H ≥ 2 X,H\ge2 X , H ≥ 2 and n ≥ X n\ge X n ≥ X , and let U n ( g ) U_n(g) U n ( g ) be an index of the action a a a of the MDP of Proposition 7, with horizon H H H , under the goal that pays g ∈ { 0 , 1 } X g\in\{0,1\}^{X} g ∈ { 0 , 1 } X at the successors, computed from the first n n n successors of a a a and independent randomness. Then some successor law P P P of a a a has the following property. If U n ( g ) ≥ ( H − 1 ) P g U_n(g)\ge(H-1)P g U n ( g ) ≥ ( H − 1 ) P g for all g g g at once with probability at least 1 − δ > 15 16 1-\delta>\frac{15}{16} 1 − δ > 16 15 , then max g ( U n ( g ) − ( H − 1 ) P g ) ≥ ( H − 1 ) X / n / 256 \max_g\left(U_n(g)-(H-1)P g\right)\ge(H-1)\sqrt{X/n}/256 max g ( U n ( g ) − ( H − 1 ) P g ) ≥ ( H − 1 ) X / n /256 with probability at least 1 16 − δ \frac{1}{16}-\delta 16 1 − δ .
Proof. Let u ( g ) : = U n ( g ) / ( H − 1 ) u(g):=U_n(g)/(H-1) u ( g ) := U n ( g ) / ( H − 1 ) , so that the hypothesis reads u ( g ) ≥ P g u(g)\ge Pg u ( g ) ≥ P g for all g ∈ { 0 , 1 } X g\in\{0,1\}^{X} g ∈ { 0 , 1 } X on an event E \mathcal{E} E of probability at least 1 − δ 1-\delta 1 − δ , and let W : = max g ( u ( g ) − P g ) W:=\max_g\left(u(g)-Pg\right) W := max g ( u ( g ) − P g ) . The construction is the ℓ 1 \ell_1 ℓ 1 lower bound for discrete distributions ([68 , 33 ] ), which we reproduce because the index enters it through a confidence set.
From a goal-uniform index to an estimate of P P P . The set C : = { Q ∈ Δ ( { y 1 , … , y X } ) : Q g ≤ u ( g ) for all g } \mathcal{C}:=\{Q\in\Delta(\{y_1,\ldots,y_X\}):Qg\le u(g)\text{ for all }g\} C := { Q ∈ Δ ({ y 1 , … , y X }) : Q g ≤ u ( g ) for all g } is computed from the data and contains P P P on E \mathcal{E} E . Let Q ^ \widehat{Q} Q be a point of C \mathcal{C} C if C \mathcal{C} C is nonempty, and the uniform law on { y 1 , … , y X } \{y_1,\ldots,y_X\} { y 1 , … , y X } otherwise. On E \mathcal{E} E , ( Q ^ − P ) g ≤ u ( g ) − P g ≤ W (\widehat{Q}-P)g\le u(g)-Pg\le W ( Q − P ) g ≤ u ( g ) − P g ≤ W for every g g g . The maximum of ( Q ^ − P ) g = Q ^ ( J ) − P ( J ) (\widehat{Q}-P)g=\widehat{Q}(J)-P(J) ( Q − P ) g = Q ( J ) − P ( J ) over the sets J = { i : g ( i ) = 1 } J=\{i:g(i)=1\} J = { i : g ( i ) = 1 } is 1 2 ∥ Q ^ − P ∥ 1 \frac{1}{2}\|\widehat{Q}-P\|_1 2 1 ∥ Q − P ∥ 1 , which yields ∥ Q ^ − P ∥ 1 ≤ 2 W \|\widehat{Q}-P\|_1\le2W ∥ Q − P ∥ 1 ≤ 2 W on E \mathcal{E} E . An index with a small overestimate would therefore estimate P P P in ℓ 1 \ell_1 ℓ 1 faster than any estimator can.
The family. Let m : = ⌊ X / 2 ⌋ ≥ X / 3 m:=\lfloor X/2\rfloor\ge X/3 m := ⌊ X /2 ⌋ ≥ X /3 and ε : = 3 m / ( 64 n ) \varepsilon:=\sqrt{3m/(64n)} ε := 3 m / ( 64 n ) , which is at most 1 2 \frac{1}{2} 2 1 since n ≥ X ≥ 2 m n\ge X\ge2m n ≥ X ≥ 2 m . For σ ∈ { − 1 , 1 } m \sigma\in\{-1,1\}^{m} σ ∈ { − 1 , 1 } m , let P σ ( y 2 i − 1 ) = ( 1 + σ i ε ) / ( 2 m ) P_\sigma(y_{2i-1})=(1+\sigma_i\varepsilon)/(2m) P σ ( y 2 i − 1 ) = ( 1 + σ i ε ) / ( 2 m ) and P σ ( y 2 i ) = ( 1 − σ i ε ) / ( 2 m ) P_\sigma(y_{2i})=(1-\sigma_i\varepsilon)/(2m) P σ ( y 2 i ) = ( 1 − σ i ε ) / ( 2 m ) for i ≤ m i\le m i ≤ m , and P σ ( y X ) = 0 P_\sigma(y_X)=0 P σ ( y X ) = 0 if X X X is odd.
Testing the signs. Draw σ \sigma σ uniformly, and let σ ^ i : = 1 \widehat{\sigma}_i:=1 σ i := 1 if Q ^ ( y 2 i − 1 ) > Q ^ ( y 2 i ) \widehat{Q}(y_{2i-1})>\widehat{Q}(y_{2i}) Q ( y 2 i − 1 ) > Q ( y 2 i ) and σ ^ i : = − 1 \widehat{\sigma}_i:=-1 σ i := − 1 otherwise. If σ ^ i ≠ σ i \widehat{\sigma}_i\ne\sigma_i σ i = σ i , the differences Q ^ ( y 2 i − 1 ) − Q ^ ( y 2 i ) \widehat{Q}(y_{2i-1})-\widehat{Q}(y_{2i}) Q ( y 2 i − 1 ) − Q ( y 2 i ) and P σ ( y 2 i − 1 ) − P σ ( y 2 i ) = σ i ε / m P_\sigma(y_{2i-1})-P_\sigma(y_{2i})=\sigma_i\varepsilon/m P σ ( y 2 i − 1 ) − P σ ( y 2 i ) = σ i ε / m do not have the same strict sign. Hence, the triangle inequality gives $|\widehat{Q}(y_{2i-1})-P_\sigma(y_{2i-1})|+|\widehat{Q}(y_{2i})P σ ( y 2 i ) ∣ ≥ ε / m P_\sigma(y_{2i})| \ge\varepsilon/m P σ ( y 2 i ) ∣ ≥ ε / m . The number N i N_i N i of samples in the pair { y 2 i − 1 , y 2 i } \{y_{2i-1}, y_{2i}\} { y 2 i − 1 , y 2 i } is Bin ( n , 1 / m ) \operatorname{Bin}(n,1/m) Bin ( n , 1/ m ) and does not depend on σ \sigma σ . Given the pairs of all samples, the samples in pair i i i equal y 2 i − 1 y_{2i-1} y 2 i − 1 with probability 1 2 + σ i ε / 2 \frac{1}{2}+\sigma_i\varepsilon/2 2 1 + σ i ε /2 , independently of each other and of the other pairs. Given N i = j N_i=j N i = j , σ i \sigma_i σ i and the samples of pair i i i are therefore independent of all other data and of the agent’s randomness, and σ ^ i \hat{\sigma}_i σ ^ i errs with probability at least the Bayes error
1 2 ( 1 − TV ( Ber ( 1 2 + ε 2 ) ⊗ j , Ber ( 1 2 − ε 2 ) ⊗ j ) ) . \frac{1}{2}\left(1-\operatorname{TV}\left(\operatorname{Ber}\left(\frac{1}{2}+\frac{\varepsilon}{2}\right)^{\otimes j},\operatorname{Ber}\left(\frac{1}{2}-\frac{\varepsilon}{2}\right)^{\otimes j}\right)\right). 2 1 ( 1 − TV ( Ber ( 2 1 + 2 ε ) ⊗ j , Ber ( 2 1 − 2 ε ) ⊗ j ) ) .
The bound of Eq. (35) in Appendix § 12 .§ 4 , with ε / 2 ≤ 1 4 \varepsilon/2 \le\frac{1}{4} ε /2 ≤ 4 1 in place of ε \varepsilon ε , bounds this total variation by ε 8 j / 3 \varepsilon\sqrt{8j/3} ε 8 j /3 , which is at most 1 2 \frac{1}{2} 2 1 for j ≤ 2 n / m j \le2n/m j ≤ 2 n / m . By Markov’s inequality P ( N i ≤ 2 n / m ) ≥ 1 2 \mathbb{P}(N_i \le2n/m) \ge\frac{1}{2} P ( N i ≤ 2 n / m ) ≥ 2 1 , which yields P ( σ ^ i ≠ σ i ) ≥ 1 8 \mathbb{P}(\hat{\sigma}_i \ne\sigma_i) \ge\frac{1}{8} P ( σ ^ i = σ i ) ≥ 8 1 . The number N e r r ≤ m N_{\mathrm{err}} \le m N err ≤ m of wrong signs thus has E N e r r ≥ m / 8 \mathbb{E}N_{\mathrm{err}} \ge m/8 E N err ≥ m /8 , hence P ( N e r r ≥ m / 16 ) ≥ ( E N e r r − m / 16 ) / m ≥ 1 16 \mathbb{P}(N_{\mathrm{err}} \ge m/16) \ge(\mathbb{E}N_{\mathrm{err}}-m/16)/m \ge\frac{1}{16} P ( N err ≥ m /16 ) ≥ ( E N err − m /16 ) / m ≥ 16 1 , and on this event ∥ Q ^ − P σ ∥ 1 ≥ ε / 16 \|\widehat{Q}-P_\sigma\|_1 \ge\varepsilon/16 ∥ Q − P σ ∥ 1 ≥ ε /16 .
Conclusion. Some σ \sigma σ does at least as well as the average, which yields P σ ( ∥ Q ^ − P σ ∥ 1 ≥ ε / 16 ) ≥ 1 16 \mathbb{P}_\sigma(\|\widehat{Q}-P_\sigma\|_1 \ge\varepsilon/16) \ge\frac{1}{16} P σ ( ∥ Q − P σ ∥ 1 ≥ ε /16 ) ≥ 16 1 for P = P σ P=P_\sigma P = P σ . On the intersection of this event with E \mathcal{E} E , which has probability at least 1 16 − δ \frac{1}{16}-\delta 16 1 − δ , we obtain W ≥ ε / 32 = 3 m / n / 256 ≥ X / n / 256 W \ge\varepsilon/32 = \sqrt{3m/n}/256 \ge\sqrt{X/n}/256 W ≥ ε /32 = 3 m / n /256 ≥ X / n /256 . Multiplying by H − 1 H-1 H − 1 gives the lemma. On the MDP of Proposition 7, all randomness of the history lies in the successors of a a a . Calibrated AIF’s index of a a a at count n n n is a function of the first n n n successors of a a a and of the adversary’s independent randomness, and it is optimistic for all goals on the event of Theorem 4(c). The lemma therefore applies to it at every fixed count. Bayes-UCBVI’s index is not optimistic for all goals at once. Under the uniform successor law, Proposition 7 exhibits a goal chosen after the data that it underestimates.
Proof of Theorem 4(b)
Lemma 9 (ℓ 1 \ell_1 ℓ 1 error under a Gaussian prior). Let m ≥ 2 m \ge2 m ≥ 2 and K ≥ m K \ge m K ≥ m , let θ ∼ N ( 0 , I m ) \theta\sim\mathcal{N}(0,I_m) θ ∼ N ( 0 , I m ) , and let P θ P_\theta P θ be the law on y 1 , … , y 2 m y_1,\ldots,y_{2m} y 1 , … , y 2 m with P θ ( y 2 j − 1 ) = ( 1 + ε ~ θ j ) / ( 2 m ) P_\theta(y_{2j-1})=(1+\widetilde{\varepsilon}\theta_j)/(2m) P θ ( y 2 j − 1 ) = ( 1 + ε θ j ) / ( 2 m ) and P θ ( y 2 j ) = ( 1 − ε ~ θ j ) / ( 2 m ) P_\theta(y_{2j})=(1-\widetilde{\varepsilon}\theta_j)/(2m) P θ ( y 2 j ) = ( 1 − ε θ j ) / ( 2 m ) , where ε : = m / ( 64 K ) \varepsilon:= \sqrt{m}/(64K) ε := m / ( 64 K ) , B : = 1 / ( 2 ε ) B:=1/(2\varepsilon) B := 1/ ( 2 ε ) and θ ~ j : = max { − B , min { B , θ j } } \widetilde{\theta}_j:=\max\{-B,\min\{B,\theta_j\}\} θ j := max { − B , min { B , θ j }} . Let ω 1 , ω 2 , … \omega_1,\omega_2,\ldots ω 1 , ω 2 , … be i.i.d. draws from P θ P_\theta P θ given θ \theta θ , and for k ≤ K k \le K k ≤ K and n < K n<K n < K let F k , n F_{k,n} F k , n map ω 1 : n \omega_{1:n} ω 1 : n and randomness independent of θ \theta θ and of the draws to a law on { y 1 , … , y 2 m } \{y_1,\ldots,y_{2m}\} { y 1 , … , y 2 m } . If m ≥ 128 ln ( 8 K 2 ) m \ge128\ln(8K^2) m ≥ 128 ln ( 8 K 2 ) , then with probability at least 3 4 \frac{3}{4} 4 3 , ∥ F k , n ( ω 1 : n ) − P θ ∥ 1 ≥ ε / 64 \|F_{k,n}(\omega_{1:n})-P_\theta\|_1 \ge\varepsilon/64 ∥ F k , n ( ω 1 : n ) − P θ ∥ 1 ≥ ε /64 for all k ≤ K k \le K k ≤ K and n < K n<K n < K .
Proof. Fix k k k , n n n and f : = F k , n ( ω 1 : n ) f:=F_{k,n}(\omega_{1:n}) f := F k , n ( ω 1 : n ) , and let t j : = m ( f ( y 2 j − 1 ) − f ( y 2 j ) ) / ε t_j:=m(f(y_{2j-1})-f(y_{2j}))/\varepsilon t j := m ( f ( y 2 j − 1 ) − f ( y 2 j )) / ε . By the triangle inequality, pair j j j contributes at least
∣ ( f ( y 2 j − 1 ) − f ( y 2 j ) ) − ( P θ ( y 2 j − 1 ) − P θ ( y 2 j ) ) ∣ = ε m ∣ t j − θ ~ j ∣ \left|\left(f(y_{2j-1})-f(y_{2j})\right)-\left(P_\theta(y_{2j-1})-P_\theta(y_{2j})\right)\right|=\frac{\varepsilon}{m}|t_j-\widetilde{\theta}_j| ∣ ( f ( y 2 j − 1 ) − f ( y 2 j ) ) − ( P θ ( y 2 j − 1 ) − P θ ( y 2 j ) ) ∣ = m ε ∣ t j − θ j ∣
to ∥ f − P θ ∥ 1 \|f-P_\theta\|_1 ∥ f − P θ ∥ 1 , which yields
∥ f − P θ ∥ 1 ≥ ε 2 m N , N : = ∣ { j : ∣ t j − θ ~ j ∣ ≥ 1 2 } ∣ . \|f-P_\theta\|_1 \ge\frac{\varepsilon}{2m}N,\qquad N:=\left|\left\{j:|t_j-\widetilde{\theta}_j|\ge\frac{1}{2}\right\}\right|. ∥ f − P θ ∥ 1 ≥ 2 m ε N , N := { j : ∣ t j − θ j ∣ ≥ 2 1 } .
Posterior structure. The likelihood of ω 1 : n \omega_{1:n} ω 1 : n is ∏ s ≤ n ( 1 + ε y s θ ~ j s ) / ( 2 m ) \prod_{s\le n}(1+\varepsilon y_s\widetilde{\theta}_{j_s})/(2m) ∏ s ≤ n ( 1 + ε y s θ j s ) / ( 2 m ) , in the notation of the tape of Appendix § 16 .§ 4 , and the prior is a product. Given ω 1 : n \omega_{1:n} ω 1 : n , the coordinates θ j \theta_j θ j are therefore independent, and the posterior π j \pi_j π j of θ j \theta_j θ j depends only on the signs of the c j c_j c j samples in pair j j j . Let e j : = inf t ∈ Q π j ( ∣ θ ~ j − t ∣ ≥ 1 2 ) e_j:=\inf_{t\in\mathbb{Q}}\pi_j(|\widetilde{\theta}_j-t|\ge\frac{1}{2}) e j := inf t ∈ Q π j ( ∣ θ j − t ∣ ≥ 2 1 ) . The map t ↦ π j ( ∣ θ ~ j − t ∣ < 1 2 ) t\mapsto\pi_j(|\widetilde{\theta}_j-t|<\frac{1}{2}) t ↦ π j ( ∣ θ j − t ∣ < 2 1 ) is lower semicontinuous. Hence, the infimum over Q \mathbb{Q} Q equals that over R \mathbb{R} R . Given ω 1 : n \omega_{1:n} ω 1 : n and the randomness of F k , n F_{k,n} F k , n , the events { ∣ t j − θ ~ j ∣ ≥ 1 2 } \{|t_j-\widetilde{\theta}_j|\ge\frac{1}{2}\} { ∣ t j − θ j ∣ ≥ 2 1 } are thus independent across j j j , with probabilities at least e j e_j e j .
A two-point bound for one pair. We show E [ e j ∣ c j = c ] ≥ 1 4 \mathbb{E}[e_j\mid c_j=c]\ge\frac{1}{4} E [ e j ∣ c j = c ] ≥ 4 1 for c ≤ 2 K / m c\le2K/m c ≤ 2 K / m . Let P ϑ c P_{\vartheta}^{c} P ϑ c be the law of c c c signs that are i.i.d. with mean ε ϑ ~ \varepsilon\widetilde{\vartheta} ε ϑ , and let t ( ⋅ ) t(\cdot) t ( ⋅ ) be any estimator from these signs, with A ϑ : = { ∣ t − ϑ ~ ∣ < 1 2 } A_{\vartheta}:=\{|t-\widetilde{\vartheta}|<\frac{1}{2}\} A ϑ := { ∣ t − ϑ ∣ < 2 1 } . Its risk is
r : = ∫ φ ( ϑ ) P ϑ c ( A ϑ c ) d ϑ = ∫ φ ( ϑ + 1 ) P ϑ + 1 c ( A ϑ + 1 c ) d ϑ , r:=\int\varphi(\vartheta)P_{\vartheta}^{c}(A_{\vartheta}^{c})\,d\vartheta=\int\varphi(\vartheta+1)P_{\vartheta+1}^{c}(A_{\vartheta+1}^{c})\,d\vartheta, r := ∫ φ ( ϑ ) P ϑ c ( A ϑ c ) d ϑ = ∫ φ ( ϑ + 1 ) P ϑ + 1 c ( A ϑ + 1 c ) d ϑ ,
with φ \varphi φ the standard normal density. Since B = 16 K / m ≥ 4 B=\sqrt{16K/m}\ge4 B = 16 K / m ≥ 4 , neither ϑ \vartheta ϑ nor ϑ + 1 \vartheta+1 ϑ + 1 is clipped for ϑ ∈ [ − 3 , 2 ] \vartheta\in[-3,2] ϑ ∈ [ − 3 , 2 ] . Therefore, A ϑ A_{\vartheta} A ϑ and A ϑ + 1 A_{\vartheta+1} A ϑ + 1 are disjoint there and A ϑ + 1 c ⊇ A ϑ A_{\vartheta+1}^{c}\supseteq A_{\vartheta} A ϑ + 1 c ⊇ A ϑ . Hence
2 r ≥ ∫ − 3 2 min { φ ( ϑ ) , φ ( ϑ + 1 ) } ( P ϑ c ( A ϑ c ) + P ϑ + 1 c ( A ϑ + 1 ) ) d ϑ ≥ ∫ − 3 2 min { φ ( ϑ ) , φ ( ϑ + 1 ) } ( 1 − TV ( P ϑ c , P ϑ + 1 c ) ) d ϑ . \begin{aligned}
2r\ge\int_{-3}^{2}\min\{\varphi(\vartheta),\varphi(\vartheta+1)\}\left(P_{\vartheta}^{c}(A_{\vartheta}^{c})+P_{\vartheta+1}^{c}(A_{\vartheta+1})\right)\,d\vartheta\\
&\ge\int_{-3}^{2}\min\{\varphi(\vartheta),\varphi(\vartheta+1)\}\left(1-\operatorname{TV}(P_{\vartheta}^{c},P_{\vartheta+1}^{c})\right)\,d\vartheta.
\end{aligned} 2 r ≥ ∫ − 3 2 min { φ ( ϑ ) , φ ( ϑ + 1 )} ( P ϑ c ( A ϑ c ) + P ϑ + 1 c ( A ϑ + 1 ) ) d ϑ ≥ ∫ − 3 2 min { φ ( ϑ ) , φ ( ϑ + 1 )} ( 1 − TV ( P ϑ c , P ϑ + 1 c ) ) d ϑ .
A sign has success probability in [ 1 4 , 3 4 ] [\frac{1}{4},\frac{3}{4}] [ 4 1 , 4 3 ] under both parameters, which differ by ε / 2 \varepsilon/2 ε /2 in this probability. Its KL divergence is therefore at most ( ε / 2 ) 2 / ( 3 / 16 ) = 4 3 ε 2 (\varepsilon/2)^2/(3/16)=\frac{4}{3}\varepsilon^2 ( ε /2 ) 2 / ( 3/16 ) = 3 4 ε 2 . For c ≤ 2 K / m c\le2K/m c ≤ 2 K / m , the total is at most 4 3 ⋅ ( 2 K / m ) ⋅ m / ( 64 K ) = 1 24 \frac{4}{3}\cdot(2K/m)\cdot m/(64K)=\frac{1}{24} 3 4 ⋅ ( 2 K / m ) ⋅ m / ( 64 K ) = 24 1 , and Pinsker’s inequality gives TV ≤ ( 1 / 48 ) 1 / 2 ≤ 0.145 \operatorname{TV}\le(1/48)^{1/2}\le0.145 TV ≤ ( 1/48 ) 1/2 ≤ 0.145 . The integral of the minimum equals 2 ( Φ N ( 3 ) − Φ N ( 1 2 ) ) ≥ 0.614 2(\Phi_N(3)-\Phi_N(\frac{1}{2}))\ge0.614 2 ( Φ N ( 3 ) − Φ N ( 2 1 )) ≥ 0.614 , with Φ N \Phi_N Φ N the standard normal distribution function. Hence r ≥ 1 2 ⋅ 0.614 ⋅ 0.855 ≥ 0.26 r\ge\frac{1}{2}\cdot0.614\cdot0.855\ge0.26 r ≥ 2 1 ⋅ 0.614 ⋅ 0.855 ≥ 0.26 for every estimator. For every η ′ > 0 \eta'>0 η ′ > 0 , the estimator that picks the first rational, in a fixed enumeration, whose posterior risk is within η ′ \eta' η ′ of e j e_j e j is measurable, which yields E [ e j ∣ c j = c ] ≥ 0.26 − η ′ \mathbb{E}[e_j\mid c_j=c]\ge0.26-\eta' E [ e j ∣ c j = c ] ≥ 0.26 − η ′ , which gives the claim.
Many pairs. Since ∑ j c j = n < K \sum_j c_j=n<K ∑ j c j = n < K , fewer than m / 2 m/2 m /2 pairs have c j > 2 K / m c_j>2K/m c j > 2 K / m . Given the counts, the e j ∈ [ 0 , 1 ] e_j\in[0,1] e j ∈ [ 0 , 1 ] are independent, because the pairs have independent parameters and their signs are independent given the counts, and their means sum to at least m / 8 m/8 m /8 . Hoeffding’s inequality gives ∑ j e j ≥ m / 16 \sum_j e_j\ge m/16 ∑ j e j ≥ m /16 except with probability e − m / 128 e^{-m/128} e − m /128 . On this event, N N N dominates a sum of independent Bernoulli variables with total mean at least m / 16 m/16 m /16 , and the Chernoff bound gives N ≥ m / 32 N\ge m/32 N ≥ m /32 except with probability e − m / 128 e^{-m/128} e − m /128 . Then ∥ f − P θ ∥ 1 ≥ ε / 64 \|f-P_{\theta}\|_1\ge\varepsilon/64 ∥ f − P θ ∥ 1 ≥ ε /64 . A union bound over the at most K 2 K^2 K 2 pairs ( k , n ) (k,n) ( k , n ) gives failure probability at most 2 K 2 e − m / 128 ≤ 1 4 2K^2e^{-m/128}\le\frac{1}{4} 2 K 2 e − m /128 ≤ 4 1 for m ≥ 128 ln ( 8 K 2 ) m\ge128\ln(8K^2) m ≥ 128 ln ( 8 K 2 ) .
The next lemma shows that a goal-memoryless agent on the MDPs of Theorem 4 acts on the samples of the current start state and on randomness that carries no information about them. Write s 1 , … , s M s_1,\ldots,s_M s 1 , … , s M for the start states, y 1 , … , y Y y_1,\ldots,y_Y y 1 , … , y Y for the successors and z z z for the state reached by action b b b , let K ′ : = K / M K':=K/M K ′ := K / M , and let the i i i -th block of episodes be B i : = { ( i − 1 ) K ′ + 1 , … , i K ′ } B_i:=\{(i-1)K'+1,\ldots,iK'\} B i := {( i − 1 ) K ′ + 1 , … , i K ′ } .
Lemma 10 (Records of a goal-memoryless agent) Let a goal-memoryless agent act on an MDP of Theorem 4 whose laws P 1 , … , P M P_1,\ldots,P_M P 1 , … , P M of action a a a at the start states are independent, and let the adversary start every episode of B i B_i B i at s i s_i s i and, during B i B_i B i , use the transition law only through P i P_i P i . Let F i − 1 \mathcal{F}_{i-1} F i − 1 collect P 1 , … , P i − 1 P_1,\ldots,P_{i-1} P 1 , … , P i − 1 , everything observed before B i B_i B i , the variables U x , j U_{x,j} U x , j of Definition 2 and the randomness of the adversary. For k ∈ B i k\in B_i k ∈ B i , let D k D_k D k be the list of successors of a a a at s i s_i s i observed in B i B_i B i before episode k k k .
(a) The records of all triples before episode k k k are a fixed function of ( F i − 1 , D k , k ) (\mathcal{F}_{i-1},D_k,k) ( F i − 1 , D k , k ) .
(b) P i P_i P i and the successors of a a a at s i s_i s i are independent of F i − 1 \mathcal{F}_{i-1} F i − 1 . Given P i P_i P i , these successors are i.i.d. draws from P i P_i P i , whatever the agent and the adversary do.
(c) Given the history before episode k k k and its goal ( g , v ) (g,v) ( g , v ) , the agent plays a a a in episode k k k with probability p k ( F i − 1 , D k , g , v ) p_k(\mathcal{F}_{i-1},D_k,g,v) p k ( F i − 1 , D k , g , v ) , for a fixed function p k p_k p k .
Proof. (a), the start states. Among the start states, the agent has visited only s 1 , … , s i − 1 s_1,\ldots,s_{i-1} s 1 , … , s i − 1 before B i \mathcal{B}_i B i , and only s i s_i s i during B i \mathcal{B}_i B i . The records of the triples at s i ′ s_{i'} s i ′ , i ′ ≠ i i'\ne i i ′ = i , are therefore those at the start of B i \mathcal{B}_i B i , which are functions of F i − 1 \mathcal{F}_{i-1} F i − 1 . At s i s_i s i , the records of ( 1 , s i , a ) (1,s_i,a) ( 1 , s i , a ) are D k D_k D k , and those of ( 1 , s i , b ) (1,s_i,b) ( 1 , s i , b ) repeat z z z exactly k − k i − ∣ D k ∣ k-k_i-\lvert D_k\rvert k − k i − ∣ D k ∣ times, with k i : = ( i − 1 ) K ′ + 1 k_i:=(i-1)K'+1 k i := ( i − 1 ) K ′ + 1 .
(a), the last step. The successors and z z z are absorbing. For x ∈ { y 1 , … , y Y , z } x\in\{y_1,\ldots,y_Y,z\} x ∈ { y 1 , … , y Y , z } , the records of ( 2 , x , a ′ ) (2,x,a') ( 2 , x , a ′ ) therefore repeat x x x exactly N x ( a ′ ) N_x(a') N x ( a ′ ) times, where N x ( a ′ ) N_x(a') N x ( a ′ ) counts the earlier last-step plays of a ′ a' a ′ at x x x . Since every goal pays at x x x the same reward under all actions, condition (ii) of Definition 2 applies at every last-step visit to x x x . At the j j j -th visit, the agent plays ν x ( N x , U x , j ) \nu_x(N_x,U_{x,j}) ν x ( N x , U x , j ) for a fixed rule ν x \nu_x ν x , with N x N_x N x the counts before the visit. By induction over j j j , the counts after the j j j -th visit are a fixed function c x ( j ; U x , 1 , … , U x , j ) c_x(j;U_{x,1},\ldots,U_{x,j}) c x ( j ; U x , 1 , … , U x , j ) , since all counts vanish before the first visit. The number J x J_x J x of last-step visits to x x x before episode k k k is the number of times x x x was reached at step 1. Hence J y l J_{y_l} J y l is the number of occurrences of y l y_l y l in the records at step 1 before B i \mathcal{B}_i B i and in D k D_k D k , and J z J_z J z is the number of plays of b b b at step 1 before B i \mathcal{B}_i B i plus k − k i − ∣ D k ∣ k-k_i-\lvert D_k\rvert k − k i − ∣ D k ∣ . The records at the last step before episode k k k are therefore the functions c x ( J x ; U x , 1 , … , U x , J x ) c_x(J_x;U_{x,1},\ldots,U_{x,J_x}) c x ( J x ; U x , 1 , … , U x , J x ) of ( F i − 1 , D k , k ) (\mathcal{F}_{i-1},D_k,k) ( F i − 1 , D k , k ) .
(b). Draw, for each start state, a table of successors of a a a in advance, i.i.d. from P i ′ P_{i'} P i ′ given P i ′ P_{i'} P i ′ , and let the n n n -th play of a a a at s i ′ s_{i'} s i ′ reveal the n n n -th entry, as in Appendix F.§ 2 . This does not change the law of the interaction. All other transitions are deterministic, and the randomness of the agent and of the adversary is independent of the transition law. During B i ′ \mathcal{B}_{i'} B i ′ , the adversary uses only P i ′ P_{i'} P i ′ , and the agent observes only the table of s i ′ s_{i'} s i ′ . By induction over the blocks, F i − 1 \mathcal{F}_{i-1} F i − 1 is a function of P 1 , … , P i − 1 P_1,\ldots,P_{i-1} P 1 , … , P i − 1 , of the tables of s 1 , … , s i − 1 s_1,\ldots,s_{i-1} s 1 , … , s i − 1 and of randomness independent of the transition law. Since the laws are independent across start states, F i − 1 \mathcal{F}_{i-1} F i − 1 is independent of P i P_i P i and of the table of s i s_i s i , whose first entries are the successors observed at s i s_i s i . In particular, the goals of the earlier blocks carry no information about P i P_i P i .
(c). By condition (i) of Definition 2, the policy of episode k k k is a function of the records, of the goal and of randomness drawn afresh for the episode. Given the history and the goal, the probability of playing a a a at s i s_i s i is therefore a fixed function of the records and the goal, and (a) gives the claim. The records are part of the history, and an adversary that knows the agent can therefore compute p k p_k p k .
Condition (ii) of Definition 2 is what makes part (a) hold. Suppose that the agent only had to choose among actions with equal rewards independently of the goal, and let it play, at the last step, its first action if it has played b b b at step 1 an even number of times and its second action otherwise. With M = 1 M=1 M = 1 , the histories whose first three episodes play b , a , a b,a,a b , a , a and a , b , a a,b,a a , b , a at step 1 can share the same list D k D_k D k and lead to different records at the last step. These records then encode the order of the agent’s earlier choices, which depend on the goals and thereby on P 1 P_1 P 1 . The definition concerns the last step only, which suffices for horizon 2. At intermediate steps of a longer horizon, an agent could record past goals through its choices among equivalent actions, and a factor H H H in Theorem 4(b) would need a finer definition of the class.
Lemma 11 (Members of the goal-memoryless class) Run with the goal R k R_k R k in place of the reward, the following agents are goal-memoryless: Bayes-UCBVI and calibrated AIF with a uniform prior, both breaking ties at the last step by a fixed order of the actions; Cal; AIF, if at the last step it samples from the softmax of its index before the cap at r 0 r_0 r 0 ; and calibrated AIF with Bayes-UCBVI’s prior, if
at the last step it maximises its index before the cap, breaking ties by a fixed order of the actions. UCBVI is not goal-memoryless.
Proof. Condition (i). Before episode k k k , each of the five agents computes its values by backward induction from the counts of its step-indexed rows and from the goal R k R_k R k . Its quantile orders κ h k ( x , a ) \kappa_h^k(x,a) κ h k ( x , a ) and logarithmic factors depend only on the counts of the row and on the fixed X X X , A A A , H H H , K K K and δ \delta δ (Definition 4). The greedy agents are deterministic given these values, and AIF and CaI sample their actions from softmax laws with randomness drawn afresh.
Condition (ii). Let all actions at x x x have the reward c c c under R k R_k R k . Since V k , H + 1 ≡ 0 V_{k,H+1} \equiv0 V k , H + 1 ≡ 0 , also at the pseudo-state, the index of ( x , a ) (x,a) ( x , a ) at the last step is c c c plus a term that depends only on the records of ( H , x , a ) (H,x,a) ( H , x , a ) and on fixed parameters. For Bayes-UCBVI, the quantile of p ⊤ V k , H + 1 p^\top V_{k,H+1} p ⊤ V k , H + 1 vanishes, and its index is c c c . For calibrated AIF with a uniform prior, Ψ k , H u = 0 \Psi_{k,H}^{\mathrm{u}} = 0 Ψ k , H u = 0 , since span ( V k , H + 1 ) = 0 \operatorname{span}(V_{k,H+1}) = 0 span ( V k , H + 1 ) = 0 , and its index is min { 1 , c } \min\{1,c\} min { 1 , c } . For CaI, Ψ = 0 \Psi= 0 Ψ = 0 and there is no cap. For AIF, the term is β − 1 ( H ^ [ P ^ H k ( ⋅ ∣ x , a ) ] + Novelty H k ( x , a ) ) \beta^{-1}(\widehat{H}[\widehat{P}_{H}^k(\cdot\mid x,a)] + \operatorname{Novelty}_{H}^k(x,a)) β − 1 ( H [ P H k ( ⋅ ∣ x , a )] + Novelty H k ( x , a )) . For calibrated AIF with Bayes-UCBVI’s prior, span ( V k , H + 1 ) = 0 \operatorname{span}(V_{k,H+1}) = 0 span ( V k , H + 1 ) = 0 , and the term is 2 2 r 0 H ℓ H k ( x , a ) / n ˉ H k ( x , a ) 2\sqrt{2}r_0 H \ell_H^k(x,a)/\bar{n}_H^k(x,a) 2 2 r 0 H ℓ H k ( x , a ) / n ˉ H k ( x , a ) , a function of the counts of ( H , x , a ) (H,x,a) ( H , x , a ) . The greedy agents maximise these indices with a fixed order for ties, and the softmax laws of AIF and CaI depend only on the differences of the indices, from which c c c cancels. Each agent thus draws its action from a fixed law given the records of ( H , x , ⋅ ) (H,x,\cdot) ( H , x , ⋅ ) , with fresh randomness. Drawing it instead by the quantile transform of U x , j U_{x,j} U x , j , with j j j the number of earlier last-step visits to x x x , which the records determine, does not change the law of the interaction.
The cap and UCBVI. With the cap, AIF and calibrated AIF with Bayes-UCBVI’s prior act on min { r 0 , c + Ψ k , H ( x , a ) } \min\{r_0,c+\Psi_{k,H}(x,a)\} min { r 0 , c + Ψ k , H ( x , a )} , which depends on c c c once the cap binds and thereby violates condition (ii). The convention leaves the other results unchanged. For H ≥ 2 H \ge2 H ≥ 2 , the floor of Proposition 1 concerns the first step. A maximiser of the index before the cap also maximises the capped index. Calibrated AIF therefore stays greedy for its capped values, which is all that Theorem 3 uses. UCBVI clamps its values at those of the previous episode, which depend on the previous goals, and violates condition (i).
■
Proof of Theorem 4(b). The instance and the reduction to one start state. In this proof, m = Y / 2 m=Y/2 m = Y /2 is the number of pairs of successors. The number of start states is M M M , and K ′ = K / M K'=K/M K ′ = K / M . The MDP is the Gaussian family of Appendix § 16 , with start states s 1 , … , s M s_1,\ldots,s_M s 1 , … , s M , successors y 1 , … , y Y y_1,\ldots,y_Y y 1 , … , y Y and the state z z z . At s i s_i s i , action a a a leads to y j y_j y j with probability P i ( y j ) P_i(y_j) P i ( y j ) and action b b b leads to z z z , and the y j y_j y j and z z z are absorbing. The horizon is H = 2 H=2 H = 2 . Hence H − 1 = 1 H-1=1 H − 1 = 1 in the formulas below. A goal pays g ∈ { 0 , 1 } Y g \in\{0,1\}^Y g ∈ { 0 , 1 } Y at the successors, v ∈ [ 0 , 1 ] v \in[0,1] v ∈ [ 0 , 1 ] at z z z and 0 0 0 at the start states. From s i s_i s i , action a a a is therefore worth P i g P_i g P i g and action b b b is worth v v v . The adversary starts every episode of the block B i \mathcal{B}_i B i at s i s_i s i and, during B i \mathcal{B}_i B i , uses the transition law only through P i P_i P i . By Lemma 10, given F i − 1 \mathcal{F}_{i-1} F i − 1 , the successors of a a a at s i s_i s i are i.i.d. draws from P i P_i P i , the parameter θ ( i ) \theta^{(i)} θ ( i ) of P i = P θ ( i ) P_i=P_{\theta^{(i)}} P i = P θ ( i ) is still N ( 0 , I m ) \mathcal{N}(0,I_m) N ( 0 , I m ) , and the agent plays a a a in an episode k ∈ B i k \in\mathcal{B}_i k ∈ B i with probability p k ( F i − 1 , D k , g k , v k ) p_k(\mathcal{F}_{i-1},D_k,g_k,v_k) p k ( F i − 1 , D k , g k , v k ) . With ϵ = m / ( 64 K ′ ) \epsilon=\sqrt{m/(64K')} ϵ = m / ( 64 K ′ ) , the single-start-state argument below, applied to the K ′ K' K ′ episodes of B i \mathcal{B}_i B i conditionally on F i − 1 \mathcal{F}_{i-1} F i − 1 , bounds the expected regret of B i \mathcal{B}_i B i , averaged over θ ( i ) \theta^{(i)} θ ( i ) , from below by ( H − 1 ) Y K ′ / 16000 (H-1)\sqrt{YK'}/16000 ( H − 1 ) Y K ′ /16000 . It needs K ′ ≥ m K' \ge m K ′ ≥ m and m ≥ 128 ln ( 8 K ′ 2 ) m \ge128\ln(8K'^{2}) m ≥ 128 ln ( 8 K ′ 2 ) , which the hypotheses give. Indeed, K ′ ≥ C m 2 ln 3 ( m K ) ≥ m K' \ge Cm^2\ln^3(mK) \ge m K ′ ≥ C m 2 ln 3 ( m K ) ≥ m , and m ≥ 300 ln ( 3 K ) m \ge300\ln(3K) m ≥ 300 ln ( 3 K ) implies m / 128 ≥ 2.34 ln ( 3 K ) ≥ ln ( 8 K ′ 2 ) m/128 \ge2.34\ln(3K) \ge\ln(8K'^2) m /128 ≥ 2.34 ln ( 3 K ) ≥ ln ( 8 K ′2 ) . Summing over the M M M blocks, the expected regret under the prior is at least M ( H − 1 ) Y K / M / 16000 = ( H − 1 ) M Y K / 16000 M(H-1)\sqrt{YK/M}/16000=(H-1)\sqrt{MYK}/16000 M ( H − 1 ) Y K / M /16000 = ( H − 1 ) M Y K /16000 . For M = 1 M=1 M = 1 the start state is fixed and the argument below is the whole proof. In the rest of the proof, K K K stands for K ′ K' K ′ , the start state is s 0 : = s i s_0 := s_i s 0 := s i , θ : = θ ( i ) \theta:= \theta^{(i)} θ := θ ( i ) , P : = P θ P := P_\theta P := P θ and D : = D k D := D_k D := D k , and we suppress the fixed F i − 1 \mathcal{F}_{i-1} F i − 1 .
One start state. The goal of episode k k k pays g k ∈ { 0 , 1 } Y g_k \in\{0,1\}^{Y} g k ∈ { 0 , 1 } Y at the successors y j y_j y j and v k ∈ [ 0 , 1 ] v_k \in[0,1] v k ∈ [ 0 , 1 ] at z z z , and the adversary chooses ( g k , v k ) (g_k,v_k) ( g k , v k ) from P P P and the history. All states after the first step are absorbing and their rewards do not depend on the action. The regret of episode k k k therefore depends only on the action at s 0 s_0 s 0 , where the agent plays a a a with probability p k ( D , g k , v k ) p_k(D,g_k,v_k) p k ( D , g k , v k ) by Lemma 10(c). The functions p k p_k p k do not depend on P P P , and the list D D D consists of the first entries of an i.i.d. sequence drawn from P P P .
A threshold for every goal. Fix k k k and D D D , write p ( g , v ) : = p k ( D , g , v ) p(g,v) := p_k(D,g,v) p ( g , v ) := p k ( D , g , v ) , let τ ( g ) : = sup { v ∈ [ 0 , 1 ] : p ( g , v ) ≥ 1 2 } \tau(g) := \sup\{v \in[0,1] : p(g,v) \ge\frac{1}{2}\} τ ( g ) := sup { v ∈ [ 0 , 1 ] : p ( g , v ) ≥ 2 1 } with sup ∅ : = 0 \sup\varnothing:= 0 sup ∅ := 0 , and let Δ k : = max g ∣ τ ( g ) − P g ∣ \Delta_k := \max_g |\tau(g)-P_g| Δ k := max g ∣ τ ( g ) − P g ∣ , attained at some g g g . If τ ( g ) > P g \tau(g)>P_g τ ( g ) > P g , the adversary picks some v ≥ ( τ ( g ) + P g ) / 2 v \ge(\tau(g)+P_g)/2 v ≥ ( τ ( g ) + P g ) /2 with p ( g , v ) ≥ 1 2 p(g,v) \ge\frac{1}{2} p ( g , v ) ≥ 2 1 , so that b b b is optimal while the agent plays a a a with probability at least 1 2 \frac{1}{2} 2 1 . If τ ( g ) < P g \tau(g)<P_g τ ( g ) < P g , it picks v = ( τ ( g ) + P g ) / 2 v=(\tau(g)+P_g)/2 v = ( τ ( g ) + P g ) /2 , for which p ( g , v ) < 1 2 p(g,v)<\frac{1}{2} p ( g , v ) < 2 1 , so that a a a is optimal while the agent plays b b b with probability above 1 2 \frac{1}{2} 2 1 . In both cases the expected regret of episode k k k , given the history, is at least ( H − 1 ) Δ k / 4 (H-1)\Delta_k/4 ( H − 1 ) Δ k /4 . The adversary thus depends on the agent through p k p_k p k , which is why Theorem 4(b) states that every goal-memoryless agent has the bound against some adversary. This is the standard form of a minimax lower bound, inf a g e n t sup a d v e r s a r y E R K g o a l ≥ M Y K / 16000 \inf_{\mathrm{agent}}\sup_{\mathrm{adversary}}\mathbb{E}\mathcal{R}^{\mathrm{goal}}_K \ge\sqrt{MYK}/16000 inf agent sup adversary E R K goal ≥ M Y K /16000 over goal-memoryless agents, and it is the form that the upper bound of part (c), which holds for one agent against every adversary, matches.
From thresholds to an estimate of P P P . Let Q ^ k \widehat{Q}_k Q k minimise max g ∣ Q g − τ ( g ) ∣ \max_g |Q_g-\tau(g)| max g ∣ Q g − τ ( g ) ∣ over the laws Q Q Q on the successors. Since P P P is a candidate, max g ∣ Q ^ k , g − τ ( g ) ∣ ≤ Δ k \max_g|\widehat{Q}_{k,g}-\tau(g)|\le\Delta_k max g ∣ Q k , g − τ ( g ) ∣ ≤ Δ k , which yields ( Q ^ k − P ) g ≤ 2 Δ k (\widehat{Q}_k-P)_g\le2\Delta_k ( Q k − P ) g ≤ 2 Δ k for every g g g , and 1 2 ∥ Q ^ k − P ∥ 1 ≤ 2 Δ k \frac{1}{2}\|\widehat{Q}_k-P\|_1\le2\Delta_k 2 1 ∥ Q k − P ∥ 1 ≤ 2 Δ k as in the proof of Lemma 8. Hence
E R K g o a l ≥ H − 1 16 ∑ k E ∥ Q ^ k − P ∥ 1 . \mathbb{E}\mathcal{R}^{\mathrm{goal}}_K \ge\frac{H-1}{16}\sum_k \mathbb{E}\|\widehat{Q}_k-P\|_1. E R K goal ≥ 16 H − 1 k ∑ E ∥ Q k − P ∥ 1 .
Let ω 1 , ω 2 , … \omega_1,\omega_2,\ldots ω 1 , ω 2 , … be the successors of a a a in the order in which the agent observes them, which are i.i.d. draws from P P P whatever the agent and the adversary do. By Lemma 10(c), τ \tau τ and hence Q ^ k \widehat{Q}_k Q k are functions of D = ω 1 : n D=\omega_{1:n} D = ω 1 : n at n = n k n=n_k n = n k . Thus Q ^ k = F k , n ( ω 1 : n ) \widehat{Q}_k=F_{k,n}(\omega_{1:n}) Q k = F k , n ( ω 1 : n ) for functions F k , n F_{k,n} F k , n of the samples and of randomness independent of θ \theta θ and of the samples, namely F i − 1 \mathcal{F}_{i-1} F i − 1 . The count n k ≤ k − 1 n_k\le k-1 n k ≤ k − 1 is random and may depend on P P P through the goals. We therefore bound the error at all pairs ( k , n ) (k,n) ( k , n ) at once, with Lemma 9. These steps use only that the successors are i.i.d. and that indicator goals detect ℓ 1 \ell_1 ℓ 1 errors. The prior enters only through the lemma.
Conclusion. On the event G G G of Lemma 9, ∥ Q ^ k − P ∥ 1 ≥ ε / 64 \|\widehat{Q}_k-P\|_1\ge\varepsilon/64 ∥ Q k − P ∥ 1 ≥ ε /64 for every k k k , whatever the count n k n_k n k , which yields
E R K g o a l ≥ H − 1 16 ⋅ 3 4 ⋅ K ε 64 = 3 ( H − 1 ) K ε 4096 . \mathbb{E}\mathcal{R}^{\mathrm{goal}}_K \ge\frac{H-1}{16}\cdot\frac{3}{4}\cdot\frac{K\varepsilon}{64}=\frac{3(H-1)K\varepsilon}{4096}. E R K goal ≥ 16 H − 1 ⋅ 4 3 ⋅ 64 K ε = 4096 3 ( H − 1 ) K ε .
in expectation over the prior. Since K ε = m K / 8 K\varepsilon=\sqrt{mK}/8 K ε = m K /8 and m = Y / 2 m=Y/2 m = Y /2 , this is at least ( H − 1 ) Y K / 16000 (H-1)\sqrt{YK}/16000 ( H − 1 ) Y K /16000 . An adversary that knows P P P reveals information about P P P through its goals, and an agent that uses past goals as data could learn from them, which is why part (b) restricts the agents. ▪
The hypercube family. Proposition 8 uses the same argument, in the notation of the proof of Theorem 4(b), on the family P σ P_\sigma P σ of the proof of Lemma 8, with σ \sigma σ uniform on { − 1 , 1 } m \{-1,1\}^m { − 1 , 1 } m , m = ⌊ Y / 2 ⌋ m=\lfloor Y/2\rfloor m = ⌊ Y /2 ⌋ and ε : = 3 m / ( 64 K ) ≤ 1 2 \varepsilon:=\sqrt{3m/(64K)}\le\frac{1}{2} ε := 3 m / ( 64 K ) ≤ 2 1 , drawn independently at each start state. Lemma 10 holds for every prior under which the laws at the start states are independent, and hence on this family. The reduction to one start state is therefore unchanged, and in the rest of this paragraph K K K stands for K ′ = K / M K'=K/M K ′ = K / M . Only the error bound changes. Let σ ^ i : = 1 \hat{\sigma}_i:=1 σ ^ i := 1 if f ( y 2 i − 1 ) > f ( y 2 i ) f(y_{2i-1})>f(y_{2i}) f ( y 2 i − 1 ) > f ( y 2 i ) and σ ^ i : = − 1 \hat{\sigma}_i:=-1 σ ^ i := − 1 otherwise. As in that proof, each wrong sign adds at least ε / m \varepsilon/m ε / m to ∥ f − P σ ∥ 1 \lVert f-P_{\sigma}\rVert_{1} ∥ f − P σ ∥ 1 . Given ω 1 : n \omega_{1:n} ω 1 : n , the signs σ i \sigma_i σ i are independent, and the posterior probability q i q_i q i of σ i = 1 \sigma_i=1 σ i = 1 depends only on the samples in pair i i i . Given ω 1 : n \omega_{1:n} ω 1 : n , the number of wrong signs is therefore a sum of independent Bernoulli variables whose means are at least e i : = min ( q i , 1 − q i ) e_i:=\min(q_i,1-q_i) e i := min ( q i , 1 − q i ) . For c i ≤ 2 K / m c_i\le2K/m c i ≤ 2 K / m , the bound of Eq. (35) in Appendix § 12 .§ 4 with ε / 2 \varepsilon/2 ε /2 in place of ε \varepsilon ε bounds the total variation between the laws of the pair’s samples under σ i = ± 1 \sigma_i=\pm1 σ i = ± 1 by ε 8 c i / 3 ≤ 1 2 \varepsilon\sqrt{8c_i/3}\le\frac{1}{2} ε 8 c i /3 ≤ 2 1 , which yields E [ e i ∣ c 1 , … , c m ] ≥ 1 4 \mathbb{E}[e_i\mid c_1,\ldots,c_m]\ge\frac{1}{4} E [ e i ∣ c 1 , … , c m ] ≥ 4 1 . Hoeffding’s inequality and the Chernoff bound, as above, give ∥ f − P σ ∥ 1 ≥ ε / 32 \lVert f-P_{\sigma}\rVert_{1}\ge\varepsilon/32 ∥ f − P σ ∥ 1 ≥ ε /32 except with probability 2 e − m / 128 2e^{-m/128} 2 e − m /128 . For Y ≥ 600 ln ( 3 K ) Y\ge600\ln(3K) Y ≥ 600 ln ( 3 K ) , m / 128 ≥ ln ( 8 K 2 ) m/128\ge\ln(8K^2) m /128 ≥ ln ( 8 K 2 ) . The bound therefore holds for all k ≤ K k\le K k ≤ K and n < K n<K n < K with probability at least 3 4 \frac{3}{4} 4 3 , and the conclusion above gives
E P K g o a l ≥ 3 ( H − 1 ) K ε 2048 ≥ ( H − 1 ) Y K 6000 \mathbb{E}P^{\mathrm{goal}}_{K}\ge\frac{3(H-1)K\varepsilon}{2048}\ge\frac{(H-1)\sqrt{YK}}{6000} E P K goal ≥ 2048 3 ( H − 1 ) K ε ≥ 6000 ( H − 1 ) Y K
under the uniform prior, for K ≥ Y K\ge Y K ≥ Y . Summed over the M M M blocks, this is ( H − 1 ) M Y K / 6000 (H-1)\sqrt{MYK}/6000 ( H − 1 ) M Y K /6000 for K ′ ≥ Y K'\ge Y K ′ ≥ Y , the lower bound of Proposition 8. Some σ \sigma σ attains at least this average. The bound therefore also holds on a fixed MDP.
This subsection collects, with proofs, the concentration inequalities of Appendix § 16 .§ 5 and the tape notation that Appendix § 16 .§ 3 also uses. A real random variable χ \chi χ is sub-Gaussian with proxy σ 2 \sigma^2 σ 2 if E e λ ( χ − E χ ) ≤ e λ 2 σ 2 / 2 \mathbb{E}e^{\lambda(\chi-\mathbb{E}\chi)}\le e^{\lambda^2\sigma^2/2} E e λ ( χ − E χ ) ≤ e λ 2 σ 2 /2 for all λ ∈ R \lambda\in\mathbb{R} λ ∈ R . We use five standard facts [11 ] . A variable with values in an interval of length ℓ \ell ℓ is sub-Gaussian with proxy ℓ 2 / 4 \ell^2/4 ℓ 2 /4 (Hoeffding’s lemma). The proxies of independent variables add, and so do those of martingale differences whose conditional proxies are fixed in advance. A sub-Gaussian variable with proxy σ 2 \sigma^2 σ 2 satisfies P ( ∣ χ − E χ ∣ ≥ t ) ≤ 2 e − t 2 / ( 2 σ 2 ) \mathbb{P}(|\chi-\mathbb{E}\chi|\ge t)\le2e^{-t^2/(2\sigma^2)} P ( ∣ χ − E χ ∣ ≥ t ) ≤ 2 e − t 2 / ( 2 σ 2 ) . Bernstein’s inequality states that independent χ 1 , … , χ n \chi_1,\ldots,\chi_n χ 1 , … , χ n with ∣ χ i − E χ i ∣ ≤ b |\chi_i-\mathbb{E}\chi_i|\le b ∣ χ i − E χ i ∣ ≤ b and ∑ i V χ i ≤ v \sum_i\mathbb{V}\chi_i\le v ∑ i V χ i ≤ v satisfy
P ( ∣ ∑ i ( χ i − E χ i ) ∣ ≥ 2 v x + b x / 3 ) ≤ 2 e − x \mathbb{P}\left(\left|\sum_i(\chi_i-\mathbb{E}\chi_i)\right|\ge\sqrt{2vx}+bx/3\right)\le2e^{-x} P ( i ∑ ( χ i − E χ i ) ≥ 2 v x + b x /3 ) ≤ 2 e − x
for x > 0 x>0 x > 0 . Finally, a ϱ \varrho ϱ -net of the unit sphere of a d d d -dimensional space, that is, a subset within distance ϱ \varrho ϱ of every point, exists with at most ( 1 + 2 / ϱ ) d (1+2/\varrho)^d ( 1 + 2/ ϱ ) d points.
The tape. Fix θ ∈ R m \theta\in\mathbb{R}^m θ ∈ R m and ε > 0 \varepsilon>0 ε > 0 , and let the clipped coordinates of the Gaussian family be θ ~ j : = max { − B , min { B , θ j } } \widetilde{\theta}_j:=\max\{-B,\min\{B,\theta_j\}\} θ j := max { − B , min { B , θ j }} and B : = 1 / ( 2 ε ) B:=1/(2\varepsilon) B := 1/ ( 2 ε ) , which gives ε ∣ θ ~ j ∣ ≤ 1 2 \varepsilon|\widetilde{\theta}_j|\le\frac{1}{2} ε ∣ θ j ∣ ≤ 2 1 . The tape is an i.i.d. sequence ( ( j s , y s ) ) s ≥ 1 ((j_s,y_s))_{s\ge1} (( j s , y s ) ) s ≥ 1 in which j s j_s j s is uniform on { 1 , … , m } \{1,\ldots,m\} { 1 , … , m } and y s ∈ { − 1 , 1 } y_s\in\{-1,1\} y s ∈ { − 1 , 1 } has P ( y s = 1 ∣ j s ) = ( 1 + ε θ ~ j s ) / 2 \mathbb{P}(y_s=1\mid j_s)=(1+\varepsilon\widetilde{\theta}_{j_s})/2 P ( y s = 1 ∣ j s ) = ( 1 + ε θ j s ) /2 . We call j s j_s j s the label of entry s s s . Label j j j belongs to the pair of successors y 2 j − 1 , y 2 j y_{2j-1},y_{2j} y 2 j − 1 , y 2 j . The s s s -th sample of action a a a at the start state with parameter θ \theta θ is the successor y 2 j s − 1 y_{2j_s-1} y 2 j s − 1 if the sign y s y_s y s equals 1 1 1 and the successor y 2 j s y_{2j_s} y 2 j s otherwise. The subscript of a sign is a tape position, and that of a successor is a state index. The agent and the adversary only decide when the next entry is read. Every statement about fixed entries of the tape therefore holds whatever they do. For an interval I I I of positions, let n j ( I ) : = ∣ { s ∈ I : j s = j } ∣ n_j(I):=|\{s\in I:j_s=j\}| n j ( I ) := ∣ { s ∈ I : j s = j } ∣ , and let n j ( n ) : = n j ( { 1 , … , n } ) n_j(n):=n_j(\{1,\ldots,n\}) n j ( n ) := n j ({ 1 , … , n }) and d j ( n ) : = ∑ s ≤ n : j s = j y s d_j(n):=\sum_{s\le n:j_s=j}y_s d j ( n ) := ∑ s ≤ n : j s = j y s .
Lemma 12 (Gaussian norm and maximum) Let θ ∼ N ( 0 , I m ) \theta\sim N(0,I_m) θ ∼ N ( 0 , I m ) with m ≥ 2 m\ge2 m ≥ 2 , and let x > 0 x>0 x > 0 . Then P ( ∥ θ ∥ 2 ≥ m + 2 m x + 2 x ) ≤ e − x \mathbb{P}\left(\lVert\theta\rVert^2\ge m+2\sqrt{mx}+2x\right)\le e^{-x} P ( ∥ θ ∥ 2 ≥ m + 2 m x + 2 x ) ≤ e − x , P ( ∥ θ ∥ 2 ≤ m − 2 m x ) ≤ e − x \mathbb{P}\left(\lVert\theta\rVert^2\le m-2\sqrt{mx}\right)\le e^{-x} P ( ∥ θ ∥ 2 ≤ m − 2 m x ) ≤ e − x , and P ( max j ∣ θ j ∣ > 6 ln m ) ≤ m − 2 \mathbb{P}\left(\max_j|\theta_j|>\sqrt{6\ln m}\right)\le m^{-2} P ( max j ∣ θ j ∣ > 6 ln m ) ≤ m − 2 . In particular , 0.95 m ≤ ∥ θ ∥ 2 ≤ 1.05 m 0.95m\le\lVert\theta\rVert^2\le1.05m 0.95 m ≤ ∥ θ ∥ 2 ≤ 1.05 m except with probability 2 e − m / 1700 2e^{-m/1700} 2 e − m /1700 .
Proof. The first two bounds are the tail bounds for the χ 2 \chi^2 χ 2 distribution with m m m degrees of freedom [11 ] . For a standard normal g g g and t ≥ 1 t \ge1 t ≥ 1 , P ( ∣ g ∣ > t ) ≤ 2 / π e − t 2 / 2 / t ≤ e − t 2 / 2 \mathbb{P}(|g| > t) \le\sqrt{2/\pi}e^{-t^2/2}/t \le e^{-t^2/2} P ( ∣ g ∣ > t ) ≤ 2/ π e − t 2 /2 / t ≤ e − t 2 /2 , which is m − 3 m^{-3} m − 3 at t = 6 ln m t = \sqrt{6\ln m} t = 6 ln m , and a union bound over the m m m coordinates gives the third bound. For x = m / 1700 x = m/1700 x = m /1700 , 2 m x + 2 x ≤ 0.0486 m + 0.0012 m < 0.05 m 2\sqrt{mx} + 2x \le0.0486m + 0.0012m < 0.05m 2 m x + 2 x ≤ 0.0486 m + 0.0012 m < 0.05 m .
Lemma 13 (Counts and signs on the tape). Fix θ \theta θ and let x > 0 x > 0 x > 0 .
(i) Let I I I be an interval of positions and a ∈ R m a \in\mathbb{R}^m a ∈ R m , both fixed given the tape entries before I I I and randomness independent of the tape. Let a ˉ : = ∑ j a j / m \bar{a} := \sum_j a_j/m a ˉ := ∑ j a j / m and b : = max j ∣ a j − a ˉ ∣ b := \max_j |a_j - \bar{a}| b := max j ∣ a j − a ˉ ∣ . With probability at least 1 − 2 e − x 1 - 2e^{-x} 1 − 2 e − x , ∣ ∑ s ∈ I a j s − ∣ I ∣ a ˉ ∣ ≤ 2 ∣ I ∣ ∥ a ∥ 2 x / m + b x / 3 \left|\sum_{s\in I}a_{j_s} - |I|\bar{a}\right| \le\sqrt{2|I|\|a\|^2x/m} + bx/3 ∑ s ∈ I a j s − ∣ I ∣ a ˉ ≤ 2∣ I ∣∥ a ∥ 2 x / m + b x /3 . In particular, ∣ n j ( I ) − ∣ I ∣ / m ∣ ≤ 2 ∣ I ∣ x / m + x / 3 |n_j(I) - |I|/m| \le\sqrt{2|I|x/m} + x/3 ∣ n j ( I ) − ∣ I ∣/ m ∣ ≤ 2∣ I ∣ x / m + x /3 .
(ii) For each label j j j , with probability at least 1 − 4 K e − x 1 - 4Ke^{-x} 1 − 4 K e − x , ∣ d j ( n ) − n j ( n ) θ ~ j ∣ ≤ 2 n j ( n ) x |d_j(n) - n_j(n)\widetilde{\theta}_j| \le\sqrt{2n_j(n)x} ∣ d j ( n ) − n j ( n ) θ j ∣ ≤ 2 n j ( n ) x for all n ≤ 2 K n \le2K n ≤ 2 K .
Proof. (i) Given the entries before I I I and the independent randomness, a a a is fixed and the labels j s j_s j s , s ∈ I s \in I s ∈ I , are i.i.d. uniform. The variables a j s a_{j_s} a j s have mean a ˉ \bar{a} a ˉ , variance at most ∑ j a j 2 / m \sum_j a_j^2/m ∑ j a j 2 / m , and deviation at most b b b from their mean. Hence, Bernstein’s inequality gives the bound. For a a a the j j j -th standard basis vector, we have b ≤ 1 b \le1 b ≤ 1 . (ii) Let y i ( j ) y_i^{(j)} y i ( j ) be the sign of the i i i -th entry with label j j j . Given θ \theta θ , the labels and signs are independent across entries, which makes y 1 ( j ) , y 2 ( j ) , … y_1^{(j)}, y_2^{(j)}, \ldots y 1 ( j ) , y 2 ( j ) , … i.i.d. with mean θ ~ j \widetilde{\theta}_j θ j and values in an interval of length 2, and d j ( n ) = ∑ i ≤ n j ( n ) y i ( j ) d_j(n) = \sum_{i\le n_j(n)}y_i^{(j)} d j ( n ) = ∑ i ≤ n j ( n ) y i ( j ) . Hoeffding’s lemma, the additivity of proxies and the sub-Gaussian tail give P ( ∣ ∑ i ≤ r ( y i ( j ) − θ ~ j ) ∣ ≥ 2 r x ) ≤ 2 e − x \mathbb{P}(|\sum_{i\le r}(y_i^{(j)}-\widetilde{\theta}_j)| \ge\sqrt{2rx}) \le2e^{-x} P ( ∣ ∑ i ≤ r ( y i ( j ) − θ j ) ∣ ≥ 2 r x ) ≤ 2 e − x for each r r r , and a union bound over r ≤ 2 K r \le2K r ≤ 2 K gives the claim. The sign sequence of a pair is indexed by its own visit number. The claim therefore holds whatever rule decides how many entries are read.
Lemma 14 (Overshoot on a spherical cap). Let V V V be a subspace of R m \mathbb{R}^m R m of dimension d ≥ 4 d \ge4 d ≥ 4 , let w ∈ V w \in V w ∈ V with ∥ w ∥ = r \|w\| = r ∥ w ∥ = r , let 0 < z 0 < r 0 < z_0 < r 0 < z 0 < r , and let u u u be uniform on the unit sphere of V V V and s : = ⟨ u , w ⟩ s := \langle u,w\rangle s := ⟨ u , w ⟩ . Then s s s has density proportional to ( 1 − s 2 / r 2 ) ( d − 3 ) / 2 (1-s^2/r^2)^{(d-3)/2} ( 1 − s 2 / r 2 ) ( d − 3 ) /2 on [ − r , r ] [-r,r] [ − r , r ] . Conditionally on ∣ s ∣ ≥ z 0 |s| \ge z_0 ∣ s ∣ ≥ z 0 , the overshoot ∣ s ∣ − z 0 |s|-z_0 ∣ s ∣ − z 0 is stochastically dominated by the exponential law with mean μ : = r 2 / ( ( d − 3 ) z 0 ) \mu:= r^2/((d-3)z_0) μ := r 2 / (( d − 3 ) z 0 ) . Hence, E [ s 2 ∣ ∣ s ∣ ≥ z 0 ] ≤ z 0 2 + 2 z 0 μ + 2 μ 2 \mathbb{E}[s^2 \mid|s| \ge z_0] \le z_0^2 + 2z_0\mu+ 2\mu^2 E [ s 2 ∣ ∣ s ∣ ≥ z 0 ] ≤ z 0 2 + 2 z 0 μ + 2 μ 2 and P ( ∣ s ∣ > z 0 + t μ ∣ ∣ s ∣ ≥ z 0 ) ≤ e − t \mathbb{P}(|s| > z_0 + t\mu\mid|s| \ge z_0) \le e^{-t} P ( ∣ s ∣ > z 0 + t μ ∣ ∣ s ∣ ≥ z 0 ) ≤ e − t for t ≥ 0 t \ge0 t ≥ 0 . Conditionally on s s s , the component of u u u orthogonal to w w w is uniform on the sphere of radius 1 − s 2 / r 2 \sqrt{1-s^2/r^2} 1 − s 2 / r 2 in V ∩ w ⊥ V \cap w^\perp V ∩ w ⊥ .
Proof. The density of the coordinate of a uniform point on the unit sphere of R d \mathbb{R}^d R d along a fixed unit vector is proportional to ( 1 − t 2 ) ( d − 3 ) / 2 (1-t^2)^{(d-3)/2} ( 1 − t 2 ) ( d − 3 ) /2 , and given this coordinate the remaining component is uniform on the sphere of the orthogonal complement with the matching radius. Scaling by r r r gives the first and last claims. By symmetry it suffices to consider s ≥ z 0 s \ge z_0 s ≥ z 0 . The density g ( s ) = ( 1 − s 2 / r 2 ) ( d − 3 ) / 2 g(s) = (1-s^2/r^2)^{(d-3)/2} g ( s ) = ( 1 − s 2 / r 2 ) ( d − 3 ) /2 has − ( ln g ) ′ ( s ) = ( d − 3 ) s / ( r 2 − s 2 ) ≥ ( d − 3 ) z 0 / r 2 = 1 / μ -(\ln g)'(s) = (d-3)s/(r^2-s^2) \ge(d-3)z_0/r^2 = 1/\mu − ( ln g ) ′ ( s ) = ( d − 3 ) s / ( r 2 − s 2 ) ≥ ( d − 3 ) z 0 / r 2 = 1/ μ for s ∈ [ z 0 , r ) s \in[z_0,r) s ∈ [ z 0 , r ) , which yields g ( s + t ) ≤ e − t / μ g ( s ) g(s+t) \le e^{-t/\mu}g(s) g ( s + t ) ≤ e − t / μ g ( s ) for s ≥ z 0 s \ge z_0 s ≥ z 0 and t ≥ 0 t \ge0 t ≥ 0 . Hence ∫ z 0 + t r g = ∫ z 0 r − t g ( v + t ) d v ≤ e − t / μ ∫ z 0 r g \int_{z_0+t}^{r}g = \int_{z_0}^{r-t}g(v+t)\,dv \le e^{-t/\mu}\int_{z_0}^{r}g ∫ z 0 + t r g = ∫ z 0 r − t g ( v + t ) d v ≤ e − t / μ ∫ z 0 r g , which is the stochastic domination. The overshoot ζ : = s − z 0 \zeta:= s-z_0 ζ := s − z 0 thus has E ζ ≤ μ \mathbb{E}\zeta\le\mu E ζ ≤ μ and E ζ 2 ≤ 2 μ 2 \mathbb{E}\zeta^2 \le2\mu^2 E ζ 2 ≤ 2 μ 2 , which yields E [ ( z 0 + ζ ) 2 ] ≤ z 0 2 + 2 z 0 μ + 2 μ 2 \mathbb{E}[(z_0+\zeta)^2] \le z_0^2 + 2z_0\mu+ 2\mu^2 E [( z 0 + ζ ) 2 ] ≤ z 0 2 + 2 z 0 μ + 2 μ 2 .
Lemma 15 (Projections of a uniform point on a sphere). Let V V V be a subspace of R m \mathbb{R}^{m} R m of dimension d ′ ≥ 4 d' \ge4 d ′ ≥ 4 , let P V P_{V} P V be the orthogonal projection onto V V V , and let u u u be uniform on the unit sphere of V V V . For every fixed x ∈ R m x \in\mathbb{R}^{m} x ∈ R m and t ≥ 0 t \ge0 t ≥ 0 ,
P ( ∣ ⟨ u , x ⟩ ∣ > t ∥ P V x ∥ ) ≤ 2 e − ( d ′ − 3 ) t 2 / 2 . \mathbb{P}\left(\lvert\langle u,x\rangle\rvert> t\lVert P_{V}x\rVert\right) \le2e^{-(d'-3)t^{2}/2}. P ( ∣⟨ u , x ⟩∣ > t ∥ P V x ∥ ) ≤ 2 e − ( d ′ − 3 ) t 2 /2 .
Proof. Since ⟨ u , x ⟩ = ⟨ u , P V x ⟩ \langle u,x\rangle= \langle u,P_{V}x\rangle ⟨ u , x ⟩ = ⟨ u , P V x ⟩ , the event is empty if P V x = 0 P_{V}x = 0 P V x = 0 , and otherwise we may take x ∈ V x \in V x ∈ V with ∥ x ∥ = 1 \lVert x\rVert= 1 ∥ x ∥ = 1 . By Lemma 14 with r = 1 r = 1 r = 1 , s = ⟨ u , x ⟩ s = \langle u,x\rangle s = ⟨ u , x ⟩ has density proportional to ( 1 − s 2 ) k (1-s^{2})^{k} ( 1 − s 2 ) k with k : = ( d ′ − 3 ) / 2 ≥ 1 2 k := (d'-3)/2 \ge\frac{1}{2} k := ( d ′ − 3 ) /2 ≥ 2 1 . Using 1 − s 2 ≤ e − s 2 1-s^{2} \le e^{-s^{2}} 1 − s 2 ≤ e − s 2 and ( t + v ) 2 ≥ t 2 + v 2 (t+v)^{2} \ge t^{2}+v^{2} ( t + v ) 2 ≥ t 2 + v 2 ,
∫ t 1 ( 1 − s 2 ) k d s ≤ e − k t 2 ∫ 0 ∞ e − k v 2 d v = 1 2 π k e − k t 2 . \int_{t}^{1}(1-s^{2})^{k}\,ds \le e^{-kt^{2}}\int_{0}^{\infty}e^{-kv^{2}}\,dv = \frac{1}{2}\sqrt{\frac{\pi}{k}}e^{-kt^{2}}. ∫ t 1 ( 1 − s 2 ) k d s ≤ e − k t 2 ∫ 0 ∞ e − k v 2 d v = 2 1 k π e − k t 2 .
The normaliser is ∫ − 1 1 ( 1 − s 2 ) k d s = π Γ ( k + 1 ) / Γ ( k + 3 2 ) ≥ π / ( k + 1 ) \int_{-1}^{1}(1-s^{2})^{k}\,ds = \sqrt{\pi}\,\Gamma(k+1)/\Gamma(k+\frac{3}{2}) \ge\sqrt{\pi/(k+1)} ∫ − 1 1 ( 1 − s 2 ) k d s = π Γ ( k + 1 ) /Γ ( k + 2 3 ) ≥ π / ( k + 1 ) , since the log-convexity of Γ \Gamma Γ gives Γ ( k + 3 2 ) ≤ Γ ( k + 1 ) 1 / 2 Γ ( k + 2 ) 1 / 2 = Γ ( k + 1 ) k + 1 \Gamma(k+\frac{3}{2}) \le\Gamma(k+1)^{1/2}\Gamma(k+2)^{1/2} = \Gamma(k+1)\sqrt{k+1} Γ ( k + 2 3 ) ≤ Γ ( k + 1 ) 1/2 Γ ( k + 2 ) 1/2 = Γ ( k + 1 ) k + 1 . Hence P ( s ≥ t ) ≤ 1 2 ( k + 1 ) / k e − k t 2 ≤ e − k t 2 \mathbb{P}(s \ge t) \le\frac{1}{2}\sqrt{(k+1)/k}e^{-kt^{2}} \le e^{-kt^{2}} P ( s ≥ t ) ≤ 2 1 ( k + 1 ) / k e − k t 2 ≤ e − k t 2 for k ≥ 1 3 k \ge\frac{1}{3} k ≥ 3 1 , and symmetry gives the claim.
Increments. For Lemmas 16 and 17 , fix positions 0 = N 0 < N 1 < ⋯ < N F 0 = N_{0} < N_{1} < \cdots< N_{F} 0 = N 0 < N 1 < ⋯ < N F and let I k : = { N k − 1 + 1 , … , N k } I_{k} := \{N_{k-1}+1,\ldots,N_{k}\} I k := { N k − 1 + 1 , … , N k } be the increments . Define ξ k , μ k ∈ R m \xi_{k},\mu_{k} \in\mathbb{R}^{m} ξ k , μ k ∈ R m by
ξ k , j : = ε ∑ s ∈ I k : j s = j ( y s − ε θ ~ j ) , μ k , j : = ε 2 n j ( I k ) θ ~ j , \xi_{k,j} := \varepsilon\sum_{s\in I_{k}:j_{s}=j}(y_{s}-\varepsilon\widetilde{\theta}_{j}),\qquad\mu_{k,j} := \varepsilon^{2}n_{j}(I_{k})\widetilde{\theta}_{j}, ξ k , j := ε s ∈ I k : j s = j ∑ ( y s − ε θ j ) , μ k , j := ε 2 n j ( I k ) θ j ,
so that μ k + ξ k \mu_{k}+\xi_{k} μ k + ξ k is the vector with coordinates ε ∑ s ∈ I k : j s = j y s \varepsilon\sum_{s\in I_{k}:j_{s}=j}y_{s} ε ∑ s ∈ I k : j s = j y s . Let
e k 2 : = E [ ∥ ξ k ∥ 2 ∣ j 1 , j 2 , … ] = ε 2 ∑ j n j ( I k ) ( 1 − ε 2 θ ~ j 2 ) , e_{k}^{2} := \mathbb{E}\left[\lVert\xi_{k}\rVert^{2}\mid j_{1},j_{2},\ldots\right] = \varepsilon^{2}\sum_{j}n_{j}(I_{k})(1-\varepsilon^{2}\widetilde{\theta}_{j}^{2}), e k 2 := E [ ∥ ξ k ∥ 2 ∣ j 1 , j 2 , … ] = ε 2 j ∑ n j ( I k ) ( 1 − ε 2 θ j 2 ) ,
which lies in [ 3 4 , 1 ] ⋅ ε 2 ∣ I k ∣ [\frac{3}{4},1]\cdot\varepsilon^{2}\lvert I_{k}\rvert [ 4 3 , 1 ] ⋅ ε 2 ∣ I k ∣ , let Γ : = diag ( e 1 , … , e F ) \Gamma:= \operatorname{diag}(e_{1},\ldots,e_{F}) Γ := diag ( e 1 , … , e F ) , and let ξ ( γ ) : = ∑ k γ k ξ k \xi(\gamma):=\sum_{k}\gamma_{k}\xi_{k} ξ ( γ ) := ∑ k γ k ξ k for γ ∈ R F \gamma\in\mathbb{R}^{F} γ ∈ R F .
Lemma 16 (Increment noise). Fix θ \theta θ and the labels j 1 , j 2 , … j_{1},j_{2},\ldots j 1 , j 2 , … , and assume n j ( I k ) ≤ 2 ∣ I k ∣ / m n_{j}(I_{k})\le2\lvert I_{k}\rvert/m n j ( I k ) ≤ 2 ∣ I k ∣ / m for all k k k and j j j . Let S S S be a subspace of dimension at most F + 1 F+1 F + 1 that is fixed given θ \theta θ and the labels. Let c ^ 1 , … , c ^ F \widehat{c}_{1},\ldots,\widehat{c}_{F} c 1 , … , c F be random vectors such that each c ^ f \widehat{c}_{f} c f is a function of the first N f N_{f} N f entries of the tape and of randomness independent of the tape, and such that the nonzero ones are orthonormal. Let δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , let η : = 18 ( F ln ( 12 m ) + ln ( 8 / δ ) ) / m \eta:= 18\sqrt{(F\ln(12m)+\ln(8/\delta))/m} η := 18 ( F ln ( 12 m ) + ln ( 8/ δ )) / m , and assume η ≤ 1 4 \eta\le\frac{1}{4} η ≤ 4 1 . With probability at least 1 − δ 1-\delta 1 − δ over the signs, the following bounds hold for all γ , β ∈ R F \gamma,\beta\in\mathbb{R}^{F} γ , β ∈ R F .
(B1) ∥ ξ ( γ ) ∥ ≥ ( 1 − η ) ∥ Γ γ ∥ \lVert\xi(\gamma)\rVert\ge(1-\eta)\lVert\Gamma\gamma\rVert ∥ ξ ( γ )∥ ≥ ( 1 − η ) ∥ Γ γ ∥ .
(B2) ∥ P S ξ ( γ ) ∥ ≤ η ∥ Γ γ ∥ \lVert P_{S}\xi(\gamma)\rVert\le\eta\lVert\Gamma\gamma\rVert ∥ P S ξ ( γ )∥ ≤ η ∥ Γ γ ∥ . In particular , ∣ ⟨ ξ ( γ ) , θ ⟩ ∣ ≤ η ∥ θ ∥ ∥ Γ γ ∥ \lvert\langle\xi(\gamma),\theta\rangle\rvert\le\eta\lVert\theta\rVert\lVert\Gamma\gamma\rVert ∣⟨ ξ ( γ ) , θ ⟩∣ ≤ η ∥ θ ∥ ∥ Γ γ ∥ if θ ∈ S \theta\in S θ ∈ S .
(B3) ∣ ∑ k γ k ∑ f < k β f ⟨ c ^ f , ξ k ⟩ ∣ ≤ η ∥ β ∥ ∥ Γ γ ∥ \left\lvert\sum_{k}\gamma_{k}\sum_{f<k}\beta_{f}\langle\widehat{c}_{f},\xi_{k}\rangle\right\rvert\le\eta\lVert\beta\rVert\lVert\Gamma\gamma\rVert ∑ k γ k ∑ f < k β f ⟨ c f , ξ k ⟩ ≤ η ∥ β ∥ ∥ Γ γ ∥ .
Proof. A variance proxy. For fixed a ∈ R m a\in\mathbb{R}^{m} a ∈ R m and γ ∈ R F \gamma\in\mathbb{R}^{F} γ ∈ R F , ⟨ a , ξ ( γ ) ⟩ = ∑ k γ k ∑ s ∈ I k ε a j s ( y s − ε θ ~ j s ) \langle a,\xi(\gamma)\rangle=\sum_{k}\gamma_{k}\sum_{s\in I_{k}}\varepsilon a_{j_{s}}(y_{s}-\varepsilon\widetilde{\theta}_{j_{s}}) ⟨ a , ξ ( γ )⟩ = ∑ k γ k ∑ s ∈ I k ε a j s ( y s − ε θ j s ) is a sum of independent centred terms, the term of entry s s s taking values in an interval of length 2 ε ∣ γ k ∣ ∣ a j s ∣ 2\varepsilon\lvert\gamma_{k}\rvert\lvert a_{j_{s}}\rvert 2 ε ∣ γ k ∣ ∣ a j s ∣ . Its proxy is therefore
ε 2 ∑ k γ k 2 ∑ j n j ( I k ) a j 2 ≤ 2 m ∥ a ∥ 2 ∑ k γ k 2 ε 2 ∣ I k ∣ ≤ σ ⋆ 2 ∥ a ∥ 2 ∥ Γ γ ∥ 2 , \varepsilon^{2}\sum_{k}\gamma_{k}^{2}\sum_{j}n_{j}(I_{k})a_{j}^{2}\le\frac{2}{m}\lVert a\rVert^{2}\sum_{k}\gamma_{k}^{2}\varepsilon^{2}\lvert I_{k}\rvert\le\sigma_{\star}^{2}\lVert a\rVert^{2}\lVert\Gamma\gamma\rVert^{2}, ε 2 k ∑ γ k 2 j ∑ n j ( I k ) a j 2 ≤ m 2 ∥ a ∥ 2 k ∑ γ k 2 ε 2 ∣ I k ∣ ≤ σ ⋆ 2 ∥ a ∥ 2 ∥ Γ γ ∥ 2 ,
with σ ⋆ 2 : = 8 / ( 3 m ) \sigma_{\star}^{2}:=8/(3m) σ ⋆ 2 := 8/ ( 3 m ) .
Nets for bilinear forms. Let b ( ⋅ , ⋅ ) \mathrm{b}(\cdot,\cdot) b ( ⋅ , ⋅ ) be bilinear on two spaces, and let N 1 , N 2 \mathcal{N}_1,\mathcal{N}_2 N 1 , N 2 be 1 4 \frac{1}{4} 4 1 -nets of their unit spheres. For unit x , y x,y x , y with nearest net points x 0 , y 0 x_0,y_0 x 0 , y 0 ,
b ( x , y ) = b ( x 0 , y 0 ) + b ( x − x 0 , y ) + b ( x 0 , y − y 0 ) , \mathrm{b}(x,y)=\mathrm{b}(x_0,y_0)+\mathrm{b}(x-x_0,y)+\mathrm{b}(x_0,y-y_0), b ( x , y ) = b ( x 0 , y 0 ) + b ( x − x 0 , y ) + b ( x 0 , y − y 0 ) ,
which yields sup ∣ b ∣ ≤ max N 1 × N 2 ∣ b ∣ + 1 2 sup ∣ b ∣ \sup|\mathrm{b}|\leq\max_{\mathcal{N}_1\times\mathcal{N}_2}|\mathrm{b}|+\frac{1}{2}\sup|\mathrm{b}| sup ∣ b ∣ ≤ max N 1 × N 2 ∣ b ∣ + 2 1 sup ∣ b ∣ and sup ∣ b ∣ ≤ 2 max N 1 × N 2 ∣ b ∣ \sup|\mathrm{b}|\leq2\max_{\mathcal{N}_1\times\mathcal{N}_2}|\mathrm{b}| sup ∣ b ∣ ≤ 2 max N 1 × N 2 ∣ b ∣ , the suprema over unit vectors.
(B2). Apply this to b ( a , γ ′ ) : = ⟨ a , ξ ( Γ − 1 γ ′ ) ⟩ \mathrm{b}(a,\gamma'):=\langle a,\xi(\Gamma^{-1}\gamma')\rangle b ( a , γ ′ ) := ⟨ a , ξ ( Γ − 1 γ ′ )⟩ on the unit spheres of S \mathcal{S} S and R F \mathbb{R}^{F} R F , with nets of sizes at most 9 F + 1 9^{F+1} 9 F + 1 and 9 F 9^{F} 9 F . By the proxy, each value at a pair of net points exceeds t t t in absolute value with probability at most 2 e − t 2 / ( 2 σ ⋆ 2 ) 2e^{-t^{2}/(2\sigma_{\star}^{2})} 2 e − t 2 / ( 2 σ ⋆ 2 ) . With t 2 : = 2 σ ⋆ 2 ( ( 2 F + 1 ) ln 9 + ln ( 8 / δ ) ) t^{2}:=2\sigma_{\star}^{2}((2F+1)\ln9+\ln(8/\delta)) t 2 := 2 σ ⋆ 2 (( 2 F + 1 ) ln 9 + ln ( 8/ δ )) and a union bound, sup ∣ b ∣ ≤ 2 t \sup|\mathrm{b}|\leq2t sup ∣ b ∣ ≤ 2 t except with probability δ / 4 \delta/4 δ /4 , and 2 t = ( 64 / ( 3 m ) ) ( ( 2 F + 1 ) ln 9 + ln ( 8 / δ ) ) ≤ η 2t=\sqrt{(64/(3m))((2F+1)\ln9+\ln(8/\delta))}\leq\eta 2 t = ( 64/ ( 3 m )) (( 2 F + 1 ) ln 9 + ln ( 8/ δ )) ≤ η .
(B3). For fixed unit β \beta β and γ ′ \gamma' γ ′ , let u k : = ∑ f < k β f c ^ f u_k:=\sum_{f<k}\beta_f\hat{c}_f u k := ∑ f < k β f c ^ f , for which ∥ u k ∥ ≤ 1 \|u_k\|\leq1 ∥ u k ∥ ≤ 1 , and S : = ∑ k ( γ k ′ / ϵ k ) ⟨ u k , ξ k ⟩ S:=\sum_k(\gamma'_k/\epsilon_k)\langle u_k,\xi_k\rangle S := ∑ k ( γ k ′ / ϵ k ) ⟨ u k , ξ k ⟩ . Given the first N k − 1 N_{k-1} N k − 1 entries and the independent randomness, u k u_k u k is fixed, because c ^ f \hat{c}_f c ^ f with f < k f<k f < k depends only on the first N f ≤ N k − 1 N_f\leq N_{k-1} N f ≤ N k − 1 entries, and the signs of I k I_k I k are still independent with the same laws. By the proxy, the k k k -th term is conditionally sub-Gaussian with proxy σ ⋆ 2 ( γ k ′ ) 2 \sigma_{\star}^{2}(\gamma'_k)^{2} σ ⋆ 2 ( γ k ′ ) 2 , making S S S sub-Gaussian with proxy σ ⋆ 2 \sigma_{\star}^{2} σ ⋆ 2 . The map ( β , γ ′ ) ↦ S (\beta,\gamma')\mapsto S ( β , γ ′ ) ↦ S is bilinear, and the argument of (B2) with nets of size 9 F 9^{F} 9 F bounds it by η \eta η except with probability δ / 4 \delta/4 δ /4 .
(B1). Fix a unit γ ′ \gamma' γ ′ and let γ : = Γ − 1 γ ′ \gamma:=\Gamma^{-1}\gamma' γ := Γ − 1 γ ′ and χ j : = ξ ( γ ) j \chi_j:=\xi(\gamma)_j χ j := ξ ( γ ) j . Since the χ j \chi_j χ j use disjoint entries of the tape, they are independent and centred, with ∑ j E χ j 2 = ∥ Γ γ ∥ 2 = 1 \sum_j\mathbb{E}\chi_j^2=\|\Gamma\gamma\|^2=1 ∑ j E χ j 2 = ∥Γ γ ∥ 2 = 1 . By the proxy with a a a the j j j -th standard basis vector, χ j \chi_j χ j is sub-Gaussian with proxy σ j 2 : = ε 2 ∑ k γ k 2 n j ( I k ) \sigma_j^2:=\varepsilon^2\sum_k\gamma_k^2n_j(I_k) σ j 2 := ε 2 ∑ k γ k 2 n j ( I k ) , where σ j 2 ≤ σ ⋆ 2 \sigma_j^2\leq\sigma_{\star}^2 σ j 2 ≤ σ ⋆ 2 and ∑ j σ j 2 = ε 2 ∑ k γ k 2 ∣ I k ∣ ≤ 4 3 \sum_j\sigma_j^2=\varepsilon^2\sum_k\gamma_k^2|I_k|\leq\frac{4}{3} ∑ j σ j 2 = ε 2 ∑ k γ k 2 ∣ I k ∣ ≤ 3 4 . Integrating the tail bound gives E χ j 4 ≤ 16 σ j 4 \mathbb{E}\chi_j^4\leq16\sigma_j^4 E χ j 4 ≤ 16 σ j 4 . For independent nonnegative W j W_j W j ,
P ( ∑ j ( W j − E W j ) ≤ − u ) ≤ exp ( − u 2 2 ∑ j E W j 2 ) \mathbb{P}\left(\sum_j(W_j-\mathbb{E}W_j)\leq-u\right)\leq\exp\left(-\frac{u^2}{2\sum_j\mathbb{E}W_j^2}\right) P ( j ∑ ( W j − E W j ) ≤ − u ) ≤ exp ( − 2 ∑ j E W j 2 u 2 )
[11 ] . With W j = χ j 2 W_j=\chi_j^2 W j = χ j 2 and
∑ j E χ j 4 ≤ 16 σ ⋆ 2 ⋅ 4 3 = 512 9 m , \sum_j\mathbb{E}\chi_j^4\leq16\sigma_{\star}^2\cdot\frac{4}{3}=\frac{512}{9m}, j ∑ E χ j 4 ≤ 16 σ ⋆ 2 ⋅ 3 4 = 9 m 512 ,
this gives P ( ∥ ξ ( γ ) ∥ 2 ≤ 1 − u ) ≤ e − 9 m u 2 / 1024 \mathbb{P}(\|\xi(\gamma)\|^2\leq1-u)\leq e^{-9mu^2/1024} P ( ∥ ξ ( γ ) ∥ 2 ≤ 1 − u ) ≤ e − 9 m u 2 /1024 . For the upper tail, let g g g be a standard normal variable independent of χ j \chi_j χ j and λ : = 1 / ( 4 σ ⋆ 2 ) \lambda:=1/(4\sigma_{\star}^2) λ := 1/ ( 4 σ ⋆ 2 ) . Then E e λ χ j 2 = E e 2 λ g χ j ≤ E e λ σ j 2 g 2 = ( 1 − 2 λ σ j 2 ) − 1 / 2 ≤ e σ j 2 / ( 2 σ ⋆ 2 ) \mathbb{E}e^{\lambda\chi_j^2}=\mathbb{E}e^{\sqrt{2\lambda}g\chi_j}\leq\mathbb{E}e^{\lambda\sigma_j^2g^2}=(1-2\lambda\sigma_j^2)^{-1/2}\leq e^{\sigma_j^2/(2\sigma_{\star}^2)} E e λ χ j 2 = E e 2 λ g χ j ≤ E e λ σ j 2 g 2 = ( 1 − 2 λ σ j 2 ) − 1/2 ≤ e σ j 2 / ( 2 σ ⋆ 2 ) , since 2 λ σ j 2 ≤ 1 2 2\lambda\sigma_j^2\leq\frac{1}{2} 2 λ σ j 2 ≤ 2 1 . Markov’s inequality gives P ( ∥ ξ ( γ ) ∥ 2 ≥ 4 ) ≤ e 2 / ( 3 σ ⋆ 2 ) − 1 / σ ⋆ 2 = e − m / 8 \mathbb{P}(\|\xi(\gamma)\|^2\geq4)\leq e^{2/(3\sigma_{\star}^2)-1/\sigma_{\star}^2}=e^{-m/8} P ( ∥ ξ ( γ ) ∥ 2 ≥ 4 ) ≤ e 2/ ( 3 σ ⋆ 2 ) − 1/ σ ⋆ 2 = e − m /8 .
Let u : = 32 3 ( F ln ( 9 m ) + ln ( 4 / δ ) ) / m u:=\frac{32}{3}\sqrt{(F\ln(9m)+\ln(4/\delta))/m} u := 3 32 ( F ln ( 9 m ) + ln ( 4/ δ )) / m , which lies in [ 1 / m , 1 4 ] [1/m,\frac{1}{4}] [ 1/ m , 4 1 ] , since u ≥ 32 3 ln 9 / m ≥ 1 / m u\geq\frac{32}{3}\sqrt{\ln9/m}\geq1/m u ≥ 3 32 ln 9/ m ≥ 1/ m and 5 3 u ≤ η ≤ 1 4 \frac{5}{3}u\leq\eta\leq\frac{1}{4} 3 5 u ≤ η ≤ 4 1 , and let N ′ \mathcal{N}' N ′ be a u / 4 u/4 u /4 -net of the unit sphere of R F \mathbb{R}^{F} R F , of size at most ( 9 / u ) F ≤ ( 9 m ) F (9/u)^F\leq(9m)^F ( 9/ u ) F ≤ ( 9 m ) F . A union bound shows that 1 − u ≤ ∥ ξ ( Γ − 1 γ ′ ) ∥ 2 ≤ 4 1-u\leq\|\xi(\Gamma^{-1}\gamma')\|^2\leq4 1 − u ≤ ∥ ξ ( Γ − 1 γ ′ ) ∥ 2 ≤ 4 for all γ ′ ∈ N ′ \gamma'\in\mathcal{N}' γ ′ ∈ N ′ , except with probability ( 9 m ) F ( e − 9 m u 2 / 1024 + e − m / 8 ) ≤ δ / 2 (9m)^F(e^{-9mu^2/1024}+e^{-m/8})\leq\delta/2 ( 9 m ) F ( e − 9 m u 2 /1024 + e − m /8 ) ≤ δ /2 , where m / 8 ≥ F ln ( 9 m ) + ln ( 4 / δ ) m/8\geq F\ln(9m)+\ln(4/\delta) m /8 ≥ F ln ( 9 m ) + ln ( 4/ δ ) because η ≤ 1 4 \eta\leq\frac{1}{4} η ≤ 4 1 . On this event the linear map γ ′ ↦ ξ ( Γ − 1 γ ′ ) \gamma'\mapsto\xi(\Gamma^{-1}\gamma') γ ′ ↦ ξ ( Γ − 1 γ ′ ) has norm at most 2 / ( 1 − u / 4 ) ≤ 8 3 2/(1-u/4)\leq\frac{8}{3} 2/ ( 1 − u /4 ) ≤ 3 8 , and every unit γ ′ \gamma' γ ′ has
∥ ξ ( Γ − 1 γ ′ ) ∥ ≥ 1 − u − u / 4 ⋅ 8 3 ≥ 1 − 5 3 u ≥ 1 − η . \|\xi(\Gamma^{-1}\gamma')\|\geq\sqrt{1-u}-u/4\cdot\frac{8}{3}\geq1-\frac{5}{3}u\geq1-\eta. ∥ ξ ( Γ − 1 γ ′ ) ∥ ≥ 1 − u − u /4 ⋅ 3 8 ≥ 1 − 3 5 u ≥ 1 − η .
Lemma 17 (Caps against data means). Fix θ \theta θ with ∥ θ ∥ ∞ ≤ 6 ln m ≤ B \|\theta\|_{\infty} \le\sqrt{6\ln m} \le B ∥ θ ∥ ∞ ≤ 6 ln m ≤ B , let ∣ I k ∣ ≥ b |I_k| \ge b ∣ I k ∣ ≥ b for all k k k , and let c ^ 1 , … , c ^ F \widehat{c}_1,\ldots,\widehat{c}_F c 1 , … , c F be as in Lemma 16 , with Z f : = ⟨ c ^ f , θ ⟩ Z_f := \langle\widehat{c}_f,\theta\rangle Z f := ⟨ c f , θ ⟩ . Let δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) and x : = ln ( 2 F 2 / δ ) x := \ln(2F^2/\delta) x := ln ( 2 F 2 / δ ) . With probability at least 1 − δ 1-\delta 1 − δ over the tape, the F × F F \times F F × F matrix with entries 1 { k > f } ⟨ c ^ f , μ k ⟩ / e k \mathbb{1}\{k>f\}\langle\widehat{c}_f,\mu_k\rangle/e_k 1 { k > f } ⟨ c f , μ k ⟩ / e k has Frobenius norm at most
( 4 3 ε 2 N F ∑ f Z f 2 / m 2 ) 1 / 2 + 4 F ε ln m ( x / m + x / b ) . \left(\frac{4}{3}\varepsilon^2 N_F\sum_f Z_f^2/m^2\right)^{1/2}+4F\varepsilon\sqrt{\ln m}\left(\sqrt{x/m}+x/\sqrt{b}\right). 3 4 ε 2 N F f ∑ Z f 2 / m 2 1/2 + 4 F ε ln m ( x / m + x / b ) . Proof. Since no coordinate of θ \theta θ is clipped, ⟨ c ^ f , μ k ⟩ = ε 2 ∑ s ∈ I k a j s \langle\widehat{c}_f,\mu_k\rangle=\varepsilon^2\sum_{s\in I_k}a_{js} ⟨ c f , μ k ⟩ = ε 2 ∑ s ∈ I k a j s , with a j : = c ^ f , j θ j a_j:=\widehat{c}_{f,j}\theta_j a j := c f , j θ j , a ‾ = Z f / m \overline{a}=Z_f/m a = Z f / m , ∥ a ∥ 2 ≤ 6 ln m \|a\|^2\le6\ln m ∥ a ∥ 2 ≤ 6 ln m and max j ∣ a j − a ‾ ∣ ≤ 2 6 ln m \max_j|a_j-\overline{a}|\le2\sqrt{6\ln m} max j ∣ a j − a ∣ ≤ 2 6 ln m . For k > f k>f k > f , a a a is fixed given the first N f ≤ N k − 1 N_f\le N_{k-1} N f ≤ N k − 1 entries and the independent randomness. Lemma 13 (i) and a union bound over the at most F 2 F^2 F 2 pairs ( f , k ) (f,k) ( f , k ) give, except with probability δ \delta δ ,
∣ ⟨ c ^ f , μ k ⟩ − ε 2 ∣ I k ∣ Z f / m ∣ ≤ ε 2 ( 12 ∣ I k ∣ x ln m / m + 2 3 6 ln m x ) . \left|\langle\widehat{c}_f,\mu_k\rangle-\varepsilon^2|I_k|Z_f/m\right|
\le\varepsilon^2\left(\sqrt{12|I_k|x\ln m/m}+\frac{2}{3}\sqrt{6\ln m}\,x\right). ⟨ c f , μ k ⟩ − ε 2 ∣ I k ∣ Z f / m ≤ ε 2 ( 12∣ I k ∣ x ln m / m + 3 2 6 ln m x ) . Split each entry into its main part 1 { k > f } ε 2 ∣ I k ∣ Z f / ( m e k ) \mathbb{1}\{k>f\}\varepsilon^2|I_k|Z_f/(me_k) 1 { k > f } ε 2 ∣ I k ∣ Z f / ( m e k ) and a deviation. Divided by e k ≥ ( 3 / 2 ) ε ∣ I k ∣ e_k\ge(\sqrt{3}/2)\varepsilon\sqrt{|I_k|} e k ≥ ( 3 /2 ) ε ∣ I k ∣ , the right-hand side bounds each deviation by 4 ε ln m ( x / m + x / b ) 4\varepsilon\sqrt{\ln m}(\sqrt{x/m}+x/\sqrt{b}) 4 ε ln m ( x / m + x / b ) . The deviations therefore have Frobenius norm at most F F F times this. The main parts have entries at most 2 ε ∣ I k ∣ ∣ Z f ∣ / ( 3 m ) 2\varepsilon\sqrt{|I_k|}|Z_f|/(\sqrt{3}m) 2 ε ∣ I k ∣ ∣ Z f ∣/ ( 3 m ) , and
∑ f , k 4 3 ε 2 ∣ I k ∣ Z f 2 / m 2 = 4 3 ε 2 N F ∑ f Z f 2 / m 2 . \sum_{f,k}\frac{4}{3}\varepsilon^2|I_k|Z_f^2/m^2
=\frac{4}{3}\varepsilon^2N_F\sum_f Z_f^2/m^2. f , k ∑ 3 4 ε 2 ∣ I k ∣ Z f 2 / m 2 = 3 4 ε 2 N F f ∑ Z f 2 / m 2 . The triangle inequality for the Frobenius norm gives the claim.
Proof of Theorem 4(a)
Proof of Theorem 4(a). Reduction to one start state. The MDP has start states s 1 , … , s M s_1,\ldots,s_M s 1 , … , s M , successors y 1 , … , y Y y_1,\ldots,y_Y y 1 , … , y Y with Y = 2 m Y=2m Y = 2 m , and a state z z z . At s i s_i s i , action a a a leads to y 2 j − 1 y_{2j-1} y 2 j − 1 with probability ( 1 + ε θ ~ j ( i ) ) / ( 2 m ) (1+\varepsilon\widetilde{\theta}^{(i)}_j)/(2m) ( 1 + ε θ j ( i ) ) / ( 2 m ) and to y 2 j y_{2j} y 2 j with probability ( 1 − ε θ ~ j ( i ) ) / ( 2 m ) (1-\varepsilon\widetilde{\theta}^{(i)}_j)/(2m) ( 1 − ε θ j ( i ) ) / ( 2 m ) , and action b b b leads to z z z . All successors and z z z are absorbing. The parameters θ ( 1 ) , … , θ ( M ) \theta^{(1)},\ldots,\theta^{(M)} θ ( 1 ) , … , θ ( M ) are independent draws from N ( 0 , I m ) N(0,I_m) N ( 0 , I m ) , with θ ~ j : = max { − B , min { B , θ j } } \widetilde{\theta}_j:=\max\{-B,\min\{B,\theta_j\}\} θ j := max { − B , min { B , θ j }} , ε : = m / ( 64 K ′ ) \varepsilon:=\sqrt{m}/(64K') ε := m / ( 64 K ′ ) , K ′ : = K / M K':=K/M K ′ := K / M , and B : = 1 / ( 2 ε ) B:=1/(2\varepsilon) B := 1/ ( 2 ε ) . This is the Gaussian family of § 4 .
A goal pays g ∈ [ 0 , 1 ] Y g\in[0,1]^Y g ∈ [ 0 , 1 ] Y at the successors and v v v at z z z . Action a a a at s i s_i s i is thus worth
P i g = α g + ε 2 m ⟨ c g , θ ~ ( i ) ⟩ , α g : = 1 2 m ∑ j ≤ m ( g ( y 2 j − 1 ) + g ( y 2 j ) ) . P_i g=\alpha_g+\frac{\varepsilon}{2m}\langle c_g,\widetilde{\theta}^{(i)}\rangle,\qquad
\alpha_g:=\frac{1}{2m}\sum_{j\le m}\left(g(y_{2j-1})+g(y_{2j})\right). P i g = α g + 2 m ε ⟨ c g , θ ( i ) ⟩ , α g := 2 m 1 j ≤ m ∑ ( g ( y 2 j − 1 ) + g ( y 2 j ) ) .
with c g , j : = g ( y 2 j − 1 ) − g ( y 2 j ) ∈ [ − 1 , 1 ] c_{g,j}:=g(y_{2j-1})-g(y_{2j})\in[-1,1] c g , j := g ( y 2 j − 1 ) − g ( y 2 j ) ∈ [ − 1 , 1 ] . The offset α g \alpha_g α g is the payoff of the goal under the uniform law on the successors, which the agent can compute. As in the proof of Theorem 4(b), the adversary starts the episodes of block i i i at s i s_i s i . Since samples at s i s_i s i depend on θ ( i ) \theta^{(i)} θ ( i ) alone, θ ( i ) \theta^{(i)} θ ( i ) is still N ( 0 , I m ) N(0,I_m) N ( 0 , I m ) given everything observed before block i i i . The single-start-state bound below therefore applies to each block with K ′ K' K ′ in place of K K K , and summing c m 1 / 4 K ′ / ln m c\,m^{1/4}\sqrt{K'}/\ln m c m 1/4 K ′ / ln m over the M M M blocks gives part (a).
From now on M = 1 M=1 M = 1 , and we write K K K for K ′ K' K ′ and θ \theta θ for θ ( 1 ) \theta^{(1)} θ ( 1 ) . The samples of action a a a are the entries of the tape of Appendix § 16 .§ 4 , the free samples below included. The agent is arbitrary. It may know the adversary’s strategy and use the goals as data. We also give it side information, namely the directions c ^ f \hat{c}_f c ^ f below and free samples of action a a a at the start of each phase. The side information is generated from the true transition law and is therefore correct. An agent that receives it can therefore simulate every agent that does not, by ignoring it, and the smallest regret over agents with side information is at most the smallest regret over agents without it. An adversary that cannot hand out samples can simulate the free samples privately from the transition law and compute r ( f ) r^{(f)} r ( f ) and c ^ f \hat{c}_f c ^ f from them and the history. The resulting game has the law of the augmented one with an agent that ignores its side information. Therefore, the lower bound also holds for adversaries of Theorem 4.
The adversary. Let ρ : = m / ( 36 ln m ) \rho:= \sqrt{m}/(36\ln m) ρ := m / ( 36 ln m ) , z 0 : = ( m / 16 ) 1 / 4 z_0 := (m/16)^{1/4} z 0 := ( m /16 ) 1/4 , L : = ⌊ K / ( 4 z 0 2 ) ⌋ L := \lfloor K/(4z_0^2)\rfloor L := ⌊ K / ( 4 z 0 2 )⌋ , F : = ⌊ K / L ⌋ F := \lfloor K/L\rfloor F := ⌊ K / L ⌋ , b : = ⌈ m ln 2 ( m K ) ⌉ b := \lceil m\ln^2(mK)\rceil b := ⌈ m ln 2 ( m K )⌉ and D 0 : = 3 ε ρ z 0 / ( 8 m ) D_0 := 3\varepsilon\rho z_0/(8m) D 0 := 3 ερ z 0 / ( 8 m ) . The episodes form phases f = 1 , … , F f=1,\ldots,F f = 1 , … , F of L L L episodes each.
At the start of phase f f f , the agent receives free samples until it has observed exactly N f : = ( f − 1 ) L + f b N_f := (f-1)L+fb N f := ( f − 1 ) L + f b samples of action a a a . Since it plays a a a at most L L L times in a phase, this takes at least b b b free samples. The samples observed before phase f f f are thus the first N f N_f N f entries of the tape, a number that does not depend on the agent.
Let r j ( f ) : = ε ( # y 2 j − 1 − # y 2 j ) r_j^{(f)} := \varepsilon(\#y_{2j-1}-\#y_{2j}) r j ( f ) := ε ( # y 2 j − 1 − # y 2 j ) count these N f N_f N f samples.
Let W f : = span { r ( 1 ) , … , r ( f ) , c ^ 1 , … , c ^ f − 1 } W_f := \operatorname{span}\{r^{(1)},\ldots,r^{(f)},\hat{c}_1,\ldots,\hat{c}_{f-1}\} W f := span { r ( 1 ) , … , r ( f ) , c ^ 1 , … , c ^ f − 1 } and w f : = P W f ⊥ θ w_f := P_{W_f^\perp}\theta w f := P W f ⊥ θ , and let σ f \sigma_f σ f be the uniform law on the unit sphere S f S_f S f of W f ⊥ W_f^\perp W f ⊥ .
If ∥ w f ∥ ≤ z 0 \lVert w_f\rVert\le z_0 ∥ w f ∥ ≤ z 0 , the phase is neutral . Then c ^ f : = 0 \hat{c}_f:=0 c ^ f := 0 , and every goal of the phase pays g ( y ) = 0 g(y)=0 g ( y ) = 0 at every successor y y y and v = 0 v=0 v = 0 . Otherwise the adversary draws c ^ f ∼ σ f ( ⋅ ∣ Cap f ( θ ) ) \hat{c}_f\sim\sigma_f(\cdot\mid\operatorname{Cap}_f(\theta)) c ^ f ∼ σ f ( ⋅ ∣ Cap f ( θ )) , where Cap f ( θ ) : = { u ∈ S f : ∣ ⟨ u , θ ⟩ ∣ ≥ z 0 } \operatorname{Cap}_f(\theta):=\{u\in S_f:\lvert\langle u,\theta\rangle\rvert\ge z_0\} Cap f ( θ ) := { u ∈ S f : ∣⟨ u , θ ⟩∣ ≥ z 0 } .
If the phase is not neutral, the goal direction is fixed throughout the phase, and every goal of the phase pays g ( y 2 j − 1 ) = 1 2 ( 1 + c f , j ) g(y_{2j-1})=\frac{1}{2}(1+c_{f,j}) g ( y 2 j − 1 ) = 2 1 ( 1 + c f , j ) and g ( y 2 j ) = 1 2 ( 1 − c f , j ) g(y_{2j})=\frac{1}{2}(1-c_{f,j}) g ( y 2 j ) = 2 1 ( 1 − c f , j ) , with c f : = clip [ − 1 , 1 ] ( ρ c ^ f ) c_f:=\operatorname{clip}_{[-1,1]}(\rho\hat{c}_f) c f := clip [ − 1 , 1 ] ( ρ c ^ f ) coordinatewise. Before every episode of the phase, the adversary draws a fresh value v v v uniformly from [ 1 2 − D 0 , 1 2 + D 0 ] [\frac{1}{2}-D_0,\frac{1}{2}+D_0] [ 2 1 − D 0 , 2 1 + D 0 ] , independently of everything else.
The at most L L L episodes after phase F F F have g ( y ) = 0 g(y)=0 g ( y ) = 0 at every successor and v = 0 v=0 v = 0 . They cost nothing.
Write Z f : = ⟨ c ^ f , θ ⟩ Z_f:=\langle\hat{c}_f,\theta\rangle Z f := ⟨ c ^ f , θ ⟩ , τ f : = sign Z f \tau_f:=\operatorname{sign}Z_f τ f := sign Z f and R f : = I − 2 c ^ f c ^ f T R_f:=I-2\hat{c}_f\hat{c}_f^\mathsf{T} R f := I − 2 c ^ f c ^ f T . Let H f \mathcal{H}_f H f be the agent’s information at the start of phase f f f , including c ^ 1 , … , c ^ f \hat{c}_1,\ldots,\hat{c}_f c ^ 1 , … , c ^ f , and π f \pi_f π f the posterior density of θ \theta θ given H f \mathcal{H}_f H f . The space W f W_f W f and the direction c ^ f \hat{c}_f c ^ f are functions of the first N f N_f N f entries of the tape and of the adversary’s randomness, and do not depend on the agent’s actions. The nonzero directions are orthonormal, since c ^ f ⊥ c ^ f ′ \hat{c}_f\perp\hat{c}_{f'} c ^ f ⊥ c ^ f ′ for f ′ < f f'<f f ′ < f .
Exact invariances. Given θ \theta θ and the history, the agent’s actions, the number of free samples and the values v v v have probabilities that do not depend on θ \theta θ . Each W f W_f W f is a function of the history, and c ^ f \hat{c}_f c ^ f has density 1 Cap f ( θ ) ( c ^ f ) / h f ( θ ) \mathbf{1}_{\operatorname{Cap}_f(\theta)}(\hat{c}_f)/h_f(\theta) 1 Cap f ( θ ) ( c ^ f ) / h f ( θ ) with respect to σ f \sigma_f σ f , where h f ( θ ) : = σ f ( Cap f ( θ ) ) h_f(\theta):=\sigma_f(\operatorname{Cap}_f(\theta)) h f ( θ ) := σ f ( Cap f ( θ )) . Hence
π f ( θ ) ∝ φ ( θ ) Λ f ( θ ) ∏ f ′ ≤ f 1 { ∥ w f ′ ∥ ≥ z 0 , ∣ ⟨ c ^ f ′ , θ ⟩ ∣ ≥ z 0 } / h f ′ ( θ ) , \pi_f(\theta)\propto\varphi(\theta)\Lambda_f(\theta)\prod_{f'\le f}\mathbf{1}\{\lVert w_{f'}\rVert\ge z_0,\ \lvert\langle\hat{c}_{f'},\theta\rangle\rvert\ge z_0\}/h_{f'}(\theta), π f ( θ ) ∝ φ ( θ ) Λ f ( θ ) f ′ ≤ f ∏ 1 {∥ w f ′ ∥ ≥ z 0 , ∣⟨ c ^ f ′ , θ ⟩∣ ≥ z 0 } / h f ′ ( θ ) ,
where φ \varphi φ is the Gaussian density and Λ f \Lambda_f Λ f the likelihood of the first N f N_f N f samples. Neutral phases contribute the indicators 1 { ∥ w f ′ ∥ ≤ z 0 } \mathbf{1}\{\lVert w_{f'}\rVert\le z_0\} 1 {∥ w f ′ ∥ ≤ z 0 } instead. Since W f ′ ⊆ W f W_{f'}\subseteq W_f W f ′ ⊆ W f , the direction c ^ f \hat{c}_f c ^ f is orthogonal to every c ^ f ′ \hat{c}_{f'} c ^ f ′ with f ′ ≤ f f'\le f f ′ ≤ f , to every c ^ f ′ \hat{c}_{f'} c ^ f ′ with f ′ < f f'<f f ′ < f , and to W f ′ W_{f'} W f ′ . Consequently R f R_f R f preserves φ \varphi φ , every ⟨ c ^ f ′ , θ ⟩ \langle\hat{c}_{f'},\theta\rangle ⟨ c ^ f ′ , θ ⟩ with f ′ < f f'<f f ′ < f , every ⟨ r ( f ′ ) , θ ⟩ \langle r^{(f')},\theta\rangle ⟨ r ( f ′ ) , θ ⟩ , and every ∥ P W f ′ ⊥ θ ∥ \lVert P_{W_{f'}^\perp}\theta\rVert ∥ P W f ′ ⊥ θ ∥ . By rotation invariance of σ f ′ \sigma_{f'} σ f ′ , the normaliser h f ′ ( θ ) h_{f'}(\theta) h f ′ ( θ ) depends only on ∥ P W f ′ ⊥ θ ∥ \lVert P_{W_{f'}^\perp}\theta\rVert ∥ P W f ′ ⊥ θ ∥ . Finally, R f R_f R f maps { τ f = + 1 } \{\tau_f=+1\} { τ f = + 1 } onto { τ f = − 1 } \{\tau_f=-1\} { τ f = − 1 } . Therefore
π f ( θ ) / π f ( R f θ ) = Λ f ( θ ) / Λ f ( R f θ ) . (48) \pi_f(\theta)/\pi_f(R_f\theta)=\Lambda_f(\theta)/\Lambda_f(R_f\theta). \tag*{(48)} π f ( θ ) / π f ( R f θ ) = Λ f ( θ ) / Λ f ( R f θ ) . (48)
The likelihood ratio. Let sample s s s fall in pair j s j_s j s with sign y s = ± 1 y_s=\pm1 y s = ± 1 . Let n j n_j n j be the counts of the first N f N_f N f samples, n ˉ : = N f / m \bar n := N_f/m n ˉ := N f / m and d j : = ∑ s ≤ N f : j s = j y s d_j := \sum_{s\le N_f:j_s=j} y_s d j := ∑ s ≤ N f : j s = j y s . Assume that no coordinate of θ \theta θ or of ϑ : = R f θ = θ − 2 Z f c ^ f \vartheta:= R_f\theta= \theta- 2Z_f\hat c_f ϑ := R f θ = θ − 2 Z f c ^ f is clipped. Expand ln ( 1 + x ) \ln(1+x) ln ( 1 + x ) to third order, with a remainder whose derivative is at most 2 ∣ x ∣ 3 2|x|^3 2∣ x ∣ 3 for ∣ x ∣ ≤ 1 2 |x|\le\frac{1}{2} ∣ x ∣ ≤ 2 1 .
The linear term is ε ⟨ d , θ − ϑ ⟩ = 2 Z f ⟨ c ^ f , r ( f ) ⟩ = 0 \varepsilon\langle d,\theta-\vartheta\rangle=2Z_f\langle\hat c_f,r^{(f)}\rangle=0 ε ⟨ d , θ − ϑ ⟩ = 2 Z f ⟨ c ^ f , r ( f ) ⟩ = 0 .
The quadratic term is
− ε 2 2 ∑ j n j ( θ j 2 − ϑ j 2 ) = − 2 ε 2 Z f ⟨ c ^ f , Δ ( θ − Z f c ^ f ) ⟩ , -\frac{\varepsilon^2}{2}\sum_j n_j(\theta_j^2-\vartheta_j^2)=-2\varepsilon^2 Z_f\langle\hat c_f,\Delta(\theta-Z_f\hat c_f)\rangle, − 2 ε 2 j ∑ n j ( θ j 2 − ϑ j 2 ) = − 2 ε 2 Z f ⟨ c ^ f , Δ ( θ − Z f c ^ f )⟩ ,
with Δ : = diag ( n j − n ˉ ) \Delta:=\operatorname{diag}(n_j-\bar n) Δ := diag ( n j − n ˉ ) , because ⟨ c ^ f , θ − Z f c ^ f ⟩ = 0 \langle\hat c_f,\theta-Z_f\hat c_f\rangle=0 ⟨ c ^ f , θ − Z f c ^ f ⟩ = 0 .
Hence
∣ ln Λ f ( θ ) Λ f ( ϑ ) ∣ ≤ 2 ε 2 ∣ Z f ∣ ( ∣ ⟨ c ^ f , Δ θ ⟩ ∣ + ∣ Z f ∣ max j ∣ n j − n ˉ ∣ ) + ε 3 3 ∣ ∑ j d j ( θ j 3 − ϑ j 3 ) ∣ + 2 ∑ s ≤ N f max ( ∣ x s ∣ , ∣ x s ′ ∣ ) 3 ∣ x s − x s ′ ∣ , (49) \left|\ln\frac{\Lambda_f(\theta)}{\Lambda_f(\vartheta)}\right|\le2\varepsilon^2|Z_f|\left(|\langle\hat c_f,\Delta\theta\rangle|+|Z_f|\max_j|n_j-\bar n|\right)
+\frac{\varepsilon^3}{3}\left|\sum_jd_j(\theta_j^3-\vartheta_j^3)\right|+2\sum_{s\le N_f}\max(|x_s|,|x'_s|)^3|x_s-x'_s|, \tag*{(49)} ln Λ f ( ϑ ) Λ f ( θ ) ≤ 2 ε 2 ∣ Z f ∣ ( ∣ ⟨ c ^ f , Δ θ ⟩ ∣ + ∣ Z f ∣ j max ∣ n j − n ˉ ∣ ) + 3 ε 3 j ∑ d j ( θ j 3 − ϑ j 3 ) + 2 s ≤ N f ∑ max ( ∣ x s ∣ , ∣ x s ′ ∣ ) 3 ∣ x s − x s ′ ∣ , (49)
where x s : = ε y s θ j s x_s:=\varepsilon y_s\theta_{j_s} x s := ε y s θ j s and x s ′ : = ε y s ϑ j s x'_s:=\varepsilon y_s\vartheta_{j_s} x s ′ := ε y s ϑ j s . Since F L ≤ K FL\le K F L ≤ K and F b ≤ K Fb\le K F b ≤ K for K ≥ C m 3 / 2 ln 2 ( m K ) K\ge Cm^{3/2}\ln^2(mK) K ≥ C m 3/2 ln 2 ( m K ) , every phase start has N f ≤ N F ≤ 2 K N_f\le N_F\le2K N f ≤ N F ≤ 2 K , which yields ε 2 n ˉ ≤ ε 2 ⋅ 2 K / m = 1 32 \varepsilon^2\bar n\le\varepsilon^2\cdot2K/m=\frac{1}{32} ε 2 n ˉ ≤ ε 2 ⋅ 2 K / m = 32 1 .
Typical event. Let x 0 : = ln ( m K ) x_0:=\ln(mK) x 0 := ln ( m K ) , I k : = { N k − 1 + 1 , … , N k } I_k:=\{N_{k-1}+1,\ldots,N_k\} I k := { N k − 1 + 1 , … , N k } with N 0 : = 0 N_0:=0 N 0 := 0 , and let T \mathcal T T be the event on which the following hold for every phase f f f .
(T1) 0.95 m ≤ ∥ θ ∥ 2 ≤ 1.05 m 0.95m\le\|\theta\|^2\le1.05m 0.95 m ≤ ∥ θ ∥ 2 ≤ 1.05 m and ∥ θ ∥ ∞ ≤ 6 ln m \|\theta\|_\infty\le\sqrt{6\ln m} ∥ θ ∥ ∞ ≤ 6 ln m .
(T2) For every j j j , ∣ n j ( N f ) − N f / m ∣ ≤ 3 ( N f / m ) x 0 + x 0 |n_j(N_f)-N_f/m|\le3\sqrt{(N_f/m)x_0}+x_0 ∣ n j ( N f ) − N f / m ∣ ≤ 3 ( N f / m ) x 0 + x 0 , n j ( I f ) ≤ 2 ∣ I f ∣ / m n_j(I_f)\le2|I_f|/m n j ( I f ) ≤ 2∣ I f ∣/ m , ∑ j n j ( I f ) θ j 2 ≤ 1.1 ∣ I f ∣ \sum_j n_j(I_f)\theta_j^2\le1.1|I_f| ∑ j n j ( I f ) θ j 2 ≤ 1.1∣ I f ∣ , and ∣ d j ( n ) − n j ( n ) ε θ ~ j ∣ ≤ 3 n j ( n ) x 0 |d_j(n)-n_j(n)\varepsilon\widetilde\theta_j|\le3\sqrt{n_j(n)x_0} ∣ d j ( n ) − n j ( n ) ε θ j ∣ ≤ 3 n j ( n ) x 0 for all n ≤ 2 K n\le2K n ≤ 2 K .
(T3) If phase f f f is not neutral, ∣ Z f ∣ ≤ z 0 + 8 ln m / z 0 |Z_f|\le z_0+8\ln m/z_0 ∣ Z f ∣ ≤ z 0 + 8 ln m / z 0 .
(T4) If phase f f f is not neutral, write c ^ f = ( Z f / ∥ w f ∥ ) w ^ f + 1 − Z f 2 / ∥ w f ∥ 2 u f \hat c_f=(Z_f/\|w_f\|)\hat w_f+\sqrt{1-Z_f^2/\|w_f\|^2}\,u_f c ^ f = ( Z f /∥ w f ∥ ) w ^ f + 1 − Z f 2 /∥ w f ∥ 2 u f , where w ^ f : = w f / ∥ w f ∥ \hat w_f:=w_f/\|w_f\| w ^ f := w f /∥ w f ∥ and u f u_f u f is a unit vector in V f : = W f ⊥ ∩ w ^ f ⊥ V_f:=W_f^\perp\cap\hat w_f^\perp V f := W f ⊥ ∩ w ^ f ⊥ . Then ∥ u f ∥ ∞ ≤ 12 ln m / m \|u_f\|_\infty\le\sqrt{12\ln m/m} ∥ u f ∥ ∞ ≤ 12 ln m / m and ∣ ⟨ u f , Δ θ ⟩ ∣ ≤ ∥ Δ θ ∥ 12 ln m / m |\langle u_f,\Delta\theta\rangle|\le\|\Delta\theta\|\sqrt{12\ln m/m} ∣ ⟨ u f , Δ θ ⟩ ∣ ≤ ∥Δ θ ∥ 12 ln m / m , with Δ \Delta Δ the matrix of the likelihood ratio at phase f f f .
(T5) The bounds (B1)–(B3) of Lemma 16 hold for the increments I 1 , … , I F I_1,\ldots,I_F I 1 , … , I F , the subspace S : = span { μ 1 , … , μ F , θ } S:=\operatorname{span}\{\mu_1,\ldots,\mu_F,\theta\} S := span { μ 1 , … , μ F , θ } , the directions c ^ 1 , … , c ^ F \hat c_1,\ldots,\hat c_F c ^ 1 , … , c ^ F and δ = 1 / m \delta=1/m δ = 1/ m , and the bound of Lemma 17 holds with δ = 1 / m \delta=1/m δ = 1/ m .
Then P ( T c ) ≤ C / m \mathbb P(\mathcal T^c)\le C/m P ( T c ) ≤ C / m , as the following sum of failure probabilities shows. Here F ≤ 4 z 0 2 + 1 = m + 1 F\le4z_0^2+1=\sqrt m+1 F ≤ 4 z 0 2 + 1 = m + 1 , because L ≥ K / ( 4 z 0 2 ) − 1 L\ge K/(4z_0^2)-1 L ≥ K / ( 4 z 0 2 ) − 1 and K ≥ 2 m K\ge2m K ≥ 2 m , and dim W f ≤ 2 F \dim W_f\le2F dim W f ≤ 2 F .
(T1) fails with probability at most 2 e − m / 1700 + m − 2 ≤ 2 / m 2e^{-m/1700}+m^{-2}\le2/m 2 e − m /1700 + m − 2 ≤ 2/ m for m ≥ C m\ge C m ≥ C (Lemma 12).
(T2) fails with probability at most 1 / m 1/m 1/ m . Apply Lemma 13 with x : = ln ( 8 m 2 K ) ≤ 3 x 0 x:=\ln(8m^2K)\le3x_0 x := ln ( 8 m 2 K ) ≤ 3 x 0 , part (i) to the 2 F 2F 2 F intervals { 1 , … , N f } \{1,\ldots,N_f\} { 1 , … , N f } and I f I_f I f , which are fixed in advance, with the m + 1 m+1 m + 1 vectors e j e_j e j and ( θ j 2 ) j (\theta_j^2)_j ( θ j 2 ) j , and part (ii) to the m m m pairs. The total failure probability is at most ( 4 F ( m + 1 ) + 4 m K ) e − x ≤ 1 / m (4F(m+1)+4mK)e^{-x}\le1/m ( 4 F ( m + 1 ) + 4 m K ) e − x ≤ 1/ m . Part (i) gives 6 ( N f / m ) x 0 + x 0 \sqrt{6(N_f/m)x_0}+x_0 6 ( N f / m ) x 0 + x 0 for the first bound. For the second, ∣ I f ∣ / m ≥ b / m ≥ x 0 2 |I_f|/m\ge b/m\ge x_0^2 ∣ I f ∣/ m ≥ b / m ≥ x 0 2 gives 6 ( ∣ I f ∣ / m ) x 0 + x 0 ≤ ∣ I f ∣ / m \sqrt{6(|I_f|/m)x_0}+x_0\le|I_f|/m 6 ( ∣ I f ∣/ m ) x 0 + x 0 ≤ ∣ I f ∣/ m once x 0 ≥ 9 x_0\ge9 x 0 ≥ 9 . For the third, the mean is ∣ I f ∣ ∥ θ ∥ 2 / m ≤ 1.05 ∣ I f ∣ |I_f|\|\theta\|^2/m\le1.05|I_f| ∣ I f ∣∥ θ ∥ 2 / m ≤ 1.05∣ I f ∣ on (T1), and the deviation 2 ∣ I f ∣ ⋅ 6.3 ln m ⋅ 3 x 0 + 6 x 0 ln m \sqrt{2|I_f|\cdot6.3\ln m\cdot3x_0+6x_0\ln m} 2∣ I f ∣ ⋅ 6.3 ln m ⋅ 3 x 0 + 6 x 0 ln m is at most 0.05 ∣ I f ∣ 0.05|I_f| 0.05∣ I f ∣ for m ≥ C m\ge C m ≥ C , because ∣ I f ∣ ≥ m x 0 2 |I_f|\ge mx_0^2 ∣ I f ∣ ≥ m x 0 2 . Part (ii) gives 6 n j x 0 \sqrt{6n_jx_0} 6 n j x 0 for the last bound.
(T3) fails with probability at most ( m + 1 ) m − 6 (\sqrt{m}+1)m^{-6} ( m + 1 ) m − 6 . Given θ \theta θ and the history, c ^ f \hat{c}_f c ^ f is uniform on the cap Cap f ( θ ) \operatorname{Cap}_f(\theta) Cap f ( θ ) of the construction of the adversary, and Z f = ⟨ c ^ f , w f ⟩ Z_f=\langle\hat{c}_f,w_f\rangle Z f = ⟨ c ^ f , w f ⟩ . Lemma 14 applies with d = dim W f ⊥ ≥ m − 2 F d=\dim W_f^\perp\ge m-2F d = dim W f ⊥ ≥ m − 2 F and r = ∥ w f ∥ ≤ ∥ θ ∥ r=\lVert w_f\rVert\le\lVert\theta\rVert r = ∥ w f ∥ ≤ ∥ θ ∥ . On (T1), μ ≤ 1.05 m / ( ( m − 2 F − 3 ) z 0 ) ≤ 1.2 / z 0 \mu\le1.05m/((m-2F-3)z_0)\le1.2/z_0 μ ≤ 1.05 m / (( m − 2 F − 3 ) z 0 ) ≤ 1.2/ z 0 for m ≥ C m\ge C m ≥ C . The overshoot ∣ Z f ∣ − z 0 \lvert Z_f\rvert-z_0 ∣ Z f ∣ − z 0 beyond the threshold of the cap therefore exceeds 8 ln m / z 0 8\ln m/z_0 8 ln m / z 0 with probability at most m − 20 / 3 m^{-20/3} m − 20/3 .
(T4) fails with probability at most m − 2 m^{-2} m − 2 . By Lemma 14 , given θ \theta θ , the history and Z f Z_f Z f , the vector u f u_f u f is uniform on the unit sphere of V f V_f V f , of dimension d ′ ≥ m − 2 F − 1 d'\ge m-2F-1 d ′ ≥ m − 2 F − 1 . Lemma 15 with t = 12 ln m / m t=\sqrt{12\ln m/m} t = 12 ln m / m and d ′ − 3 ≥ 0.9 m d'-3\ge0.9m d ′ − 3 ≥ 0.9 m bounds each of the m + 1 m+1 m + 1 fixed directions e j e_j e j and Δ θ \Delta\theta Δ θ by 2 m − 5.4 2m^{-5.4} 2 m − 5.4 , and a union bound over the F F F phases gives the claim.
(T5) fails with probability at most 2 / m 2/m 2/ m . On (T2), the counts satisfy the hypothesis of Lemma 16 , and S S S is fixed given θ \theta θ and the labels. On (T1), θ \theta θ satisfies that of Lemma 17 . The directions satisfy both, as noted above. Finally, η = 18 ( F ln ( 12 m ) + ln ( 8 m ) ) / m ≤ C m − 1 / 4 ln m ≤ 1 / 4 \eta=18\sqrt{(F\ln(12m)+\ln(8m))/m}\le Cm^{-1/4}\sqrt{\ln m}\le1/4 η = 18 ( F ln ( 12 m ) + ln ( 8 m )) / m ≤ C m − 1/4 ln m ≤ 1/4 for m ≥ C m\ge C m ≥ C .
Energy captured by W f W_f W f . We show that, on T T T , ∥ w f ∥ 2 ≥ m / 2 \lVert w_f\rVert^2\ge m/2 ∥ w f ∥ 2 ≥ m /2 for every f f f . In particular, ∥ w f ∥ > z 0 \lVert w_f\rVert>z_0 ∥ w f ∥ > z 0 for every f f f , and the adversary declares no phase neutral. Let C : = span { c ^ f ′ } f ′ < f C:=\operatorname{span}\{\hat{c}_{f'}\}_{f'<f} C := span { c ^ f ′ } f ′ < f and D : = span { r ( f ′ ) } f ′ ≤ f D:=\operatorname{span}\{r^{(f')}\}_{f'\le f} D := span { r ( f ′ ) } f ′ ≤ f . Then W f = C ⊕ P C ⊥ D W_f=C\oplus P_{C^\perp}D W f = C ⊕ P C ⊥ D , which yields ∥ P W f θ ∥ 2 = ∥ P C θ ∥ 2 + ∥ P P C ⊥ D θ ∥ 2 \lVert P_{W_f}\theta\rVert^2=\lVert P_C\theta\rVert^2+\lVert P_{P_{C^\perp}D}\theta\rVert^2 ∥ P W f θ ∥ 2 = ∥ P C θ ∥ 2 + ∥ P P C ⊥ D θ ∥ 2 .
Caps. Since the nonzero caps are orthonormal, (T3) gives
∥ P C θ ∥ 2 = ∑ f ′ < f Z f ′ 2 ≤ F ( z 0 + 8 ln m / z 0 ) 2 ≤ ( m + 1 ) ( m / 4 + 16 ln m + 256 ln 2 m / m ) = m 4 + o ( m ) . \begin{aligned}
\lVert P_C\theta\rVert^2=\sum_{f'<f}Z_{f'}^2\le F(z_0+8\ln m/z_0)^2 \\
&\le(\sqrt{m}+1)(\sqrt{m}/4+16\ln m+256\ln^2m/\sqrt{m})=\frac{m}{4}+o(m).
\end{aligned} ∥ P C θ ∥ 2 = f ′ < f ∑ Z f ′ 2 ≤ F ( z 0 + 8 ln m / z 0 ) 2 ≤ ( m + 1 ) ( m /4 + 16 ln m + 256 ln 2 m / m ) = 4 m + o ( m ) .
Data. The space D D D is spanned by the increments Δ r ( k ) : = r ( k ) − r ( k − 1 ) \Delta r^{(k)}:=r^{(k)}-r^{(k-1)} Δ r ( k ) := r ( k ) − r ( k − 1 ) , k ≤ f k\le f k ≤ f , with r ( 0 ) : = 0 r^{(0)}:=0 r ( 0 ) := 0 . Since the increment Δ r ( k ) \Delta r^{(k)} Δ r ( k ) counts the samples of I k I_k I k , Δ r ( k ) = μ k + ξ k \Delta r^{(k)}=\mu_k+\xi_k Δ r ( k ) = μ k + ξ k in the notation of Lemma 16 , with μ k , j = ε 2 n j ( I k ) θ j \mu_{k,j}=\varepsilon^2n_j(I_k)\theta_j μ k , j = ε 2 n j ( I k ) θ j on (T1), since no coordinate is clipped. Every increment has ∣ I k ∣ ≥ b \lvert I_k\rvert\ge b ∣ I k ∣ ≥ b . Fix γ ∈ R F \gamma\in\mathbb{R}^F γ ∈ R F with γ k = 0 \gamma_k=0 γ k = 0 for k > f k>f k > f and ∥ Γ γ ∥ = 1 \lVert\Gamma\gamma\rVert=1 ∥ Γ γ ∥ = 1 , and let x ( γ ) : = ∑ k γ k Δ r ( k ) = μ ( γ ) + ξ ( γ ) x(\gamma):=\sum_k\gamma_k\Delta r^{(k)}=\mu(\gamma)+\xi(\gamma) x ( γ ) := ∑ k γ k Δ r ( k ) = μ ( γ ) + ξ ( γ ) , where μ ( γ ) : = ∑ k γ k μ k ∈ S \mu(\gamma):=\sum_k\gamma_k\mu_k\in S μ ( γ ) := ∑ k γ k μ k ∈ S .
Interaction with the caps. For k ≤ f ′ k\le f' k ≤ f ′ , the cap c ^ f ′ \hat{c}_{f'} c ^ f ′ is orthogonal to the increment Δ r ( k ) \Delta r^{(k)} Δ r ( k ) , since it is orthogonal to r ( k − 1 ) r^{(k-1)} r ( k − 1 ) and to r ( k ) r^{(k)} r ( k ) by the construction of W f ′ W_{f'} W f ′ . Hence the coordinates of P C x ( γ ) P_Cx(\gamma) P C x ( γ ) in the basis of nonzero caps are ∑ k > f ′ γ k ⟨ c ^ f ′ , μ k + ξ k ⟩ \sum_{k>f'}\gamma_k\langle\hat{c}_{f'},\mu_k+\xi_k\rangle ∑ k > f ′ γ k ⟨ c ^ f ′ , μ k + ξ k ⟩ . By Lemma 17 , the part with μ k \mu_k μ k has norm at most the Frobenius norm of that lemma, which, with ε 2 N F ≤ m / 32 \varepsilon^2N_F\le m/32 ε 2 N F ≤ m /32 and ∑ f ′ Z f ′ 2 ≤ m / 4 + o ( m ) \sum_{f'}Z_{f'}^2\le m/4+o(m) ∑ f ′ Z f ′ 2 ≤ m /4 + o ( m ) , is at most ( 4 3 ⋅ 1 32 ⋅ 1 4 ) 1 / 2 + o ( 1 ) ≤ 0.11 (\frac{4}{3}\cdot\frac{1}{32}\cdot\frac{1}{4})^{1/2}+o(1)\le0.11 ( 3 4 ⋅ 32 1 ⋅ 4 1 ) 1/2 + o ( 1 ) ≤ 0.11 for m ≥ C m\ge C m ≥ C and K ≥ C m 2 ln 3 ( m K ) K\ge Cm^2\ln^3(mK) K ≥ C m 2 ln 3 ( m K ) . The second term of the lemma is at most C m ln 3 / 2 ( m K ) / K Cm\ln^{3/2}(mK)/\sqrt{K} C m ln 3/2 ( m K ) / K . By (B3) with β \beta β the unit vector along these coordinates, the part with ξ k \xi_k ξ k has norm at most η \eta η . Hence ∥ P C x ( γ ) ∥ ≤ 0.11 + η \lVert P_Cx(\gamma)\rVert\le0.11+\eta ∥ P C x ( γ )∥ ≤ 0.11 + η .
Lower bound on the norm. Since μ ( γ ) ∈ S \mu(\gamma)\in S μ ( γ ) ∈ S , (B1) and (B2) give
∥ x ( γ ) ∥ ≥ ∥ P S x ( γ ) ∥ = ∥ P S ξ ( γ ) ∥ ≥ 1 − 2 η . \lVert x(\gamma)\rVert\ge\lVert P_Sx(\gamma)\rVert=\lVert P_S\xi(\gamma)\rVert\ge1-2\eta. ∥ x ( γ )∥ ≥ ∥ P S x ( γ )∥ = ∥ P S ξ ( γ )∥ ≥ 1 − 2 η .
Hence ∥ P C ⊥ x ( γ ) ∥ ≥ 0.89 − 3 η \lVert P_{C^\perp}x(\gamma)\rVert\ge0.89-3\eta ∥ P C ⊥ x ( γ )∥ ≥ 0.89 − 3 η .
Upper bound on the projection. The numerator satisfies
⟨ P C ⊥ x ( γ ) , θ ⟩ = ⟨ μ ( γ ) , θ ⟩ + ⟨ ξ ( γ ) , θ ⟩ − ⟨ P C x ( γ ) , P C θ ⟩ . \langle P_{C^\perp}x(\gamma),\theta\rangle=\langle\mu(\gamma),\theta\rangle+\langle\xi(\gamma),\theta\rangle-\langle P_Cx(\gamma),P_C\theta\rangle. ⟨ P C ⊥ x ( γ ) , θ ⟩ = ⟨ μ ( γ ) , θ ⟩ + ⟨ ξ ( γ ) , θ ⟩ − ⟨ P C x ( γ ) , P C θ ⟩ .
By (T2), ⟨ μ k , θ ⟩ = ε 2 ∑ j n j ( I k ) θ j 2 ≤ 1.1 ε 2 ∣ I k ∣ \langle\mu_k,\theta\rangle=\varepsilon^2\sum_j n_j(I_k)\theta_j^2\le1.1\varepsilon^2\lvert I_k\rvert ⟨ μ k , θ ⟩ = ε 2 ∑ j n j ( I k ) θ j 2 ≤ 1.1 ε 2 ∣ I k ∣ . By Cauchy–Schwarz and ε k 2 ≥ 3 4 ε 2 ∣ I k ∣ \varepsilon_k^2\ge\frac{3}{4}\varepsilon^2\lvert I_k\rvert ε k 2 ≥ 4 3 ε 2 ∣ I k ∣ ,
∣ ⟨ μ ( γ ) , θ ⟩ ∣ ≤ 1.1 ε 2 ( ∑ k ∣ I k ∣ ) 1 / 2 ( ∑ k γ k 2 ∣ I k ∣ ) 1 / 2 ≤ 1.1 ⋅ 2 3 ε N F ≤ 0.23 m . \lvert\langle\mu(\gamma),\theta\rangle\rvert\le1.1\varepsilon^2\left(\sum_k\lvert I_k\rvert\right)^{1/2}\left(\sum_k\gamma_k^2\lvert I_k\rvert\right)^{1/2}\le1.1\cdot\frac{2}{\sqrt{3}}\varepsilon\sqrt{N_F}\le0.23\sqrt{m}. ∣⟨ μ ( γ ) , θ ⟩∣ ≤ 1.1 ε 2 ( k ∑ ∣ I k ∣ ) 1/2 ( k ∑ γ k 2 ∣ I k ∣ ) 1/2 ≤ 1.1 ⋅ 3 2 ε N F ≤ 0.23 m .
using ε 2 N F ≤ m / 32 \varepsilon^{2}N_{F} \le m/32 ε 2 N F ≤ m /32 .
By (B2), ∣ ⟨ ξ ( γ ) , θ ⟩ ∣ ≤ η ∥ θ ∥ ≤ 1.03 η m |\langle\xi(\gamma),\theta\rangle| \le\eta\|\theta\| \le1.03\eta\sqrt{m} ∣ ⟨ ξ ( γ ) , θ ⟩ ∣ ≤ η ∥ θ ∥ ≤ 1.03 η m .
The last term is at most
( 0.11 + η ) ( m 4 + o ( m ) ) 1 / 2 ≤ ( 0.056 + η ) m (0.11+\eta)\left(\frac{m}{4}+o(m)\right)^{1/2}\le(0.056+\eta)\sqrt{m} ( 0.11 + η ) ( 4 m + o ( m ) ) 1/2 ≤ ( 0.056 + η ) m
for m ≥ C m\ge C m ≥ C .
Every unit vector of P C ⊥ D P_{C^\perp}\mathcal{D} P C ⊥ D has the form P C ⊥ x ( γ ) / ∥ P C ⊥ x ( γ ) ∥ P_{C^\perp}x(\gamma)/\|P_{C^\perp}x(\gamma)\| P C ⊥ x ( γ ) /∥ P C ⊥ x ( γ ) ∥ for such a γ \gamma γ , up to sign. Its correlation with θ \theta θ is therefore at most ( 0.29 + 3 η ) m / ( 0.89 − 3 η ) ≤ 0.34 m (0.29+3\eta)\sqrt{m}/(0.89-3\eta)\le0.34\sqrt{m} ( 0.29 + 3 η ) m / ( 0.89 − 3 η ) ≤ 0.34 m for m ≥ C m\ge C m ≥ C . Hence ∥ P C ⊥ D θ ∥ 2 ≤ 0.12 m \|P_{C^\perp}\mathcal{D}\theta\|^{2}\le0.12m ∥ P C ⊥ D θ ∥ 2 ≤ 0.12 m , ∥ P W f θ ∥ 2 ≤ 0.37 m + o ( m ) \|P_{W_f}\theta\|^{2}\le0.37m+o(m) ∥ P W f θ ∥ 2 ≤ 0.37 m + o ( m ) , and ∥ w f ∥ 2 ≥ 0.58 m − o ( m ) ≥ m / 2 \|w_f\|^{2}\ge0.58m-o(m)\ge m/2 ∥ w f ∥ 2 ≥ 0.58 m − o ( m ) ≥ m /2 by (T1).
Consequences on T T T . No phase is neutral, ∣ Z f ∣ ≤ 2 z 0 |Z_f|\le2z_0 ∣ Z f ∣ ≤ 2 z 0 and ∣ Z f ∣ / ∥ w f ∥ ≤ 3 z 0 / m |Z_f|/\|w_f\|\le3z_0/\sqrt{m} ∣ Z f ∣/∥ w f ∥ ≤ 3 z 0 / m .
No clipping. By (T4), ∣ c ^ f , j ∣ ≤ 4 z 0 ∣ w f , j ∣ / m + 12 ln m / m |\widehat{c}_{f,j}|\le4z_0|w_{f,j}|/m+\sqrt{12\ln m/m} ∣ c f , j ∣ ≤ 4 z 0 ∣ w f , j ∣/ m + 12 ln m / m , which yields
∣ ϑ j − θ j ∣ = 2 ∣ Z f ∣ ∣ c ^ f , j ∣ ≤ 4 ∣ w f , j ∣ / m + 7 ln m m − 1 / 4 ≤ 5 , |\vartheta_j-\theta_j|=2|Z_f||\widehat{c}_{f,j}|\le4|w_{f,j}|/\sqrt{m}+7\sqrt{\ln m}\,m^{-1/4}\le5, ∣ ϑ j − θ j ∣ = 2∣ Z f ∣∣ c f , j ∣ ≤ 4∣ w f , j ∣/ m + 7 ln m m − 1/4 ≤ 5 ,
using ∣ w f , j ∣ ≤ ∥ θ ∥ |w_{f,j}|\le\|\theta\| ∣ w f , j ∣ ≤ ∥ θ ∥ . Hence every coordinate of θ \theta θ and ϑ \vartheta ϑ has square at most ( 6 ln m + 5 ) 2 ≤ 12 ln m < B 2 (\sqrt{6\ln m}+5)^2\le12\ln m<B^2 ( 6 ln m + 5 ) 2 ≤ 12 ln m < B 2 for m ≥ C m\ge C m ≥ C , and none is clipped.
∣ ⟨ c ^ f , Δ θ ⟩ ∣ ≤ ( 3 z 0 / m + 12 ln m / m ) ∥ Δ θ ∥ ≤ C z 0 max j ∣ n j − n ‾ ∣ , |\langle\widehat{c}_f,\Delta\theta\rangle|\le(3z_0/\sqrt{m}+\sqrt{12\ln m/m})\|\Delta\theta\|\le Cz_0\max_j|n_j-\overline{n}|, ∣ ⟨ c f , Δ θ ⟩ ∣ ≤ ( 3 z 0 / m + 12 ln m / m ) ∥Δ θ ∥ ≤ C z 0 j max ∣ n j − n ∣ ,
using ∥ Δ θ ∥ ≤ max j ∣ n j − n ‾ ∣ ∥ θ ∥ \|\Delta\theta\|\le\max_j|n_j-\overline{n}|\|\theta\| ∥Δ θ ∥ ≤ max j ∣ n j − n ∣∥ θ ∥ . With (T2), ε 2 n ‾ ≤ 1 / 32 \varepsilon^2\overline{n}\le1/32 ε 2 n ≤ 1/32 and z 0 2 = m / 4 z_0^2=\sqrt{m}/4 z 0 2 = m /4 , the quadratic term of Eq. (49) is at most C ε 2 z 0 2 n x 0 ≤ C ε m x 0 C\varepsilon^2z_0^2\sqrt{n}\,x_0\le C\varepsilon\sqrt{m}\sqrt{x_0} C ε 2 z 0 2 n x 0 ≤ C ε m x 0 .
Cubic term. By (T2), ∣ d j ∣ ≤ n j ε 6 ln m + 3 n j x 0 ≤ C n ‾ x 0 |d_j|\le n_j\varepsilon\sqrt{6\ln m}+3\sqrt{n_j}x_0\le C\sqrt{\overline{n}}x_0 ∣ d j ∣ ≤ n j ε 6 ln m + 3 n j x 0 ≤ C n x 0 , since n j ≤ 2 n ‾ n_j\le2\overline{n} n j ≤ 2 n for n ‾ ≥ x 0 2 \overline{n}\ge x_0^2 n ≥ x 0 2 and x 0 ≥ 11 x_0\ge11 x 0 ≥ 11 , and ε n ‾ ≤ 1 \varepsilon\sqrt{\overline{n}}\le1 ε n ≤ 1 . With ∣ θ j 3 − ϑ j 3 ∣ ≤ 36 ln m ⋅ 2 ∣ Z f ∣ ∣ c ^ f , j ∣ |\theta_j^3-\vartheta_j^3|\le36\ln m\cdot2|Z_f||\widehat{c}_{f,j}| ∣ θ j 3 − ϑ j 3 ∣ ≤ 36 ln m ⋅ 2∣ Z f ∣∣ c f , j ∣ and ∥ c ^ f ∥ 1 ≤ m \|\widehat{c}_f\|_1\le\sqrt{m} ∥ c f ∥ 1 ≤ m , the cubic term is at most C ε 3 z 0 m n ‾ x 0 2 ≤ C ε 2 z 0 m x 0 3 / 2 C\varepsilon^3z_0\sqrt{m}\sqrt{\overline{n}}x_0^2\le C\varepsilon^2z_0\sqrt{m}\,x_0^{3/2} C ε 3 z 0 m n x 0 2 ≤ C ε 2 z 0 m x 0 3/2 . The remainder is at most C ε 4 ln 3 / 2 m ⋅ z 0 n ‾ m C\varepsilon^4\ln^{3/2}m\cdot z_0\overline{n}\sqrt{m} C ε 4 ln 3/2 m ⋅ z 0 n m , which is of the same order.
δ K : = C ′ m ln 3 / 2 ( m K ) / K ≤ 1 100 for K ≥ C m 2 ln 3 ( m K ) . \delta_K:=C'm\ln^{3/2}(mK)/\sqrt{K}\le\frac{1}{100}\qquad\text{for }K\ge Cm^2\ln^3(mK). δ K := C ′ m ln 3/2 ( m K ) / K ≤ 100 1 for K ≥ C m 2 ln 3 ( m K ) .
Clipping of the goal. Let Q Q Q be the set of clipped coordinates of ρ c ^ f \rho\widehat{c}_f ρ c f . Since ρ 12 ln m / m = 1 / 3 < 0.6 \rho\sqrt{12\ln m/m}=1/\sqrt{3}<0.6 ρ 12 ln m / m = 1/ 3 < 0.6 , a coordinate is clipped only if ρ ∣ Z f ∣ ∣ w ^ f , j ∣ / ∥ w f ∥ > 0.4 \rho|Z_f||\widehat{w}_{f,j}|/\|w_f\|>0.4 ρ ∣ Z f ∣∣ w f , j ∣/∥ w f ∥ > 0.4 . Since w ^ f \widehat{w}_f w f is a unit vector,
∣ Q ∣ ≤ ( 3 ρ z 0 / m ) 2 / 0.16 ≤ 57 ρ 2 z 0 2 / m = 57 m / ( 144 ln m ) . |Q|\le(3\rho z_0/\sqrt{m})^2/0.16\le57\rho^2z_0^2/m=57\sqrt{m}/(144\ln m). ∣ Q ∣ ≤ ( 3 ρ z 0 / m ) 2 /0.16 ≤ 57 ρ 2 z 0 2 / m = 57 m / ( 144 ln m ) .
Then
∑ j ∈ Q c ^ f , j 2 ≤ 2 ( Z f / ∥ w f ∥ ) 2 + 2 ∣ Q ∣ ⋅ 12 ln m / m ≤ 15 / m \sum_{j\in Q}\widehat{c}_{f,j}^{\,2}\le2(Z_f/\|w_f\|)^2+2|Q|\cdot12\ln m/m\le15/\sqrt{m} j ∈ Q ∑ c f , j 2 ≤ 2 ( Z f /∥ w f ∥ ) 2 + 2∣ Q ∣ ⋅ 12 ln m / m ≤ 15/ m
and
∑ j ∈ Q ϑ j 2 ≤ 12 ∣ Q ∣ ln m ≤ 4.8 m \sum_{j\in Q}\vartheta_j^{\,2}\le12|Q|\ln m\le4.8\sqrt{m} j ∈ Q ∑ ϑ j 2 ≤ 12∣ Q ∣ ln m ≤ 4.8 m
for ϑ ′ ∈ { θ , ϑ } \vartheta'\in\{\theta,\vartheta\} ϑ ′ ∈ { θ , ϑ } . Since ∣ c f , j − ρ c ^ f , j ∣ ≤ ρ ∣ c ^ f , j ∣ |c_{f,j}-\rho\widehat{c}_{f,j}|\le\rho|\widehat{c}_{f,j}| ∣ c f , j − ρ c f , j ∣ ≤ ρ ∣ c f , j ∣ , Cauchy–Schwarz gives ∣ ⟨ c f − ρ c ^ f , ϑ ′ ⟩ ∣ ≤ ρ 72 ≤ ρ z 0 / 4 |\langle c_f-\rho\widehat{c}_f,\vartheta'\rangle|\le\rho\sqrt{72}\le\rho z_0/4 ∣ ⟨ c f − ρ c f , ϑ ′ ⟩ ∣ ≤ ρ 72 ≤ ρ z 0 /4 for m ≥ C m\ge C m ≥ C . Since ⟨ c ^ f , θ ⟩ = Z f = − ⟨ c ^ f , ϑ ⟩ \langle\widehat{c}_f,\theta\rangle=Z_f=-\langle\widehat{c}_f,\vartheta\rangle ⟨ c f , θ ⟩ = Z f = − ⟨ c f , ϑ ⟩ and ∣ Z f ∣ ≥ z 0 |Z_f|\ge z_0 ∣ Z f ∣ ≥ z 0 , action a a a is worth 1 / 2 + τ D 1/2+\tau D 1/2 + τ D with D ≥ 3 ε ρ z 0 / ( 8 m ) = D 0 D\ge3\varepsilon\rho z_0/(8m)=D_0 D ≥ 3 ερ z 0 / ( 8 m ) = D 0 under both θ \theta θ and ϑ \vartheta ϑ , with opposite signs τ \tau τ .
Near-symmetric posterior. Whether phase f f f is neutral is revealed by its goals and is therefore determined by H f \mathcal{H}_f H f . On a neutral phase, c ^ f = 0 \hat{c}_f = 0 c ^ f = 0 , the sign τ f \tau_f τ f is not defined, and we bound the loss of its episodes from below by 0. Since neutral phases occur only off T \mathcal{T} T , the histories with a neutral phase have probability at most C / m C/m C / m . In the rest of the argument for phase f f f , we fix a history H f \mathcal{H}_f H f on which phase f f f is not neutral. Let G f \mathcal{G}_f G f be the set of θ \theta θ for which the consequences above hold for the pair ( θ , R f θ ) (\theta, R_f\theta) ( θ , R f θ ) . It is determined by H f \mathcal{H}_f H f , and R f G f = G f R_f\mathcal{G}_f = \mathcal{G}_f R f G f = G f . On T \mathcal{T} T , θ ∈ G f \theta\in\mathcal{G}_f θ ∈ G f . By the tower property, therefore, E [ π f ( G f c ) ] = P ( θ ∉ G f ) ≤ C / m \mathbb{E}[\pi_f(\mathcal{G}_f^{\mathrm{c}})] = \mathbb{P}(\theta\notin\mathcal{G}_f) \le C/m E [ π f ( G f c )] = P ( θ ∈ / G f ) ≤ C / m . On G f \mathcal{G}_f G f , Eq. (48) gives π f ( R f θ ) ≤ e δ K π f ( θ ) \pi_f(R_f\theta) \le e^{\delta K}\pi_f(\theta) π f ( R f θ ) ≤ e δ K π f ( θ ) . Write q f : = P ( τ f = + 1 ∣ H f ) q_f := \mathbb{P}(\tau_f = +1 \mid\mathcal{H}_f) q f := P ( τ f = + 1 ∣ H f ) and a f : = π f ( G f c ) a_f := \pi_f(\mathcal{G}_f^{\mathrm{c}}) a f := π f ( G f c ) . The bounds below that involve min ( q f , 1 − q f ) \min(q_f,1-q_f) min ( q f , 1 − q f ) hold trivially if q f ∈ { 0 , 1 } q_f \in\{0,1\} q f ∈ { 0 , 1 } . We therefore assume q f ∈ ( 0 , 1 ) q_f \in(0,1) q f ∈ ( 0 , 1 ) . Integrating over { τ f = − 1 } \{\tau_f = -1\} { τ f = − 1 } , whose image under R f R_f R f is { τ f = + 1 } \{\tau_f = +1\} { τ f = + 1 } , gives q f ≤ e δ K ( 1 − q f ) + a f q_f \le e^{\delta K}(1-q_f) + a_f q f ≤ e δ K ( 1 − q f ) + a f , and symmetrically 1 − q f ≤ e δ K q f + a f 1-q_f \le e^{\delta K}q_f + a_f 1 − q f ≤ e δ K q f + a f . Hence q f ≤ ( e δ K + a f ) / ( 1 + e δ K ) q_f \le(e^{\delta K} + a_f)/(1 + e^{\delta K}) q f ≤ ( e δ K + a f ) / ( 1 + e δ K ) , which yields 2 q f − 1 ≤ ( e δ K − 1 ) / 2 + a f ≤ δ K + a f 2q_f - 1 \le(e^{\delta K} - 1)/2 + a_f \le\delta K + a_f 2 q f − 1 ≤ ( e δ K − 1 ) /2 + a f ≤ δ K + a f , and symmetrically for 1 − q f 1-q_f 1 − q f . Hence ∣ 2 q f − 1 ∣ ≤ δ K + a f |2q_f - 1| \le\delta K + a_f ∣2 q f − 1∣ ≤ δ K + a f and min ( q f , 1 − q f ) ≥ 1 2 − ( δ K + a f ) / 2 \min(q_f,1-q_f) \ge\frac{1}{2} - (\delta K + a_f)/2 min ( q f , 1 − q f ) ≥ 2 1 − ( δ K + a f ) /2 .
One phase. Fix an episode of phase f f f , let q q q be the posterior probability of τ f = + 1 \tau_f = +1 τ f = + 1 when the agent acts, and let a t a_t a t be the posterior mass of G f c \mathcal{G}_f^{\mathrm{c}} G f c at that time. The value of this episode is v = 1 2 + u v = \frac{1}{2} + u v = 2 1 + u , with u u u uniform on [ − D 0 , D 0 ] [-D_0,D_0] [ − D 0 , D 0 ] . It is drawn afresh before the episode, independently of θ \theta θ and of everything observed before, and is thus independent of q q q and a t a_t a t . On G f \mathcal{G}_f G f , playing b b b loses at least D 0 − u D_0-u D 0 − u if τ f = + 1 \tau_f = +1 τ f = + 1 , and playing a a a loses at least D 0 + u D_0+u D 0 + u if τ f = − 1 \tau_f = -1 τ f = − 1 . Given the agent’s information, the expected loss is therefore at least min { q + ( D 0 − u ) , q − ( D 0 + u ) } \min\{q_+(D_0-u),q_-(D_0+u)\} min { q + ( D 0 − u ) , q − ( D 0 + u )} , where q ± q_\pm q ± are the posterior masses of { τ f = ± 1 } ∩ G f \{\tau_f = \pm1\} \cap\mathcal{G}_f { τ f = ± 1 } ∩ G f . Averaging over u u u gives at least
D 0 q + q − q + + q − ≥ D 0 q + q − ≥ D 0 ( q ( 1 − q ) − a t ) ≥ D 0 ( 1 2 min ( q , 1 − q ) − a t ) . D_0\frac{q_+q_-}{q_+ + q_-} \ge D_0q_+q_- \ge D_0(q(1-q)-a_t) \ge D_0\left(\frac{1}{2}\min(q,1-q)-a_t\right). D 0 q + + q − q + q − ≥ D 0 q + q − ≥ D 0 ( q ( 1 − q ) − a t ) ≥ D 0 ( 2 1 min ( q , 1 − q ) − a t ) .
and E a t ≤ C / m \mathbb{E}a_t \le C/m E a t ≤ C / m by the tower property.
Let μ ± \mu_\pm μ ± be π f \pi_f π f restricted to { τ f = ± 1 } \{\tau_f = \pm1\} { τ f = ± 1 } and normalised, and let P ± P^\pm P ± be the corresponding laws of the observations of the phase before the episode. Then
E [ min ( q , 1 − q ) ∣ H f ] ≥ min ( q f , 1 − q f ) ( 1 − TV ( P + , P − ) ) . \mathbb{E}[\min(q,1-q)\mid\mathcal{H}_f] \ge\min(q_f,1-q_f)\left(1-\operatorname{TV}(P^+,P^-)\right). E [ min ( q , 1 − q ) ∣ H f ] ≥ min ( q f , 1 − q f ) ( 1 − TV ( P + , P − ) ) .
Assume q f ≥ 1 2 q_f \ge\frac{1}{2} q f ≥ 2 1 . Otherwise exchange the signs. Let R # P + R_\#P^+ R # P + be the law of the observations when θ \theta θ is drawn from R # μ + R_\#\mu_+ R # μ + , the image of μ + \mu_+ μ + under R : = R f R := R_f R := R f . Then
TV ( P + , P − ) ≤ TV ( P + , R # P + ) + TV ( R # μ + , μ − ) . \operatorname{TV}(P^+,P^-) \le\operatorname{TV}(P^+,R_\#P^+) + \operatorname{TV}(R_\#\mu_+,\mu_-). TV ( P + , P − ) ≤ TV ( P + , R # P + ) + TV ( R # μ + , μ − ) .
The coupling. Couple θ ∼ μ + \theta\sim\mu_+ θ ∼ μ + with R θ R\theta R θ . The pair of a sample is uniform, ε B = 1 2 \varepsilon_B = \frac{1}{2} ε B = 2 1 , and clipping is 1-Lipschitz. Hence, one sample has KL divergence at most
( ε / 2 ) 2 3 / 16 ⋅ 1 m ∥ θ − R θ ∥ 2 = 16 3 ε 2 Z ( θ ) 2 m , \frac{(\varepsilon/2)^2}{3/16}\cdot\frac{1}{m}\lVert\theta-R\theta\rVert^2 = \frac{16}{3}\frac{\varepsilon^2 Z(\theta)^2}{m}, 3/16 ( ε /2 ) 2 ⋅ m 1 ∥ θ − R θ ∥ 2 = 3 16 m ε 2 Z ( θ ) 2 ,
with Z ( θ ) : = ⟨ c ^ f , θ ⟩ Z(\theta) := \langle\hat{c}_f,\theta\rangle Z ( θ ) := ⟨ c ^ f , θ ⟩ . Since the agent observes at most L L L samples in the phase, the chain rule and convexity of KL give
KL ( P + ∥ R # P + ) ≤ 16 3 L ε 2 E μ + [ Z 2 ] / m ≤ 32 3 L ε 2 E π f [ Z 2 ] / m , \operatorname{KL}(P^+\|R_\#P^+) \le\frac{16}{3}L\varepsilon^2\mathbb{E}_{\mu_+}[Z^2]/m \le\frac{32}{3}L\varepsilon^2\mathbb{E}_{\pi_f}[Z^2]/m, KL ( P + ∥ R # P + ) ≤ 3 16 L ε 2 E μ + [ Z 2 ] / m ≤ 3 32 L ε 2 E π f [ Z 2 ] / m ,
since μ + ≤ 2 π f \mu_+ \le2\pi_f μ + ≤ 2 π f . By the tower property, E [ E π f Z 2 ] = E Z f 2 \mathbb{E}[\mathbb{E}_{\pi_f}Z^2] = \mathbb{E}Z_f^2 E [ E π f Z 2 ] = E Z f 2 . Lemma 14 with μ ≤ 1.2 / z 0 \mu\le1.2/z_0 μ ≤ 1.2/ z 0 gives E [ Z f 2 ∣ p a s t ] ≤ z 0 2 + 3 \mathbb{E}[Z_f^2 \mid\mathrm{past}] \le z_0^2 + 3 E [ Z f 2 ∣ past ] ≤ z 0 2 + 3 when ∥ θ ∥ 2 ≤ 1.05 m \lVert\theta\rVert^2 \le1.05m ∥ θ ∥ 2 ≤ 1.05 m , and Z f 2 ≤ ∥ θ ∥ 2 Z_f^2 \le\lVert\theta\rVert^2 Z f 2 ≤ ∥ θ ∥ 2 always, which yields E Z f 2 ≤ z 0 2 + 3 + ( E ∥ θ ∥ 4 ⋅ e − m / 1700 ) 1 / 2 ≤ z 0 2 + 4 \mathbb{E}Z_f^2 \le z_0^2 + 3 + (\mathbb{E}\lVert\theta\rVert^4 \cdot e^{-m/1700})^{1/2} \le z_0^2 + 4 E Z f 2 ≤ z 0 2 + 3 + ( E ∥ θ ∥ 4 ⋅ e − m /1700 ) 1/2 ≤ z 0 2 + 4 for m ≥ C m \ge C m ≥ C . With L ≤ K / ( 4 z 0 2 ) L \le K/(4z_0^2) L ≤ K / ( 4 z 0 2 ) and ε 2 = m / ( 64 K ) \varepsilon^2 = m/(64K) ε 2 = m / ( 64 K ) , E KL ≤ ( z 0 2 + 4 ) / ( 24 z 0 2 ) ≤ 1 12 \mathbb{E}\operatorname{KL} \le(z_0^2+4)/(24z_0^2) \le\frac{1}{12} E KL ≤ ( z 0 2 + 4 ) / ( 24 z 0 2 ) ≤ 12 1 for z 0 2 ≥ 4 z_0^2 \ge4 z 0 2 ≥ 4 . Pinsker’s and Jensen’s inequalities give E TV ( P + , R # P + ) ≤ ( 1 / 24 ) 1 / 2 ≤ 0.21 \mathbb{E}\operatorname{TV}(P^+,R_\#P^+) \le(1/24)^{1/2} \le0.21 E TV ( P + , R # P + ) ≤ ( 1/24 ) 1/2 ≤ 0.21 .
The symmetry defect. Let A : = { τ f = − 1 } A := \{\tau_f = -1\} A := { τ f = − 1 } . The densities of R # μ + R_{\#}\mu_+ R # μ + and μ − \mu_- μ − on A A A are π f ( R θ ) / q f \pi_f(R\theta)/q_f π f ( R θ ) / q f and π f ( θ ) / ( 1 − q f ) \pi_f(\theta)/(1-q_f) π f ( θ ) / ( 1 − q f ) , and ∫ A π f ( R θ ) d θ = q f \int_A \pi_f(R\theta)\,\mathrm{d}\theta= q_f ∫ A π f ( R θ ) d θ = q f . On A ∩ G f A \cap G_f A ∩ G f , ∣ π f ( R θ ) − π f ( θ ) ∣ ≤ 2 δ K π f ( θ ) |\pi_f(R\theta)-\pi_f(\theta)| \le2\delta_K\pi_f(\theta) ∣ π f ( R θ ) − π f ( θ ) ∣ ≤ 2 δ K π f ( θ ) , and A ∖ G f A \setminus G_f A ∖ G f carries mass at most a f a_f a f under both π f \pi_f π f and π f ∘ R \pi_f \circ R π f ∘ R . With q f ≥ 1 2 q_f \ge\frac{1}{2} q f ≥ 2 1 and the identity
∣ 1 / q f − 1 / ( 1 − q f ) ∣ ( 1 − q f ) = ∣ 2 q f − 1 ∣ / q f , \left|1/q_f - 1/(1-q_f)\right|(1-q_f) = |2q_f - 1|/q_f, ∣ 1/ q f − 1/ ( 1 − q f ) ∣ ( 1 − q f ) = ∣2 q f − 1∣/ q f ,
we attain
TV ( R # μ + , μ − ) ≤ 1 2 ( ( 2 δ K + 2 a f ) + ( 2 δ K + a f ) ) / q f ≤ 4 δ K + 3 a f . \operatorname{TV}(R_{\#}\mu_+,\mu_-) \le\frac{1}{2}\left((2\delta_K+2a_f)+(2\delta_K+a_f)\right)/q_f \le4\delta_K+3a_f. TV ( R # μ + , μ − ) ≤ 2 1 ( ( 2 δ K + 2 a f ) + ( 2 δ K + a f ) ) / q f ≤ 4 δ K + 3 a f .
Summing. With min ( q f , 1 − q f ) ≤ 1 2 \min(q_f,1-q_f) \le\frac{1}{2} min ( q f , 1 − q f ) ≤ 2 1 , the bounds above give
E min ( q , 1 − q ) ≥ 1 2 − δ K 2 − C m − 1 2 ( 0.21 + 4 δ K + C m ) , \mathbb{E}\min(q,1-q) \ge\frac{1}{2}-\frac{\delta_K}{2}-\frac{C}{m}-\frac{1}{2}\left(0.21+4\delta_K+\frac{C}{m}\right), E min ( q , 1 − q ) ≥ 2 1 − 2 δ K − m C − 2 1 ( 0.21 + 4 δ K + m C ) ,
which is at least 0.39 − 3 δ K − C / m ≥ 0.35 0.39-3\delta_K-C/m \ge0.35 0.39 − 3 δ K − C / m ≥ 0.35 for m ≥ C m \ge C m ≥ C . The term C / m C/m C / m also absorbs the histories with a neutral phase, on which we bound min ( q , 1 − q ) \min(q,1-q) min ( q , 1 − q ) from below by 0. Each episode of a phase therefore costs at least D 0 ( 0.175 − C / m ) ≥ D 0 / 6 D_0(0.175-C/m) \ge D_0/6 D 0 ( 0.175 − C / m ) ≥ D 0 /6 in expectation, and the phases contain F L ≥ K − L ≥ K / 2 FL \ge K-L \ge K/2 F L ≥ K − L ≥ K /2 episodes. Hence
ER K g o a l ≥ D 0 K 12 = m 1 / 4 K 3072 ln m , since D 0 = 3 ε ρ z 0 8 m = m 1 / 4 256 K ln m . \operatorname{ER}^{\mathrm{goal}}_K \ge\frac{D_0K}{12}=\frac{m^{1/4}\sqrt{K}}{3072\sqrt{\ln m}},
\qquad\text{since }D_0=\frac{3\varepsilon\rho z_0}{8m}=\frac{m^{1/4}}{256\sqrt{K\ln m}}. ER K goal ≥ 12 D 0 K = 3072 ln m m 1/4 K , since D 0 = 8 m 3 ερ z 0 = 256 K ln m m 1/4 .
Summed over the M M M blocks, this gives m 1 / 4 M K / ln m / 3072 m^{1/4}\sqrt{MK/\ln m}/3072 m 1/4 M K / ln m /3072 . Since m = Y / 2 m=Y/2 m = Y /2 , this is at least Y 1 / 4 M K / ln Y / 3700 Y^{1/4}\sqrt{MK/\ln Y}/3700 Y 1/4 M K / ln Y /3700 , which proves part (a) with c = 1 / 3700 c=1/3700 c = 1/3700 .
Agents That Use Past Goals as Data
Proposition 8 (Using past goals as data lowers the price). On the MDPs of Theorem 4(b), draw the law at each start state independently from the uniform prior over the family P σ P_\sigma P σ of the proof of Lemma 8, with m = ⌊ Y / 2 ⌋ m=\lfloor Y/2\rfloor m = ⌊ Y /2 ⌋ and ε : = 3 m M / ( 64 K ) \varepsilon:=\sqrt{3mM/(64K)} ε := 3 m M / ( 64 K ) in place of 3 m / ( 64 n ) \sqrt{3m/(64n)} 3 m / ( 64 n ) , and let Y ≥ 4 Y \ge4 Y ≥ 4 . Some agent that uses past goals as data has ER K g o a l ≤ 2 Y 1 / 4 M K ln Y + 1 \operatorname{ER}^{\mathrm{goal}}_K \le2Y^{1/4}\sqrt{MK\ln Y}+1 ER K goal ≤ 2 Y 1/4 M K ln Y + 1 against every adversary that chooses goals and start states from the transition law and the history. If Y ≥ 600 ln ( 3 K ) Y \ge600\ln(3K) Y ≥ 600 ln ( 3 K ) and K ≥ M Y K \ge MY K ≥ M Y , every goal-memoryless agent has ER K g o a l ≥ M Y K / 6000 \operatorname{ER}^{\mathrm{goal}}_K \ge\sqrt{MYK}/6000 ER K goal ≥ M Y K /6000 against some such adversary.
The agent is Thompson sampling on the posterior that also conditions on the goals, and the minimax theorem turns it into one agent for all adversaries, which Theorem 4(c) does not provide. With the constants above, which we have not optimised, the separation takes effect only for very large Y Y Y . On this hypercube family, agents that use past goals as data thus incur at most a factor Y 1 / 4 Y^{1/4} Y 1/4 , and whether they incur any factor is open.
Proof of Proposition 8. The lower bound is the argument of Theorem 4(b) on the hypercube family (Appendix § 16 .§ 3 ). For the upper bound, write Y Y Y for the number of successors, m = ⌊ Y / 2 ⌋ ≥ 2 m=\lfloor Y/2\rfloor\ge2 m = ⌊ Y /2 ⌋ ≥ 2 for the number of pairs, K ′ = K / M K'=K/M K ′ = K / M , and ε = 3 m / ( 64 K ′ ) \varepsilon=\sqrt{3m/(64K')} ε = 3 m / ( 64 K ′ ) . Start state i i i has the law P i = P σ ( i ) P_i=P_{\sigma^{(i)}} P i = P σ ( i ) of the family of the proof of Lemma 8, and the signs σ ( 1 ) , … , σ ( M ) ∈ { − 1 , 1 } m \sigma^{(1)},\ldots,\sigma^{(M)} \in\{-1,1\}^m σ ( 1 ) , … , σ ( M ) ∈ { − 1 , 1 } m are independent and uniform. A goal that pays g ∈ [ 0 , 1 ] Y g \in[0,1]^Y g ∈ [ 0 , 1 ] Y at the successors gives action a a a at start state i i i the value
P i g = α ( g ) + ε 2 m ⟨ c ( g ) , σ ( i ) ⟩ , c j ( g ) : = g ( y 2 j − 1 ) − g ( y 2 j ) ∈ [ − 1 , 1 ] , P_i g = \alpha(g) + \frac{\varepsilon}{2m}\langle c(g),\sigma^{(i)}\rangle,\qquad c_j(g):=g(y_{2j-1})-g(y_{2j})\in[-1,1], P i g = α ( g ) + 2 m ε ⟨ c ( g ) , σ ( i ) ⟩ , c j ( g ) := g ( y 2 j − 1 ) − g ( y 2 j ) ∈ [ − 1 , 1 ] ,
with α ( g ) \alpha(g) α ( g ) known. Rewards at the start states shift v v v by a known amount, and Eq. (50) holds for every real v v v . Action b b b has the value v v v , and the regret of an episode depends only on the action at the start state.
A Thompson-sampling agent for each adversary. Fix an adversary, possibly randomised, and let F k \mathcal{F}_k F k collect everything the agent has seen before acting in episode k k k , the current goal and start state included. The agent knows the adversary’s strategy and can therefore compute the posterior of σ \sigma σ given F k \mathcal{F}_k F k . It draws σ ~ \tilde{\sigma} σ ~ from this posterior and plays a a a if and only if P σ ~ ( g k ≥ v k ) \mathbb{P}_{\tilde{\sigma}}(g_k \ge v_k) P σ ~ ( g k ≥ v k ) . Write W : = P i σ g k W := \mathbb{P}_{i}^{\sigma}g_k W := P i σ g k , and let μ k , s k 2 \mu_k, s_k^2 μ k , s k 2 be its posterior mean and variance and p k : = P ( W ≥ v k ∣ F k ) p_k := \mathbb{P}(W \ge v_k \mid\mathcal{F}_k) p k := P ( W ≥ v k ∣ F k ) , the probability that the agent plays a a a . The posterior expected regret of episode k k k is
r k = ( 1 − p k ) E [ ( W − v k ) + ∣ F k ] + p k E [ ( v k − W ) + ∣ F k ] , r_k = (1-p_k)\mathbb{E}[(W-v_k)^+ \mid\mathcal{F}_k] + p_k\mathbb{E}[(v_k-W)^+ \mid\mathcal{F}_k], r k = ( 1 − p k ) E [( W − v k ) + ∣ F k ] + p k E [( v k − W ) + ∣ F k ] ,
and we claim
r k ≤ 4 p k s k . (50) r_k \le4\sqrt{p_k}s_k. \tag*{(50)} r k ≤ 4 p k s k . (50)
The claim concerns a single episode, and we drop the index k k k in its proof. Cantelli’s inequality states that P ( W − μ ≥ t ) ≤ s 2 / ( s 2 + t 2 ) \mathbb{P}(W-\mu\ge t) \le s^2/(s^2+t^2) P ( W − μ ≥ t ) ≤ s 2 / ( s 2 + t 2 ) and P ( μ − W ≥ t ) ≤ s 2 / ( s 2 + t 2 ) \mathbb{P}(\mu-W \ge t) \le s^2/(s^2+t^2) P ( μ − W ≥ t ) ≤ s 2 / ( s 2 + t 2 ) for t ≥ 0 t \ge0 t ≥ 0 . If v ≥ μ v \ge\mu v ≥ μ , then
( 1 − p ) E ( W − v ) + ≤ E [ ( W − μ ) 1 { W ≥ v } ] ≤ s p (1-p)\mathbb{E}(W-v)^+ \le\mathbb{E}[(W-\mu)\mathbf{1}\{W\ge v\}] \le s\sqrt{p} ( 1 − p ) E ( W − v ) + ≤ E [( W − μ ) 1 { W ≥ v }] ≤ s p
by Cauchy–Schwarz. Cantelli’s inequality with t = v − μ t=v-\mu t = v − μ gives p ≤ s 2 / ( s 2 + ( v − μ ) 2 ) ≤ s 2 / ( v − μ ) 2 p \le s^2/(s^2+(v-\mu)^2) \le s^2/(v-\mu)^2 p ≤ s 2 / ( s 2 + ( v − μ ) 2 ) ≤ s 2 / ( v − μ ) 2 , hence p ( v − μ ) ≤ p s p(v-\mu) \le\sqrt{p}s p ( v − μ ) ≤ p s . With E ( v − W ) + ≤ ( v − μ ) + E ( μ − W ) + ≤ ( v − μ ) + s \mathbb{E}(v-W)^+ \le(v-\mu)+\mathbb{E}(\mu-W)^+ \le(v-\mu)+s E ( v − W ) + ≤ ( v − μ ) + E ( μ − W ) + ≤ ( v − μ ) + s , we attain p E ( v − W ) + ≤ p ( v − μ ) + p s ≤ 2 p s p\mathbb{E}(v-W)^+ \le p(v-\mu)+ps \le2\sqrt{p}s p E ( v − W ) + ≤ p ( v − μ ) + p s ≤ 2 p s . If v < μ v<\mu v < μ and μ − v ≥ s \mu-v\ge s μ − v ≥ s , using Cantelli’s inequality once again, we attain 1 − p ≤ s 2 / ( s 2 + ( μ − v ) 2 ) ≤ 1 2 1-p \le s^2/(s^2+(\mu-v)^2) \le\frac{1}{2} 1 − p ≤ s 2 / ( s 2 + ( μ − v ) 2 ) ≤ 2 1 , which yields
( 1 − p ) E ( W − v ) + ≤ ( 1 − p ) ( μ − v ) + s ≤ s 2 ( μ − v ) s 2 + ( μ − v ) 2 + s ≤ 3 2 s . (1-p)\mathbb{E}(W-v)^+ \le(1-p)(\mu-v)+s \le\frac{s^2(\mu-v)}{s^2+(\mu-v)^2}+s \le\frac{3}{2}s. ( 1 − p ) E ( W − v ) + ≤ ( 1 − p ) ( μ − v ) + s ≤ s 2 + ( μ − v ) 2 s 2 ( μ − v ) + s ≤ 2 3 s .
Moreover, p E ( v − W ) + ≤ E ( μ − W ) + ≤ s p\mathbb{E}(v-W)^+ \le\mathbb{E}(\mu-W)^+ \le s p E ( v − W ) + ≤ E ( μ − W ) + ≤ s . The sum is at most 5 2 s ≤ 4 p s \frac{5}{2}s \le4\sqrt{p}s 2 5 s ≤ 4 p s , since p ≥ 1 2 p \ge\frac{1}{2} p ≥ 2 1 . If v < μ v<\mu v < μ and μ − v < s \mu-v<s μ − v < s , then, by Cauchy–Schwarz,
( 1 − p ) E ( W − v ) + ≤ E [ ( W − v ) 1 { W ≥ v } ] ≤ p s 2 + ( μ − v ) 2 ≤ 2 p s (1-p)\mathbb{E}(W-v)^+ \le\mathbb{E}[(W-v)\mathbf{1}\{W\ge v\}] \le\sqrt{p}\sqrt{s^2+(\mu-v)^2} \le\sqrt{2p}s ( 1 − p ) E ( W − v ) + ≤ E [( W − v ) 1 { W ≥ v }] ≤ p s 2 + ( μ − v ) 2 ≤ 2 p s
and p E ( v − W ) + ≤ p s ≤ p s p\mathbb{E}(v-W)^+ \le ps \le\sqrt{p}s p E ( v − W ) + ≤ p s ≤ p s .
Variance against correlations. Let C C C be the posterior covariance of σ ( i ) \sigma^{(i)} σ ( i ) given F k \mathcal{F}_k F k , fix η > 0 \eta>0 η > 0 , and let Ξ : = ∑ j , l C j l 2 / ( C l l + η ) \Xi:= \sum_{j,l} C_{jl}^2/(C_{ll}+\eta) Ξ := ∑ j , l C j l 2 / ( C l l + η ) . Since ∣ c j ∣ ≤ 1 |c_j|\le1 ∣ c j ∣ ≤ 1 , the Cauchy–Schwarz inequality gives
c ⊤ C c ≤ ∑ j , l ∣ C j l ∣ ≤ Ξ m ∑ l ( C l l + η ) ≤ m Ξ ( Ξ + 2 m η ) ≤ m ( Ξ + m η ) , c^\top Cc \le\sum_{j,l}|C_{jl}| \le\sqrt{\Xi}\sqrt{m\sum_l(C_{ll}+\eta)} \le\sqrt{m\Xi(\Xi+2m\eta)} \le\sqrt{m}(\Xi+m\eta), c ⊤ C c ≤ j , l ∑ ∣ C j l ∣ ≤ Ξ m l ∑ ( C l l + η ) ≤ m Ξ ( Ξ + 2 m η ) ≤ m ( Ξ + m η ) ,
where the third step uses C l l ≤ C l l 2 / ( C l l + η ) + η C_{ll}\le C_{ll}^2/(C_{ll}+\eta)+\eta C l l ≤ C l l 2 / ( C l l + η ) + η . Hence s k 2 = ( ε / ( 2 m ) ) 2 c ⊤ C c ≤ ε 2 ( Ξ + m η ) / ( 4 m 3 / 2 ) s_k^2=(\varepsilon/(2m))^2c^\top Cc\le\varepsilon^2(\Xi+m\eta)/(4m^{3/2}) s k 2 = ( ε / ( 2 m ) ) 2 c ⊤ C c ≤ ε 2 ( Ξ + m η ) / ( 4 m 3/2 ) .
A potential. Let Λ : = ∑ i ≤ M ∑ j ≤ m ln ( V [ σ j ( i ) ∣ ⋅ ] + η ) \Lambda:= \sum_{i\le M}\sum_{j\le m}\ln\left(\mathbb{V}[\sigma_j^{(i)}\mid\cdot]+\eta\right) Λ := ∑ i ≤ M ∑ j ≤ m ln ( V [ σ j ( i ) ∣ ⋅ ] + η ) be evaluated at the current posterior. The variance of a coordinate is concave in the law, and ln \ln ln is concave and increasing. Hence, Λ \Lambda Λ is concave in the posterior and does not increase in expectation under any further conditioning, such as a goal. If the agent plays a a a at start state i i i , it observes one successor ω \omega ω , which falls in pair $j with probability 1 / m 1/m 1/ m , whatever σ \sigma σ , and is its first element with probability ( 1 + ε σ j ( i ) ) / 2 (1+\varepsilon\sigma_j^{(i)})/2 ( 1 + ε σ j ( i ) ) /2 . A direct computation gives, for every l l l ,
V ( E [ σ l ( i ) ∣ F k , ω ] ) = ε 2 C j l 2 1 − ε 2 μ j 2 ≥ ε 2 C j l 2 \operatorname{V}\left(\mathbb{E}[\sigma_l^{(i)}\mid\mathcal{F}_k,\omega]\right)=\frac{\varepsilon^2 C_{jl}^2}{1-\varepsilon^2\mu_j^2}\geq\varepsilon^2 C_{jl}^2 V ( E [ σ l ( i ) ∣ F k , ω ] ) = 1 − ε 2 μ j 2 ε 2 C j l 2 ≥ ε 2 C j l 2
given that ω \omega ω falls in pair j j j , with the variance taken over ω \omega ω given F k \mathcal{F}_k F k and μ j \mu_j μ j the posterior mean of σ j ( i ) \sigma_j^{(i)} σ j ( i ) . By the law of total variance, Jensen’s inequality and ln ( x − d ) ≤ ln x − d / x \ln(x-d)\leq\ln x-d/x ln ( x − d ) ≤ ln x − d / x , the term l l l of Λ \Lambda Λ decreases in expectation by at least ε 2 C j l 2 / ( C l l + η ) \varepsilon^2C_{jl}^2/(C_{ll}+\eta) ε 2 C j l 2 / ( C l l + η ) . Averaging over j j j , E [ Λ k − Λ k + 1 ∣ F k ] ≥ p k ε 2 Ξ / m \mathbb{E}[\Lambda_k-\Lambda_{k+1}\mid\mathcal{F}_k]\geq p_k\varepsilon^2\Xi/m E [ Λ k − Λ k + 1 ∣ F k ] ≥ p k ε 2 Ξ/ m . Since Λ ≤ M m ln ( 1 + η ) \Lambda\leq Mm\ln(1+\eta) Λ ≤ M m ln ( 1 + η ) and Λ ≥ M m ln η \Lambda\geq Mm\ln\eta Λ ≥ M m ln η , the expected decreases E [ Λ k − Λ k + 1 ] \mathbb{E}[\Lambda_k-\Lambda_{k+1}] E [ Λ k − Λ k + 1 ] of the potential over all episodes sum to at most M m ln ( 1 + 1 / η ) Mm\ln(1+1/\eta) M m ln ( 1 + 1/ η ) .
Summing. By Eq. (50) and the two bounds above,
Er k 2 ≤ 16 E [ p k s k 2 ] ≤ 4 m E [ p k ε 2 Ξ / m ] + 4 ε 2 η m . \operatorname{Er}_k^2\leq16\mathbb{E}[p_ks_k^2]\leq\frac{4}{\sqrt{m}}\mathbb{E}[p_k\varepsilon^2\Xi/m]+\frac{4\varepsilon^2\eta}{\sqrt{m}}. Er k 2 ≤ 16 E [ p k s k 2 ] ≤ m 4 E [ p k ε 2 Ξ/ m ] + m 4 ε 2 η .
Summing over k k k , with η = 1 / m \eta=1/m η = 1/ m and K ε 2 = 3 m M / 64 K\varepsilon^2=3mM/64 K ε 2 = 3 m M /64 ,
∑ k Er k 2 ≤ 4 M m ln ( m + 1 ) + 3 M 16 m ≤ 5 M m ln ( m + 1 ) , \sum_k\operatorname{Er}_k^2\leq4M\sqrt{m}\ln(m+1)+\frac{3M}{16\sqrt{m}}\leq5M\sqrt{m}\ln(m+1), k ∑ Er k 2 ≤ 4 M m ln ( m + 1 ) + 16 m 3 M ≤ 5 M m ln ( m + 1 ) ,
and the Cauchy–Schwarz inequality gives
E R K g o a l = ∑ k Er k ≤ 5 M m 1 / 2 K ln ( m + 1 ) ≤ 2 Y 1 / 4 M K ln Y . \mathbb{E}\mathcal{R}^{\mathrm{goal}}_K=\sum_k\operatorname{Er}_k\leq\sqrt{5Mm^{1/2}K\ln(m+1)}\leq2Y^{1/4}\sqrt{MK\ln Y}. E R K goal = k ∑ Er k ≤ 5 M m 1/2 K ln ( m + 1 ) ≤ 2 Y 1/4 M K ln Y .
One agent for all adversaries. The agent above depends on the adversary, and we now remove this dependence with the minimax theorem. Let every agent round each revealed reward down to the grid { j / K 2 : 0 ≤ j ≤ K 2 } \{j/K^2:0\leq j\leq K^2\} { j / K 2 : 0 ≤ j ≤ K 2 } and act on the rounded goals. Since H = 2 H=2 H = 2 , rounding changes the value of each action by at most 1 / K 2 1/K^2 1/ K 2 , and hence the regret of every agent against every adversary by at most 2 / K 2/K 2/ K in total. Consider the game in which the adversary chooses rounded goals and start states, the agent chooses actions, chance draws σ \sigma σ from the prior and the successors, and the agent pays its expected regret against the rounded goals. Each player chooses among finitely many options at each of finitely many decision points. Both players thus have finitely many pure strategies, and the expected regret is bilinear in their mixed strategies. Von Neumann’s minimax theorem therefore gives
min a g e n t max a d v e r s a r y E R K g o a l = max a d v e r s a r y min a g e n t E R K g o a l . \min_{\mathrm{agent}}\max_{\mathrm{adversary}}\mathbb{E}\mathcal{R}^{\mathrm{goal}}_K
=
\max_{\mathrm{adversary}}\min_{\mathrm{agent}}\mathbb{E}\mathcal{R}^{\mathrm{goal}}_K. agent min adversary max E R K goal = adversary max agent min E R K goal .
over mixed strategies. A mixed adversary draws a pure strategy at the start and is a randomised adversary, against which the Thompson-sampling agent that knows it attains the bound above. The right-hand side is therefore at most this bound, and a minimising mixed agent on the left attains it against every pure adversary, and hence against every mixture of them. Every adversary of the original interaction, composed with the rounding, is such a mixture, with its own randomness and its unrounded choices as private randomness. This agent therefore has regret at most the bound above plus 2 / K ≤ 1 2/K\leq1 2/ K ≤ 1 against every adversary.
Proof of the second claim of Theorem 4(c). The proof is that of Proposition 8 with σ ( i ) \sigma^{(i)} σ ( i ) replaced by σ ~ ( i ) ∈ [ − B , B ] m \tilde{\sigma}^{(i)}\in[-B,B]^m σ ~ ( i ) ∈ [ − B , B ] m , for an agent that knows the adversary. Neither the variance identity for a sample, nor the inequality c T C c ≤ m ( Ξ + m η ) c^{\mathsf T}Cc\leq\sqrt{m}(\Xi+m\eta) c T C c ≤ m ( Ξ + m η ) , nor the Thompson-sampling bound depends on the prior. The potential now ranges over at most M m ln ( 1 + B 2 / η ) = M m ln ( 1 + 16 K ′ ) Mm\ln(1+B^2/\eta)=Mm\ln(1+16K') M m ln ( 1 + B 2 / η ) = M m ln ( 1 + 16 K ′ ) for η = 1 / m \eta=1/m η = 1/ m , since m B 2 = 16 K ′ mB^2=16K' m B 2 = 16 K ′ . Hence ∑ k Er k 2 ≤ 4 M m ln ( 1 + 16 K ′ ) + M \sum_k\operatorname{Er}_k^2\leq4M\sqrt{m}\ln(1+16K')+M ∑ k Er k 2 ≤ 4 M m ln ( 1 + 16 K ′ ) + M , and the Cauchy–Schwarz inequality gives the bound.
Goals Fixed in Advance
Theorem 4(d). A member of the Gaussian family is an MDP with an exact abstraction, the identity, with X = S X=S X = S , A = 2 A=2 A = 2 and H = 2 H=2 H = 2 , so that T = 2 K T=2K T = 2 K . Proposition 9 below therefore bounds the regret of UCBVI-CH against an oblivious adversary by O ( L S K ) + O ( S 2 L ln T ) O(L\sqrt{SK}) + O(S^2L\ln T) O ( L S K ) + O ( S 2 L ln T ) , which is O ~ ( S K ) \widetilde{O}(\sqrt{SK}) O ( S K ) for K ≥ S 3 K \ge S^3 K ≥ S 3 . A fixed goal is the special case in which the adversary fixes the same goal in every episode.
Scope of Theorem 4. The scope is narrower than the rates suggest. The horizon is 2, and the bounds are expectations over the prior. The price over a fixed goal needs the adversary to choose the start states, and the agent of part (c) that uses past goals knows the adversary’s strategy. Since the constants c c c and C C C are far from optimised, part (a) is an asymptotic statement.
Proposition 9 (Goals fixed in advance cost no extra regret) Let ϕ \phi ϕ be exact, and let an oblivious adversary fix the goals and start states before the first episode, possibly as functions of P ‾ ϕ \overline{P}_{\phi} P ϕ . With probability at least 1 − δ 1-\delta 1 − δ , UCBVI-CH run with the goal R k R_k R k in episode k k k and without its clamp at the previous values has
R K g o a l ≤ O ( H L X A T ) + O ( H 2 X 2 A L ( H + ln T ) ) , L = O ( ln ( X A H T / δ ) ) . \mathfrak{R}^{\mathrm{goal}}_K \le O(HL\sqrt{XAT}) + O(H^2X^2AL(H+\ln T)), \qquad L=O(\ln(XAHT/\delta)). R K goal ≤ O ( H L X A T ) + O ( H 2 X 2 A L ( H + ln T )) , L = O ( ln ( X A H T / δ )) .
Proof of Proposition 9. Write P : = P ‾ ϕ P := \overline{P}_{\phi} P := P ϕ . The proof is that of Theorem 1(a) with ϵ r e p ( ϕ ) = 0 \epsilon_{\mathrm{rep}}(\phi)=0 ϵ rep ( ϕ ) = 0 and the known goal R k R_k R k in place of R ^ k \widehat{R}_k R k , with two changes. First, the fixed functions of Lemma 4(i) become V h + 1 ∗ ( ⋅ ; R k ) V^*_{h+1}(\cdot\,;R_k) V h + 1 ∗ ( ⋅ ; R k ) for all h ≤ H h\le H h ≤ H and k ≤ K k\le K k ≤ K . Since the goals and start states are fixed before the first episode, given P P P these functions are independent of the observed transitions, and Lemma 4(i) applies to each of them. The union bound now runs over K H KH K H functions per row instead of H H H . This multiplies the number of events by K K K and leaves ι \iota ι of the same order. Second, without the clamp at the previous values, optimism follows from the induction over h h h alone, because the remaining clamp at H H H preserves Q ^ k , h ≥ Q h ∗ ( ⋅ ; R k ) \widehat{Q}_{k,h}\ge Q^*_{h}(\cdot\,;R_k) Q k , h ≥ Q h ∗ ( ⋅ ; R k ) . The second-order bound of Eq. (30) holds for all coordinates at once and needs no change, and the regret recursion uses only that the clamps lower Q ^ k , h \widehat{Q}_{k,h} Q k , h . Summing as in Appendix § 12 .§ 2 gives the claim. Goals that depend on the observed transitions, as in Theorem 4(b), make V h + 1 ∗ ( ⋅ ; R k ) V^*_{h+1}(\cdot\,;R_k) V h + 1 ∗ ( ⋅ ; R k ) depend on the sampling error, and Lemma 4(i) no longer applies. ■
Proofs for Section 5
AIF's Selection by Observations
This subsection states Propositions 10 and 11 and describes their instances. Their proofs are in Appendix H.§ 3 .
Predicting observations. AIF predicts the next ground state by posterior averaging , as it averages over policies by Bayesian model averaging ([27 ] ). Each candidate composes a latent transition with an emission, and AIF weights the candidates’ Bayesian predictions by their posterior probabilities (Appendix § 11 .§ 2 ). All candidates predict the same observations, which makes this score consistent. On every trajectory, posterior averaging predicts the next ground state as well as the Bayesian prediction of ϕ t \phi^t ϕ t , up to ln ∣ Φ ∣ \ln|\Phi| ln ∣Φ∣ nats of log-loss ([14 §9.2] ) (Proposition 12). The price is that AIF’s information gain about the emission directs its exploration.
Proposition 10 (Curiosity about the emission) Let an AIF variant learn its emission matrix under uniform Dirichlet priors, one row per step, as in standard AIF ((Friston et al., 2017; Schwartzenbeck
et al., 2019), so that its parameter information gain contains novelty about the emission. For every S ≥ 12 S \ge12 S ≥ 12 , Δ ∈ ( 0 , 1 2 ] \Delta\in(0, \frac{1}{2}] Δ ∈ ( 0 , 2 1 ] , and β < 0.09 / Δ \beta< 0.09/\Delta β < 0.09/Δ there is a block MDP with latent rewards, S S S states, A = 2 A = 2 A = 2 , and H = 2 H = 2 H = 2 , on which AIF, greedy or softmax, has E R K ≥ ( Δ / 2 ) min { K , ⌊ ( S − 2 ) / 2 ⌋ } \mathrm{ER}_{K} \ge(\Delta/2) \min\{K, \lfloor(S - 2)/2\rfloor\} ER K ≥ ( Δ/2 ) min { K , ⌊( S − 2 ) /2 ⌋} , when it is given the decoder onto X = 3 \mathcal{X} = 3 X = 3 latent states, the latent kernel, and the rewards. This regret is linear in K K K whenever S ≥ 2 K + 2 S \ge2K + 2 S ≥ 2 K + 2 . On the same MDP, the enactive agent (GOLF on the class F \mathcal{F} F of Section 5) has regret O ~ ( T ) \widetilde{O}(\sqrt{T}) O ( T ) for every S S S . For CaI and calibrated AIF, which have no novelty about the emission, the law of the sequence of actions, and hence E R K \mathrm{ER}_{K} ER K , is the same for every S S S .
Predicting the abstraction’s own state. Proposition 10 suggests removing the emission model. Joint-embedding predictive architectures (LeCun, [46 ] ; Assran et al., [6 ] ) and self-predictive representations in RL (Gelada et al., [30 ] ; Schwarzer et al., [74 ] ; Ni et al., [62 ] ) predict the next abstract state rather than the next observation. The score Λ ϕ l a t \Lambda_{\phi}^{\mathrm{lat}} Λ ϕ lat of Section 5 is AIF’s model of Appendix D.2 without its emission factor. It has no emission, and hence no information gain about an emission. Removing the emission, however, also changes the target. Each candidate abstraction is now scored by how well it predicts its own labels, a target that differs from one candidate abstraction to the next. We now show that this self-referential target can confirm a coarse abstraction, one that merges two states whose best actions differ, whatever rule the agent uses to explore.
The decoder-free counterpart of AIF scores a candidate abstraction ϕ \phi ϕ by the Bayesian likelihood Λ ϕ l a t \Lambda_{\phi}^{\mathrm{lat}} Λ ϕ lat of its own labels ϕ ( s h + 1 j ) \phi(s_{h+1}^{j}) ϕ ( s h + 1 j ) given ( ϕ ( s h j ) , a h j ) (\phi(s_{h}^{j}), a_{h}^{j}) ( ϕ ( s h j ) , a h j ) in all past transitions, under uniform Dirichlet priors on rows over a common label set X \mathcal{X} X , one row per step. We call an agent latent-predictive if, before each episode k k k , it selects a candidate abstraction ϕ k \phi_k ϕ k that maximises Λ ϕ l a t \Lambda_{\phi}^{\mathrm{lat}} Λ ϕ lat and acts through it. Its action at each step depends on the current state only through ϕ k \phi_k ϕ k , and on the history arbitrarily. It may explore by any rule, calibrated novelty included.
The hard instance has four states. From the start state, both actions lead to u A u_A u A or u B u_B u B with equal probability. At u A u_A u A action a a a , and at u B u_B u B action b b b , reaches an absorbing rewarding state g g g with a small probability. Every other move returns to u A u_A u A or u B u_B u B at random. The true abstraction ϕ † \phi^\dagger ϕ † keeps u A u_A u A and u B u_B u B apart, and the coarse candidate abstraction ψ \psi ψ merges them.
Proposition 11 (Latent prediction confirms a coarse abstraction) For every H ≥ 4 H \ge4 H ≥ 4 , K ≥ 1 K \ge1 K ≥ 1 and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) there are a realizable block MDP with S = X = 4 S = X = 4 S = X = 4 , A = 2 A = 2 A = 2 and latent rewards, and a candidate set Φ = { ϕ † , ψ } \Phi= \{\phi^\dagger,\psi\} Φ = { ϕ † , ψ } , with the following properties.
(i) Whatever the policy, with probability at least 1 − δ 1-\delta 1 − δ , before every episode k ≤ K k \le K k ≤ K , ln Λ ψ l a t − ln Λ ϕ † l a t ≥ 0.44 ( k − 1 ) − 58 H ln ( 8 H K / δ ) \ln\Lambda_{\psi}^{\mathrm{lat}} - \ln\Lambda_{\phi^\dagger}^{\mathrm{lat}} \ge0.44(k-1) - 58H\ln(8HK/\delta) ln Λ ψ lat − ln Λ ϕ † lat ≥ 0.44 ( k − 1 ) − 58 H ln ( 8 H K / δ ) .
(ii) Under every policy that acts through ψ \psi ψ , the labels and actions ( ψ ( s h ) , a h ) h ≤ H (\psi(s_h),a_h)_{h\le H} ( ψ ( s h ) , a h ) h ≤ H follow an episodic MDP on the labels of ψ \psi ψ .
(iii) With probability at least 1 − δ 1-\delta 1 − δ , every latent-predictive agent has R K ≥ H ( K − k 0 ) / 128 \mathfrak{R}_K \ge H(K-k_0)/128 R K ≥ H ( K − k 0 ) /128 , with k 0 : = 1 + 132 H ln ( 8 H K / δ ) k_0 := 1 + 132H\ln(8HK/\delta) k 0 := 1 + 132 H ln ( 8 H K / δ ) . This holds even if the agent also predicts the rewards, which both candidate abstractions predict exactly. GOLF on Φ \Phi Φ has R K = O ~ ( H 2 T ) \mathfrak{R}_K = \widetilde{O}(H^2\sqrt{T}) R K = O ( H 2 T ) .
In this instance, the candidate ψ \psi ψ merges u A u_A u A and u B u_B u B , whose best actions differ, as the abstraction of Proposition 2 does. Under ψ \psi ψ , the merged state leads to itself except for rare entries into g g g , and the labels of ψ \psi ψ are nearly deterministic. Under ϕ † \phi^\dagger ϕ † , the label of every transition into { u A , u B } \{u_A,u_B\} { u A , u B } records which of the two states is reached, and each is reached with probability 1 2 \frac{1}{2} 2 1 . Each such label costs ϕ † \phi^\dagger ϕ † about ln 2 \ln2 ln 2 nats of likelihood that ψ \psi ψ does not pay, and part (i) shows that ψ \psi ψ gains at least 0.44 nats per episode, whatever the agent does.
Part (ii) makes precise how a poor abstraction steers the agent away from the data that would reveal its error, the failure mode of the introduction. An agent that acts through ψ \psi ψ chooses its action at u A u_A u A and u B u_B u B from the same information. Every transition into { u A , u B } \{u_A,u_B\} { u A , u B } lands on u A u_A u A and u B u_B u B with probability 1 2 \frac{1}{2} 2 1 each, whatever the previous state and action, and the two states are therefore equally likely given the agent’s history. The labels that the agent generates thus follow an MDP on the labels of ψ \psi ψ exactly, and they fit ψ \psi ψ perfectly. No test that uses the labels of ψ \psi ψ alone, and no exploration rule that acts through ψ \psi ψ , can reveal the error. Only the ground states reveal it, and the emission model predicts them. Since ψ \psi ψ uses three labels, the regularisers that keep JEPA from collapsing to a constant map do not exclude it.
Let I ^ ϕ \hat I_\phi I ^ ϕ be the empirical mutual information between ϕ ( s h + 1 ) \phi(s_{h+1}) ϕ ( s h + 1 ) and ( ϕ ( s h ) , a h ) (\phi(s_h),a_h) ( ϕ ( s h ) , a h ) over the observed transitions. A score that discounts the entropy of the labels in this way never strictly prefers a coarsening of ϕ † \phi^\dagger ϕ † . Indeed, if ψ = f ∘ ϕ † \psi=f\circ\phi^\dagger ψ = f ∘ ϕ † for a map f f f on labels, then ψ ( s h + 1 ) = f ( ϕ † ( s h + 1 ) ) \psi(s_{h+1})=f(\phi^\dagger(s_{h+1})) ψ ( s h + 1 ) = f ( ϕ † ( s h + 1 )) and ( ψ ( s h ) , a h ) (\psi(s_h),a_h) ( ψ ( s h ) , a h ) is a function of ( ϕ † ( s h ) , a h ) (\phi^\dagger(s_h),a_h) ( ϕ † ( s h ) , a h ) , and the data-processing inequality under the empirical joint law gives I ^ ψ ≤ I ^ ϕ † \hat I_\psi\le\hat I_{\phi^\dagger} I ^ ψ ≤ I ^ ϕ † on every data set. The target of I ^ ϕ \hat I_\phi I ^ ϕ , however, still depends on the candidate, and we know of no regret guarantee for selecting by it.
Proof of Proposition 12
Proposition 12 (The selection cost of posterior averaging)
(a) On every trajectory, − ∑ τ ≤ T ln Q ( s τ + 1 ∣ H τ ) ≤ − ∑ τ ≤ T ln P ϕ † ( s τ + 1 ∣ H τ ) + ln ∣ Φ ∣ -\sum_{\tau\le T}\ln Q(s_{\tau+1}\mid\mathcal H_\tau)\le-\sum_{\tau\le T}\ln P_{\phi^\dagger}(s_{\tau+1}\mid\mathcal H_\tau)+\ln|\Phi| − ∑ τ ≤ T ln Q ( s τ + 1 ∣ H τ ) ≤ − ∑ τ ≤ T ln P ϕ † ( s τ + 1 ∣ H τ ) + ln ∣Φ∣ .
(b) The cumulative predictive divergence of an oracle that knows ϕ † , ∗ \phi^\dagger,* ϕ † , ∗ \mathcal D_T:=\sum_\tau\mathbb E D_{\mathrm{KL}}\left(P^ (\cdot\mid s_\tau,a_\tau)\mathbin\Vert P_{\phi^\dagger}(\cdot\mid\mathcal H_\tau)\right)$, is O ( ( X 2 A + S ) H ln T ) O((X^2A+S)H\ln T) O (( X 2 A + S ) H ln T ) , and ∑ τ ≤ T E ∥ P ∗ ( ⋅ ∣ s τ , a τ ) − Q ( ⋅ ∣ H τ ) ∥ 1 ≤ 2 T D T + 2 T ln ∣ Φ ∣ \sum_{\tau\le T}\mathbb E\|P^*(\cdot\mid s_\tau,a_\tau)-Q(\cdot\mid\mathcal H_\tau)\|_1\le\sqrt{2T\mathcal D_T}+\sqrt{2T\ln|\Phi|} ∑ τ ≤ T E ∥ P ∗ ( ⋅ ∣ s τ , a τ ) − Q ( ⋅ ∣ H τ ) ∥ 1 ≤ 2 T D T + 2 T ln ∣Φ∣ .*
Proof. Let H τ = ( s 1 , a 1 , … , s τ , a τ ) \mathcal H_\tau=(s_1,a_1,\ldots,s_\tau,a_\tau) H τ = ( s 1 , a 1 , … , s τ , a τ ) be the history before the prediction of s τ + 1 s_{\tau+1} s τ + 1 , and for each ϕ ∈ Φ \phi\in\Phi ϕ ∈ Φ let P ϕ ( ⋅ ∣ H τ ) P_\phi(\cdot\mid\mathcal H_\tau) P ϕ ( ⋅ ∣ H τ ) be the prediction of s τ + 1 s_{\tau+1} s τ + 1 that § 3.1 ’s model assigns once ϕ \phi ϕ is fixed, with its Dirichlet posterior integrated out under a proper prior. Actions are chosen by the agent and enter every candidate’s likelihood only as conditioning variables. Hence, the posterior over abstractions after τ \tau τ rounds is Q ( ϕ ∣ H τ + 1 ) ∝ P ( ϕ ) ∏ τ ′ ≤ τ P ϕ ( s τ ′ + 1 ∣ H τ ′ ) Q(\phi\mid\mathcal H_{\tau+1})\propto P(\phi)\prod_{\tau'\le\tau}P_\phi(s_{\tau'+1}\mid\mathcal H_{\tau'}) Q ( ϕ ∣ H τ + 1 ) ∝ P ( ϕ ) ∏ τ ′ ≤ τ P ϕ ( s τ ′ + 1 ∣ H τ ′ ) , and the averaged prediction Q ( ⋅ ∣ H τ ) = ∑ ϕ Q ( ϕ ∣ H τ ) P ϕ ( ⋅ ∣ H τ ) Q(\cdot\mid\mathcal H_\tau)=\sum_\phi Q(\phi\mid\mathcal H_\tau)P_\phi(\cdot\mid\mathcal H_\tau) Q ( ⋅ ∣ H τ ) = ∑ ϕ Q ( ϕ ∣ H τ ) P ϕ ( ⋅ ∣ H τ ) telescopes,
∏ τ = 1 T Q ( s τ + 1 ∣ H τ ) = ∑ ϕ ∈ Φ P ( ϕ ) ∏ τ = 1 T P ϕ ( s τ + 1 ∣ H τ ) ≥ P ( ϕ † ) ∏ τ = 1 T P ϕ † ( s τ + 1 ∣ H τ ) . (51) \prod_{\tau=1}^{T}Q(s_{\tau+1}\mid\mathcal H_\tau)=\sum_{\phi\in\Phi}P(\phi)\prod_{\tau=1}^{T}P_\phi(s_{\tau+1}\mid\mathcal H_\tau)\ge P(\phi^\dagger)\prod_{\tau=1}^{T}P_{\phi^\dagger}(s_{\tau+1}\mid\mathcal H_\tau). \tag*{(51)} τ = 1 ∏ T Q ( s τ + 1 ∣ H τ ) = ϕ ∈ Φ ∑ P ( ϕ ) τ = 1 ∏ T P ϕ ( s τ + 1 ∣ H τ ) ≥ P ( ϕ † ) τ = 1 ∏ T P ϕ † ( s τ + 1 ∣ H τ ) . (51)
Part (a). Taking − ln -\ln − ln of the inequality gives, on every trajectory,
∑ τ = 1 T ln ( P ϕ † ( s τ + 1 ∣ H τ ) Q ( s τ + 1 ∣ H τ ) ) ≤ ln ( 1 P ( ϕ † ) ) = ln ∣ Φ ∣ (52) \sum_{\tau=1}^{T}\ln\left(\frac{P_{\phi^\dagger}(s_{\tau+1}\mid\mathcal H_\tau)}{Q(s_{\tau+1}\mid\mathcal H_\tau)}\right)\le\ln\left(\frac{1}{P(\phi^\dagger)}\right)=\ln|\Phi| \tag*{(52)} τ = 1 ∑ T ln ( Q ( s τ + 1 ∣ H τ ) P ϕ † ( s τ + 1 ∣ H τ ) ) ≤ ln ( P ( ϕ † ) 1 ) = ln ∣Φ∣ (52)
for the uniform prior. For the class of all surjective maps, ln ∣ Φ ∣ ≤ S ln X \ln|\Phi|\le S\ln X ln ∣Φ∣ ≤ S ln X . This is the mixture bound for the logarithmic loss [14 §9.2] .
Part (b). Write P τ ∗ : = P ∗ ( ⋅ ∣ s τ , a τ ) P^*_\tau:=P^*(\cdot\mid s_\tau,a_\tau) P τ ∗ := P ∗ ( ⋅ ∣ s τ , a τ ) , the law of s τ + 1 s_{\tau+1} s τ + 1 given H τ \mathcal H_\tau H τ , and Q τ Q_\tau Q τ , P τ † P^\dagger_\tau P τ † for the two predictions. Conditioning on H τ \mathcal H_\tau H τ ,
E [ ln P τ ∗ ( s τ + 1 ) Q τ ( s τ + 1 ) ∣ H τ ] = D K L ( P τ ∗ ∥ Q τ ) , E [ ln P τ ∗ ( s τ + 1 ) P τ † ( s τ + 1 ) ∣ H τ ] = D K L ( P τ ∗ ∥ P τ † ) . (53) \mathbb E\left[\left.\ln\frac{P^*_\tau(s_{\tau+1})}{Q_\tau(s_{\tau+1})}\right|\mathcal H_\tau\right]=D_{\mathrm{KL}}(P^*_\tau\Vert Q_\tau),\qquad
\mathbb E\left[\left.\ln\frac{P^*_\tau(s_{\tau+1})}{P^\dagger_\tau(s_{\tau+1})}\right|\mathcal H_\tau\right]=D_{\mathrm{KL}}(P^*_\tau\Vert P^\dagger_\tau). \tag*{(53)} E [ ln Q τ ( s τ + 1 ) P τ ∗ ( s τ + 1 ) H τ ] = D KL ( P τ ∗ ∥ Q τ ) , E [ ln P τ † ( s τ + 1 ) P τ ∗ ( s τ + 1 ) H τ ] = D KL ( P τ ∗ ∥ P τ † ) . (53)
Subtracting, summing over τ \tau τ and using part (a) inside the expectation,
∑ τ = 1 T E D K L ( P τ ∗ ∥ Q τ ) = D T + E ∑ τ = 1 T ln P τ † ( s τ + 1 ) Q τ ( s τ + 1 ) ≤ D T + ln ∣ Φ ∣ . (54) \sum_{\tau=1}^{T} \mathbb{E}\,D_{\mathrm{KL}}(P^*_\tau\|Q_\tau)=\mathcal{D}_T+\mathbb{E}\sum_{\tau=1}^{T}\ln\frac{P^\dagger_\tau(s_{\tau+1})}{Q_\tau(s_{\tau+1})}\leq\mathcal{D}_T+\ln|\Phi|. \tag*{(54)} τ = 1 ∑ T E D KL ( P τ ∗ ∥ Q τ ) = D T + E τ = 1 ∑ T ln Q τ ( s τ + 1 ) P τ † ( s τ + 1 ) ≤ D T + ln ∣Φ∣. (54)
Pinsker’s inequality gives ∥ P τ ∗ − Q τ ∥ 1 ≤ 2 D K L ( P τ ∗ ∥ Q τ ) \|P^*_\tau-Q_\tau\|_1\leq\sqrt{2D_{\mathrm{KL}}(P^*_\tau\|Q_\tau)} ∥ P τ ∗ − Q τ ∥ 1 ≤ 2 D KL ( P τ ∗ ∥ Q τ ) pointwise on every history. Hence
∑ τ = 1 T E ∥ P τ ∗ − Q τ ∥ 1 ≤ E ∑ τ = 1 T 2 D K L ( P τ ∗ ∥ Q τ ) ≤ T E ∑ τ = 1 T 2 D K L ( P τ ∗ ∥ Q τ ) ≤ 2 T ( D T + ln ∣ Φ ∣ ) . (55) \begin{aligned}
\sum_{\tau=1}^{T}\mathbb{E}\|P^*_\tau-Q_\tau\|_1\leq\mathbb{E}\sum_{\tau=1}^{T}\sqrt{2D_{\mathrm{KL}}(P^*_\tau\|Q_\tau)}\leq\sqrt{T\mathbb{E}\sum_{\tau=1}^{T}2D_{\mathrm{KL}}(P^*_\tau\|Q_\tau)} \\
&\leq\sqrt{2T(\mathcal{D}_T+\ln|\Phi|)}. \tag*{(55)}
\end{aligned} τ = 1 ∑ T E ∥ P τ ∗ − Q τ ∥ 1 ≤ E τ = 1 ∑ T 2 D KL ( P τ ∗ ∥ Q τ ) ≤ T E τ = 1 ∑ T 2 D KL ( P τ ∗ ∥ Q τ ) ≤ 2 T ( D T + ln ∣Φ∣ ) . (55)
where the second step is Cauchy–Schwarz, ∑ τ ≤ T u τ ≤ T ∑ τ ≤ T u τ 2 \sum_{\tau\leq T}u_\tau\leq\sqrt{T\sum_{\tau\leq T}u_\tau^2} ∑ τ ≤ T u τ ≤ T ∑ τ ≤ T u τ 2 , applied pathwise and followed by Jensen’s inequality for the concave map z ↦ z z\mapsto\sqrt{z} z ↦ z . Since a + b ≤ a + b \sqrt{a+b}\leq\sqrt{a}+\sqrt{b} a + b ≤ a + b , this is part (b). For any H τ \mathcal{H}_\tau H τ -measurable V τ V_\tau V τ with range H H H , ∣ ( P τ ∗ − Q τ ) V τ ∣ ≤ ( H / 2 ) ∥ P τ ∗ − Q τ ∥ 1 |(P^*_\tau-Q_\tau)V_\tau|\leq(H/2)\|P^*_\tau-Q_\tau\|_1 ∣ ( P τ ∗ − Q τ ) V τ ∣ ≤ ( H /2 ) ∥ P τ ∗ − Q τ ∥ 1 , and part (b) therefore also bounds the cumulative error of the averaged prediction in every such value function, up to the factor H / 2 H/2 H /2 .
The oracle’s divergence. Under Assumption 1, the ground prediction of ϕ † \phi^\dagger ϕ † factors into an abstract prediction and the emission. The sequential predictions telescope, which yields
D T = E ln P ∗ ( D K ) Λ ϕ † ( D K ) ≤ H ( X 2 A + S ) ln ( K + 1 ) \mathcal{D}_T=\mathbb{E}\ln\frac{P^*(D_K)}{\Lambda_{\phi^\dagger}(D_K)}\leq H(X^2A+S)\ln(K+1) D T = E ln Λ ϕ † ( D K ) P ∗ ( D K ) ≤ H ( X 2 A + S ) ln ( K + 1 )
by Lemma 18, which holds on every trajectory with ( X − 1 ) ln ( K + 1 ) (X-1)\ln(K+1) ( X − 1 ) ln ( K + 1 ) for each of the X A H XAH X A H transition rows and O ( S H ln K ) O(SH\ln K) O ( S H ln K ) for the emission rows in total. Hence D T = O ( ( X 2 A + S ) H ln T ) \mathcal{D}_T=O((X^2A+S)H\ln T) D T = O (( X 2 A + S ) H ln T ) .
■
The oracle’s divergence rests on the following bound, whose proof also enters that of Proposition 11.
Lemma 18 (Redundancy of the true decoder) Let D K D_K D K be the transitions of the first K K K episodes, collected by an arbitrary policy, Λ ϕ ( D K ) \Lambda_\phi(D_K) Λ ϕ ( D K ) the marginal likelihood that candidate ϕ \phi ϕ assigns to them under model (L) of Appendix § 11 .§ 2 , given the start states and actions, and P ∗ ( D K ) P^*(D_K) P ∗ ( D K ) their probability under P ∗ P^* P ∗ . Under Assumption 1, on every trajectory,
ln ( P ∗ ( D K ) / Λ ϕ † ( D K ) ) ≤ H ( X 2 A + S ) ln ( K + 1 ) . \ln\left(P^*(D_K)/\Lambda_{\phi^\dagger}(D_K)\right)\leq H(X^2A+S)\ln(K+1). ln ( P ∗ ( D K ) / Λ ϕ † ( D K ) ) ≤ H ( X 2 A + S ) ln ( K + 1 ) .
Proof. Under ϕ † \phi^\dagger ϕ † the likelihood factorises over X A H XAH X A H transition rows, with X X X categories each, and X H XH X H emission rows, with ∣ ϕ † − 1 ( x ) ∣ |\phi^{\dagger-1}(x)| ∣ ϕ †− 1 ( x ) ∣ categories each, and P ∗ ( D K ) P^*(D_K) P ∗ ( D K ) is the likelihood of one parameter value of this model and is thus at most the product of the rowwise maximum likelihoods. On a row with m m m categories and counts n 1 , … , n m n_1,\ldots,n_m n 1 , … , n m summing to n ≤ K n\leq K n ≤ K , the uniform-Dirichlet marginal likelihood is ( m − 1 ) ! ∏ i n i ! / ( n + m − 1 ) ! (m-1)!\prod_i n_i!/(n+m-1)! ( m − 1 )! ∏ i n i ! / ( n + m − 1 )! , and the maximum likelihood is at most the reciprocal of the multinomial coefficient n ! / ∏ i n i ! n!/\prod_i n_i! n ! / ∏ i n i ! , because the type class has probability at most one. The ratio of the two is therefore at most
( n + m − 1 m − 1 ) = ∏ j = 1 m − 1 n + j j ≤ ( n + 1 ) m − 1 . (56) \binom{n+m-1}{m-1}=\prod_{j=1}^{m-1}\frac{n+j}{j}\leq(n+1)^{m-1}. \tag*{(56)} ( m − 1 n + m − 1 ) = j = 1 ∏ m − 1 j n + j ≤ ( n + 1 ) m − 1 . (56)
Summing ( m − 1 ) ln ( K + 1 ) (m-1)\ln(K+1) ( m − 1 ) ln ( K + 1 ) over the rows, with ∑ ( m − 1 ) = H [ X A ( X − 1 ) + S − X ] ≤ H ( X 2 A + S ) \sum(m-1)=H[X A(X-1)+S-X]\le H(X^{2}A+S) ∑ ( m − 1 ) = H [ X A ( X − 1 ) + S − X ] ≤ H ( X 2 A + S ) , gives the claim.
Proofs of Theorem 5 and Propositions 10 and 11
Throughout, T h \mathcal{T}_{h} T h denotes the Bellman operator of step h h h , given by [ T h f ] ( s , a ) = R ∗ ( s , a ) + E s ′ ∼ P ∗ ( ⋅ ∣ s , a ) [ max a ′ f ( s ′ , a ′ ) ] [\mathcal{T}_{h}f](s,a)=R^{*}(s,a)+\mathbb{E}_{s'\sim P^{*}(\cdot\mid s,a)}[\max_{a'}f(s',a')] [ T h f ] ( s , a ) = R ∗ ( s , a ) + E s ′ ∼ P ∗ ( ⋅ ∣ s , a ) [ max a ′ f ( s ′ , a ′ )] , T h R \mathcal{T}_{h}^{R} T h R is the same operator with a reward R R R in place of R ∗ R^{*} R ∗ , and d h π ( s , a ) d_{h}^{\pi}(s,a) d h π ( s , a ) is the probability that policy π \pi π visits ( s , a ) (s,a) ( s , a ) at step h h h .
Lemma 19 (Completeness of the class F \mathcal{F} F ). Under Assumption 1, every f h + 1 ∈ F h + 1 f_{h+1}\in\mathcal{F}_{h+1} f h + 1 ∈ F h + 1 and every latent reward R ( s , a ) = r ( ϕ † ( s ) , a ) R(s,a)=r(\phi^{\dagger}(s),a) R ( s , a ) = r ( ϕ † ( s ) , a ) with r : X × A → [ 0 , 1 ] r:\mathcal{X}\times\mathcal{A}\to[0,1] r : X × A → [ 0 , 1 ] satisfy T h R f h + 1 ∈ F h \mathcal{T}_{h}^{R}f_{h+1}\in\mathcal{F}_{h} T h R f h + 1 ∈ F h . In particular, T h f h + 1 ∈ F h \mathcal{T}_{h}f_{h+1}\in\mathcal{F}_{h} T h f h + 1 ∈ F h under latent rewards.
Proof. Let f h + 1 ( s , a ) = g ( ϕ ( s ) , a ) f_{h+1}(s,a)=g(\phi(s),a) f h + 1 ( s , a ) = g ( ϕ ( s ) , a ) for some ϕ ∈ Φ \phi\in\Phi ϕ ∈ Φ and some table g g g with values in [ 0 , H − h ] [0,H-h] [ 0 , H − h ] , and let ψ ( s ′ ) : = max a ′ g ( ϕ ( s ′ ) , a ′ ) \psi(s'):=\max_{a'}g(\phi(s'),a') ψ ( s ′ ) := max a ′ g ( ϕ ( s ′ ) , a ′ ) . By Assumption 1,
E s ′ ∼ P ∗ ( ⋅ ∣ s , a ) [ ψ ( s ′ ) ] = ∑ x ′ ∈ X B ∗ ( x ′ ∣ ϕ † ( s ) , a ) ∑ s ′ ∈ ϕ † − 1 ( x ′ ) A ∗ ( s ′ ∣ x ′ ) ψ ( s ′ ) = : u ( ϕ † ( s ) , a ) , \mathbb{E}_{s'\sim P^{*}(\cdot\mid s,a)}[\psi(s')]=\sum_{x'\in\mathcal{X}}B^{*}(x'\mid\phi^{\dagger}(s),a)\sum_{s'\in\phi^{\dagger-1}(x')}A^{*}(s'\mid x')\psi(s')=:u(\phi^{\dagger}(s),a), E s ′ ∼ P ∗ ( ⋅ ∣ s , a ) [ ψ ( s ′ )] = x ′ ∈ X ∑ B ∗ ( x ′ ∣ ϕ † ( s ) , a ) s ′ ∈ ϕ †− 1 ( x ′ ) ∑ A ∗ ( s ′ ∣ x ′ ) ψ ( s ′ ) =: u ( ϕ † ( s ) , a ) ,
a function of ( ϕ † ( s ) , a ) (\phi^{\dagger}(s),a) ( ϕ † ( s ) , a ) with values in [ 0 , H − h ] [0,H-h] [ 0 , H − h ] , even though ψ \psi ψ depends on the labels of an arbitrary candidate ϕ \phi ϕ . Hence T h R f h + 1 ( s , a ) = r ( ϕ † ( s ) , a ) + u ( ϕ † ( s ) , a ) \mathcal{T}_{h}^{R}f_{h+1}(s,a)=r(\phi^{\dagger}(s),a)+u(\phi^{\dagger}(s),a) T h R f h + 1 ( s , a ) = r ( ϕ † ( s ) , a ) + u ( ϕ † ( s ) , a ) is a table over the labels of ϕ † ∈ Φ \phi^{\dagger}\in\Phi ϕ † ∈ Φ with values in [ 0 , H − h + 1 ] [0,H-h+1] [ 0 , H − h + 1 ] , hence an element of F h \mathcal{F}_{h} F h .
Lemma 20 (Latent coverability). Under Assumption 1 with a fixed start state, the coverability coefficient of Xie et al. [89 ] (cf. their Prop. 10), C c o v : = inf μ sup π , h ∥ d h π / μ h ∥ ∞ C_{\mathrm{cov}}:=\inf_{\mu}\sup_{\pi,h}\lVert d_{h}^{\pi}/\mu_{h}\rVert_{\infty} C cov := inf μ sup π , h ∥ d h π / μ h ∥ ∞ , satisfies C c o v ≤ X A C_{\mathrm{cov}}\le XA C cov ≤ X A for every S S S .
Proof. For h ≥ 2 h\ge2 h ≥ 2 , Assumption 1 gives
P π ( s h = s ) = P π ( ϕ † ( s h ) = ϕ † ( s ) ) A ∗ ( s ∣ ϕ † ( s ) ) ≤ A ∗ ( s ∣ ϕ † ( s ) ) \mathbb{P}^{\pi}(s_{h}=s)=\mathbb{P}^{\pi}(\phi^{\dagger}(s_{h})=\phi^{\dagger}(s))A^{*}(s\mid\phi^{\dagger}(s))\le A^{*}(s\mid\phi^{\dagger}(s)) P π ( s h = s ) = P π ( ϕ † ( s h ) = ϕ † ( s )) A ∗ ( s ∣ ϕ † ( s )) ≤ A ∗ ( s ∣ ϕ † ( s ))
for every policy π \pi π , which yields d h π ( s , a ) ≤ A ∗ ( s ∣ ϕ † ( s ) ) d_{h}^{\pi}(s,a)\le A^{*}(s\mid\phi^{\dagger}(s)) d h π ( s , a ) ≤ A ∗ ( s ∣ ϕ † ( s )) . The distribution μ h ( s , a ) : = A ∗ ( s ∣ ϕ † ( s ) ) / ( X A ) \mu_{h}(s,a):=A^{*}(s\mid\phi^{\dagger}(s))/(XA) μ h ( s , a ) := A ∗ ( s ∣ ϕ † ( s )) / ( X A ) sums to one, since the emissions of the X X X latent states each sum to one, and it gives d h π / μ h ≤ X A d_{h}^{\pi}/\mu_{h}\le XA d h π / μ h ≤ X A . At h = 1 h=1 h = 1 , d 1 π ( s , a ) ≤ 1 { s = s 1 } d_{1}^{\pi}(s,a)\le\mathbb{1}\{s=s_{1}\} d 1 π ( s , a ) ≤ 1 { s = s 1 } and μ 1 ( s , a ) : = 1 { s = s 1 } / A \mu_{1}(s,a):=\mathbb{1}\{s=s_{1}\}/A μ 1 ( s , a ) := 1 { s = s 1 } / A gives the ratio A ≤ X A A\le XA A ≤ X A .
The class of all maps. GOLF needs no Bayesian model. Its class may therefore contain every map from S \mathcal{S} S to X \mathcal{X} X , surjective or not, since a table g g g need not use every latent state. For the class of all maps, ln ∣ Φ ∣ = S ln X \ln|\Phi|=S\ln X ln ∣Φ∣ = S ln X , and Theorem 5 gives O ~ ( H 2 X A S T ln X ) \widetilde{O}(H^{2}\sqrt{XAST\ln X}) O ( H 2 X A S T ln X ) , which matches the lower bound Ω ( H S T ) \Omega(\sqrt{HST}) Ω ( H S T ) of Proposition 3 in S S S and T T T .
The agent and its radius. The enactive agent runs on the problem normalised to values in [ 0 , 1 ] [0,1] [ 0 , 1 ] , that is, with rewards and value functions divided by H H H . For a reward R R R , let
L h R ( g , f h + 1 ) : = ∑ j < k ( g ( s h j , a h j ) − R ( s h j , a h j ) − max a ′ f h + 1 ( s h + 1 j , a ′ ) ) 2 \mathcal{L}_{h}^{R}(g,f_{h+1}):=\sum_{j<k}\left(g(s_{h}^{j},a_{h}^{j})-R(s_{h}^{j},a_{h}^{j})-\max_{a'}f_{h+1}(s_{h+1}^{j},a')\right)^{2} L h R ( g , f h + 1 ) := j < k ∑ ( g ( s h j , a h j ) − R ( s h j , a h j ) − a ′ max f h + 1 ( s h + 1 j , a ′ ) ) 2
be the squared Bellman residual of g g g on the transitions of the episodes before k k k . Before episode k k k , the agent keeps the version space of the functions f ∈ F f \in\mathcal{F} f ∈ F with L h R ( f h , f h + 1 ) − min g ∈ F h L h R ( g , f h + 1 ) ≤ ω \mathcal{L}^{R}_{h}(f_h,f_{h+1})-\min_{g\in\mathcal{F}_h}\mathcal{L}^{R}_{h}(g,f_{h+1})\leq\omega L h R ( f h , f h + 1 ) − min g ∈ F h L h R ( g , f h + 1 ) ≤ ω for every h h h , with R = R ∗ R=R^* R = R ∗ under a fixed reward and R = R k R=R_k R = R k under goals, and it acts greedily for the most optimistic element f ( k ) f^{(k)} f ( k ) of this set. It uses the radius
ω = c H 2 ln ( N H K / δ ) (57) \omega= cH^2\ln(\mathcal{N}HK/\delta) \tag*{(57)} ω = c H 2 ln ( N H K / δ ) (57)
for the raw squared residuals, that is, c ln ( N H K / δ ) c\ln(\mathcal{N}HK/\delta) c ln ( N H K / δ ) in normalised units, with N \mathcal{N} N the covering number of F \mathcal{F} F at scale H / K H/K H / K in the supremum norm (scale 1 / K 1/K 1/ K in normalised units) and c c c an absolute constant.
Proof of Theorem 5(a). Divide rewards and value functions by H H H , which puts the problem in the normalisation of Xie et al. [89 ] (total reward in [ 0 , 1 ] [0,1] [ 0 , 1 ] , a fixed start state, and T T T there counting episodes) and divides the regret by H H H . Lemma 19 is their completeness assumption (Assumption 1), and Lemma 20 bounds their coverability coefficient by X A X_A X A . Their Theorem 1 states that GOLF with radius ω = c ln ( K H ∣ F ∣ / δ ) \omega=c\ln(KH|\mathcal{F}|/\delta) ω = c ln ( K H ∣ F ∣/ δ ) has, with probability at least 1 − δ 1-\delta 1 − δ for a finite class, Reg = O ( H C c o v K ln ( K H ∣ F ∣ / δ ) ln K ) \operatorname{Reg}=\mathcal{O}\left(H\sqrt{C_{\mathrm{cov}}K\ln(KH|\mathcal{F}|/\delta)\ln K}\right) Reg = O ( H C cov K ln ( K H ∣ F ∣/ δ ) ln K ) . The factor ln K \ln K ln K stands inside the square root, as the last step of their proof shows. We replace it by 1 + ln K 1+\ln K 1 + ln K , an upper bound that is also valid at K = 1 K=1 K = 1 . For the infinite class F \mathcal{F} F , the concentration lemmas of GOLF hold with ∣ F ∣ |\mathcal{F}| ∣ F ∣ replaced by the covering number N \mathcal{N} N at scale 1 / K 1/K 1/ K in the normalised units ([42 Lemmas 39–40] ), which is the standard extension Xie et al. [89 ] invoke. Their argument uses F \mathcal{F} F only through these lemmas and through completeness. For each ϕ ∈ Φ \phi\in\Phi ϕ ∈ Φ , a grid of mesh H / K H/K H / K on [ 0 , H ] X × A [0,H]^{\mathcal{X}\times\mathcal{A}} [ 0 , H ] X × A covers the tables of F h \mathcal{F}_h F h at scale H / K H/K H / K in the supremum norm with at most ( K + 2 ) X A (K+2)^{X_A} ( K + 2 ) X A points. Hence, ln N ≤ H ( ln ∣ Φ ∣ + X A ln ( K + 2 ) ) \ln\mathcal{N}\leq H\left(\ln|\Phi|+X_A\ln(K+2)\right) ln N ≤ H ( ln ∣Φ∣ + X A ln ( K + 2 ) ) for the product class. Covering each F h \mathcal{F}_h F h separately would save a factor H \sqrt{H} H . Undoing the normalisation multiplies the regret by H H H . With K = T / H K=T/H K = T / H , we attain
R K = O ( H 2 X A K ( H ln ∣ Φ ∣ + H X A ln ( K + 2 ) + ln ( H K / δ ) ) ( 1 + ln K ) ) = O ( H 2 X A T ( ln ∣ Φ ∣ + X A ln ( H K / δ ) ) ( 1 + ln K ) ) . \mathfrak{R}_K=\mathcal{O}\left(H^2\sqrt{X_AK\left(H\ln|\Phi|+HX_A\ln(K+2)+\ln(HK/\delta)\right)(1+\ln K)}\right)
\\
=\mathcal{O}\left(H^2\sqrt{X_AT\left(\ln|\Phi|+X_A\ln(HK/\delta)\right)(1+\ln K)}\right). R K = O ( H 2 X A K ( H ln ∣Φ∣ + H X A ln ( K + 2 ) + ln ( H K / δ ) ) ( 1 + ln K ) ) = O ( H 2 X A T ( ln ∣Φ∣ + X A ln ( H K / δ ) ) ( 1 + ln K ) ) .
Proof of Theorem 5(b). Normalise as in part (a), and let G : = { ( s , a ) ↦ r ( ϕ † ( s ) , a ) : r ∈ [ 0 , 1 ] X × A } \mathcal{G}:=\{(s,a)\mapsto r(\phi^{\dagger}(s),a):r\in[0,1]^{\mathcal{X}\times\mathcal{A}}\} G := {( s , a ) ↦ r ( ϕ † ( s ) , a ) : r ∈ [ 0 , 1 ] X × A } be the latent goals. Before episode k k k , the relabelling agent keeps the version space defined above with R = R k R=R_k R = R k and acts greedily for its most optimistic element f ( k ) f^{(k)} f ( k ) . The proof of Theorem 1 of Xie et al. [89 ] uses three facts, which we verify for the goal R k R_k R k of every episode.
(1) Concentration. For a fixed goal R R R and fixed functions g , g ′ ∈ F h g,g'\in\mathcal{F}_h g , g ′ ∈ F h and f h + 1 ∈ F h + 1 f_{h+1}\in\mathcal{F}_{h+1} f h + 1 ∈ F h + 1 , let y : = R ( s h , a h ) + max a ′ f h + 1 ( s h + 1 , a ′ ) y:=R(s_h,a_h)+\max_{a'}f_{h+1}(s_{h+1},a') y := R ( s h , a h ) + max a ′ f h + 1 ( s h + 1 , a ′ ) be the target of a transition. Given the history before the transition and ( s h , a h ) (s_h,a_h) ( s h , a h ) , the target has mean [ T h R f h + 1 ] ( s h , a h ) [\mathcal{T}^{R}_h f_{h+1}](s_h,a_h) [ T h R f h + 1 ] ( s h , a h ) . The difference of the two squared losses therefore decomposes into a predictable part and a centred martingale difference,
( g − y ) 2 − ( g ′ − y ) 2 = ( g − T h R f h + 1 ) 2 − ( g ′ − T h R f h + 1 ) 2 + ζ , E [ ζ ∣ history , s h , a h ] = 0 , (g-y)^2-(g'-y)^2=(g-\mathcal{T}^{R}_h f_{h+1})^2-(g'-\mathcal{T}^{R}_h f_{h+1})^2+\zeta,\qquad\mathbb{E}[\zeta\mid\text{history},s_h,a_h]=0, ( g − y ) 2 − ( g ′ − y ) 2 = ( g − T h R f h + 1 ) 2 − ( g ′ − T h R f h + 1 ) 2 + ζ , E [ ζ ∣ history , s h , a h ] = 0 ,
with all functions evaluated at ( s h , a h ) (s_h,a_h) ( s h , a h ) , since the conditional variance of the target cancels. The predictable part is a difference of squared Bellman residuals, and concentration applies to the martingale part. Jin et al. [42 ] turn it, by Freedman’s inequality and a union bound over a cover of F \mathcal{F} F , into two events. On the first, Q ∗ ( ⋅ ; R ) Q^*(\cdot;R) Q ∗ ( ⋅ ; R ) lies in the version space. On the second, every f f f in the version space has ∑ j < k E d h π j [ ( f h − T h R f h + 1 ) 2 ] = O ( ω ) \sum_{j<k} \mathbb{E}_{d_h^{\pi_j}}\left[(f_h-\mathcal{T}_h^R f_{h+1})^2\right]=O(\omega) ∑ j < k E d h π j [ ( f h − T h R f h + 1 ) 2 ] = O ( ω ) for every h h h . Both steps use completeness, T h R F h + 1 ⊆ F h \mathcal{T}_h^R\mathcal{F}_{h+1}\subseteq\mathcal{F}_h T h R F h + 1 ⊆ F h , which Lemma 19 gives for every R ∈ G R\in\mathcal{G} R ∈ G . We extend the union bound to a cover G K \mathcal{G}_K G K of G \mathcal{G} G at scale 1 / K 1/K 1/ K in the supremum norm, with ∣ G K ∣ ≤ ( K + 1 ) X A |\mathcal{G}_K|\leq(K+1)^{XA} ∣ G K ∣ ≤ ( K + 1 ) X A . Replacing R k R_k R k by its nearest point in G K \mathcal{G}_K G K changes each squared term by at most 4 / K 4/K 4/ K in normalised units, hence each loss by at most 4 4 4 , which a constant in the radius absorbs. The events hold for every goal of the cover at once. Therefore, they also hold for R k R_k R k , although R k R_k R k is chosen from the history.
(2) Optimism. By (1), max a f 1 ( k ) ( s 1 , a ) ≥ V 1 ∗ ( s 1 ; R k ) \max_a f_1^{(k)}(s_1,a)\geq V_1^*(s_1;R_k) max a f 1 ( k ) ( s 1 , a ) ≥ V 1 ∗ ( s 1 ; R k ) . Since π k \pi^k π k is greedy for f ( k ) f^{(k)} f ( k ) , the policy-loss decomposition (Jiang et al., [39 ] , Lemma 1) gives V 1 ∗ ( s 1 ; R k ) − V 1 π k ( s 1 ; R k ) ≤ ∑ h E d h π k [ δ h ( k ) ] V_1^*(s_1;R_k)-V_1^{\pi^k}(s_1;R_k)\leq\sum_h\mathbb{E}_{d_h^{\pi^k}}[\delta_h^{(k)}] V 1 ∗ ( s 1 ; R k ) − V 1 π k ( s 1 ; R k ) ≤ ∑ h E d h π k [ δ h ( k ) ] with δ h ( k ) : = f h ( k ) − T h R k f h + 1 ( k ) \delta_h^{(k)}:=f_h^{(k)}-\mathcal{T}_h^{R_k}f_{h+1}^{(k)} δ h ( k ) := f h ( k ) − T h R k f h + 1 ( k ) .
(3) Coverability. The argument of Xie et al. [89 ] that bounds ∑ k E d h π k [ δ h ( k ) ] \sum_k\mathbb{E}_{d_h^{\pi_k}}[\delta_h^{(k)}] ∑ k E d h π k [ δ h ( k ) ] by the in-sample bounds ∑ j < k E d h π j [ ( δ h ( k ) ) 2 ] = O ( ω ) \sum_{j<k}\mathbb{E}_{d_h^{\pi_j}}[(\delta_h^{(k)})^2]=O(\omega) ∑ j < k E d h π j [( δ h ( k ) ) 2 ] = O ( ω ) uses only ∣ δ h ( k ) ∣ ≤ 1 |\delta_h^{(k)}|\leq1 ∣ δ h ( k ) ∣ ≤ 1 and the coverability coefficient. It therefore holds for every sequence of such functions, here one that changes with the goal. Lemma 20 bounds the coefficient by X A XA X A for every goal, since the coefficient depends only on the dynamics. The bound of part (a) therefore holds for R K g o a l R_K^{\mathrm{goal}} R K goal , with ln N \ln N ln N increased by at most X A ln ( K + 1 ) XA\ln(K+1) X A ln ( K + 1 ) , which changes C e C_e C e by a constant factor.
Proof of Proposition 10. The instance. Let S ′ : = S − 2 ≥ 10 S':=S-2\geq10 S ′ := S − 2 ≥ 10 , S = { s 0 , u 1 , … , u S ′ , v } \mathcal{S}=\{s_0,u_1,\ldots,u_{S'},v\} S = { s 0 , u 1 , … , u S ′ , v } , A = { r , p } \mathcal{A}=\{r,p\} A = { r , p } and H = 2 H=2 H = 2 , with every episode starting at s 0 s_0 s 0 . Action r r r leads to a uniformly random u i u_i u i , and action p p p leads to v v v . Under both actions, every u i u_i u i leads to a uniformly random u j u_j u j , and v v v is absorbing. Rewards are R ∗ ( s 0 , ⋅ ) = 0 R^*(s_0,\cdot)=0 R ∗ ( s 0 , ⋅ ) = 0 , R ∗ ( u i , ⋅ ) = 1 2 − Δ R^*(u_i,\cdot)=\frac{1}{2}-\Delta R ∗ ( u i , ⋅ ) = 2 1 − Δ and R ∗ ( v , ⋅ ) = 1 2 R^*(v,\cdot)=\frac{1}{2} R ∗ ( v , ⋅ ) = 2 1 . The decoder has the three blocks { s 0 } \{s_0\} { s 0 } , { u 1 , … , u S ′ } \{u_1,\ldots,u_{S'}\} { u 1 , … , u S ′ } and { v } \{v\} { v } , the latent kernel is deterministic, and the emission of the middle block is uniform. Hence, P ∗ ( u j ∣ u i , a ) = 1 ⋅ ( 1 / S ′ ) P^*(u_j\mid u_i,a)=1\cdot(1/S') P ∗ ( u j ∣ u i , a ) = 1 ⋅ ( 1/ S ′ ) factorises as Assumption 1 requires, and the rewards are latent. Action p p p is optimal, and every episode that plays r r r costs Δ \Delta Δ .
AIF’s evaluation at s 0 s_0 s 0 . AIF knows the decoder, the latent kernel, and the rewards, and learns the emission of each block under a Dirichlet( 1 , … , 1 ) (1,\ldots,1) ( 1 , … , 1 ) prior, one row for the state reached at each step. Every episode emits the states s 2 s_2 s 2 and s 3 s_3 s 3 reached at steps 1 and 2. The blocks { s 0 } \{s_0\} { s 0 } and { v } \{v\} { v } have a single observation and carry no uncertainty. Since the predicted latent state after either action is deterministic, the state term vanishes under exact perception (Appendix F.§ 5 ), and the latent kernel is known, which makes novelty about B B B vanish too. The only epistemic terms left are the informations ι 1 \iota_1 ι 1 and ι 2 \iota_2 ι 2 that s 2 s_2 s 2 and s 3 s_3 s 3 carry about the emission rows of their blocks (Eq. (15) ). Both are zero after p p p . After r r r , both s 2 s_2 s 2 and s 3 s_3 s 3 fall in the middle block, whatever the action at step 2, and ι h \iota_h ι h is the novelty of the Dirichlet posterior of the middle block’s row for step h h h . In units of reward, AIF’s planning value is therefore 1 2 \frac{1}{2} 2 1 for p p p and at least min { 1 2 − Δ + ( ι 1 + ι 2 ) / β , r 0 } \min\{\frac{1}{2}-\Delta+(\iota_1+\iota_2)/\beta,r_0\} min { 2 1 − Δ + ( ι 1 + ι 2 ) / β , r 0 } for r r r , under the recursion of Eq. (4) with its clamps as well as summed along a plan, and AIF prefers r r r whenever ι 1 > β Δ \iota_1>\beta\Delta ι 1 > β Δ .
Novelty of a large and sparsely sampled block. Each episode that plays r r r adds one observation to each of the two rows of the middle block, and no other episode changes them. After n n n observations of such a row, its posterior is Dir ( α ) \operatorname{Dir}(\alpha) Dir ( α ) with α i = 1 + c i \alpha_i=1+c_i α i = 1 + c i , where c i c_i c i counts the observations of u i u_i u i and α ˉ = S ′ + n \bar{\alpha}=S'+n α ˉ = S ′ + n . At least S ′ − n S'-n S ′ − n of the α i \alpha_i α i equal 1. By the closed form of Eq. (36) ,
ι = ∑ i α i α ˉ [ ψ ( α i + 1 ) − ln α i ] − [ ψ ( α ˉ + 1 ) − ln α ˉ ] . \iota=\sum_i\frac{\alpha_i}{\bar{\alpha}}\left[\psi(\alpha_i+1)-\ln\alpha_i\right]-\left[\psi(\bar{\alpha}+1)-\ln\bar{\alpha}\right]. ι = i ∑ α ˉ α i [ ψ ( α i + 1 ) − ln α i ] − [ ψ ( α ˉ + 1 ) − ln α ˉ ] .
The inequalities ln ( z + 1 2 ) ≤ ψ ( z + 1 ) ≤ ln z + 1 2 z \ln(z+\frac{1}{2})\leq\psi(z+1)\leq\ln z+\frac{1}{2z} ln ( z + 2 1 ) ≤ ψ ( z + 1 ) ≤ ln z + 2 z 1 for z > 0 z>0 z > 0 (Lu and Van Roy, [53 ] , Lemma 16) make every bracket in the sum positive, make the subtracted bracket at most 1 / ( 2 α ˉ ) 1/(2\bar{\alpha}) 1/ ( 2 α ˉ ) , and a bracket with α i = 1 \alpha_i = 1 α i = 1 equals ψ ( 2 ) = 1 − γ E ≥ 0.42 \psi(2) = 1 - \gamma_{\mathrm{E}} \ge0.42 ψ ( 2 ) = 1 − γ E ≥ 0.42 , with γ E ≈ 0.5772 \gamma_{\mathrm{E}} \approx0.5772 γ E ≈ 0.5772 the Euler–Mascheroni constant, since ψ ( 1 ) = − γ E \psi(1) = -\gamma_{\mathrm{E}} ψ ( 1 ) = − γ E and ψ ( z + 1 ) = ψ ( z ) + 1 / z \psi(z + 1) = \psi(z) + 1/z ψ ( z + 1 ) = ψ ( z ) + 1/ z . Hence
ι ≥ 0.42 S ′ − n S ′ + n − 1 2 ( S ′ + n ) ≥ 0.42 3 − 1 20 ≥ 0.09 for n ≤ S ′ / 2 , \iota\ge0.42\frac{S' - n}{S' + n} - \frac{1}{2(S' + n)} \ge\frac{0.42}{3} - \frac{1}{20} \ge0.09 \qquad\text{for } n \le S'/2, ι ≥ 0.42 S ′ + n S ′ − n − 2 ( S ′ + n ) 1 ≥ 3 0.42 − 20 1 ≥ 0.09 for n ≤ S ′ /2 ,
using S ′ ≥ 10 S' \ge10 S ′ ≥ 10 .
Regret. Let J : = ⌊ S ′ / 2 ⌋ J := \lfloor S'/2 \rfloor J := ⌊ S ′ /2 ⌋ . In each of the first min { K , J } \min\{K,J\} min { K , J } episodes fewer than J J J observations of either row have been made, whatever the agent did before. Hence, ι 1 ≥ 0.09 > β Δ \iota_1 \ge0.09 > \beta\Delta ι 1 ≥ 0.09 > β Δ and AIF’s planning value of r r r exceeds that of p p p . Acting greedily, AIF plays r r r in each of these episodes. Sampling from its softmax, it plays r r r with probability above 1 2 \frac{1}{2} 2 1 . In both cases we attain E R K ≥ ( Δ / 2 ) min { K , J } \mathbb{E}\mathcal{R}_K \ge(\Delta/2)\min\{K,J\} E R K ≥ ( Δ/2 ) min { K , J } .
The other agents. Since the MDP is a realizable block MDP with latent rewards, X = 3 X = 3 X = 3 and A = 2 A = 2 A = 2 , Theorem 5 with Φ \Phi Φ the singleton of the known decoder gives the enactive agent regret O ( H 2 T ln ( H K / δ ) ( 1 + ln K ) ) = O ~ ( T ) O(H^2\sqrt{T\ln(HK/\delta)}(1+\ln K)) = \widetilde{O}(\sqrt{T}) O ( H 2 T ln ( H K / δ ) ( 1 + ln K )) = O ( T ) , independently of S S S . CaI and calibrated AIF act on the history only through the latent states x τ = ϕ ( s τ ) x_\tau= \phi(s_\tau) x τ = ϕ ( s τ ) , the actions and the rewards. The joint law of these variables is the same for every S S S , and so are the law of the sequence of actions and the regret.
Calibrated sensory curiosity. The argument uses ι 1 \iota_1 ι 1 only through ι 1 ≥ 0.09 \iota_1 \ge0.09 ι 1 ≥ 0.09 for n ≤ S ′ / 2 n \le S'/2 n ≤ S ′ /2 and ι 1 = ι 2 = 0 \iota_1 = \iota_2 = 0 ι 1 = ι 2 = 0 after p p p . It therefore applies unchanged to a bonus that adds g ( ι h ) g(\iota_h) g ( ι h ) for each row, for any nondecreasing g g g with g ( 0 ) = 0 g(0) = 0 g ( 0 ) = 0 and g ( 0.09 ) > Δ g(0.09) > \Delta g ( 0.09 ) > Δ , which prefers r r r whenever g ( ι 1 ) > Δ g(\iota_1) > \Delta g ( ι 1 ) > Δ . For g ( ι ) = c ι g(\iota) = c\sqrt{\iota} g ( ι ) = c ι this holds when c > Δ / 0.3 c > \Delta/0.3 c > Δ/0.3 .
Proof of Proposition 11. The instance. Take the MDP of Proposition 2 with δ 0 : = 1 / ( 8 ( H − 2 ) ) ≤ 1 16 \delta_0 := 1/(8(H-2)) \le\frac{1}{16} δ 0 := 1/ ( 8 ( H − 2 )) ≤ 16 1 , that is, η = 4 δ 0 \eta= 4\delta_0 η = 4 δ 0 and ( H − 2 ) η = 1 2 (H-2)\eta= \frac{1}{2} ( H − 2 ) η = 2 1 . Its states are s 0 , u A , u B , g s_0,u_A,u_B,g s 0 , u A , u B , g , its actions a , b a,b a , b , and its rewards are 1 at g g g and 0 elsewhere. Let X = { 1 , 2 , 3 , 4 } \mathcal{X} = \{1,2,3,4\} X = { 1 , 2 , 3 , 4 } , let ϕ † \phi^\dagger ϕ † map s 0 , u A , u B , g s_0,u_A,u_B,g s 0 , u A , u B , g to 1, 2, 3, 4, and let ψ † \psi^\dagger ψ † map s 0 s_0 s 0 to 1, both u A u_A u A and u B u_B u B to 2, and g g g to 4. The MDP is a realizable block MDP for ϕ † \phi^\dagger ϕ † , with point-mass emissions and latent rewards. Both candidates make R ∗ R^* R ∗ measurable. Hence, a factor that predicts rewards is the same for both. The candidate ψ \psi ψ is the abstraction of Proposition 2 with ϵ r e p ( ψ ) = 1 2 H 2 η = H 2 / ( 4 ( H − 2 ) ) ≥ H / 4 \epsilon_{\mathrm{rep}}(\psi) = \frac{1}{2}H^2\eta= H^2/(4(H-2)) \ge H/4 ϵ rep ( ψ ) = 2 1 H 2 η = H 2 / ( 4 ( H − 2 )) ≥ H /4 .
Part (i). Let D k D_k D k be the transitions of episodes 1 , … , k − 1 1,\ldots,k-1 1 , … , k − 1 , and let n r n_r n r count those that fall in a row r = ( x , c , h ) r = (x,c,h) r = ( x , c , h ) of a candidate. A row with m = 4 m = 4 m = 4 categories and n n n observations has uniform-Dirichlet marginal likelihood at least ( n + 1 ) − 3 (n+1)^{-3} ( n + 1 ) − 3 times its maximum likelihood (proof of Lemma 18). The maximum likelihood is at least the likelihood under any fixed law. For ψ \psi ψ , fix the laws θ \theta θ in which rows at label 1 predict label 2, rows at label 2 predict label 4 with probability 2 δ 0 2\delta_0 2 δ 0 and label 2 otherwise, and rows at label 4 predict label 4. Since at most 6 H 6H 6 H rows of ψ \psi ψ receive data, we attain
ln Λ ψ l a t ( D k ) ≥ ∑ τ ln θ ( ψ ( s τ + 1 ) ∣ ψ ( s τ ) , a τ ) − 18 H ln ( K + 1 ) , \ln\Lambda^{\mathrm{lat}}_{\psi}(D_k) \ge\sum_{\tau} \ln\theta(\psi(s_{\tau+1}) \mid\psi(s_\tau),a_\tau) - 18H\ln(K+1), ln Λ ψ lat ( D k ) ≥ τ ∑ ln θ ( ψ ( s τ + 1 ) ∣ ψ ( s τ ) , a τ ) − 18 H ln ( K + 1 ) ,
the sum running over the transitions of D k D_k D k . Since ϕ † \phi^\dagger ϕ † is a bijection from S \mathcal{S} S onto X \mathcal{X} X , its rows are the rows ( s , a , h ) (s,a,h) ( s , a , h ) of the ground MDP, with successor laws P ∗ ( ⋅ ∣ s , a ) P^*(\cdot\mid s,a) P ∗ ( ⋅ ∣ s , a ) . As the marginal likelihood of ϕ † \phi^\dagger ϕ † is at most its maximum likelihood, we get
ln Λ ϕ † l a t ( D k ) ≤ ∑ τ ln P ∗ ( s τ + 1 ∣ s τ , a τ ) + ∑ r n r D K L ( p ^ r ∥ P r ∗ ) , \ln\Lambda^{\mathrm{lat}}_{\phi^\dagger}(D_k) \le\sum_{\tau} \ln P^*(s_{\tau+1}\mid s_\tau,a_\tau) + \sum_r n_r D_{\mathrm{KL}}(\widehat{p}_r\mathbin{\|}P_r^*), ln Λ ϕ † lat ( D k ) ≤ τ ∑ ln P ∗ ( s τ + 1 ∣ s τ , a τ ) + r ∑ n r D KL ( p r ∥ P r ∗ ) ,
with p ^ r \widehat{p}_r p r the empirical successor law of row r r r and P r ∗ P_r^* P r ∗ its true law. Model the data as a table of independent successors drawn in advance for each row, as in Appendix F.§ 2 . The first n n n successors of a row are then i.i.d. draws from P r ∗ P_r^* P r ∗ , whatever the policy. By the method of types [17 Thm. 11.2.1] , P ( n D K L ( p ^ n ∥ P r ∗ ) ≥ t ) ≤ ( n + 1 ) 4 e − t \mathbb{P}\left(nD_{\mathrm{KL}}(\widehat{p}_n\Vert P_r^*) \ge t\right) \le(n+1)^4e^{-t} P ( n D KL ( p n ∥ P r ∗ ) ≥ t ) ≤ ( n + 1 ) 4 e − t for each row and each count n n n . A union bound over the 8 H 8H 8 H rows of ϕ † \phi^\dagger ϕ † and the counts n ≤ K n \le K n ≤ K , at t = 4 ln ( n + 1 ) + ln ( 8 H K / δ ) t=4\ln(n+1)+\ln(8HK/\delta) t = 4 ln ( n + 1 ) + ln ( 8 H K / δ ) , shows that with probability at least 1 − δ 1-\delta 1 − δ , for every k k k ,
∑ r n r D K L ( p ^ r ∥ P r ∗ ) ≤ 32 H ln ( K + 1 ) + 8 H ln ( 8 H K / δ ) . \sum_r n_rD_{\mathrm{KL}}(\widehat{p}_r\Vert P_r^*) \le32H\ln(K+1)+8H\ln(8HK/\delta). r ∑ n r D KL ( p r ∥ P r ∗ ) ≤ 32 H ln ( K + 1 ) + 8 H ln ( 8 H K / δ ) .
It remains to compare θ \theta θ with P ∗ P^* P ∗ transition by transition. From s 0 s_0 s 0 , the successor is u A u_A u A or u B u_B u B with probability 1 2 \frac{1}{2} 2 1 each, and θ \theta θ gives its label probability 1 1 1 . Hence, the term ln θ − ln P ∗ \ln\theta-\ln P^* ln θ − ln P ∗ is ln 2 \ln2 ln 2 . From u A u_A u A under a a a , or u B u_B u B under b b b , the successor is g g g with probability 2 δ 0 2\delta_0 2 δ 0 , where the term is 0 0 0 , or a pool state with probability 1 2 ( 1 − 2 δ 0 ) \frac{1}{2}(1-2\delta_0) 2 1 ( 1 − 2 δ 0 ) , where the term is ln 2 \ln2 ln 2 . From u A u_A u A under b b b , or u B u_B u B under a a a , the successor is a pool state with probability 1 2 \frac{1}{2} 2 1 , and the term is ln ( 2 ( 1 − 2 δ 0 ) ) ≥ ln 2 − 4 δ 0 ≥ ln 2 − 1 4 \ln(2(1-2\delta_0)) \ge\ln2-4\delta_0 \ge\ln2-\frac{1}{4} ln ( 2 ( 1 − 2 δ 0 )) ≥ ln 2 − 4 δ 0 ≥ ln 2 − 4 1 . From g g g the term is 0 0 0 . Every term is thus nonnegative, and the first transition of each episode contributes at least ln 2 − 1 4 ≥ 0.44 \ln2-\frac{1}{4}\ge0.44 ln 2 − 4 1 ≥ 0.44 . Collecting, with ln ( K + 1 ) ≤ ln ( 8 H K / δ ) \ln(K+1)\le\ln(8HK/\delta) ln ( K + 1 ) ≤ ln ( 8 H K / δ ) ,
ln Λ ψ l a t ( D k ) − ln Λ ϕ † l a t ( D k ) ≥ 0.44 ( k − 1 ) − 58 H ln ( 8 H K / δ ) . \ln\Lambda_{\psi}^{\mathrm{lat}}(D_k)-\ln\Lambda_{\phi^\dagger}^{\mathrm{lat}}(D_k)\ge0.44(k-1)-58H\ln(8HK/\delta). ln Λ ψ lat ( D k ) − ln Λ ϕ † lat ( D k ) ≥ 0.44 ( k − 1 ) − 58 H ln ( 8 H K / δ ) .
Part (ii). Every transition into the pool { u A , u B } \{u_A,u_B\} { u A , u B } lands on u A u_A u A and u B u_B u B with equal probability, whatever the previous state and action. Under a policy that acts through ψ \psi ψ , the action at a pool state depends on the history but not on whether the state is u A u_A u A or u B u_B u B . Given the history and the action, the current pool state is therefore uniform. The next state is then g g g with probability 1 2 ⋅ 2 δ 0 = δ 0 \frac{1}{2}\cdot2\delta_0=\delta_0 2 1 ⋅ 2 δ 0 = δ 0 , and a uniform pool state otherwise. The labels and actions thus follow the MDP on { 1 , 2 , 4 } \{1,2,4\} { 1 , 2 , 4 } in which label 1 leads to label 2, label 2 leads to label 4 with probability δ 0 \delta_0 δ 0 under both actions, and label 4 is absorbing.
Part (iii). On the event of part (i), the bound is positive for k > k 0 k>k_0 k > k 0 , since 0.44 ⋅ 132 > 58 0.44\cdot132>58 0.44 ⋅ 132 > 58 . Then ψ \psi ψ is the unique maximiser of Λ ϕ † l a t \Lambda_{\phi^\dagger}^{\mathrm{lat}} Λ ϕ † lat , and the agent acts through ψ \psi ψ . The proof of Proposition 2 uses only that the action at a pool state does not depend on which pool state the agent is in. Each such episode therefore has regret at least ϵ r e p ( ψ ) / 32 ≥ H / 128 \epsilon_{\mathrm{rep}}(\psi)/32\ge H/128 ϵ rep ( ψ ) /32 ≥ H /128 , and R K ≥ H ( K − k 0 ) / 128 \mathfrak{R}_K\ge H(K-k_0)/128 R K ≥ H ( K − k 0 ) /128 . Since GOLF on Φ \Phi Φ has ln ∣ Φ ∣ = ln 2 \ln|\Phi|=\ln2 ln ∣Φ∣ = ln 2 , X = 4 X=4 X = 4 and A = 2 A=2 A = 2 , Theorem 5(a) gives R K = O ( H 2 T ln ( H K / δ ) ( 1 + ln K ) ) \mathfrak{R}_K=O\left(H^2\sqrt{T}\ln(HK/\delta)(1+\ln K)\right) R K = O ( H 2 T ln ( H K / δ ) ( 1 + ln K ) ) .
■■