Bellman Eluder Dimension: New Rich Classes of RL Problems, and Sample-Efficient Algorithms

Chi Jin, Qinghua Liu, Sobhan Miryoosefi

Introduction

Modern Reinforcement Learning (RL) commonly engages practical problems with an enormous number of states, where function approximation must be deployed to approximate the true value function using functions from a prespecified function class. Function approximation, especially based on deep neural networks, lies at the heart of the recent practical successes of RL in domains such as Atari (Mnih et al., 2013), Go (Silver et al., 2016), robotics (Kober et al., 2013), and dialogue systems (Li et al., 2016).

Despite its empirical success, RL with function approximation raises a new series of theoretical challenges when comparing to the classic tabular RL: (1) generalization, to generalize knowledge from the visited states to the unvisited states due to the enormous state space. (2) limited expressiveness, to handle the complicated issues where true value functions or intermediate steps computed in the algorithm can be functions outside the prespecified function class. (3) exploration, to address the tradeoff between exploration and exploitation when above challenges are present.

Consequently, most existing theoretical results on efficient RL with function approximation rely on relatively strong structural assumptions. For instance, many require that the MDP admits a linear approximation (Wang et al., 2019; Jin et al., 2020; Zanette et al., 2020a), or that the model is precisely Linear Quadratic Regulator (LQR) (Anderson and Moore, 2007; Fazel et al., 2018; Dean et al., 2019). Most of these structural assumptions rarely hold in practical applications. This naturally leads to one of the most fundamental questions in RL.

What are the minimal structural assumptions that empower sample-efficient RL?

We advance our understanding of this grand question via the following two steps: (1) identify a rich class of RL problems (with weak structural assumptions) that cover many practical applications of interests; (2) design sample-efficient algorithms that provably learn any RL problem in this class.

The attempts to find weak or minimal structural assumptions that allow statistical learning can be traced in supervised learning where VC dimension (Vapnik, 2013) or Rademacher complexity (Bartlett and Mendelson, 2002) is proposed, or in online learning where Littlestone dimension (Littlestone, 1988) or sequential Rademacher complexity (Rakhlin et al., 2010) is developed.

In the area of reinforcement learning, there are two intriguing lines of recent works that have made significant progress in this direction. To begin with, Jiang et al. (2017) introduces a generic complexity notion—Bellman rank, which can be proved small for many RL problems including linear MDPs (Jin et al., 2020), reactive POMDPs (Krishnamurthy et al., 2016), etc. Jiang et al. (2017) further propose an hypothesis elimination-based algorithm—Olive for sample-efficient learning of problems with low Bellman rank. On the other hand, recent work by Wang et al. (2020) considers general function approximation with low Eluder dimension (Russo and Van Roy, 2013), and designs a UCB-style algorithm with regret guarantee. Noticeably, generalized linear MDPs (Wang et al., 2019) and kernel MDPs (see Appendix B) are subclasses of low Eluder dimension problems, but not low Bellman rank.

In this paper, we make the following three contributions.

We introduce a new complexity measure for RL—Bellman Eluder (BE) dimension. We prove that the family of RL problems of low BE dimension is remarkably rich, which subsumes both low Bellman rank problems and low Eluder dimension problems—two arguably most generic tractable function classes so far in the literature (see Figure 2). The family of low BE dimension further includes new problems such as kernel reactive POMDPs (see Appendix B) which were not known to be sample-efficiently learnable.

We design a new optimization-based algorithm—Golf, which provably learns near-optimal policies of low BE dimension problems in a number of samples that is polynomial in all relevant parameters, but independent of the size of state-action space. Our regret or sample complexity guarantees match Zanette et al. (2020a) which is minimax optimal when specified to the linear setting. Our rates further improve upon Jiang et al. (2017); Wang et al. (2020) in low Bellman rank and low Eluder dimension settings, respectively.

We reanalyze the hypothesis elimination based algorithm—Olive proposed in Jiang et al. (2017). We show it can also learn RL problems with low BE dimension sample-efficiently, under slightly weaker assumptions but with worse sample complexity comparing to Golf.

This section reviews prior theoretical works on RL, under Markov Decision Process (MDP) models.

We remark that there has been a long line of research on function approximation in the batch RL setting (see, e.g., Szepesvári and Munos, 2005; Munos and Szepesvári, 2008; Chen and Jiang, 2019; Xie and Jiang, 2020). In this setting, agents are provided with exploratory data or simulator, so that they do not need to explicitly address the challenge of exploration. In this paper, we do not make such assumption, and attack the exploration problem directly. In the following we focus exclusively on the RL results in the general setting where exploration is required.

Beyond the linear setting, there is a flurry line of research studying RL with general function approximation (see, e.g., Osband and Van Roy, 2014; Jiang et al., 2017; Sun et al., 2019; Dong et al., 2020; Wang et al., 2020; Yang et al., 2020; Foster et al., 2020). Among them, Jiang et al. (2017) and Wang et al. (2020) are the closest to our work.

Jiang et al. (2017) propose a complexity measure named Bellman rank and design an algorithm Olive with PAC guarantees for problems with low Bellman rank. We note that low Bellman rank is a special case of low BE dimension. When specialized to the low Bellman rank setting, our result for Olive exactly matches the guarantee in Jiang et al. (2017). Our result for Golf requires an additional completeness assumption, but provides sharper sample complexity guarantee.

Wang et al. (2020) propose a UCB-type algorithm with a regret guarantee under the assumption that the function class has a low eluder dimension. Again, we will show that low Eluder dimension is a special case of low BE dimension. Comparing to Wang et al. (2020), our algorithm Golf works under a weaker completeness assumption, with a better regret guarantee.

Concurrent to this work, Du et al. (2021) propose a new general tractable class of RL problems—bilinear class with low effective dimension (also known as low critical information gain in Du et al. (2021)). We comment on the similarities and differences between two works as follows.

In terms of algorithms, both Algorithm 2 in this paper and the algorithm proposed in Du et al. (2021) are based on Olive originally proposed in Jiang et al. (2017). The two algorithms share similar guarantees in terms of assumptions and complexity results. More importantly, our work further develops a new type of algorithm for general function approximation—Golf, a natural and clean algorithm which can be viewed as an optimistic version of classical algorithm—Fitted Q-Iteration (Szepesvári, 2010). Golf gives much sharper sample complexity guarantees compared to Du et al. (2021) for various settings, and is minimax-optimal when applied to the linear setting (Zanette et al., 2020a).

In terms of richness of new classes identified, it depends on (a) what structure of MDP the complexity measures are applied to, and (b) what complexity measures are used. For (a), BE dimension applies to the Bellman error, while the bilinear class allows general surrogate losses of the Bellman error. For (b), this paper uses Eluder dimension while Du et al. (2021) uses effective dimension. It can be shown that low effective dimension always implies low Eluder dimension (see Appendix B.2). In short, Du et al. (2021) is more general in (a), while our work is more general in (b). As a result, neither work fully captures the other.

Preliminaries

There exists an optimal policy π⋆\pi^{\star}, which gives the optimal value function for all states (Puterman, 2014), in the sense, Vhπ⋆(s)=sup⁡πVhπ(s)V^{\pi^{\star}}_{h}(s)=\sup_{\pi}V^{\pi}_{h}(s) for all h∈[H]h\in[H] and s∈Ss\in\mathcal{S}. For notational simplicity, we abbreviate Vπ⋆V^{\pi^{\star}} as V⋆V^{\star}. We similarly define the optimal QQ-value function as Q⋆Q^{\star}. Recall that Q⋆Q^{\star} satisfies the Bellman optimality equation:

for all (s,a,h)∈S×A×[H](s,a,h)\in\mathcal{S}\times\mathcal{A}\times[H]. We also call Th\mathcal{T}_{h} the Bellman operator at step hh.

We say a policy π\pi is ϵ\epsilon-optimal if V1π(s1)≥V1⋆(s1)−ϵV^{\pi}_{1}(s_{1})\geq V^{\star}_{1}(s_{1})-\epsilon. Suppose an agent interacts with the environment for KK episodes. Denote by πk\pi^{k} the policy the agent follows in episode k∈[K]k\in[K]. The (accumulative) regret is defined as

The objective of reinforcement learning is to find an ϵ\epsilon-optimal policy within a small number of interactions or to achieve sublinear regret.

1 Function approximation

In this paper, we consider reinforcement learning with value function approximation. Formally, the learner is given a function class F=F1×⋯×FH\mathcal{F}=\mathcal{F}_{1}\times\cdots\times\mathcal{F}_{H}, where Fh⊆(S×A→)\mathcal{F}_{h}\subseteq(\mathcal{S}\times\mathcal{A}\rightarrow) offers a set of candidate functions to approximate Qh⋆Q^{\star}_{h}—the optimal QQ-value function at step hh. Since no reward is collected in the (H+1)th(H+1)^{\text{th}} steps, we always set fH+1=0f_{H+1}=0.

Reinforcement learning with function approximation in general is extremely challenging without further assumptions (see, e.g., hardness results in Krishnamurthy et al. (2016); Weisz et al. (2020)). Below, we present two assumptions about function approximation that are commonly adopted in the literature.

Qh⋆∈FhQ^{\star}_{h}\in\mathcal{F}_{h} for all h∈[H]h\in[H].

Realizability requires the function class is well-specified, i.e., function class F\mathcal{F} in fact contains the optimal QQ-value function Q⋆Q^{\star} with no approximation error.

ThFh+1⊆Fh\mathcal{T}_{h}\mathcal{F}_{h+1}\subseteq\mathcal{F}_{h} for all h∈[H]h\in[H].

Note ThFh+1\mathcal{T}_{h}\mathcal{F}_{h+1} is defined as {Thfh+1:fh+1∈Fh+1}\{\mathcal{T}_{h}f_{h+1}:f_{h+1}\in\mathcal{F}_{h+1}\}. Completeness requires the function class F\mathcal{F} to be closed under the Bellman operator.

When function class F\mathcal{F} has finite elements, we can use its cardinality ∣F∣|\mathcal{F}| to measure the “size” of function class F\mathcal{F}. When addressing function classes with infinite elements, we need a notion similar to cardinality. We use the standard ϵ\epsilon-covering number.

The ϵ\epsilon-covering number of a set V\mathcal{V} under metric ρ\rho, denoted as N(V,ϵ,ρ)\mathcal{N}(\mathcal{V},\epsilon,\rho), is the minimum integer nn such that there exists a subset Vo⊂V\mathcal{V}_{o}\subset\mathcal{V} with ∣Vo∣=n|\mathcal{V}_{o}|=n, and for any x∈Vx\in\mathcal{V}, there exists y∈Voy\in\mathcal{V}_{o} such that ρ(x,y)≤ϵ\rho(x,y)\leq\epsilon.

We refer readers to standard textbooks (see, e.g., Wainwright, 2019) for further properties of covering number. In this paper, we will always apply the covering number on function class F=F1×⋯×FH\mathcal{F}=\mathcal{F}_{1}\times\cdots\times\mathcal{F}_{H}, and use metric ρ(f,g)=max⁡h∥fh−gh∥∞\rho(f,g)=\max_{h}\|f_{h}-g_{h}\|_{\infty}. For notational simplicity, we omit the metric dependence and denote the covering number as NF(ϵ)\mathcal{N}_{\mathcal{F}}(\epsilon).

2 Eluder dimension

One class of functions highly related to this paper is the function class of low Eluder dimension (Russo and Van Roy, 2013).

Let G\mathcal{G} be a function class defined on X\mathcal{X}, and zz,x1,x2x_{1},x_{2} ,…\ldots,xnx_{n}∈X\in\mathcal{X}. We say zz is ϵ\epsilon-independent of {x1,x2,…,xn}\{x_{1},x_{2},\ldots,x_{n}\} with respect to G\mathcal{G} if there exist g1,g2∈Gg_{1},g_{2}\in\mathcal{G} such that ∑i=1n(g1(xi)−g2(xi))2≤ϵ\sqrt{\sum_{i=1}^{n}(g_{1}(x_{i})-g_{2}(x_{i}))^{2}}\leq\epsilon, but g1(z)−g2(z)>ϵg_{1}(z)-g_{2}(z)>\epsilon.

Intuitively, zz is independent of {x1,x2,…,xn}\{x_{1},x_{2},\ldots,x_{n}\} means if that there exist two “certifying” functions g1g_{1} and g2g_{2}, so that their function values are similar at all points {xi}i=1n\{x_{i}\}_{i=1}^{n}, but the values are rather different at zz. This independence relation naturally induces the following complexity measure.

Recall that a vector space has dimension dd if and only if dd is the length of the longest sequence of elements {x1,…,xd}\{x_{1},\ldots,x_{d}\} such that xix_{i} is linearly independent of {x1,…,xi−1}\{x_{1},\ldots,x_{i-1}\} for all i∈[n]i\in[n]. Eluder dimension generalizes the linear independence relation in standard vector space to capture both nonlinear independence and approximate independence, and thus is more general.

Bellman Eluder Dimension

In this section, we introduce our new complexity measure—Bellman Eluder (BE) dimension. As one of its most important properties, we will show that the family of problems with low BE dimension contains the two existing most general tractable problem classes in RL—problems with low Bellman rank, and problems with low Eluder dimension (see Figure 2).

We start by developing a new distributional version of the original Eluder dimension proposed by Russo and Van Roy (2013) (see Section 2.2 for more details).

Definition 6 and Definition 7 generalize Definition 4 and Definition 5 to their distributional versions, by inspecting the expected values of functions instead of the function values at points, and by restricting the candidate distributions to a certain family Π\Pi. The main advantage of this generalization is exactly in the statistical setting, where estimating the expected values of functions with respect to a certain distribution family can be easier than estimating function values at each point (which is the case for RL in large state spaces).

Now we are ready to introduce the key notion in this paper—Bellman Eluder dimension.

Let (I−Th)F:={fh−Thfh+1: f∈F}(I-\mathcal{T}_{h})\mathcal{F}:=\{f_{h}-\mathcal{T}_{h}f_{h+1}:\ f\in\mathcal{F}\} be the set of Bellman residuals induced by F\mathcal{F} at step hh, and Π={Πh}h=1H\Pi=\{\Pi_{h}\}_{h=1}^{H} be a collection of HH probability measure families over S×A\mathcal{S}\times\mathcal{A}. The ϵ\epsilon-Bellman Eluder of F\mathcal{F} with respect to Π\Pi is defined as

Definition 8 is based on the Bellman residuals functions that take a state-action pair as input, thus referred to as Q-type BE dimension. Alternatively, one can define V-type BE dimension using a different set of Bellman residual functions that depend on states only (see Appendix A). We focus on Q-type in the main paper, and present the results for V-type in Appendix A. Both variants are important, and they include different sets of examples (see Appendix A, B).

In short, Bellman Eluder dimension is simply the distributional Eluder dimension on the function class of Bellman residuals, maximizing over all steps. In addition to function class F\mathcal{F} and error ϵ\epsilon, Bellman Eluder dimension also depends on the choice of distribution family Π\Pi. For the purpose of this paper, we focus on the following two specific choices.

DΔ:={DΔ,h}h∈[H]\mathcal{D}_{\Delta}:=\{\mathcal{D}_{\Delta,h}\}_{h\in[H]}, where DΔ,h={δ(s,a)(⋅)∣s∈S,a∈A}\mathcal{D}_{\Delta,h}=\{\delta_{(s,a)}(\cdot)|s\in\mathcal{S},a\in\mathcal{A}\}, i.e., the collections of probability measures that put measure 11 on a single state-action pair.

Known tractable problem classes in RL include but not limited to tabular MDPs, linear MDPs (Jin et al., 2020), linear quadratic regulators (Anderson and Moore, 2007), generalized linear MDPs (Wang et al., 2019), kernel MDPs (Appendix B), reactive POMDPs (Krishnamurthy et al., 2016), reactive PSRs (Singh et al., 2012; Jiang et al., 2017). There are two existing generic tractable problem classes that jointly contain all the examples mentioned above: the set of RL problems with low Bellman rank, and the set of RL problems with low Eluder dimension. However, for these two generic sets, one does not contain the other.

In this section, we will show that our new class of RL problems with low BE dimension in fact contains both low Bellman rank problems and low Eluder dimension problems (see Figure 2). That is, our new problem class covers almost all existing tractable RL problems, and to our best knowledge, is the most generic tractable function class so far.

The seminal paper by Jiang et al. (2017) proposes the complexity measure—Bellman rank, and shows that a majority of RL examples mentioned above have low Bellman rank. They also propose a hypothesis elimination based algorithm—OLIVE, that learns any low Bellman rank problem within polynomial samples. Formally,

where ∥ϕh(f)∥2⋅∥ψh(f′)∥2≤ζ\|\phi_{h}(f)\|_{2}\cdot\|\psi_{h}(f^{\prime})\|_{2}\leq\zeta, and ζ\zeta is the normalization parameter.

We remark that similar to Bellman Eluder dimension, Bellman rank also has two variants—Q-type (Definition 10) and V-type (see Appendix A). Recall that we use πf\pi_{f} to denote the greedy policy induced by value function ff. Intuitively, a problem with Bellman rank says its average Bellman error can be decomposed as the inner product of two dd-dimensional vectors, where one vector depends on the roll-in policy πf′\pi_{f^{\prime}}, while the other vector depends on the value function ff. At a high level, it claims that the average Bellman error has a linear inner product structure.

If an MDP with function class F\mathcal{F} has Bellman rank dd with normalization parameter ζ\zeta, then

Proposition 11 claims that problems with low Bellman rank also have low BE dimension, with a small multiplicative factor that is only logarithmic in ζ\zeta and ϵ−1\epsilon^{-1}.

Wang et al. (2020) study the setting where the function class F\mathcal{F} has low Eluder dimension, which includes generalized linear functions. They prove that, when the completeness assumption is satisfied,Wang et al. (2020) assume for any function gg (not necessarily in F\mathcal{F}), Tg∈F\mathcal{T}g\in\mathcal{F}, which is stronger than the completeness assumption presented in this paper (Assumption 2). low Eluder dimension problems can be efficiently learned in polynomial samples.

Assume F\mathcal{F} satisfies completeness (Assumption 2). Then for all ϵ>0\epsilon>0,

Proposition 12 asserts that problems with low Eluder dimension also have low BE dimension, which is a natural consequence of completeness and the fact that Eluder dimension is a special case of distributional Eluder dimension.

Finally, we show that the set of low BE dimension problems is strictly larger than the union of low Eluder dimension problems and low Bellman rank problems.

In particular, the family of low BE dimension includes new examples such as kernel reactive POMDPs (Appendix B), which can not be addressed by the framework of either Bellman rank or Eluder dimension.

Algorithm Golf

Section 3 defines a new class of RL problems with low BE dimension, and shows that the new class is rich, containing almost all the existing known tractable RL problems so far. In this section, we propose a new simple optimization-based algorithm—Global Optimism based on Local Fitting (Golf). We prove that, low BE dimension problems are indeed tractable, i.e., Golf can find near-optimal policies for these problems within a polynomial number of samples.

At a high level, Golf can be viewed as an optimistic version of the classic algorithm—Fitted Q-Iteration (FQI) (Szepesvári, 2010). Golf generalizes the Eleanor algorithm (Zanette et al., 2020a) from the special linear setting to the general setting with arbitrary function classes.

The pseudocode of Golf is given in Algorithm 1. Golf initializes datasets {Dh}h=1H\{\mathcal{D}_{h}\}_{h=1}^{H} to be empty sets, and confidence set B0\mathcal{B}^{0} to be F\mathcal{F}. Then, in each episode, Golf performs two main steps:

Line 3 (Optimistic planning): compute the most optimistic value function fkf^{k} from the confidence set Bk−1\mathcal{B}^{k-1} constructed in the last episode , and choose πk\pi^{k} to be its greedy policy.

Line 4-6 (Execute the policy and update the confidence set): execute policy πk\pi^{k} for one episode, collect data, and update the confidence set using the new data.

At the heart of Golf is the way we construct the confidence set Bk\mathcal{B}^{k}. For each h∈[H]h\in[H], Golf maintains a local regression constraint using the collected transition data Dh\mathcal{D}_{h} at this step

We remark that in general, the optimization problem in Line 3 of Golf can not be solved computationally efficiently.

In this subsection, we present the theoretical guarantees for Golf, which hold under Assumption 1 (realizability) and the following generalized completeness assumption introduced in Antos et al. (2008); Chen and Jiang (2019). Let G=G1×⋯×GH\mathcal{G}=\mathcal{G}_{1}\times\dots\times\mathcal{G}_{H} be an auxiliary function class provided to the learner where each Gh⊆(S×A→)\mathcal{G}_{h}\subseteq(\mathcal{S}\times\mathcal{A}\rightarrow). Generalized completeness requires the auxiliary function class G\mathcal{G} to be rich enough so that applying Bellman operator to any function in the primary function class F\mathcal{F} will end up in G\mathcal{G}.

ThFh+1⊆Gh\mathcal{T}_{h}\mathcal{F}_{h+1}\subseteq\mathcal{G}_{h} for all h∈[H]h\in[H].

If we choose G=F\mathcal{G}=\mathcal{F}, then Assumption 14 is equivalent to the standard completeness assumption (Assumption 2). Now, we are ready to present the main theorem for Golf.

Theorem 15 asserts that, under the realizability and completeness assumptions, the general class of RL problems with low BE dimension is indeed tractable: there exists an algorithm (Golf) that can achieve K\sqrt{K} regret, whose multiplicative factor depends only polynomially on the horizon of MDP HH, the BE dimension dd, and the log covering number of the two function classes. Most importantly, the regret is independent of the number of the states, which is crucial for dealing with practical RL problems with function approximation, where the state spaces are typically exponentially large.

By the standard online-to-batch argument, we also derive the sample complexity of Golf.

Under Assumption 1, 2, there exists an absolute constant cc such that for any ϵ∈(0,1]\epsilon\in(0,1], if we choose β=clog⁡[NF∪G(ϵ2/(dH2))⋅HK]\beta=c\log[\mathcal{N}_{\mathcal{F}\cup\mathcal{G}}(\epsilon^{2}/(dH^{2}))\cdot HK] in Golf, then the output policy πout\pi^{\text{out}} is O(ϵ)\mathcal{O}(\epsilon)-optimal with probability at least 1/21/2, if

2 Key ideas in proving Theorem 15

In this subsection, we present a brief proof sketch for the regret bound of Golf. We defer all the details to Appendix D. For simplicity, we only discuss the case of choosing DF\mathcal{D}_{\mathcal{F}} as the distribution family Π\Pi in the definition of Bellman Eluder dimension (Definition 8). The proof for using DΔ\mathcal{D}_{\Delta} as the distribution family follows from similar arguments.

Our proof strategy consists of three main steps.

We firstly show that, with high probability, the optimal value function Q⋆Q^{\star} indeed lies in the confidence set Bk\mathcal{B}^{k} for all k∈[K]k\in[K] (Lemma 40 in Appendix D.1), which is a natural consequence of martingale concentration and the properties of the confidence set we designed. Because of Q⋆∈BkQ^{\star}\in\mathcal{B}^{k}, the optimistic planning step (Line 3) in Golf guarantees that V1⋆(s1)≤max⁡af1k(s1,a)V_{1}^{\star}(s_{1})\leq\max_{a}f_{1}^{k}(s_{1},a) for every episode kk. This optimism allows the following upper bound on regret

Recall that our construction of the confidence set in Line 6 of Golf forces fkf^{k} computed in episode kk to have a small loss LDh\mathcal{L}_{\mathcal{D}_{h}}, which is a proxy for empirical squared Bellman error under data Dh\mathcal{D}_{h}. Since data Dh\mathcal{D}_{h} in episode kk are collected by executing each πi\pi^{i} for one episode for all i<ki<k, by standard martingale concentration arguments and the completeness assumption, we can show that with high probability (Lemma 39 in Appendix D.1)

So far, we want to upper-bound (4), while we know (5). We note that the RHS of (4) is very similar to the LHS of (5), except that the latter is the squared Bellman error, and the expectation is taken under previous policy πi\pi^{i} for i<ki<k. To establish the connection between these two, it turns out that we need the Bellman Eluder dimension to be small. Concretely, we have the following lemma.

Lemma 17 is a simplification of Lemma 41 in Appendix D, which is a modification of Lemma 2 in Russo and Van Roy (2013). Intuitively, Lemma 17 can be viewed as an analogue of the pigeon-hole principle for DE dimension. Choose Φ\Phi to be the function class of Bellman residuals, and μk\mu_{k} to be the distribution under policy πk\pi^{k}, we finish the proof.

Algorithm Olive

In this section, we analyze algorithm Olive proposed in Jiang et al. (2017), which is based on hypothesis elimination. We prove that, despite Olive was originally designed for solving low Bellman rank problems, it naturally learns RL problems with low BE dimension as well.

The main advantage of Olive comparing to Golf is that Olive does not require the completeness assumption. In return, Olive has several disadvantages including worse sample complexity, and no sublinear regret.

The pseudocode of Olive is presented in Algorithm 2, where in each phase the algorithm contains the following three main components:

Line 3 (Optimistic planning): compute the most optimistic value function fkf^{k} from the candidate set Bk−1\mathcal{B}^{k-1}, and choose πk\pi^{k} to be its greedy policy.

Line 4-7 (Estimate Bellman error): estimate the Bellman error of fkf^{k} under πk\pi^{k}; output πk\pi^{k} if the estimated error is small, and otherwise activate the elimination procedure.

Line 8-11 (Eliminate functions with large Bellman error): pick a step t∈[H]t\in[H] where the estimated Bellman error exceeds the activation threshold ζact\zeta_{\text{act}}; eliminate all functions in the candidate set whose Bellman error at step tt exceeds the elimination threshold ζelim\zeta_{\text{elim}}.

We comment that Olive is computationally inefficient in general because implementing the optimistic planning part requires solving an NP-hard problem in the worst case (Theorem 4, Dann et al., 2018).

Now, we are ready to present the theoretical guarantee for Olive.

Under Assumption 1, there exists absolute constant cc such that if we choose

Comparing to Golf, the major advantage of Olive is that Olive does not require completeness assumption (Assumption 2) to work. Nevertheless, Olive only learns the RL problems that have low BE dimension with respect to distribution family DF\mathcal{D}_{\mathcal{F}}, not DΔ\mathcal{D}_{\Delta}. The sample complexity of Olive is also worse than the sample complexity Golf (as presented in Corollary 16).

Finally, we comment that interpreting Olive through the lens of BE dimension, makes the proof of Theorem 18 surprisingly natural, which follows from the definition of BE dimension along with some standard concentration arguments.

2 Interpret Olive with BE dimension

In this subsection, we explain the key idea behind Olive through the lens of BE dimension.

To provide a clean high-level view, let us assume all estimates are accurate for now, and the activation threshold ζact\zeta_{\text{act}} and the elimination threshold ζelim\zeta_{\text{elim}} satisfy ζelimd≤ζact\zeta_{\text{elim}}\sqrt{d}\leq\zeta_{\text{act}}, where d=\text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F}},\zeta_{\text{act}}\big{)}. Since E(Q⋆,π,h)≡0\mathcal{E}(Q^{\star},\pi,h)\equiv 0 for any (π,h)(\pi,h), Q⋆Q^{\star} is always in the candidate set. Therefore, the optimistic planning (Line 3) guarantees max⁡af1k(s1,a)≥V1⋆(s1)\max_{a}f^{k}_{1}(s_{1},a)\geq V^{\star}_{1}(s_{1}).

If the Bellman error summation is small (Line 6) i.e., ∑h=1HE(fk,πk,h)≤Hζact\sum_{h=1}^{H}\mathcal{E}(f^{k},\pi^{k},h)\leq H\zeta_{\rm act}, then by simple policy loss decomposition (e.g., Lemma 1 in Jiang et al. (2017)) and the optimism of fkf^{k}, πk\pi^{k} is HζactH\zeta_{\rm act}-optimal. Otherwise, the elimination procedure is activated at some step tt satisfying E(fk,πk,t)≥ζact\mathcal{E}(f^{k},\pi^{k},t)\geq\zeta_{\rm act} and all ff with E(f,πk,t)≥ζelim\mathcal{E}(f,\pi^{k},t)\geq\zeta_{\rm elim} get eliminated. The key observation here is:

If the elimination procedure is activated at step hh in phase k1<…<kmk_{1}<\ldots<k_{m}, then the roll-in distribution of πk1,…,πkm\pi^{k_{1}},\ldots,\pi^{k_{m}} at step hh is an ζact\zeta_{\text{act}}-independent sequence with respect to the class of Bellman residuals (I−Th)F({I}-\mathcal{T}_{h})\mathcal{F} at step hh. Therefore, we should have m≤dm\leq d.

For the sake of contradiction, assume m≥d+1m\geq d+1. Let us prove πk1,…,πkd+1\pi^{k_{1}},\ldots,\pi^{k_{d+1}} is a ζact\zeta_{\text{act}}-independent sequence. Firstly, for any j∈[d+1]j\in[d+1], since fkjf^{k_{j}} is not eliminated in phase k1,…,kj−1k_{1},\ldots,k_{j-1}, we have

Besides, because the elimination procedure is activated at step hh in phase kjk_{j}, we have E(fkj,πkj,h)≥ζact\mathcal{E}(f^{k_{j}},\pi^{k_{j}},h)\geq\zeta_{\text{act}}. By Definition 6, we obtain that the roll-in distribution of πkj\pi^{k_{j}} at step hh is ζact\zeta_{\text{act}}-independent of those of πk1,…,πkj−1\pi^{k_{1}},\ldots,\pi^{k_{j-1}} for j∈[d+1]j\in[d+1], which contradicts the definition d=\text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F}},\zeta_{\text{act}}\big{)}. As a result, the elimination procedure can happen at most dd times for each h∈[H]h\in[H], which means the algorithm should terminate within dH+1dH+1 phases and output an HζactH\zeta_{\rm act}-optimal policy.

Conclusion

In this paper, we propose a new complexity measure—Bellman Eluder (BE) dimension for reinforcement learning with function approximation. Our new complexity measure identifies a new rich class of RL problems that subsumes a majority of existing tractable problem classes in RL. We design a new optimization-based algorithm—Golf, and provide a new analysis for algorithm Olive. Both algorithms show that the new rich class of RL problems we identified in fact can be learned within a polynomial number of samples. We hope our results shed light on the future research in finding the minimal structural assumptions that allow sample-efficient reinforcement learning.

References

Appendix A V-type BE Dimension and Algorithms

The definition of Bellman rank, mentioned in Definition 10 and Proposition 11, is slightly different from the original definition in Jiang et al. (2017). We denote the former by Q-type and the latter (the original definition) by V-type. In this section we introduce V-type BE Dimension as well as V-type variants of Golf and Olive. We show that similar results also hold for the V-type variants.

where ∥ϕh(f)∥2⋅∥ψh(f′)∥2≤ζ\|\phi_{h}(f)\|_{2}\cdot\|\psi_{h}(f^{\prime})\|_{2}\leq\zeta, and ζ\zeta is the normalization parameter.

The only difference between these two definitions is how we sample aha_{h}. In the Q-type definition we have ah∼πf′a_{h}\sim\pi_{f^{\prime}} (the roll-in policy), however in the V-type definition we have ah∼πfa_{h}\sim\pi_{f} (the greedy policy of the function evaluated in the Bellman error) instead. It is worth mentioning that the Q-type and V-type bellman error coincide whenever f=f′f=f^{\prime}; namely, E(f,πf,h)=EV(f,πf,h)\mathcal{E}(f,\pi_{f},h)=\mathcal{E}_{\textrm{V}}(f,\pi_{f},h) for all f∈Ff\in\mathcal{F}.

We can similarly define the V-type variant of BE Dimension. At a high level, V-type BE dimension \text{\dim_{\rm{VBE}}}(\mathcal{F},\Pi,\epsilon) measures the complexity of finding a function in F\mathcal{F} such that its expected Bellman error under any state distribution in Π\Pi is smaller than ϵ\epsilon.

Let Π={Πh}h=1H\Pi=\{\Pi_{h}\}_{h=1}^{H} be a collection of HH probability measure families over S\mathcal{S}. The V-type ϵ\epsilon-BE dimension of F\mathcal{F} with respect to Π\Pi is defined as

With slight abuse of notation, denote by DF,h\mathcal{D}_{\mathcal{F},h} the collection of all probability measures over S\mathcal{S} at the hthh^{\rm th} step, which can be generated by rolling in with a greedy policy πf\pi_{f} with f∈Ff\in\mathcal{F}. Similar to Proposition 11, the following proposition claims that the V-type BE dimension of F\mathcal{F} with respect to DF:={DF,h}h∈[H]\mathcal{D}_{\mathcal{F}}:=\{\mathcal{D}_{\mathcal{F},h}\}_{h\in[H]} is always upper bounded by its V-type Bellman rank up to some logarithmic factor.

If an MDP with function class F\mathcal{F} has V-type Bellman rank dd with normalization parameter ζ\zeta, then

The proof of Proposition 21 is almost the same as that of Proposition 11 in Appendix C.1. We omit it here since the only modification is to replace Q-type Bellman rank with its V-type variant wherever it is used.

A.1 Algorithm V-type Golf

In this section we describe the V-type variant of Golf. The pseudocode is provided in Algorithm 3. Its only difference from the Q-type analogue is in Line 5: for each h∈[H]h\in[H], we roll in with policy πk\pi^{k} to sample shs_{h}, and then instead of continuing following πk\pi^{k} we take random action at step hh.

Now we present the theoretical guarantee for Algorithm 3. Its proof is almost the same as that of Corollary 16 and can be found in appendix F.2.

Under Assumption 1, 14, there exists an absolute constant cc such that for any given ϵ>0\epsilon>0, if we choose β=clog⁡[KHNF∪G(ϵ2/(d∣A∣H2))]\beta=c\log[KH\mathcal{N}_{\mathcal{F}\cup\mathcal{G}}(\epsilon^{2}/(d|\mathcal{A}|H^{2}))], then with probability at least 0.990.99, πout\pi^{\rm out} is O(ϵ)\mathcal{O}(\epsilon)-optimal, if

where d=\min_{\Pi\in\{\mathcal{D}_{\Delta},\mathcal{D}_{\mathcal{F}}\}}\text{\dim_{\rm{VBE}}}\big{(}\mathcal{F},\Pi,{\epsilon}/{H}\big{)}.

Compared with Theorem 23 (V-type Olive), Theorem 22 (V-type Golf) has the following two advantages.

The sample complexity in Theorem 22 depends linearly on the V-type BE-dimension while the dependence in Theorem 23 is quadratic.

Theorem 22 applies to RL problems of finite V-type BE dimension with respect to either DF\mathcal{D}_{\mathcal{F}} or DΔ\mathcal{D}_{\Delta}. In comparison, Theorem 23 provides no guarantee for the DΔ\mathcal{D}_{\Delta} case.

Finally, we comment that for the low Q-type BE dimension family, we provide both regret and sample complexity guarantees while for the low V-type counterpart, we only derive sample complexity result due to the need of taking actions uniformly at random in Algorithm 4 and Algorithm 3. Dong et al. (2020) propose an algorithm that can achieve T\sqrt{T}-regret for problems of low V-type Bellman rank. It is an interesting open problem to study whether similar techniques can be adapted to the low V-type BE dimension setting so that we can also obtain T\sqrt{T}-regret.

A.2 Algorithm V-type Olive

In this section, we describe the original Olive (i.e., V-type Olive) proposed by Jiang et al. (2017), and its theoretical guarantee in terms of V-type BE dimension.

The pseudocode is provided in Algorithm 4. Its only difference from Algorithm 2 is Line 9-10: note that V-type Bellman rank needs the action at step tt to be greedy with respect to the function ff instead of being picked by the roll-in policy πk\pi^{k}, so we choose action ata_{t} uniformly at random and use the importance-weighted estimator to estimate the Bellman error for each ff.

We have the following similar theoretical guarantee for Algorithm 4. Its proof is almost the same as that of Theorem 18 and can be found in Appendix F.1.

Assume realizability (Assumption 1) holds and F\mathcal{F} is finite. There exists absolute constant cc such that if we choose

where d=\text{\dim_{\rm{VBE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F}},{\epsilon}/{H}\big{)} and ι=clog⁡[Hd∣A∣/δϵ]\iota=c\log[Hd|\mathcal{A}|/\delta\epsilon], then with probability at least 1−δ1-\delta, Algorithm 4 will output an O(ϵ)\mathcal{O}(\epsilon)-optimal policy using at most O(H3d2∣A∣log⁡(∣F∣)⋅ι/ϵ2)\mathcal{O}({H^{3}d^{2}|\mathcal{A}|\log(|\mathcal{F}|)\cdot\iota}/{\epsilon^{2}}) episodes.

A.3 Discussions on Q-type versus V-type

In this paper, we have introduced two complementary definitions of Bellman rank: Q-type Bellman rank and V-type Bellman rank. And we prove they are upper bounds for Q-type and V-type BE dimension, respectively. Here, we want to emphasize that both Q-type and V-type Bellman rank have their own advantages. Specifically, the Q-type version has the following strengths.

There are natural RL problems whose Q-type Bellman rank is small, while their V-type Bellman rank is very large, e.g., the linear function approximation setting studied in in Zanette et al. (2020a).

All the existing sample complexity results for the V-type cases scale linearly with respect to the number of actions, while those for the Q-type cases are independent of the number of actions. Therefore, for control problems such as Linear Quadratic Regulator (LQR), which has both small Q-type and V-type Bellman rank but infinite number of actions, the notion of Q-type is more suitable.

On the other hand, there are problems that naturally induce low V-type Bellman rank but have large Q-type Bellman rank, e.g., reactive POMDPs.

Appendix B Examples

In this section, we introduce examples with low BE dimension. We will start with linear models and their variants, then introduce kernel MDPs, and finally present kernel reactive POMDPs which have low BE dimension, but possibly large Bellman rank and large Eluder dimension. All the proofs for this section are deferred to Appendix G.

In this subsection, we review problems with linear structure in ascending order of generality. We start with the definition of linear MDPs (e.g., Jin et al., 2020).

We remark that existing works (e.g., Jin et al., 2020) usually assumxe ϕ\phi is known to the learner. Next, we review a more general setting—the linear completeness setting (e.g., Zanette et al., 2020a).

We make three comments here. Firstly, we note that linear MDPs automatically satisfy both linear realizability and linear completeness assumptions, therefore are special cases of the linear completeness setting with the same ambient dimension. Secondly, only assuming linear realizability but without completeness is insufficient for sample-efficient learning (see exponential lower bounds in Weisz et al. (2020)). Finally, as mentioned in Appendix A.3, though MDPs in the linear completeness setting have low Q-type Bellman rank, their V-type Bellman rank can be arbitrarily large.

Finally, we review the generalized linear completeness setting (Wang et al., 2019), which generalizes the linear completeness setting by adding nonlinearity.

One can directly verify by definition that when we choose link function σ(x)=x\sigma(x)=x in the generalized linear completeness setting, it will reduce to the standard linear version. Besides, it is known (Russo and Van Roy, 2013) the generalized linear completeness setting is a special case of low Eluder dimension, thus belonging to the low BE dimension family. Finally, we comment that despite the linear completeness setting belongs to the low Bellman rank family, the generalized version does not because of the possible nonlinearity of the link function.

B.2 Effective dimension and kernel MDPs

In this subsection, we introduce the notion of effective dimension. With this notion, we prove a useful proposition that any linear kernel function class with low effective dimension also has low Eluder dimension. This proposition directly implies that kernel MDPs are special cases of low Eluder dimension, which are also special cases of low BE dimension.

We start with the definition of effective dimension for a set, which is also known as critical information gain in Du et al. (2021).

The ϵ\epsilon-effective dimension of a set X\mathcal{X} is the minimum integer deff(X,ϵ)=nd_{{\rm eff}}(\mathcal{X},\epsilon)=n such that

Based on this definition, we can also define the effective dimension of a function class.

Given a function class F\mathcal{F} defined on X\mathcal{X}, its ϵ\epsilon-effective dimension deff(F,ϵ)=nd_{{\rm eff}}(\mathcal{F},\epsilon)=n is the minimum integer nn such that there exists a separable Hilbert space H\mathcal{H} and a mapping ϕ:X→H\phi:\mathcal{X}\rightarrow\mathcal{H} so that

for every f∈Ff\in\mathcal{F} there exists θf∈BH(1)\theta_{f}\in B_{\mathcal{H}}(1) satisfying f(x)=⟨θf,ϕ(x)⟩Hf(x)=\langle\theta_{f},\phi(x)\rangle_{\mathcal{H}} for all x∈Xx\in\mathcal{X},

deff(ϕ(X),ϵ)=nd_{{\rm eff}}(\phi(\mathcal{X}),\epsilon)=n where ϕ(X)={ϕ(x): x∈X}\phi(\mathcal{X})=\{\phi(x):\ x\in\mathcal{X}\}.

The following proposition shows that the Eluder dimension of any function class is always upper bounded by its effective dimension.

For any function class F\mathcal{F} and domain X\mathcal{X}, we have

On the other hand, we remark that effective dimension requires the existence of a benign linear structure in certain Hilbert spaces. In constrast, Eluder dimension does not require such conditions. Therefore, the function class of low Eluder dimension is more general than the function class of low effective dimension.

Now, we are ready to define kernel MDPs and prove it is a subclass of low Eluder dimension.

∥θhr∥H≤1\|\theta_{h}^{r}\|_{\mathcal{H}}\leq 1 and ∥ϕh(s,a)∥H≤1\|\phi_{h}(s,a)\|_{\mathcal{H}}\leq 1 for all s,as,a.

∥∑s∈SV(s)ψh(s)∥H≤1\|\sum_{s\in\mathcal{S}}\mathcal{V}(s)\psi_{h}({s})\|_{\mathcal{H}}\leq 1 for any function V:S→\mathcal{V}:\mathcal{S}\rightarrow.

dim⁡eff(Xh,ϵ)≤d(ϵ)\dim_{\rm eff}(\mathcal{X}_{h},\epsilon)\leq d(\epsilon) for all hh and ϵ\epsilon, where Xh={ϕh(s,a): (s,a)∈S×A}\mathcal{X}_{h}=\{\phi_{h}(s,a):~{}(s,a)\in\mathcal{S}\times\mathcal{A}\}.

In order to learn kernel MDPs, we need to construct a proper function class F\mathcal{F}. Formally, for each h∈[H]h\in[H], we choose Fh={ϕh(⋅,⋅)⊤θ ∣ θ∈BH(H+1−h)}\mathcal{F}_{h}=\{\phi_{h}(\cdot,\cdot)^{\top}\theta~{}\mid~{}\theta\in B_{\mathcal{H}}(H+1-h)\}. One can easily verify F\mathcal{F} satisfies both realizability and completeness by following the same arguments as in linear MDPs (Jin et al., 2020). In order to apply Golf or Olive, we also need to show it has low BE dimension and bounded log-covering number. Below, we prove in sequence that F\mathcal{F} has low Eluder dimension and low log-covering number. Therefore, kernel MDPs fall into our low BE dimension framework.

Let M\mathcal{M} be a kernel MDP of effective dimension d(ϵ)d(\epsilon), then

Proposition 31 follows directly from Proposition 29 by rescaling the parameters. Utilizing Proposition 31, we can further prove the log-covering number of F\mathcal{F} is also upper bounded by the effective dimension of the kernel MDP up to some logarithmic factor.

Let M\mathcal{M} be a kernel MDP of effective dimension d(ϵ)d(\epsilon), then

B.3 Effective Bellman rank and kernel reactive POMDPs

To begin with, we introduce the definition of effective Bellman rank and prove that it is always an upper bound for BE dimension. We will see effective Bellman rank serves as a useful tool for controlling the BE dimension of the example discussed in this section—kernel reactive POMDPs.

We start with Q-type ϵ\epsilon-effective Bellman rank which is simply the ϵ\epsilon-effective dimension of a special feature set.

The Q-type ϵ\epsilon-effective Bellman rank is the minimum integer dd so that

There exists ϕh:F→H\phi_{h}:\mathcal{F}\rightarrow\mathcal{H} and ψh:F→H\psi_{h}:\mathcal{F}\rightarrow\mathcal{H} for each h∈[H]h\in[H] where H\mathcal{H} is a separable Hilbert space, such that for any f,f′∈Ff,f^{\prime}\in\mathcal{F}, the average Bellman error

where ∥ϕh(f)∥H≤ζ\|\phi_{h}(f)\|_{\mathcal{H}}\leq\zeta, and ζ\zeta is the normalization parameter.

d=max⁡h∈[H]deff(Xh(ψ,F),ϵ/ζ)d=\max_{h\in[H]}d_{\rm eff}(\mathcal{X}_{h}(\psi,\mathcal{F}),\epsilon/\zeta) where Xh(ψ,F)={ψh(fh): fh∈Fh}\mathcal{X}_{h}(\psi,\mathcal{F})=\{\psi_{h}(f_{h}):\ f_{h}\in\mathcal{F}_{h}\}.

One can easily verify that when H\mathcal{H} is a finite-dimensional Euclidean space, the ϵ\epsilon-effective Bellman rank is always upper bounded by the original Bellman rank up to a logarithmic factor in ζ\zeta and ϵ−1\epsilon^{-1}. Moreover, the effective Bellman rank can be much smaller than the original Bellman rank if the induced feature set {Xh(ψ,F)}h∈[H]\{\mathcal{X}_{h}(\psi,\mathcal{F})\}_{h\in[H]} approximately lies in a low-dimensional linear subspace. Therefore, effective Bellman rank can be viewed as a strict generalization of the original version.

Suppose function class F\mathcal{F} has Q-type ϵ\epsilon-effective Bellman rank dd, then

Proposition 34 claims that problems with low Q-type effective Bellman rank also have low Q-type BE dimension.

We can similarly define the V-type variant of effective Bellman rank, and prove it is always an upper bound for V-type BE dimension.

The V-type ϵ\epsilon-effective Bellman rank is the minimum integer dd so that

There exists ϕh:F→H\phi_{h}:\mathcal{F}\rightarrow\mathcal{H} and ψh:F→H\psi_{h}:\mathcal{F}\rightarrow\mathcal{H} for each h∈[H]h\in[H] where H\mathcal{H} is a separable Hilbert space, such that for any f,f′∈Ff,f^{\prime}\in\mathcal{F}, the average Bellman error

where ∥ϕh(f)∥H≤ζ\|\phi_{h}(f)\|_{\mathcal{H}}\leq\zeta, and ζ\zeta is the normalization parameter.

d=max⁡h∈[H]deff(Xh(ψ,F),ϵ/ζ)d=\max_{h\in[H]}d_{\rm eff}(\mathcal{X}_{h}(\psi,\mathcal{F}),\epsilon/\zeta) where Xh(ψ,F)={ψh(fh): fh∈Fh}\mathcal{X}_{h}(\psi,\mathcal{F})=\{\psi_{h}(f_{h}):\ f_{h}\in\mathcal{F}_{h}\}.

Suppose function class F\mathcal{F} has V-type ϵ\epsilon-effective Bellman rank dd, then

The proof of Proposition 36 is almost the same as that of Proposition 34. We omit it since the only modification is to replace Q-type effective Bellman rank with its V-type variant wherever it is used.

We want to briefly comment that the majority of examples introduced in Du et al. (2021) have low effective Bellman rank. For example, low occupancy complexity, linear Q∗/V∗Q^{*}/V^{*}, linear Bellman complete and Q∗Q^{*} state aggregation have low Q-type effective Bellman rank. And the feature selection problem has low V-type Bellman rank.

A kernel reactive POMDP is a POMDP that additionally satisfies the following two conditions

(Reactiveness) The optimal action-value function Q∗Q^{*} only depends on the current observation and action, i.e., for each h∈[H]h\in[H], there exists function fh∗:O×A→f^{*}_{h}:\mathcal{O}\times\mathcal{A}\rightarrow such that for all τh=[o1,a1,r1,…,oh]\tau_{h}=[o_{1},a_{1},r_{1},\ldots,o_{h}] and aha_{h}

The following proposition shows that when a kernel reactive POMDP has low effective dimension, it also has low V-type BE dimension.

Any kernel reactive POMDP and function class F⊆(O×A→)\mathcal{F}\subseteq(\mathcal{O}\times\mathcal{A}\rightarrow) satisfy

We comment that when H\mathcal{H} approximately aligns with a low-dimensional linear subspace, the V-type effective Bellman rank in Proposition 38 will also be low. However, the Eluder dimension of F\mathcal{F} can be arbitrarily large because we basically pose no structural assumption on F\mathcal{F}. Besides, its V/Q-type original Bellman rank can also be arbitrarily large, because H\mathcal{H} may be infinite-dimensional and the observation set O\mathcal{O} may be exponentially large. If we additionally assume F\mathcal{F} satisfies realizability (f∗∈Ff^{*}\in\mathcal{F}), then we can apply V-type Olive and obtain polynomial sample-complexity guarantee.

Appendix C Proofs for BE Dimension

In this section, we provide formal proofs for the results stated in Section 3.

The proof is basically the same as that of Example 3 in Russo and Van Roy (2013) with minor modification.

By the definition of Bellman rank, this is equivalent to: for all i∈[m]i\in[m], ∑t=1i−1(⟨ϕh(gi),ψh(ft)⟩)2≤ϵ\sqrt{\sum_{t=1}^{i-1}(\langle\phi_{h}(g^{i}),\psi_{h}(f^{t})\rangle)^{2}}\leq\epsilon and ∣⟨ϕh(gi),ψh(fi)⟩∣>ϵ|\langle\phi_{h}(g^{i}),\psi_{h}(f^{i})\rangle|>\epsilon.

For notational simplicity, define xi=ϕh(gi)\mathbf{x}_{i}=\phi_{h}(g^{i}), zi=ψh(fi)\mathbf{z}_{i}=\psi_{h}(f^{i}) and Vi=∑t=1i−1ztzt⊤+ϵ2ζ⋅I\mathbf{V}_{i}=\sum_{t=1}^{i-1}\mathbf{z}_{t}\mathbf{z}_{t}^{\top}+\frac{\epsilon^{2}}{\zeta}\cdot\mathbf{I}. The previous argument directly implies: for all i∈[m]i\in[m], ∥xi∥Vi≤2ϵ\|\mathbf{x}_{i}\|_{\mathbf{V}_{i}}\leq\sqrt{2}\epsilon and ∥xi∥Vi⋅∥zi∥Vi−1>ϵ\|\mathbf{x}_{i}\|_{\mathbf{V}_{i}}\cdot\|\mathbf{z}_{i}\|_{\mathbf{V}_{i}^{-1}}>\epsilon. Therefore, we have ∥zi∥Vi−1≥12\|\mathbf{z}_{i}\|_{\mathbf{V}_{i}^{-1}}\geq\frac{1}{\sqrt{2}}.

C.2 Proof of Proposition 12

Assume δz1,…,δzm\delta_{z_{1}},\ldots,\delta_{z_{m}} is an ϵ\epsilon-independent sequence of distributions with respect to (I−Th)F(I-\mathcal{T}_{h})\mathcal{F}, where δzi∈DΔ\delta_{z_{i}}\in\mathcal{D}_{\Delta}. By Definition 6, there exist functions f1,…,fm∈Ff^{1},\ldots,f^{m}\in\mathcal{F} such that for all i∈[m]i\in[m], we have ∣(fhi−Thfh+1i)(zi)∣>ϵ|(f^{i}_{h}-\mathcal{T}_{h}f^{i}_{h+1})(z_{i})|>\epsilon and ∑t=1i−1∣(fhi−Thfh+1i)(zt)∣2≤ϵ\sqrt{\sum_{t=1}^{i-1}|(f^{i}_{h}-\mathcal{T}_{h}f^{i}_{h+1})(z_{t})|^{2}}\leq\epsilon. Define ghi=Thfh+1ig^{i}_{h}=\mathcal{T}_{h}f^{i}_{h+1}. Note that ghi∈Fhg^{i}_{h}\in\mathcal{F}_{h} because ThFh+1⊂Fh\mathcal{T}_{h}\mathcal{F}_{h+1}\subset\mathcal{F}_{h}. Therefore, we have for all i∈[m]i\in[m], ∣(fhi−ghi)(zi)∣>ϵ|(f^{i}_{h}-g^{i}_{h})(z_{i})|>\epsilon and ∑t=1i−1∣(fhi−ghi)(zt)∣2≤ϵ\sqrt{\sum_{t=1}^{i-1}|(f^{i}_{h}-g^{i}_{h})(z_{t})|^{2}}\leq\epsilon with fhi,ghi∈Fhf^{i}_{h},g_{h}^{i}\in\mathcal{F}_{h}. By Definition 4 and 5, this implies dim⁡E(Fh,ϵ)≥m\dim_{\rm E}(\mathcal{F}_{h},\epsilon)\geq m, which completes the proof. ∎

C.3 Proof of Proposition 13

The function set F1={fθi(a)=a⊤θi: θi=(1;ei), i∈[m]}\mathcal{F}_{1}=\{f_{\theta_{i}}(a)=a^{\top}\theta_{i}:\ \theta_{i}=(1;e_{i}),\ i\in[m]\}.

The reward function is always zero, i.e., r≡0r\equiv 0.

For any ϵ∈(0,1]\epsilon\in(0,1], a1,…,am−1a_{1},\ldots,a_{m-1} is an ϵ\epsilon-independent sequence of points because: (a) for any t∈[m−1]t\in[m-1], ∑i=1t−1(fθt(ai)−fθt+1(ai))2=0\sum^{t-1}_{i=1}(f_{\theta_{t}}(a_{i})-f_{\theta_{t+1}}(a_{i}))^{2}=0; (b) for any t∈[m−1]t\in[m-1], fθt(at)−fθt+1(at)=1≥ϵf_{\theta_{t}}(a_{t})-f_{\theta_{t+1}}(a_{t})=1\geq\epsilon. Therefore, min⁡h∈[H]dim⁡E(Fh,ϵ)=dim⁡E(F1,ϵ)≥m−1\min_{h\in[H]}\dim_{\rm E}(\mathcal{F}_{h},\epsilon)=\dim_{\rm E}(\mathcal{F}_{1},\epsilon)\geq m-1.

Appendix D Proofs for Golf

In this section, we provide formal proofs for the results stated in Section 4.

We start the proof with the following two lemmas. The first lemma shows that with high probability any function in the confidence set has low Bellman-error over the collected datasets D1,…,DH\mathcal{D}_{1},\ldots,\mathcal{D}_{H} as well as the distributions from which D1,…,DH\mathcal{D}_{1},\ldots,\mathcal{D}_{H} are sampled.

Let ρ>0\rho>0 be an arbitrary fixed number. If we choose \beta=c\big{(}\log[KH\mathcal{N}_{\mathcal{F}\cup\mathcal{G}}(\rho)/\delta]+K\rho\big{)} with some large absolute constant cc in Algorithm 1, then with probability at least 1−δ1-\delta, for all (k,h)∈[K]×[H](k,h)\in[K]\times[H], we have

∑i=1k−1(fhk(shi,ahi)−(Tfh+1k)(shi,ahi))2≤O(β)\sum_{i=1}^{k-1}{\left(f^{k}_{h}(s_{h}^{i},a_{h}^{i})-(\mathcal{T}f_{h+1}^{k})(s_{h}^{i},a_{h}^{i})\right)}^{2}{\leq}\mathcal{O}(\beta),

where (s1i,a1i,…,sHi,aHi,sH+1i)(s_{1}^{i},a_{1}^{i},\ldots,s_{H}^{i},a_{H}^{i},s_{H+1}^{i}) denotes the trajectory sampled by following πi\pi^{i} in the ithi^{\rm th} episode.

The second lemma guarantees that the optimal value function is inside the confidence with high probability. As a result, the selected value function fkf^{k} in each iteration shall be an upper bound of Q⋆Q^{\star} with high probability.

Under the same condition of Lemma 39, with probability at least 1−δ1-\delta, we have Q⋆∈BkQ^{\star}\in\mathcal{B}^{k} for all k∈[K]k\in[K].

The proof of Lemma 39 and 40 relies on standard martingale concentration (e.g. Freedman’s inequality) and can be found in Appendix D.3.

By Lemma 40, we can upper bound the cumulative regret by the summation of Bellman error with probability at least 1−δ1-\delta:

where (i)(i) follows from standard policy loss decomposition (e.g. Lemma 1 in Jiang et al. (2017)).

Next, we focus on a fixed step hh and bound the cumulative Bellman error ∑k=1KE(fk,πk,h)\sum_{k=1}^{K}\mathcal{E}(f^{k},\pi^{k},h) using Lemma 39. To proceed, we need the following lemma to control the accumulating rate of Bellman error.

Lemma 41 is a simple modification of Lemma 2 in Russo and Van Roy (2013) and its proof can be found in Appendix D.4. We provide two ways to apply Lemma 41, which can produce regret bounds in term of two different complexity measures. If we invoke Lemma 39 (a) and Lemma 41 with

We can also invoke Lemma 39 (b) and Lemma 41 with

where the first inequality follows from standard martingale concentration.

Plugging either equation (8) or (9) back into equation (7) completes the proof.

D.2 Proof of Corollary 16

By Lemma 40, we can upper bound the cumulative regret by the summation of Bellman error with probability at least 1−δ1-\delta:

where (i)(i) follows from standard policy loss decomposition (e.g. Lemma 1 in Jiang et al. (2017)).

Next, we focus on a fixed step hh and bound the cumulative Bellman error ∑k=1KE(fk,πk,h)\sum_{k=1}^{K}\mathcal{E}(f^{k},\pi^{k},h) using Lemma 39.

we obtain with probability at least 1−10−31-10^{-3},

where the second inequality follows from the choice of ρ\rho and d:=\text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\mathcal{F}},\epsilon/H). Now we need to choose KK such that

By simple calculation, one can verify it suffices to choose

Plugging equation (11) back into equation (10) completes the proof. We can similarly prove the bound in terms of the BE dimension with respect to DΔ\mathcal{D}_{\Delta}.

D.3 Proofs of concentration lemmas

To begin with, recall the Freedman’s inequality that controls the sum of martingale difference by the sum of their predicted variance.

and Ft,h\mathfrak{F}_{t,h} be the filtration induced by {s1i,a1i,r1i,…,sHi}i=1t−1⋃{s1t,a1t,r1t,…,sht,aht}\{s_{1}^{i},a_{1}^{i},r_{1}^{i},\ldots,s_{H}^{i}\}_{i=1}^{t-1}\bigcup\{s_{1}^{t},a_{1}^{t},r_{1}^{t},\ldots,s_{h}^{t},a_{h}^{t}\}. We have

By Freedman’s inequality, we have, with probability at least 1−δ1-\delta,

Let Zρ\mathcal{Z}_{\rho} be a ρ\rho-cover of F\mathcal{F}. Now taking a union bound for all (k,h,ϕ)∈[K]×[H]×Zρ(k,h,\phi)\in[K]\times[H]\times\mathcal{Z}_{\rho}, we obtain that with probability at least 1−δ1-\delta, for all (k,h,ϕ)∈[K]×[H]×Zρ(k,h,\phi)\in[K]\times[H]\times\mathcal{Z}_{\rho}

where ι=log⁡(HK∣Zρ∣/δ)\iota=\log(HK|\mathcal{Z}_{\rho}|/\delta). From now on, we will do all the analysis conditioning on this event being true.

Consider an arbitrary (h,k)∈[H]×[K](h,k)\in[H]\times[K] pair. By the definition of Bk\mathcal{B}^{k} and Assumption 14

Putting (15) and (16) together, we obtain

Because ϕk\phi^{k} is an ρ\rho-approximation to fkf^{k}, we conclude

Therefore, we prove inequality (b)(b) in Lemma 39.

To prove inequality (a)(a), we only need to redefine Ft,h\mathfrak{F}_{t,h} to be the filtration induced by {s1i,a1i,r1i,…,sHi}i=1t−1\{s_{1}^{i},a_{1}^{i},r_{1}^{i},\ldots,s_{H}^{i}\}_{i=1}^{t-1} and then repeat the arguments above verbatim. ∎

D.3.2 Proof of Lemma 40

Let Vρ\mathcal{V}_{\rho} be a ρ\rho-cover of G\mathcal{G}.

Consider an arbitrary fixed tuple (k,h,g)∈[K]×[H]×G(k,h,g)\in[K]\times[H]\times\mathcal{G}. Let

and Ft,h\mathfrak{F}_{t,h} be the filtration induced by {s1i,a1i,r1i,…,sHi}i=1t−1⋃{s1t,a1t,r1t,…,sht,aht}\{s_{1}^{i},a_{1}^{i},r_{1}^{i},\ldots,s_{H}^{i}\}_{i=1}^{t-1}\bigcup\{s_{1}^{t},a_{1}^{t},r_{1}^{t},\ldots,s_{h}^{t},a_{h}^{t}\}. We have

By Freedman’s inequality, with probability at least 1−δ1-\delta,

By taking a union bound over [K]×[H]×Vρ[K]\times[H]\times\mathcal{V}_{\rho} and the non-negativity of ∑t=1k[(gh−Qh⋆)(sht,aht)]2\sum_{t=1}^{k}[(g_{h}-Q_{h}^{\star})(s_{h}^{t},a_{h}^{t})]^{2}, we obtain that with probability at least 1−δ1-\delta, for all (k,h,ψ)∈[K]×[H]×Vρ(k,h,\psi)\in[K]\times[H]\times\mathcal{V}_{\rho}

where ι=log⁡(HK∣Vρ∣/δ)\iota=\log(HK|\mathcal{V}_{\rho}|/\delta). This directly implies for all (k,h,g)∈[K]×[H]×G(k,h,g)\in[K]\times[H]\times\mathcal{G}

Finally, by recalling the definition of Bk\mathcal{B}^{k}, we conclude that with probability at least 1−δ1-\delta, Q⋆∈BkQ^{\star}\in\mathcal{B}^{k} for all k∈[K]k\in[K]. ∎

D.4 Proof of Lemma 41

resulting in L≤β/ϵ2L\leq{\beta}/{\epsilon^{2}}.

For t∈[k]t\in[k], we want to prove that if et>ωe_{t}>\omega, then we have et≤min⁡{dβt−d,C}e_{t}\leq\min\{\sqrt{\frac{d\beta}{t-d}},C\}. Assume t∈[k]t\in[k] satisfies et>ωe_{t}>\omega. Then there exists α\alpha such that et>α≥ωe_{t}>\alpha\geq\omega. By Proposition 43, we have

which implies α≤dβt−d\alpha\leq\sqrt{\frac{d\beta}{t-d}}. Besides, recall et≤Ce_{t}\leq C, so we have et≤min⁡{dβt−d,C}e_{t}\leq\min\{\sqrt{\frac{d\beta}{t-d}},C\}.

Appendix E Proofs for Olive

In this section, we provide the formal proof for the results stated in Appendix 5.

By standard concentration arguments (Hoeffding’s inequality plus union bound argument), with probability at least 1−δ1-\delta, the following events hold for the first dH+1dH+1 phases (please refer to Appendix E.2 for the proof)

If the elimination procedure is activated at the hthh^{\rm th} step in the kthk^{\rm th} phase, then E(fk,πk,h)>ζact/2\mathcal{E}(f^{k},\pi^{k},h)>\zeta_{\rm act}/2 and all f∈Ff\in\mathcal{F} satisfying ∣E(f,πk,h)∣≥2ζelim|\mathcal{E}(f,\pi^{k},h)|\geq 2\zeta_{\rm elim} get eliminated.

If the elimination procedure is not activated in the kthk^{\rm th} phase, then, ∑h=1HE(fk,πk,h)<2Hζact=4ϵ\sum_{h=1}^{H}\mathcal{E}(f^{k},\pi^{k},h)<2H\zeta_{\rm act}=4\epsilon.

Therefore, if we can show Olive terminates within dH+1dH+1 phases, then with high probability the output policy is 4ϵ4\epsilon-optimal by the optimism of fkf^{k} and simple policy loss decomposition (e.g. Lemma 1 in Jiang et al. (2017)):

In order to prove that Olive terminates within dH+1dH+1 phases, it suffices to show that for each h∈[H]h\in[H], we can activate the elimination procedure at the hthh^{\rm th} step for at most dd times.

For the sake of contradiction, assume that Olive does not terminate in dH+1dH+1 phases. Within these dH+1dH+1 phases, there exists some h∈[H]h\in[H] for which the activation process has been activated for at least d+1d+1 times. Denote by k1<⋯<kd+1≤dH+1k_{1}<\cdots<k_{d+1}\leq dH+1 the indices of the phases where the elimination is activated at the hthh^{\rm th} step. By the high-probability events, for all i<j≤d+1i<j\leq d+1, we have ∣E(fkj,πki,h)∣<2ζelim|\mathcal{E}(f^{k_{j}},\pi^{k_{i}},h)|<2\zeta_{\rm elim} and for all l≤d+1l\leq d+1, we have E(fkl,πkl,h)>ζact/2\mathcal{E}(f^{k_{l}},\pi^{{k_{l}}},h)>\zeta_{\rm act}/2. This means for all l≤d+1l\leq d+1, we have both \sqrt{\sum_{i=1}^{l-1}\big{(}\mathcal{E}(f^{k_{l}},\pi^{{k_{i}}},h)\big{)}^{2}}<\sqrt{d}\times 2\zeta_{\rm elim}=\epsilon/H and E(fkl,πkl,h)>ζact/2=ϵ/H\mathcal{E}(f^{k_{l}},\pi^{{k_{l}}},h)>\zeta_{\rm act}/2=\epsilon/H. Therefore, the roll-in distribution of πk1,…,πkd+1\pi^{k_{1}},\ldots,\pi^{k_{d+1}} at step hh is an ϵ/H\epsilon/H-independent sequence of length d+1d+1, which contradicts with the definition of BE dimension. So Olive should terminate within dH+1dH+1 phases.

In sum, with probability at least 1−δ1-\delta, Algorithm 2 will terminate and output a 4ϵ4\epsilon-optimal policy using at most

E.2 Concentration arguments for Theorem 18

where d=\max_{h\in[H]}\text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F},h},\epsilon/H\big{)}, ι=log⁡[Hd/δϵ]\iota=\log[Hd/\delta\epsilon] and cc is a large absolute constant.Our goal is to prove with probability at least 1−δ1-\delta, the following events hold for the first dH+1dH+1 phases

If the elimination procedure is activated at the hthh^{\rm th} step in the kthk^{\rm th} phase, then E(fk,πk,h)>ζact/2\mathcal{E}(f^{k},\pi^{k},h)>\zeta_{\rm act}/2 and all f∈Ff\in\mathcal{F} satisfying ∣E(f,πk,h)∣≥2ζelim|\mathcal{E}(f,\pi^{k},h)|\geq 2\zeta_{\rm elim} get eliminated.

If the elimination procedure is not activated in the kthk^{\rm th} phase, then, ∑h=1HE(fk,πk,h)<2Hζact=4ϵ\sum_{h=1}^{H}\mathcal{E}(f^{k},\pi^{k},h)<2H\zeta_{\rm act}=4\epsilon.

Consider a fixed (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H] pair. By Azuma-Hoefdding’s inequality, with probability at least 1−δ8H(dH2+1)1-\frac{\delta}{8H(dH^{2}+1)}, we have

where the second inequality follows from nact=CH2ιϵ2n_{\text{act}}=C\frac{H^{2}\iota}{\epsilon^{2}} with CC being chosen large enough.

Take a union bound for all (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H], we have with probability at least 1−δ/41-{\delta}/4, the following holds for all (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H]

By Algorithm 2, if the elimination procedure is not activated in the kthk^{\rm th} phase, we have ∑h=1HE^(fk,πk,h)≤Hζact\sum_{h=1}^{H}\hat{\mathcal{E}}(f^{k},\pi^{k},h)\leq H\zeta_{\rm act}. Combine it with the concentration argument we just proved,

On the other hand, if the elimination procedure is activated at the hthh^{\rm th} step in the kthk^{\rm th} phase, then E^(fk,πk,h)>ζact\hat{\mathcal{E}}(f^{k},\pi^{k},h)>\zeta_{\rm act}. Again combine it with the concentration argument we just proved,

Recall that Algorithm 2 eliminates all ff satisfying ∣E^(f,πk,hk)∣>ζelim|\hat{\mathcal{E}}(f,\pi^{k},h_{k})|>\zeta_{\rm elim} when the elimination procedure is activated at the hkthh^{\rm th}_{k} step in the kthk^{\rm th} phase. Therefore, if ∣E(f,πk,hk)∣≥2ζelim|\mathcal{E}(f,\pi^{k},h_{k})|\geq 2\zeta_{\rm elim}, ff will be eliminated because

Finally, note that E(Q⋆,π,h)≡0\mathcal{E}(Q^{\star},\pi,h)\equiv 0 for any π\pi and hh. As a result, it will never be eliminated within the first dH+1dH+1 phases because we can similarly prove

Wrapping up: take a union bound for the activation and elimination procedure, and conclude that the three events, listed at the beginning of this section, hold for the the first dH+1dH+1 phases with probability at least 1−δ/21-\delta/2.

Appendix F Proofs for V-type Variants

In this section, we provide formal proofs for the results stated in Section A.

The proof is similar to that in Appendix E.

By standard concentration arguments (Hoeffding’s inequality, Bernstein’s inequality, and union bound argument), with probability at least 1−δ1-\delta, the following events hold for the first dH+1dH+1 phases (please refer to Appendix F.1.1 for the proof)

If the elimination procedure is activated at the hthh^{\rm th} step in the kthk^{\rm th} phase, then EV(fk,πk,h)>ζact/2\mathcal{E}_{\textrm{V}}(f^{k},\pi^{k},h)>\zeta_{\rm act}/2 and all f∈Ff\in\mathcal{F} satisfying ∣EV(f,πk,h)∣≥2ζelim|\mathcal{E}_{\textrm{V}}(f,\pi^{k},h)|\geq 2\zeta_{\rm elim} get eliminated.

If the elimination procedure is not activated in the kthk^{\rm th} phase, then, ∑h=1HEV(fk,πk,h)<2Hζact=4ϵ\sum_{h=1}^{H}\mathcal{E}_{\textrm{V}}(f^{k},\pi^{k},h)<2H\zeta_{\rm act}=4\epsilon.

Therefore, if we can show Olive terminates within dH+1dH+1 phases, then with high probability the output policy is 4ϵ4\epsilon-optimal by the optimism of fkf^{k} and simple policy loss decomposition (e.g., Lemma 1 in Jiang et al. (2017)):

In order to prove that Olive terminates within dH+1dH+1 phases, it suffices to show that for each h∈[H]h\in[H], we can activate the elimination procedure at the hthh^{\rm th} step for at most dd times.

For the sake of contradiction, assume that Olive does not terminate in dH+1dH+1 phases. Within these dH+1dH+1 phases, there exists some h∈[H]h\in[H] for which the activation process has been activated for at least d+1d+1 times. Denote by k1<⋯<kd+1≤dH+1k_{1}<\cdots<k_{d+1}\leq dH+1 the indices of the phases where the elimination is activated at the hthh^{\rm th} step. By the high-probability events, for all i<j≤d+1i<j\leq d+1, we have ∣EV(fkj,πki,h)∣<2ζelim|\mathcal{E}_{\textrm{V}}(f^{k_{j}},\pi^{k_{i}},h)|<2\zeta_{\rm elim} and for all l≤d+1l\leq d+1, we have EV(fkl,πkl,h)>ζact/2\mathcal{E}_{\textrm{V}}(f^{k_{l}},\pi^{{k_{l}}},h)>\zeta_{\rm act}/2. This means for all l≤d+1l\leq d+1, we have both \sqrt{\sum_{i=1}^{l-1}\big{(}\mathcal{E}_{\textrm{V}}(f^{k_{l}},\pi^{{k_{i}}},h)\big{)}^{2}}<\sqrt{d}\times 2\zeta_{\rm elim}=\epsilon/H and EV(fkl,πkl,h)>ζact/2=ϵ/H\mathcal{E}_{\textrm{V}}(f^{k_{l}},\pi^{{k_{l}}},h)>\zeta_{\rm act}/2=\epsilon/H. Therefore, the roll-in distribution of πk1,…,πkd+1\pi^{k_{1}},\ldots,\pi^{k_{d+1}} at step hh is an ϵ/H\epsilon/H-independent sequence of length d+1d+1 with respect to (I−Th)VF(I-\mathcal{T}_{h})V_{\mathcal{F}}, which contradicts with the definition of BE dimension. So Olive should terminate within dH+1dH+1 phases.

In sum, with probability at least 1−δ1-\delta, Algorithm 2 will terminate and output a 4ϵ4\epsilon-optimal policy using at most

where d=\max_{h\in[H]}\text{\dim_{\rm{VBE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F},h},\epsilon/H\big{)}, ι=log⁡[Hd/δϵ]\iota=\log[Hd/\delta\epsilon] and cc is a large absolute constant. Our goal is to prove with probability at least 1−δ1-\delta, the following events hold for the first dH+1dH+1 phases

If the elimination procedure is activated at the hthh^{\rm th} step in the kthk^{\rm th} phase, then EV(fk,πk,h)>ζact/2\mathcal{E}_{\textrm{V}}(f^{k},\pi^{k},h)>\zeta_{\rm act}/2 and all f∈Ff\in\mathcal{F} satisfying ∣EV(f,πk,h)∣≥2ζelim|\mathcal{E}_{\textrm{V}}(f,\pi^{k},h)|\geq 2\zeta_{\rm elim} get eliminated.

If the elimination procedure is not activated in the kthk^{\rm th} phase, then, ∑h=1HEV(fk,πk,h)<2Hζact=4ϵ\sum_{h=1}^{H}\mathcal{E}_{\textrm{V}}(f^{k},\pi^{k},h)<2H\zeta_{\rm act}=4\epsilon.

Consider a fixed (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H] pair. By Azuma-Hoefdding’s inequality, with probability at least 1−δ8H(dH+1)1-\frac{\delta}{8H(dH+1)}, we have

where the second inequality follows from nact=CH2ιϵ2n_{\text{act}}=C\frac{H^{2}\iota}{\epsilon^{2}} with CC being chosen large enough.

Take a union bound for all (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H], we have with probability at least 1−δ/41-{\delta}/4, the following holds for all (k,h)∈[dH+1]×[H](k,h)\in[dH+1]\times[H]

Now, let us turn to the elimination procedure. We start by bounding the the second moment of

for all f∈Ff\in\mathcal{F}. Let y(sh,ah,rh,sh+1)=fh(sh,ah)−rh−max⁡a′∈Afh+1(sh+1,a′)∈y(s_{h},a_{h},r_{h},s_{h+1})=f_{h}(s_{h},a_{h})-r_{h}-\max_{a^{\prime}\in\mathcal{A}}f_{h+1}(s_{h+1},a^{\prime})\in, then we have

For a fixed (k,f)∈[dH+1]×F(k,f)\in[dH+1]\times\mathcal{F}, by applying Azuma-Bernstein’s inequality, with probability at least 1−δ8(dH+1)∣F∣1-\frac{\delta}{8(dH+1)|\mathcal{F}|} we have

where ι′=log⁡[8(dH+1)∣F∣/δ]\iota^{\prime}=\log[8(dH+1)|\mathcal{F}|/{\delta}], and the third inequality follows from nelim=C∣A∣ι/ζelim2n_{\text{elim}}=C|\mathcal{A}|\iota/\zeta_{\rm elim}^{2} with CC being chosen large enough.

Taking a union bound over [dH+1]×F[dH+1]\times\mathcal{F}, we have with probability at least 1−δ/41-{\delta}/4, the following holds for all (k,f)∈[dH+1]×F(k,f)\in[dH+1]\times\mathcal{F}

Recall that Algorithm 4 eliminates all ff satisfying ∣E^V(f,πk,hk)∣>ζelim|\hat{\mathcal{E}}_{\textrm{V}}(f,\pi^{k},h_{k})|>\zeta_{\rm elim} when the elimination procedure is activated at the hkthh^{\rm th}_{k} step in the kthk^{\rm th} phase. Therefore, if ∣EV(f,πk,hk)∣≥2ζelim|\mathcal{E}_{\textrm{V}}(f,\pi^{k},h_{k})|\geq 2\zeta_{\rm elim}, ff will be eliminated because

Finally, note that EV(Q⋆,π,h)≡0\mathcal{E}_{\textrm{V}}(Q^{\star},\pi,h)\equiv 0 for any π\pi and hh. As a result, it will never be eliminated within the first dH+1dH+1 phases because we can similarly prove

Wrapping up: take a union bound for the activation and elimination procedure, and conclude that the three events, listed at the beginning of this section, hold for the the first dH+1dH+1 phases with probability at least 1−δ/21-\delta/2.

F.2 Proof of Theorem 22

The proof is basically the same as that of Theorem 15 in Appendix D.

To begin with, we have the following lemma (akin to Lemma 39 and 40) showing that with high probability: (i)(i) any function in the confidence set has low Bellman-error over the collected Datasets D1,…,DH\mathcal{D}_{1},\dots,\mathcal{D}_{H} as well as the distributions from which D1,…,DH\mathcal{D}_{1},\dots,\mathcal{D}_{H} are sampled; (ii)(ii) the optimal value function is inside the confidence set. Its proof is almost identical to that of Lemma 39 and 40 which can be found in Appendix D.3.

Let ρ>0\rho>0 be an arbitrary fixed number. If we choose \beta=c\big{(}\log[KH\mathcal{N}_{\mathcal{F}\cup\mathcal{G}}(\rho)/\delta]+K\rho\big{)} with some large absolute constant cc in Algorithm 3, then with probability at least 1−δ1-\delta, for all (k,h)∈[K]×[H](k,h)\in[K]\times[H], we have

1∣A∣∑i=1k−1∑a∈A(fhk(shi,a)−(Tfh+1k)(shi,a))2≤O(β)\frac{1}{|\mathcal{A}|}\sum_{i=1}^{k-1}\sum_{a\in\mathcal{A}}{\left(f^{k}_{h}(s_{h}^{i},a)-(\mathcal{T}f_{h+1}^{k})(s_{h}^{i},a)\right)}^{2}{\leq}\mathcal{O}(\beta),

where shis_{h}^{i} denotes the state at step hh collected according to Line 5 in Algorithm 3 following πi\pi^{i}.

To prove inequality (a)(a), we only need to redefine the filtration Ft,h\mathfrak{F}_{t,h} in Appendix D.3.1 to be the filtration induced by {s1i,a1i,r1i,…,sHi}i=1t−1\{s_{1}^{i},a_{1}^{i},r_{1}^{i},\ldots,s_{H}^{i}\}_{i=1}^{t-1} and repeat the arguments there verbatim.

To prove inequality (b)(b), we only need to redefine the filtration Ft,h\mathfrak{F}_{t,h} in Appendix D.3.1 to be the filtration induced by {s1i,a1i,r1i,…,sHi}i=1t−1⋃{s1t,a1t,r1t,…,sht}\{s_{1}^{i},a_{1}^{i},r_{1}^{i},\ldots,s_{H}^{i}\}_{i=1}^{t-1}\bigcup\{s_{1}^{t},a_{1}^{t},r_{1}^{t},\ldots,s_{h}^{t}\} and repeat the arguments there verbatim.

The proof of (c)(c) is the same as that of Lemma 40 in Appendix D.3.2. ∎

By Lemma 44 (c)(c), we can upper bound the cumulative regret by the summation of Bellman error with probability at least 1−δ1-\delta:

where (i)(i) follows from standard policy loss decomposition (e.g. Lemma 1 in Jiang et al. (2017)).

Next, we focus on a fixed step hh and bound the cumulative Bellman error ∑k=1KEV(fk,πk,h)\sum_{k=1}^{K}\mathcal{E}_{\textrm{V}}(f^{k},\pi^{k},h) using Lemma 44.

implies that with probability at least 1−δ1-\delta, for all (k,h)∈[K]×[H](k,h)\in[K]\times[H], we have

Plugging in the choice of KK completes the proof.

Similarly, for DΔ\mathcal{D}_{\Delta}, we can invoke Lemma 44 (b) witht

where the first inequality follows from standard martingale concentration.

Plugging in the choice of KK completes the proof.

Appendix G Proofs for Examples

Suppose F\mathcal{F} has finite ϵ\epsilon-effective dimension and denote the corresponding mapping by ϕ\phi. Then we can rewrite F\mathcal{F} in the form of F={fθ(⋅)=⟨ϕ(⋅),θ⟩H∣θ∈Θ}\mathcal{F}=\{f_{\theta}(\cdot)=\langle\phi(\cdot),\theta\rangle_{\mathcal{H}}\mid\theta\in\Theta\}, where Θ⊂BH(1)\Theta\subset B_{\mathcal{H}}(1).

Suppose there exists an ϵ′\epsilon^{\prime}-independent sequence x1′,…,xn′∈Xx_{1}^{\prime},\ldots,x_{n}^{\prime}\in\mathcal{X} with respect to F\mathcal{F} where ϵ′≥ϵ\epsilon^{\prime}\geq\epsilon. By the definition of independent sequence, this is equivalent to the existence of θ1,…,θn∈(Θ−Θ)\theta_{1},\ldots,\theta_{n}\in(\Theta-\Theta) and x1,…,xn∈ϕ(X)x_{1},\ldots,x_{n}\in\phi(\mathcal{X}) such that

As a result, we should have ∥xt∥Σt−12≥1/2\|x_{t}\|_{\Sigma_{t}^{-1}}^{2}\geq 1/2 for all t∈[n]t\in[n]. Now we can apply the standard log-determinant argument,

Choose n=deff(F,ϵ/2)n=d_{\rm eff}(\mathcal{F},\epsilon/2) that is the minimum positive integer satisfying

This leads to a contradiction because ϵ′≥ϵ\epsilon^{\prime}\geq\epsilon and 0.5>ee−1−10.5>e^{e^{-1}}-1. So we must have

G.2 Proof of Proposition 32

By standard ϵ\epsilon-net argument, there exists C⊂BH(H+1−h)\mathcal{C}\subset B_{\mathcal{H}}(H+1-h) such that: (a) log⁡∣C∣≤O(n⋅log⁡(1+nH/ϵ))\log|\mathcal{C}|\leq\mathcal{O}(n\cdot\log(1+nH/\epsilon)), (b) for any θ∈BH(H+1−h)\theta\in B_{\mathcal{H}}(H+1-h), there exists θ^∈C\hat{\theta}\in\mathcal{C} satisfying ∑i=1n(⟨xi,θ−θ^⟩H)2≤ϵ2\sum_{i=1}^{n}(\langle x_{i},\theta-\hat{\theta}\rangle_{\mathcal{H}})^{2}\leq\epsilon^{2}. By the property of x1,…,xnx_{1},\ldots,x_{n}, {ϕh(⋅,⋅)⊤θ^ ∣ θ^∈C}\{\phi_{h}(\cdot,\cdot)^{\top}\hat{\theta}~{}\mid~{}\hat{\theta}\in\mathcal{C}\} is an ϵ\epsilon-cover of Fh\mathcal{F}_{h}. Since F=F1×⋯×FH\mathcal{F}=\mathcal{F}_{1}\times\cdots\times\mathcal{F}_{H}, we obtain \log\mathcal{N}_{\mathcal{F}}(\epsilon)\leq\mathcal{O}\big{(}Hn\cdot\log(1+nH/\epsilon)\big{)}. Finally, by Proposition 31, n≤d(ϵ)n\leq d(\epsilon), which concludes the proof.

G.3 Proof of Proposition 34

By the definition of effective Bellman rank, this is equivalent to: ∑i=1t−1(⟨ϕh(ft),ψh(gi)⟩)2≤ϵ\sqrt{\sum_{i=1}^{t-1}(\langle\phi_{h}(f^{t}),\psi_{h}(g^{i})\rangle)^{2}}\leq\epsilon and ∣⟨ϕh(ft),ψh(gt)⟩∣>ϵ|\langle\phi_{h}(f^{t}),\psi_{h}(g^{t})\rangle|>\epsilon for all t∈[n]t\in[n]. For notational simplicity, define xi=ψh(gi)x_{i}=\psi_{h}(g^{i}) and θi=ϕh(fi)\theta_{i}=\phi_{h}(f^{i}). Then

The remaining arguments follow the same as in the proof of Proposition 29 except that we replace ϵ\epsilon by ϵ/ζ\epsilon/\zeta. ∎

G.4 Proof of Proposition 38

Note that the case h=1h=1 is trivial because each episode always starts from a fixed initial state independent of the policy. For any policy π\pi, function f∈Ff\in\mathcal{F}, and step h≥2h\geq 2

Notice that the left hand side of the inner product only depends on π\pi while the right hand side only depends on ff. Moreover, by the definition of kernel reactive POMDPs, the RHS has norm at most 22. Therefore, we conclude the proof by revoking Proposition 36 with ζ=2\zeta=2. ∎

In this paper, we have mainly focused on the BE dimension induced by two special distribution families: (a)(a) DF\mathcal{D}_{\mathcal{F}} — the roll-in distributions produced by executing the greedy policies induced by the functions in F\mathcal{F}, (b)(b) DΔ\mathcal{D}_{\Delta} — the collection of all Dirac distributions. And we prove that both low \text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F}},\epsilon\big{)} and low \text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\Delta},\epsilon\big{)} can imply sample-efficient learning. As a result, it is natural to ask what is the relation between \text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\mathcal{F}},\epsilon\big{)} and \text{\dim_{\rm{BE}}}\big{(}\mathcal{F},\mathcal{D}_{\Delta},\epsilon\big{)}? Is it possible that one of them is always no larger than the other so that we only need to use the smaller one? We answer this question with the following proposition, showing that either of them can be arbitrarily larger than the other.

there exist an MDP and a function class F\mathcal{F} satisfying for all ϵ∈(0,1/2]\epsilon\in(0,1/2], \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\mathcal{F}},\epsilon)\leq c while \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\Delta},\epsilon)\geq m.

there exist an MDP and a function class F\mathcal{F} satisfying for all ϵ∈(0,1/2]\epsilon\in(0,1/2], \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\Delta},\epsilon)\leq c while \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\mathcal{F}},\epsilon)\geq m.

We prove (a)(a) first. Consider the following contextual bandits problem (H=1H=1).

There are mm states s1,…,sms_{1},\ldots,s_{m} but the agent always starts at s1s_{1}. This means the agent can never visit other states because each episode contains only one step (H=1H=1).

There are two actions a1a_{1} and a2a_{2}. The reward function is zero for any state-action pair.

The function class F1={fi(s,a)=1(s=si)+1(a=a1): i∈[m]}\mathcal{F}_{1}=\{f_{i}(s,a)={\mathbf{1}}(s=s_{i})+{\mathbf{1}}(a=a_{1}):\ i\in[m]\}.

First of all, note in this setting DΔ\mathcal{D}_{\Delta} is the collection of all Dirac distributions over S×A\mathcal{S}\times\mathcal{A}, DF,1\mathcal{D}_{\mathcal{F},1} is a singleton containing only δ(s1,a1)\delta_{(s_{1},a_{1})}, and (I−T1)F(I-\mathcal{T}_{1})\mathcal{F} is simply F1\mathcal{F}_{1} because H=1H=1 and r≡0r\equiv 0. Since DF,1\mathcal{D}_{\mathcal{F},1} has cardinality one, it follows directly from definition that \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\Delta},\epsilon) is at most 11. Moreover, it is easy to verify that (s1,a2),(s2,a2),…,(sm,am)(s_{1},a_{2}),(s_{2},a_{2}),\ldots,(s_{m},a_{m}) is a 11-independent sequence with respect to F\mathcal{F} because we have fi(sj,a2)=1(i=j)f_{i}(s_{j},a_{2})={\mathbf{1}}(i=j) for all i,j∈[m]i,j\in[m]. As a result, we have \text{\dim_{\rm{BE}}}(\mathcal{F},\mathcal{D}_{\Delta},\epsilon)\geq m for all ϵ∈(0,1]\epsilon\in(0,1].

Now we come to the proof of (b)(b). Consider the following contextual bandits problem (H=1H=1).

There are 22 states s1s_{1} and s2s_{2}. In each episode, the agent starts at s1s_{1} or s2s_{2} uniformly at random.

There are mm actions a1,…,ama_{1},\ldots,a_{m}. The reward function is zero for any state-action pair.

The function class F1={fi(s,a)=(2⋅1(s=s1)−1)+0.5⋅1(a=ai): i∈[m]}\mathcal{F}_{1}=\{f_{i}(s,a)=(2\cdot{\mathbf{1}}(s=s_{1})-1)+0.5\cdot{{\mathbf{1}}(a=a_{i})}:\ i\in[m]\}.