Bilinear Classes: A Structural Framework for Provable Generalization in RL

Simon S. Du, Sham M. Kakade, Jason D. Lee, Shachar Lovett, Gaurav Mahajan, Wen Sun, Ruosong Wang

Introduction

Tackling large state-action spaces is a central challenge in reinforcement learning (RL). Here, function approximation and supervised learning schemes are often employed for generalization across large state-action spaces. While there have been a number of successful applications (Mnih et al., 2013; Kober et al., 2013; Silver et al., 2017; Wu et al., 2017). there is also a realization that practical RL approaches are quite sample inefficient.

Theoretically, there is a growing body of results showing how sample efficiency is possible in RL for particular model classes (often with restrictions on the model dynamics though in some cases on the class of value functions), e.g. State Aggregation (Li, 2009; Dong et al., 2020c), Linear MDPs (Yang and Wang, 2019; Jin et al., 2020), Linear Mixture MDPs (Modi et al., 2020a; Ayoub et al., 2020), Reactive POMDPs (Krishnamurthy et al., 2016), Block MDPs (Du et al., 2019a), FLAMBE (Agarwal et al., 2020b), Reactive PSRs (Littman et al., 2001), Linear Bellman Complete (Munos, 2005; Zanette et al., 2020).

More generally, there are also a few lines of work which propose more general frameworks, consisting of structural conditions which permit sample efficient RL; these include the low-rankness structure (e.g. the Bellman rank (Jiang et al., 2017) and Witness rank (Sun et al., 2019)) or under a complete condition (Munos, 2005; Zanette et al., 2020). The goal in these latter works is to develop a unified theory of generalization in RL, analogous to more classical notions of statistical complexity (e.g. VC-theory and Rademacher complexity) relevant for supervised learning. These latter frameworks are not contained in each other (see Table 1), and, furthermore, there are a number of natural RL models that cannot be incorporated into each of these frameworks (see Table 2).

Motivated by this latter line of work, we aim to understand if there are simple and natural structural conditions which capture the learnability in a general class of RL models.

This work provides a simple structural condition on the hypothesis class (which may be either model-based or value-based), where the Bellman error has a particular bilinear form, under which sample efficient learning is possible; we refer such a framework as a Bilinear Class. This structural assumption can be seen as generalizing the Bellman rank (Jiang et al., 2017); furthermore, it not only contains existing frameworks, it also covers a number of new settings that are not easily incorporated in previous frameworks (see Tables 1 and 2).

Our main result presents an optimization-based algorithm, BiLin-UCB, which provably enjoys a polynomial sample complexity guarantee for Bilinear Classes (cf. Theorem 5.2). Although our framework is more general than existing ones, our proof is substantially simpler – we give a unified analysis based on the elliptical potential lemma, developed for the theory of linear bandits (Dani et al., 2008; Srinivas et al., 2009).

Furthermore, as a point of emphasis, our results are non-parametric in nature (stated in terms of an information gain quantity (Srinivas et al., 2009)), as opposed to finite dimensional as in prior work. From a technical point of view, it is not evident how to extend prior approaches to this non-parametric setting. Notably, the non-parametric regime is particularly relevant to RL due to that, in RL, performance bounds do not degrade gracefully with approximation error or model mis-specification (e.g. see Du et al. (2020a) for discussion of these issues); the relevance of the non-parametric regime is that it may provide additional flexibility to avoid the catastrophic quality degradation due to approximation error or model mis-specification.

Definition of Bilinear Class: Our key conceptual contribution is the definition of the Bilinear Class, which isolates two key critical properties. The first property is that the Bellman error can be upper bounded by a bilinear form depending on the hypothesis. The second property is that the corresponding bilinear form for all hypothesis in the hypothesis class can be estimated with the same dataset. Analogous to supervised learning, this allows for efficient data reuse to estimate the Bellman error for all hypothesis simultaneously and eliminate those with high error.

A reduction to supervised learning: One appealing aspect of this framework is that the our main sample complexity result for RL is quantified via a reduction to the generalization error of a supervised learning problem, where we have a far better understanding of the latter. This is particularly important due to that we make no explicit assumptions on the hypothesis class H\mathcal{H} itself, thus allowing for neural hypothesis classes in some cases (the Bilinear Class posits an implicit relationship between H\mathcal{H} and the underlying MDP M\mathcal{M}).

New models: We show our Bilinear Class framework incorporates new natural models, that are not easily incorporated into existing frameworks, e.g. linear Q∗/V∗Q^{*}/V^{*}, Low Occupancy Complexity, along with (infinite-dimensional) RKHS versions of linear MDPs and linear mixture MDPs. The linear Q∗/V∗Q^{*}/V^{*} result is particularly notable due to a recent and remarkable lower bound which showed that if we only assume Q∗Q^{*} is linear in some given set of features, then sample efficient learning is information theoretically not possible (Weisz et al., 2020). In perhaps a surprising contrast, our works shows that if we assume that both Q⋆Q^{\star} and V⋆V^{\star} are linear in some given features then sample efficient learning is in fact possible.

Non-parametric rates: Our work is applicable to the non-parametric setting, where we develop new analysis tools to handle a number of technical challenges. This is notable as non-parametric rates for RL are few and far between. Our results are stated in terms of the critical information gain which can viewed as an analogous quantity to the critical radius, a quantity which is used to obtain sharp rates in non-parametric statistical settings (Wainwright, 2019).

Flexible Framework: The Bilinear Class framework is easily modified to include cases that do not strictly fit the definition. We show several examples of this in Section 6, where we show simple modifications of Bilinear Class framework include Witness Rank and Kernelized Nonlinear Regulator.

Section 2 provides further related work. Section 3 introduce some technical background and notation. Section 4 introduces our Bilinear Class framework, where we instantiate it on the several RL models, and Section 5 describes our algorithm and provides our main theoretical results. In Section 6, we introduce further extensions of Bilinear Classes. We conclude in Section 7. Appendix A provides additional examples of the Bilinear Class including the feature selection model Agarwal et al. (2020b), Q∗\mathcal{Q}^{\ast} state aggregation, LQR, Linear MDP, and Block MDP. Appendix B provides missing proofs of Section 5. Appendix C provides a key technical theorem to attain non-parametric convergence rates in terms of the information gain, and Appendix D uses this to show concentration inequalities for all the models in a unified approach. Appendix E provides proofs for Section 6. Finally, Appendix G shows that low information gain is necessary in both Bellman Complete and Linear MDP by showing that small RKHS norm is not sufficient for sample-efficient reinforcement learning.

Related Work: Frameworks and Models

We first review existing frameworks and the relations among them. See Table 1 for a summary.

Jiang et al. (2017) defines a notion, Bellman Rank (B-Rank in Tables), in terms of the roll-in distribution and the function approximation class for Q∗Q^{*}, and give an algorithm with a polynomial sample complexity in terms of the Bellman Rank. They also showed a class of models, including tabular MDP, LQR, Reactive POMDP (Krishnamurthy et al., 2016), and Reactive PSR (Littman and Sutton, 2002) admit a low Bellman Rank, and thus they can be solved efficiently. Some recently proposed models, such as Block MDP (Du et al., 2019a), linear MDP (Yang and Wang, 2019; Jin et al., 2020) can also be shown to have a low Bellman rank. One caveat is that their algorithm requires a finite number of actions, so cannot be directly applied to (infinite-action) linear MDP and LQR. Subsequently, Sun et al. (2019) proposed a new framework, Witness Rank (W-Rank in tables), which generalizes Bellman Rank to model-based setting.

Bellman Complete (B-Complete in tables) is a framework of another style, which assumes that the class used for approximating the QQ-function is closed under the Bellman operator. As shown in Table 1, neither the low-rank-style framework (Bellman Rank and Witness Rank) nor the complete-style framework (B-Complete) contains the other (See e.g., Zanette et al. (2020)).

Eluder dimension (Russo and Van Roy, 2014) is another structural condition which directly assumes the function class allows for strong extrapolation after observing dimension number of samples. With appropriate representation conditions (stronger than Bellman Complete), there is an efficient algorithm for function classes with small eluder dimension (Wang et al., 2020). However due to Eluder dimension requiring extrapolation, there are few examples of function classes with small eluder dimension beyond linear functions and monotone transformations of linear functions both of which are captured by the bilinear class.

Concurrently, Jin et al. (2021) proposes a new structural model called Bellman Eluder dimension (BE dimension) which takes both the MDP structure and the function class into consideration. We note that neither BE nor Bilinear Class capture each other. Notably, Bilinear Classes, via use of flexible Bellman error estimators, naturally captures model-based settings including linear mixture MDPs, KNRs, and factored MDPs, which are hard for model-free algorithms and frameworks to capture since the value functions of these models could be arbitrarily complicated. Specifically, Sun et al. (2019) shows that for factored MDPs, model-free algorithms such as OLIVE Jiang et al. (2017) suffer exponential sample complexity in worst case which implies that both BE dimension and Bellman rank are large for factored MDPs. However, Bilinear Class and Witness rank Sun et al. (2019) properly capture the complexity of factored MDPs. Similar situation may also apply to KNRs. For instance, Dong et al. (2020a) showed that for a simple piecewise linear dynamics (thus captured by KNRs) and piecewise reward functions, the optimal policy could contain exponentially many linear pieces and the optimal Q and V functions are fractals which are not differentiable anywhere and cannot be approximated by any neural networks with a polynomial width. It is unclear if such models have low BE dimension.

The primary difference is that the two complexity measures are applied to different structural aspects of the MDP: Bellman eluder framework is applied to the Bellman error and the bilinear class is applied to any loss estimator of the Bellman error. The actual complexity measures of eluder dimension and information gain are very similar and in fact equivalent for RKHS (Huang et al., ; Jin et al., 2021). As these two complexity measures are different in general, an interesting direction for further work is to understand how eluder dimension can address new settings of practical interest beyond (generalized) linear models and whether Bellman eluder dimension can be broadened to capture model-based approaches (like the linear mixture model). Finally, we comment that there are models (e.g., deterministic linear Q⋆Q^{\star} and Q⋆Q^{\star} state-action aggregation) that are captured by neither frameworks; we leave to future work to propose a framework that can capture these models that do not have error amplification.

With an additional Bellman completeness assumption on the function class, Jin et al. (2021) gives an algorithm which extends Eleanor from Zanette et al. (2020) to nonlinear function approximation that achieves a regret guarantee with faster rates than our algorithm. We note that our algorithm and OLIVE (as shown by Jin et al. (2021)) does not require Bellman completeness which is a much stronger assumption than realizability. As examples, the low occupancy complexity, feature selection model, linear mixture model, and many other model-based models are not Bellman complete. While our work focuses on PAC bounds, we conjecture that the techniques from Dong et al. (2020b) can be used for deriving regret bounds without completeness.

Now we discuss existing RL models. A summary on whether a model can be incorporated into a framework is provided in Table 2.

Tabular MDP is the most basic model, which has a finite number of states and actions, and all frameworks incorporate this model. When the state-action space is large, different RL models have been proposed to study when one can generalize across the state-action pairs.

Reactive POMDP (Krishnamurthy et al., 2016) assumes there is a small number of hidden states and the Q∗Q^{*}-function belongs to a pre-specified function class. Block MDP (Du et al., 2019a) also assumes there is a small number of hidden states and further assumes the hidden states are decodable. Reactive PSR (Littman et al., 2001) considers partial observable systems whose parameters are grounded in observable quantities. FLAMBE (Agarwal et al., 2020b) considers the feature selection and removes the assumption of known feature in linear MDP. These models all admit a low-rank structure, and thus can be incorporated into the Bellman Rank or Witness Rank and our Bilinear Classes.

The Linear Bellman Complete model (Munos, 2005) uses linear functions to approximate the QQ-function, and assumes the linear function class is closed under the Bellman operator. Zanette et al. (2020) presented a statistically efficient algorithm for this model. This model does not have a low Bellman Rank or Witness Rank but can be incorporated into the Bellman Complete framework and ours.

Linear MDP (Yang and Wang, 2019; Jin et al., 2020) assumes the transition probability and the reward are linear in given features. This model not only admits a low-rank structure, but also satisfies the complete condition. Therefore, this model belongs in all frameworks. However, when the number of action is infinite, the algorithms for Bellman Rank and Witness Rank are not applicable because their sample complexity scales with the number of actions. Linear mixture MDP (Modi et al., 2020a; Ayoub et al., 2020) assumes the transition probability is a linear mixture of some base models. This model cannot be included in Bellman Rank, Witness Rank, or Bellman Complete, but our Bilinear Classes includes this model.

LQR is a fundamental model for continuous control that can be efficiently solvable (Dean et al., 2019). While LQR has a low Bellman Rank and low Witness Rank, since the algorithms for Bellman Rank and Witness Rank scale with the number of actions and LQR’s action set is uncountable, these two frameworks cannot incorporate LQR.

There is a line of work on state-action aggregation. Q∗Q^{*} “irrelevance” state aggregation assumes one can aggregate states to a meta-state if these states share the same Q∗Q^{*} value, and the number of meta-states is small (Li, 2009; Jiang et al., 2015). Q∗Q^{*} state-action aggregation aggregates state-action pairs to a meta-state-action pair if these pairs have the same Q∗Q^{*}-value (Dong et al., 2020c; Li, 2009).

Lastly, when only assuming Q∗Q^{*} is linear, there exists an exponential lower bound (Weisz et al., 2020), but with the additional assumption that the MDP is (nearly) deterministic and has large sub-optimality gap, there exists sample efficient algorithms (Wen and Van Roy, 2013; Du et al., 2019b, 2020b).

Setting

A deterministic, stationary policy π:S↦A\pi:\mathcal{S}\mapsto\mathcal{A} specifies a decision-making strategy in which the agent chooses actions adaptively based on the current state, i.e. ah∼π(sh)a_{h}\sim\pi(s_{h}). We denote a non-stationary policy π={π0,…,πH−1}\pi=\{\pi_{0},\dots,\pi_{H-1}\} as a sequence of stationary policies where πh:S↦A\pi_{h}:\mathcal{S}\mapsto\mathcal{A}.

Given a policy π\pi and a state-action pair (s,a)∈S×A(s,a)\in\mathcal{S}\times\mathcal{A}, the QQ-function at time step hh is defined as

and, similarly, a value function time step hh of a given state ss under a policy π\pi is defined as

where both expectations are with respect to s0,a0,…sH−1,aH−1∼dπs_{0},a_{0},\ldots s_{H-1},a_{H-1}\sim d^{\pi}. We use Qh⋆Q_{h}^{\star} and Vh⋆V_{h}^{\star} to denote the QQ and VV-functions of the optimal policy.

Throughout the paper, we will consider an algorithm as sample-efficient, if it uses number of trajectories polynomial in the problem horizon HH, inherent dimension dd, accuracy parameter 1/ϵ1/\epsilon and poly-logarithmic in the number of candidate value-functions.

For any two vectors x,yx,y, we denote [x,y][x,y] as the vector that concatenates x,yx,y, i.e., [x,y]:=[x⊤,y⊤]⊤[x,y]:=[x^{\top},y^{\top}]^{\top}. For any set SS, we write △(S)\triangle(S) to denote the probability simplex. We often use U(S)U(S) as the uniform distribution over set SS. We will let V\mathcal{V} denote a Hilbert space (which we assume is either finite dimensional or separable).

We let [H][H] denote the set {0,…H−1}\{0,\ldots H-1\}. We slightly abuse notation (overloading dπd^{\pi} with its marginal distributions), where sh∼dπ,(sh,ah)∼dπ,(rh,sh,ah,sh+1)∼dπs_{h}\sim d^{\pi},(s_{h},a_{h})\sim d^{\pi},(r_{h},s_{h},a_{h},s_{h+1})\sim d^{\pi} and most frequently oh∼dπo_{h}\sim d^{\pi} denotes the marginal distributions at timestep hh. We also use the shorthand notation s0,a0,…sH−1,aH−1∼πs_{0},a_{0},\ldots s_{H-1},a_{H-1}\sim\pi, sh,ah∼πs_{h},a_{h}\sim\pi for s0,a0,…sH−1,aH−1∼dπs_{0},a_{0},\ldots s_{H-1},a_{H-1}\sim d^{\pi}, sh,ah∼dπs_{h},a_{h}\sim d^{\pi}.

Bilinear Classes

Before, we define our structural framework – Bilinear Class, we first define our hypothesis class.

We assume access to a hypothesis class H=H0×…×HH−1\mathcal{H}=\mathcal{H}_{0}\times\ldots\times\mathcal{H}_{H-1}, which can be abstract sets that permit for both model-based and value-based hypotheses. The only restriction we make is that for all f∈Hf\in\mathcal{H}, we have an associated state-action value function Qh,fQ_{h,f} and a value function Vh,fV_{h,f}. We next provide some examples:

An example of value-based hypothesis class H\mathcal{H} is an explicit set of state-action value QQ and value functions VV i.e.

Note that in this case, for any hypothesis f:=((Q0,V0),(Q1,V1),…,(QH−1,VH−1))∈Hf:=((Q_{0},V_{0}),(Q_{1},V_{1}),\ldots,(Q_{H-1},V_{H-1}))\in\mathcal{H}, we can take the associated Qh,f=QhQ_{h,f}=Q_{h} and associated Vh,f=VhV_{h,f}=V_{h}.

Another example of value-based hypothesis class H\mathcal{H} is when H\mathcal{H} is just a set of state-action value QQ functions i.e.

In this case, for any hypothesis f:=(Q0,Q1,…,QH−1)∈Hf:=(Q_{0},Q_{1},\ldots,Q_{H-1})\in\mathcal{H}, we can take the associated Qh,f=QhQ_{h,f}=Q_{h} and the associated Vh,fV_{h,f} function to be greedy with respect to the Qh,fQ_{h,f} function i.e. Vh,f(⋅)=max⁡a∈AQh,f(⋅,a)V_{h,f}(\cdot)=\max_{a\in\mathcal{A}}Q_{h,f}(\cdot,a).

An example of model-based hypothesis class is when Hh\mathcal{H}_{h} is a set of models/transition kernels PhP_{h} and reward functions RhR_{h} i.e.

In this case, for any hypothesis f:=((P0,R0),(P1,R1),…,(PH−1,RH−1))∈Hf:=((P_{0},R_{0}),(P_{1},R_{1}),\ldots,(P_{H-1},R_{H-1}))\in\mathcal{H}, we can take the associated Qh,fQ_{h,f} and Vh,fV_{h,f} functions to be the optimal value functions corresponding to the transition kernels {Ph}h=0H−1\{P_{h}\}_{h=0}^{H-1} and reward functions {Rh}h=0H−1\{R_{h}\}_{h=0}^{H-1}.

Furthermore, we assume the hypothesis class is constrained so that Vh,f(s)=max⁡aQh,f(s,a)V_{h,f}(s)=\max_{a}Q_{h,f}(s,a) for all f∈Hf\in\mathcal{H}, h∈[H]h\in[H], and s∈Ss\in\mathcal{S}, which is always possible as we can remove hypothesis for which this is not true. We let πh,f\pi_{h,f} be the greedy policy with respect to Qh,fQ_{h,f}, i.e., πh,f(s)=argmaxa∈AQh,f(s,a)\pi_{h,f}(s)=\mathop{{}\textrm{argmax}}_{a\in\mathcal{A}}Q_{h,f}(s,a), and πf\pi_{f} as the sequence of time-dependent policies {πh,f}h=0H−1\{\pi_{h,f}\}_{h=0}^{H-1}.

1 Warmup: Bellman rank, the Q𝑄Q and V𝑉V versions.

As a motivation for our structural framework, we next discuss Bellman rank framework considered in Jiang et al. (2017). In this case, the hypothesis class Hh\mathcal{H}_{h} contains Q value functions, i.e.,

In this case, for any hypothesis f:=(Q0,Q1,…,QH−1)∈Hf:=(Q_{0},Q_{1},\ldots,Q_{H-1})\in\mathcal{H}, we take the associated state-action value function Qh,f=QhQ_{h,f}=Q_{h} and the associated state value Vh,fV_{h,f} function to be greedy with respect to the Qh,fQ_{h,f} function i.e. Vh,f(⋅)=max⁡a∈AQh,f(⋅,a)V_{h,f}(\cdot)=\max_{a\in\mathcal{A}}Q_{h,f}(\cdot,a).

Even though Jiang et al. (2017) only considered VV-Bellman Rank, as a natural extension of this definition, we can also consider the QQ-Bellman Rank.

Let us interpret how the two definitions differ in the usage of functions Vh,fV_{h,f} vs Qh,fQ_{h,f} (along with the usage of the “estimation” policies a0:h∼πfa_{0:h}\sim\pi_{f} vs a0:h−1∼πfa_{0:h-1}\sim\pi_{f} and ah∼πga_{h}\sim\pi_{g}). Recall that the Bellman equations can be written in terms of the value functions or the state-action values; here, the intuition is that the former definition corresponds to enforcing Bellman consistency of the value functions while the latter definition corresponds to enforcing Bellman consistency of the state-action value functions. Our more general structural framework, Bilinear Classes, will cover both these definitions for infinite dimensional hypothesis class (note that Jiang et al. (2017) only considered finite dimensional hypothesis class).

2 Bilinear Classes

We now introduce a new structural framework – the Bilinear Class.

We say that H\mathcal{H} is realizable for an MDP M\mathcal{M} if, for all h∈[H]h\in[H], there exists a hypothesis f⋆∈Hf^{\star}\in\mathcal{H} such that Qh⋆(s,a)=Qh,f⋆(s,a)Q_{h}^{\star}(s,a)=Q_{h,f^{\star}}(s,a), where Qh⋆Q_{h}^{\star} is the optimal state-action value at time step hh in the ground truth MDP M\mathcal{M}. For instance, for the model-based perspective, the realizability assumption is implied if the ground truth transition PP belongs to our hypothesis class H\mathcal{H}.

Now we are ready to introduce the Bilinear Class.

Typically, πest(f)\pi_{\textrm{est}}(f) will be either the uniform distribution on A\mathcal{A} or πf\pi_{f} itself; in the latter case, we refer to the estimation strategy as being on-policy.

We also define Xh:={Xh(f) ⁣:f∈H}\mathcal{X}_{h}:=\{X_{h}(f)\colon f\in\mathcal{H}\} and X:={Xh:h∈[H]}\mathcal{X}:=\{\mathcal{X}_{h}:h\in[H]\}.

We now provide some intuition for definition of Bilinear Class. The first part of the definition (Equation 1) basically relates the Bellman error for hypothesis ff (and hence sub-optimality) to the sum of bilinear forms ∣⟨Wh(f)−Wh(f⋆),Xh(f)⟩∣\left\lvert\langle W_{h}(f)-W_{h}(f^{\star}),X_{h}(f)\rangle\right\rvert (see for example proof of Lemma 5.5). Crucially, the second part of the definition (Equation 2), allows us to “reuse” data from hypothesis ff to estimate the bilinear form ∣⟨Wh(g)−Wh(f⋆),Xh(f)⟩∣\left\lvert\langle W_{h}(g)-W_{h}(f^{\star}),X_{h}(f)\rangle\right\rvert for all hypothesis gg in our hypothesis class! This is reminiscent of uniform convergence guarantees in supervised learning, where data can be reused to simultaneously estimate the loss for all hypothesis and eliminate those with high loss.

2.1 Finite Bellman rank ⟹\implies Bilinear Class

Its straightforward to see that in this case, both Equation 1 and Equation 2 are satisfied. ∎

Note that for g=fg=f, we have that for observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1})

Therefore, to prove that this is a Bilinear Class, we will show that a stronger “equality” version of Equation 2 holds (which will also prove Equation 1 holds). Observe that for any hh,

3 Examples

We now provide examples of Bilinear Classes: two known models (Linear Bellman Complete and Linear Mixture Models) and two new models that we propose (Linear Q⋆/V⋆Q^{\star}/V^{\star} and Low Occupancy Complexity). We return to these examples to give non-parametric sample complexities in Section 5.3. See Appendix A for additional examples of Bilinear Classes.

First, we show our definition naturally captures model-based hypothesis class.

We say that a MDP M\mathcal{M} is a Linear Mixture Model if there exists (known) features ϕ:S×A×S↦V\phi:\mathcal{S}\times\mathcal{A}\times\mathcal{S}\mapsto\mathcal{V} and ψ:S×A↦V\psi:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V}; and (unknown) θ⋆∈V\theta^{\star}\in\mathcal{V} for some Hilbert space V\mathcal{V} such that for all h∈[H]h\in[H] and (s,a,s′)∈S×A×S(s,a,s^{\prime})\in\mathcal{S}\times\mathcal{A}\times\mathcal{S}

We denote hypothesis in our hypothesis class H\mathcal{H} as tuples (θ0,…θH−1)(\theta_{0},\ldots\theta_{H-1}), where θh∈V\theta_{h}\in\mathcal{V}. Recall that given a model f∈Hf\in\mathcal{H} (i.e. ff is the time-dependent transitions, i.e., fh:S×A↦Δ(S)f_{h}:\mathcal{S}\times\mathcal{A}\mapsto\Delta(\mathcal{S})), we denote Vh,fV_{h,f} as the optimal value function under model ff and corresponding reward function (in this case defined by ψ\psi). Specifically, for any hypothesis g={θ0,…,θH−1}∈Hg=\{\theta_{0},\dots,\theta_{H-1}\}\in\mathcal{H}, Vh,gV_{h,g} and Qh,gQ_{h,g} satisfy the following Bellman optimality equation:

Note that in this example, discrepancy function will explicitly depend on ff. For hypothesis g={θ0,…,θH−1}∈Hg=\{\theta_{0},\dots,\theta_{H-1}\}\in\mathcal{H} and observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}), we define

Observe that for g=fg=f, using Equation 3, for observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}),

We consider on-policy estimation πest=πf\pi_{est}=\pi_{f}. To prove that linear mixture MDP is a Bilinear Class, we only need to show that an “equality” version of Equation 2 holds (which implies Equation 1 holds by the frame above). For g={θ0,…,θH−1}∈Hg=\{\theta_{0},\dots,\theta_{H-1}\}\in\mathcal{H}, observe:

where we defined the Wh,XhW_{h},X_{h} functions as follows:

This concludes that Linear Mixture Model also forms a Bilinear Class. ∎

We introduce a new model: linear Q⋆/V⋆Q^{\star}/V^{\star} where we assume both the optimal Q⋆Q^{\star} and V⋆V^{\star} are linear functions in features that lie in (possibly infinite dimensional) Hilbert space.

We say that a MDP M\mathcal{M} is a linear Q⋆/V⋆Q^{\star}/V^{\star} model if there exist (known) features ϕ:S×A↦V1\phi:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V}_{1}, ψ:S↦V2\psi:\mathcal{S}\mapsto\mathcal{V}_{2} and (unknown) (w⋆,θ⋆)∈V1×V2(w^{\star},\theta^{\star})\in\mathcal{V}_{1}\times\mathcal{V}_{2} for some Hilbert spaces V1,V2\mathcal{V}_{1},\mathcal{V}_{2} such that for all h∈[H]h\in[H] and for all (s,a,s′)∈S×A×S(s,a,s^{\prime})\in\mathcal{S}\times\mathcal{A}\times\mathcal{S},

Here, our hypothesis class H=H0×…,HH−1\mathcal{H}=\mathcal{H}_{0}\times\ldots,\mathcal{H}_{H-1} is a set of linear functions i.e. for all h∈[H]h\in[H], the set Hh\mathcal{H}_{h} is defined as:

Note that we will show that a stronger “equality” version of Equation 2 holds, which will also prove Equation 1 holds since for observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}),

3.3 Bellman Complete and Linear MDPs

We now consider Bellman Complete which captures the linear MDP model (see Section A.4 for more detail on linear MDP model). Here, our hypothesis class H\mathcal{H} is set of linear functions with respect to some (known) feature ϕ:S×A↦V\phi:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V}, where V\mathcal{V} is a Hilbert space. We denote hypothesis in our hypothesis class H\mathcal{H} as tuples (θ0,…θH−1)(\theta_{0},\ldots\theta_{H-1}), where θh∈V\theta_{h}\in\mathcal{V}.

We say our hypothesis class H\mathcal{H} is Linear Bellman Complete with respect to M\mathcal{M} if H\mathcal{H} is realizable and there exists Th:V→V\mathcal{T}_{h}:\mathcal{V}\rightarrow\mathcal{V} such that for all (θ0,…θH−1)∈H(\theta_{0},\ldots\theta_{H-1})\in\mathcal{H} and h∈[H]h\in[H],

for all (s,a)∈S×A(s,a)\in\mathcal{S}\times\mathcal{A}.

Note that in this case, we will show that a stronger version of Equation 2 holds i.e with equality instead of ≤\leq inequality, which will also prove Equation 1 holds since for observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}),

Observe that Wh(f⋆)=0W_{h}(f^{\star})=0 for all hh. ∎

3.4 Low Occupancy Complexity (new model).

We introduce another new model: Low Occupancy Complexity.

We say that a MDP M\mathcal{M} and hypothesis class H\mathcal{H} has low occupancy complexity with respect to a (possibly unknown) feature mapping ϕh:S×A→V\phi_{h}:\mathcal{S}\times\mathcal{A}\rightarrow\mathcal{V} (where V\mathcal{V} is a Hilbert space) if H\mathcal{H} is realizable and there exists a (possibly unknown) βh:H↦V\beta_{h}:\mathcal{H}\mapsto\mathcal{V} for h∈[H]h\in[H] such that for all f∈Hf\in\mathcal{H} and (sh,ah)∈S×A(s_{h},a_{h})\in\mathcal{S}\times\mathcal{A} we have that:

To see why this is a Bilinear Class, as in previous proofs, we will show that an “equality” version of Equation 2 holds, which will also prove Equation 1 holds since

Observe that for any hh (here observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1})):

Note that Wh(f⋆)=0W_{h}(f^{\star})=0. This completes the proof. ∎

Note that as such the hypothesis class H\mathcal{H} could be arbitrary and unlike other models where we assume linearity, here it could be a neural state-action value class. Our model can also capture the setting where the state-only occupancy has low complexity, i.e., dπf(sh)=βh(f)μh(sh)d^{\pi_{f}}(s_{h})=\beta_{h}(f)\mu_{h}(s_{h}), for some μh:S→V\mu_{h}:\mathcal{S}\to\mathcal{V}. In this case, we will use πest=U(A)\pi_{est}=U(\mathcal{A}).

The Algorithm and Theory

There are two ways to collect batch samples. For the case where πest=πft\pi_{est}=\pi_{f_{t}}, then for data collection in Line 4, we can generate mm length-H trajectories by executing πft\pi_{f_{t}} starting from s0s_{0}. For the general case (e.g. consider setting πest\pi_{est} to be a uniform distribution over A\mathcal{A}), we gather the data for each h∈[H]h\in[H] independently. For h∈[H]h\in[H], we first roll-in with πft\pi_{f_{t}} to generate shs_{h}; then execute ah∼πesta_{h}\sim\pi_{est}; and then continue to generate sh+1∼Ph(⋅∣sh,ah)s_{h+1}\sim P_{h}(\cdot|s_{h},a_{h}) and rh∼R(⋅∣sh,ah)r_{h}\sim R(\cdot|s_{h},a_{h}). Repeating this process for all hh, we need HmHm trajectories to form the batch datasets {Dt;h}h=0H−1\{\mathcal{D}_{t;h}\}_{h=0}^{H-1}.

For a set D⊂S×A×S\mathcal{D}\subset\mathcal{S}\times\mathcal{A}\times\mathcal{S}, we will also use D\mathcal{D} to represent the uniform distribution over this set.

It is helpful to separate the dependence of generalization error on failure probability δ\delta and number of samples mm in order to state Theorem 5.2 concisely. εgen(m,H)\varepsilon_{\textrm{gen}}(m,\mathcal{H}) is related to uniform convergence and measures the generalization error of hypothesis class H\mathcal{H} and for the hypothesis classes discussed in this paper, εgen(m,H)→0\varepsilon_{\textrm{gen}}(m,\mathcal{H})\to 0 as m→∞m\to\infty. One example is when πest=πf\pi_{est}=\pi_{f}, and H\mathcal{H} is a discrete function class, then we have εgen(m,H)=O((1+ln⁡(∣H∣))/m.)\varepsilon_{\textrm{gen}}(m,\mathcal{H})=O\left(\sqrt{(1+\ln(|\mathcal{H}|))/m}.\right). In Appendix D, we also discuss uniform convergence via a novel covering argument for infinite dimensional RKHS.

Set the parameters as: number of iterations T=d~mT=\widetilde{d}_{m} and confidence radius R=Tεgen(m,H)⋅conf(δ/(TH))R=\sqrt{T}\varepsilon_{\textrm{gen}}(m,\mathcal{H})\cdot\textrm{conf}(\delta/(TH)). With probability at least 1−δ1-\delta, Algorithm 1 uses at most mHTmHT trajectories and returns a hypothesis ff such that:

number of iterations T=c_{2}dH\ln\Big{(}B_{X}B_{W}m\Big{)} and confidence radius R=c3T⋅Hln⁡(∣H∣)/m⋅ln⁡(TH/δ)R=c_{3}\sqrt{T}\cdot H\sqrt{\ln(|\mathcal{H}|)/m}\cdot\ln(TH/\delta), with probability at least 1−δ1-\delta, Algorithm 1 returns a hypothesis ff such that V⋆(s0)−Vπf(s0)≤ϵV^{\star}(s_{0})-V^{\pi_{f}}(s_{0})\leq\epsilon using at most

The proof for this corollary follows from bounds on εgen(m,H)\varepsilon_{\textrm{gen}}(m,\mathcal{H}) and conf(δ)\textrm{conf}(\delta) using Hoeffding’s inequality (Lemma F.1). We present the complete proof in Appendix B.

Our next results will be non-parametric in nature and therefore it is helpful to introduce the maximum information gain (Srinivas et al., 2009), which captures an important notion of the effective dimension of a set. Let X⊂V\mathcal{X}\subset\mathcal{V} , where V\mathcal{V} is a Hilbert space. For λ>0\lambda>0 and integer n>0n>0, the maximum information gain γn(λ;X)\gamma_{n}(\lambda;\mathcal{X}) is defined as:

If X\mathcal{X} is of the form X={Xh:h∈[H]}\mathcal{X}=\{\mathcal{X}_{h}:h\in[H]\}, we use the notation

Define critical information gain, denoted by γ~(λ;X)\widetilde{\gamma}(\lambda;\mathcal{X}), as the smallest integer k>0k>0 s.t. k≥γk(λ;X)k\geq\gamma_{k}(\lambda;\mathcal{X}), i.e.

(where kk is an integer). Note that such a γ~(λ;X)\widetilde{\gamma}(\lambda;\mathcal{X}) exists provided that the information gain γn(λ;X)\gamma_{n}(\lambda;\mathcal{X}) has a sufficiently mild growth condition in both nn and 1/λ1/\lambda. The critical information gain can viewed as an analogous quantity to the critical radius, a quantity which arises in non-parametric statistics (Wainwright, 2019).

We now present our main theorem. Recall the definitions Xh:={Xh(f) ⁣:f∈H}\mathcal{X}_{h}:=\{X_{h}(f)\colon f\in\mathcal{H}\} and X:={Xh:h∈[H]}\mathcal{X}:=\{\mathcal{X}_{h}:h\in[H]\}.

Set the parameters as: number of iterations T=d~mT=\widetilde{d}_{m} and confidence radius R=d~mεgen(m,H)⋅conf(δ/(d~mH))R=\sqrt{\widetilde{d}_{m}}\varepsilon_{\textrm{gen}}(m,\mathcal{H})\cdot\textrm{conf}(\delta/(\widetilde{d}_{m}H)). With probability at least 1−δ1-\delta, Algorithm 1 uses at most mHd~mmH\widetilde{d}_{m} trajectories and returns a hypothesis ff such that:

Next, we provide an elementary and detailed proof for our main theorem using an elliptical potential argument.

2 Proof of Theorem 5.1 and Theorem 5.2

In this subsection, we prove our main theorems – Theorem 5.1 and Theorem 5.2.

For all t∈[T]t\in[T] and g∈Hg\in\mathcal{H} and h∈[H]h\in[H], with probability at least 1−δ1-\delta, we have:

This follows from the uniform convergence (5.1) and then union bounding over all t∈[T]t\in[T] and h∈[H]h\in[H]. ∎

We now complete the proof of Theorem 5.1 and Theorem 5.2 using Lemma 5.1, Lemma 5.2 and setting the parameters using the definition of critical information gain.

Fix λ=εgen2(m,H)/BW2\lambda=\varepsilon_{\textrm{gen}}^{2}(m,\mathcal{H})/B_{W}^{2}. From definition of critical information gain (Equation 6), it follows that for T=γ~(λ,X)T=\widetilde{\gamma}(\lambda,\mathcal{X}),

Observing that for our choice of TT, γT(λ;X)/T≤1\gamma_{T}(\lambda;\mathcal{X})/T\leq 1 and e−1<2e-1<2 , we get

where the second last equality uses the definition of λ\lambda.

Moreover, each iteration of the algorithm, takes only mHmH trajectories, this gives the total trajectories as mHT=mHγ~(λ,X)mHT=mH\widetilde{\gamma}(\lambda,\mathcal{X}). This proves Theorem 5.2. Theorem 5.1 follows from the upper bound on γ~(λ,X)\widetilde{\gamma}(\lambda,\mathcal{X}) for finite dimensional Xh\mathcal{X}_{h} using Lemma F.3. ∎

In the rest of the section, we will prove our main lemma – Lemma 5.2. The first step shows that under 5.1, our RR is set properly so that f⋆f^{\star} is always a feasible solution of the constrained optimization program in Algorithm 1.

Assume the event in Lemma 5.1 holds. Then for all t∈[T]t\in[T], we have that f⋆f^{\star} is always a feasible solution.

Note that Lμi;h,fi(f∗)=0\mathcal{L}_{\mu_{i;h},f_{i}}(f^{\ast})=0 (Equation 2). Thus using Lemma 5.1, we have:

Noting that t≤Tt\leq T and in our parameter setup R=TεgenR=\sqrt{T}\varepsilon_{\textrm{gen}} completes the proof. ∎

The feasibility result immediately leads to optimism.

Assume the event in Lemma 5.1 holds. Then for all t∈[T]t\in[T], we have V⋆≤Vft;0(s0)V^{\star}\leq V_{f_{t};0}(s_{0}).

Lemma 5.3 implies f⋆f^{\star} is a feasible solution for the optimization program for all t∈[T]t\in[T]. This proves the claim. ∎

The following lemma relates the sub-optimality to a sum of bilinear forms. Using the performance difference lemma, we first show that sub-optimality is upper bounded by the Bellman errors of Qh,ftQ_{h,f_{t}}, which are further upper bounded by sum of bilinear forms via our assumption (Equation 1).

Assume the event in Lemma 5.1 holds. Then, the following holds for all t∈[T]t\in[T]:

where the last step follows Equation 1 in the Bilinear Class definition. ∎

The following is a variant of the Elliptical Potential Lemma, central in the analysis of linear bandits (Dani et al., 2008; Srinivas et al., 2009; Abbasi-Yadkori et al., 2011).

By definition of Σt\Sigma_{t} and matrix determinant lemma, we have:

Now, we will finish the proof of Lemma 5.2 by showing that the sum of bilinear forms in Lemma 5.5 is small for at least for one t∈[T]t\in[T]. More precisely, using Equation 2 together with elliptical potential argument (Lemma 5.6), we can show that after d~m\widetilde{d}_{m} many iterations, we must have found a policy πft\pi_{f_{t}} such that ∣⟨Wh(ft)−Wh(f⋆),Xh(ft)⟩∣\left\lvert\langle W_{h}(f_{t})-W_{h}(f^{\star}),X_{h}(f_{t})\rangle\right\rvert is small for all hh.

Our goal (as per Lemma 5.5 and Equation 1) is to find t∈[T]t\in[T] such that

for appropriately chosen AA. We will show existence of such Xh(ft)X_{h}(f_{t}) and AA (Equation 7) using the potential argument (Lemma 5.6) and conditions on Wh(ft)−Wh(f⋆)W_{h}(f_{t})-W_{h}(f^{\star}) follow from our optimization program. We now show this in more detail.

where we have used definition of maximum information gain γT(λ;Xh)\gamma_{T}(\lambda;\mathcal{X}_{h}) (Equation 4) and

where the last equality follows from Equation 5. Since, each of these terms is ≥0\geq 0, we get that there exists t∈[T]t\in[T] such that

Again, since each of these terms is ≥0\geq 0, we get that for all h∈[H]h\in[H]

and simplifying, we get that for all h∈[H]h\in[H],

Also, by construction of our program, for all iterations and in particular for tt, it holds that for all h∈[H]h\in[H]

where the first inequality follows from (a+b)2≤2a2+2b2(a+b)^{2}\leq 2a^{2}+2b^{2} and the last step follows from the frame above and t∈[T]t\in[T]. Using the definition of Bilinear Class (Equation 2), for all h∈[H]h\in[H]

where the first inequality follows from the frame above and definition of Σt;h\Sigma_{t;h}. Using Equation 7 and the frame above, this immediately shows that for all h∈[H]h\in[H]

Using Lemma 5.5, this gives the desired result. ∎

3 Corollaries for Particular Models

In this section, we apply our main theorem to special models: linear Q⋆/V⋆Q^{\star}/V^{\star}, RKHS bellman complete, RKHS linear mixture model, and low occupancy complexity model. While linear bellman complete and linear mixture model have been studied, our results extends to infinite dimensional RKHS setting.

In this subsection, we provide the sample complexity result for the linear Q⋆/V⋆Q^{\star}/V^{\star} model (Definition 4.5). To state our results for linear Q⋆/V⋆Q^{\star}/V^{\star}, we define the following sets:

and define the concatenation setFor infinite dimensional Φ\Phi and Ψ\Psi, we consider the natural inner product space where ⟨[x1,y1],[x2,y2]⟩=⟨x1,x2⟩+⟨y1,y2⟩\langle[x_{1},y_{1}],[x_{2},y_{2}]\rangle=\langle x_{1},x_{2}\rangle+\langle y_{1},y_{2}\rangle.

trajectories for some absolute constant c1,c2c_{1},c_{2}.

To prove this, we will prove a more general sample complexity result for the infinite dimensional RKHS case.

Suppose MDP M\mathcal{M} is a linear Q⋆/V⋆Q^{\star}/V^{\star} model. Assume sup⁡(w,θ)∈Hh,h∈[H]∥[w,θ]∥2≤BW\sup_{(w,\theta)\in\mathcal{H}_{h},h\in[H]}\lVert[w,\theta]\rVert_{2}\leq B_{W} and sup⁡x∈Φ∘Ψ∥x∥2≤BX\sup_{x\in\Phi\circ\Psi}\lVert x\rVert_{2}\leq B_{X}. Fix δ∈(0,1/3)\delta\in(0,1/3), batch sample size mm, and define:

where \nu:=\ln\left(1+3B_{X}B_{W}\sqrt{m\widetilde{\gamma}\Big{(}\frac{1}{8B_{W}^{2}m};\Phi\circ\Psi\Big{)}}\right).

Set the parameters as: R=(12H/\sqrt{m})\sqrt{\widetilde{d}_{m}(\mathcal{X})\cdot\widetilde{d}_{m}(\Phi\circ\Psi)}\cdot\sqrt{\ln\big{(}(\widetilde{d}_{m}(\mathcal{X})H)/\delta\big{)}} and T=d~m(X)T=\widetilde{d}_{m}(\mathcal{X}). With probability greater than 1−δ1-\delta, Algorithm 1 uses at most mHd~m(X)mH\widetilde{d}_{m}(\mathcal{X}) trajectories and returns a hypothesis ff:

where v:=ln⁡((d~m(X)H)/δ)v:=\sqrt{\ln\left((\widetilde{d}_{m}(\mathcal{X})H)/\delta\right)}.

First, using Corollary D.3, we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g=([w0,θ0],…,[wH−1,θH−1])∈Hg=([w_{0},\theta_{0}],\ldots,[w_{H-1},\theta_{H-1}])\in\mathcal{H} (note that Lμ(g)\mathcal{L}_{\mu}(g) only depends on [wh,θh][w_{h},\theta_{h}] for distribution μ\mu over observed transitions oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}) at timestep hh.)

where we have used that ln⁡(1/δ)>1\ln(1/\delta)>1 and γ~m=γ~(1/(8BW2m);Φ∘Ψ)\widetilde{\gamma}_{m}=\widetilde{\gamma}(1/(8B_{W}^{2}m);\Phi\circ\Psi) (as defined in Equation 6). Define

Substituting this in Theorem 5.2 gives the result

Similarly, as sup⁡z∈X∥z∥≤sup⁡x∈Φ∘Ψ∥x∥\sup_{z\in\mathcal{X}}\lVert z\rVert\leq\sup_{x\in\Phi\circ\Psi}\lVert x\rVert, using Lemma F.3 and similar analysis as above (and 144H2d~m(Φ∘Ψ)≥1144H^{2}\widetilde{d}_{m}(\Phi\circ\Psi)\geq 1), we get

To get ϵ\epsilon-optimal policy (from Equation 11), we have to set

Further upper bounding the right hand side of the above inequality by substituting in upper bounds for d~m(X)\widetilde{d}_{m}(\mathcal{X}) and d~m(Φ∘Ψ)\widetilde{d}_{m}(\Phi\circ\Psi) from frames above, we can set mm to be as large as:

Using Lemma F.2 for α=4\alpha=4, a=32⋅(72)2d2H5ln⁡(1/δ)/ϵ2a=32\cdot(72)^{2}d^{2}H^{5}\ln(1/\delta)/\epsilon^{2}, b=25BX2BW2dH2b=25B_{X}^{2}B^{2}_{W}dH^{2} and c=54c=5^{4}, we get that

Substituting this in the expression above for d~m(X)\widetilde{d}_{m}(\mathcal{X}) and setting this upper bound to TT, we get

Since, we use on policy estimation, i.e., πest=πft\pi_{est}=\pi_{f_{t}} for all tt, the trajectory complexity is mTmT which completes the proof. ∎

3.2 RKHS Bellman Complete.

In this subsection, we provide the sample complexity result for the Linear Bellman Complete model (Definition 4.6). To state our results, we define

trajectories for some absolute constant c1,c2c_{1},c_{2}.

In comparison, Jin et al. (2020) has sample complexity O~(d3H3/ϵ2log⁡(1/δ))\widetilde{O}(d^{3}H^{3}/\epsilon^{2}\log(1/\delta)) and Zanette et al. (2020) has O~(d2H3/ϵ2log⁡(1/δ))\widetilde{O}(d^{2}H^{3}/\epsilon^{2}\log(1/\delta)). To prove this, we will prove a more general sample complexity result for the infinite dimensional RKHS case. Note that RKHS Linear MDP is a special instance of RKHS Bellman Complete. Prior works that studied RKHS Linear MDP either achieves worse rate (Agarwal et al., 2020a) or further assumes finite covering dimension of the space of all possible upper confidence bound Q functions which are algorithm dependent quantities (Yang et al., 2020).

Suppose H\mathcal{H} is Bellman Complete with respect to MDP M\mathcal{M} for some Hilbert space V\mathcal{V}. Assume sup⁡h∈[H],θ∈Hh∥θ∥2≤BW\sup_{h\in[H],\theta\in\mathcal{H}_{h}}\lVert\theta\rVert_{2}\leq B_{W} and sup⁡x∈Φ∥x∥2≤BX\sup_{x\in\Phi}\lVert x\rVert_{2}\leq B_{X}. Fix δ∈(0,1/3)\delta\in(0,1/3), batch sample size mm, and define:

where \nu=\ln\left(1+3B_{X}B_{W}\sqrt{m\widetilde{\gamma}\Big{(}\frac{1}{8B_{W}^{2}m};\Phi\Big{)}}\right).

where v=\sqrt{\ln\big{(}(\widetilde{d}_{m}(\mathcal{X})H)/\delta\big{)}}.

First, using Corollary D.2, we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g=(θ0,…,θH−1)∈Hg=(\theta_{0},\ldots,\theta_{H-1})\in\mathcal{H} (note that Lμ(g)\mathcal{L}_{\mu}(g) only depends on θh\theta_{h} for distribution μ\mu over observed transitions oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}) at timestep hh.)

where we have used that ln⁡(1/δ)>1\ln(1/\delta)>1 and γ~m=γ~(1/(8BW2m);Φ)\widetilde{\gamma}_{m}=\widetilde{\gamma}(1/(8B_{W}^{2}m);\Phi) (as defined in Equation 6). Define

Substituting this in Theorem 5.2 gives the result

Since the proof follows similar to proof of Corollary 5.2, we will only provide a proof sketch here. First, from Lemma F.3, we have that

Similarly, as sup⁡z∈X∥z∥≤sup⁡x∈Φ∥x∥\sup_{z\in\mathcal{X}}\lVert z\rVert\leq\sup_{x\in\Phi}\lVert x\rVert, using Lemma F.3 (and since 400H2d~m(Φ)≥1400H^{2}\widetilde{d}_{m}(\Phi)\geq 1), we get

To get ϵ\epsilon-optimal policy, we have to set

The rest of the proof follows similarly to proof of Corollary 5.2. ∎

3.3 RKHS linear mixture model

In this subsection, we provide the sample complexity result for the Linear Mixture model (Definition 4.4). To present our sample complexity results, we define:

trajectories for some absolute constant c1,c2c_{1},c_{2}.

In comparison, Modi et al. (2020a) has sample complexity O~(d2H2/ϵ2log⁡(1/δ))\widetilde{O}(d^{2}H^{2}/\epsilon^{2}\log(1/\delta)). To prove this, we will prove a more general sample complexity result for the infinite dimensional RKHS case. We omit proof of Corollary 5.6 since it follows same as proof of Corollary 5.2.

Suppose MDP M\mathcal{M} is a linear Mixture Model. Assume sup⁡θ∈Hh,h∈[H]∥θ∥2≤BW\sup_{\theta\in\mathcal{H}_{h},h\in[H]}\lVert\theta\rVert_{2}\leq B_{W} and sup⁡x∈Φh,h∈[H]∥x∥2≤BX\sup_{x\in\Phi_{h},h\in[H]}\lVert x\rVert_{2}\leq B_{X}. Fix δ∈(0,1/3)\delta\in(0,1/3), batch sample size mm, and define:

where \nu_{h}=\ln\left(1+3B_{X}B_{W}\sqrt{m\widetilde{\gamma}\Big{(}\frac{1}{8B_{W}^{2}m};\Phi_{h}\Big{)}}\right).

Set parameters as: R=(12H/\sqrt{m})\sqrt{\widetilde{d}_{m}(\mathcal{X})\cdot\widetilde{d}_{m}(\Phi)}\cdot\sqrt{\ln\big{(}(\widetilde{d}_{m}(\mathcal{X})H)/\delta\big{)}} and T=d~m(X)T=\widetilde{d}_{m}(\mathcal{X}). With probability greater than 1−δ1-\delta, Algorithm 1 uses at most mHd~m(X)mH\widetilde{d}_{m}(\mathcal{X}) trajectories and returns a hypothesis ff

where v=\sqrt{\ln\big{(}(\widetilde{d}_{m}(\mathcal{X})H)/\delta\big{)}}.

First, using Corollary D.3 and Lemma F.1, we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g=(θ0,…,θH−1)∈Hg=(\theta_{0},\ldots,\theta_{H-1})\in\mathcal{H} (note that Lμ(g)\mathcal{L}_{\mu}(g) only depends on θh\theta_{h} for distribution μ\mu over observed transitions oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}) at timestep hh.)

where we have used that ln⁡(1/δ)>1\ln(1/\delta)>1 and γ~m=max⁡h∈[H]γ~(1/(8BW2m);Φh)\widetilde{\gamma}_{m}=\max_{h\in[H]}\widetilde{\gamma}(1/(8B_{W}^{2}m);\Phi_{h}) (as defined in Equation 6). Define

Substituting this in Theorem 5.2 gives the result

3.4 Low Occupancy Complexity

Recall the low occupancy complexity model in Definition 4.7.

Suppose H\mathcal{H} has low occupancy complexity. Assume sup⁡f∈Hh,h∈[H]∥Wh(f)∥2≤BW\sup_{f\in\mathcal{H}_{h},h\in[H]}\lVert W_{h}(f)\rVert_{2}\leq B_{W}. Fix δ∈(0,1/3)\delta\in(0,1/3), batch sample size mm, and define:

Set T=d~m(X)T=\widetilde{d}_{m}(\mathcal{X}) and R=(2\sqrt{2}H/\sqrt{m})\cdot\sqrt{\widetilde{d}_{m}(\mathcal{X})}\cdot\sqrt{1+\ln\big{(}|\mathcal{H}|\big{)}}\cdot\sqrt{\ln\big{(}\widetilde{d}_{m}(\mathcal{X})H\big{)}+\ln\big{(}1/\delta\big{)}}. With probability greater than 1−δ1-\delta, Algorithm 1 uses at most mHd~m(X)mH\widetilde{d}_{m}(\mathcal{X}) trajectories and returns a hypothesis ff such that:

where v=\sqrt{\ln\big{(}\widetilde{d}_{m}(\mathcal{X})H\big{)}+\ln\big{(}1/\delta\big{)}}.

First, using Lemma F.1, we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g∈Hg\in\mathcal{H}

Substituting this in Theorem 5.2 gives the result

3.5 Finite Bellman Rank

In this section, we will prove sample complexity bounds for MDPs with finite Bellman Rank introduced in Jiang et al. (2016) (also defined as VV-Bellman rank in Section 4.1).

For a given MDP M\mathcal{M}, suppose a hypothesis class H\mathcal{H} has Bellman rank dd. Assume sup⁡f∈Hh,h∈[H]∥Wh(f)∥2≤BW\sup_{f\in\mathcal{H}_{h},h\in[H]}\lVert W_{h}(f)\rVert_{2}\leq B_{W} and sup⁡f∈H,h∈[H]∥Xh(f)∥≤BX\sup_{f\in\mathcal{H},h\in[H]}\lVert X_{h}(f)\rVert\leq B_{X} for some BW,BX≥1B_{W},B_{X}\geq 1. Fix δ∈(0,1/3)\delta\in(0,1/3) and ϵ∈(0,H)\epsilon\in(0,H). There exists an appropriate setting of batch sample size mm, number of iteration TT and confidence radius RR such that with probability at least 1−δ1-\delta, Algorithm 1 returns a hypothesis ff such that V⋆(s0)−Vπf(s0)≤ϵV^{\star}(s_{0})-V^{\pi_{f}}(s_{0})\leq\epsilon using at most

trajectories for some absolute constant c1,c2c_{1},c_{2}.

Note that in comparison, Jiang et al. (2016) has sample complexity O~(d2H5∣A∣/ϵ2log⁡(1/δ))\widetilde{O}(d^{2}H^{5}|\mathcal{A}|/\epsilon^{2}\log(1/\delta)). We now present the proof.

First, as observed in Jiang et al. (2016)[Lemma 14], we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g∈Hg\in\mathcal{H}

where the second inequality holds as long as m>2H∣A∣ln⁡(∣H∣/δ)m>2H|\mathcal{A}|\ln(|\mathcal{H}|/\delta). This satisfies our 5.1 with

Substituting this in Theorem 5.2 gives the result

where the second last step follows from Lemma F.3. Substituting εgen\varepsilon_{\textrm{gen}} and conf in Theorem 5.2 also gives

To get ϵ\epsilon-optimal policy, we have to set

Further simplifying the RHS, we can write it as

Using Lemma F.2 for α=2\alpha=2, a=4608dH5∣A∣(1+ln⁡(∣H∣))/ϵ2a=4608dH^{5}|\mathcal{A}|(1+\ln(|\mathcal{H}|))/\epsilon^{2}, b=16dH2BW2BX2/δb=16dH^{2}B_{W}^{2}B_{X}^{2}/\delta and c=9c=9, we get that

Substituting this in the expression above for d~m(X)\widetilde{d}_{m}(\mathcal{X}) and setting this upper bound to TT, we get

Since, we use on policy estimation, i.e., πest=U(A)\pi_{est}=U(\mathcal{A}) for all tt, the trajectory complexity is mTHmTH which completes the proof. ∎

Extended Bilinear Classes

While Bilinear Classes captures most existing models, in this section, we discuss several straightforward extensions of it to incorporate additional models such as Kernelized Nonlinear Regulator (KNR), generalized linear Bellman complete model, and Witness Rank.

Typically, πest(f)\pi_{\textrm{est}}(f) will be either the uniform distribution on A\mathcal{A} or πf\pi_{f} itself; in the latter case, we refer to the estimation strategy as being on-policy.

We also define Xh:={Xh(f) ⁣:f∈H}\mathcal{X}_{h}:=\{X_{h}(f)\colon f\in\mathcal{H}\} and X:={Xh:h∈[H]}\mathcal{X}:=\{\mathcal{X}_{h}:h\in[H]\}.

We make the following assumptions on the two nonlinear transformations. We assume the slope of ζ\zeta is lower bounded, and ξ\xi is non-decreasing and concave. Similar assumption has been used in generalized linear bandit model (e.g, Russo and Van Roy (2014)).

For ζ\zeta, we assume ζ(0)=0\zeta(0)=0 and ζ\zeta is continuously differentiable, and

For ξ\xi, we assume ξ(0)=0\xi(0)=0, and ξ\xi is concave and non-decreasing.

We again rely on a reduction to supervised learning style generalization error by extending 5.1 to the following new assumption such that it now includes the additional function class Fh\mathcal{F}_{h}.

One simple example of the εgen(m,H,F)\varepsilon_{\textrm{gen}}(m,\mathcal{H},\mathcal{F}) is when H\mathcal{H} and F\mathcal{F} are both discrete, εgen(m,H,F)\varepsilon_{\textrm{gen}}(m,\mathcal{H},\mathcal{F}) will scale in the order of O~(ln⁡(∣H∣∣F∣)/m)\widetilde{O}\left(\sqrt{\ln(|\mathcal{H}||\mathcal{F}|)/m}\right) via standard uniform convergence analysis.

With the above assumptions, we can show that our algorithm achieves the following regret.

For Generalized Bilinear Class under 6.1, setting parameters properly, we have that with probability at least 1−δ1-\delta:

The proof of the above theorem largely follows the proof of Theorem 5.2, and is deferred to Appendix E.

In this section, we show how the above definition captures KNR (Kakade et al., 2020) which we define next. We note that neither Bellman rank nor Witness rank could capture KNR directly. Specifically, since ϕ(s,a)\phi(s,a) could be nonlinear transformation and reward could be arbitrary (except being bounded in $$), it is not possible to leverage model-free approaches to solve KNR as the value functions and Q functions of a KNR could be too complicated to be captured by function classes with bounded complexity.

Given features ϕ:S×A→V\phi:\mathcal{S}\times\mathcal{A}\to\mathcal{V} with V\mathcal{V} being some Hilbert space, we say a MDP M\mathcal{M} is a Kernelized Nonlinear Regulator (KNR) if it admits the following transition function:

We follow on-policy strategy and set discriminator classes to be empty, i.e., we set πest=πf\pi_{est}=\pi_{f}, and Fh=∅\mathcal{F}_{h}=\emptyset for all h∈[H]h\in[H]. Thus, we have for observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}):

2 Generalized Linear Bellman Complete

We first introduce the generalized linear Bellman complete model, and then we show how our framework captures it.

and σ(Th(θh+1)⊤ϕ(s,a))∈Hh\sigma(\mathcal{T}_{h}(\theta_{h+1})^{\top}\phi(s,a))\in\mathcal{H}_{h}.

Let us define discriminators Fh:={f−f′:f∈Hh,f′∈Hh}\mathcal{F}_{h}:=\left\{f-f^{\prime}:f\in\mathcal{H}_{h},f^{\prime}\in\mathcal{H}_{h}\right\}. Note that the Bellman complete assumption indicates the following. For any f:={θ0,…,θH−1}f:=\{\theta_{0},\dots,\theta_{H-1}\}, we have σ(Th(θh+1)⊤ϕ(⋅,⋅))−σ(θh⊤ϕ(⋅,⋅))∈Fh\sigma(\mathcal{T}_{h}(\theta_{h+1})^{\top}\phi(\cdot,\cdot))-\sigma(\theta_{h}^{\top}\phi(\cdot,\cdot))\in\mathcal{F}_{h} and σ(θh⊤ϕ(⋅,⋅))−σ(Th(θh+1)⊤ϕ(⋅,⋅))∈Fh\sigma(\theta_{h}^{\top}\phi(\cdot,\cdot))-\sigma(\mathcal{T}_{h}(\theta_{h+1})^{\top}\phi(\cdot,\cdot))\in\mathcal{F}_{h}.

Under this assumption (also used in Wang et al. (2019)), we can show that Definition 6.1 captures the generalized linear Bellman complete model.

Setting πest=πf\pi_{est}=\pi_{f}, adding expectation with respect to sh,ah,rh,sh+1s_{h},a_{h},r_{h},s_{h+1} under the roll-in policy πf\pi_{f}, we get:

where the third equality uses the generalized linear Bellman complete assumption, and the first inequality uses the fact that σ(θh⊤ϕ(sh,ah))−σ(Th(θh+1)⊤ϕ(sh,ah))∈F\sigma(\theta_{h}^{\top}\phi(s_{h},a_{h}))-\sigma(\mathcal{T}_{h}(\theta_{h+1})^{\top}\phi(s_{h},a_{h}))\in\mathcal{F}. Now we continue with the property of the inverse link function as follows.

where the first inequality above uses mean value theorem and σ′(x)≥a,∀x\sigma^{\prime}(x)\geq a,\forall x (6.3). Thus, we can conclude that:

The above is captured by Equation 13 with ζ(x)=ax\zeta(x)=ax being a linear function.

Now we consider upper bounding the Bellman error. Denote f:={θ0,…,θH−1}f:=\{\theta_{0},\dots,\theta_{H-1}\}. We have

Thus, we have shown that generalized linear MDP is captured by Definition 6.1 with ζ(x)=ax\zeta(x)=ax and ξ(x)=bx\xi(x)=b\sqrt{x}. Note that ζ\zeta and ξ\xi satisfies 6.1. ∎

3 Witness Rank

Similar to Bellman rank, the algorithm and analysis from Sun et al. (2019) rely on dd being finite. Below we show how definition 6.1 naturally captures witness rank.

Recall that we denote f⋆f^{\star} as the ground truth which in this case means the ground truth transition PP. This implies that ⟨Wh(f⋆),Xh(f)⟩=0\langle W_{h}(f^{\star}),X_{h}(f)\rangle=0 for any f∈Hf\in\mathcal{H}. This allows us to write the above formulation as:

Therefore, it is a Bilinear Class with Discrepancy Family with ζ(x)=x\zeta(x)=x and ξ(x)=1κx\xi(x)=\frac{1}{\kappa}x.

Here we also give an example for ϵgen\epsilon_{gen}. For F\mathcal{F} and H\mathcal{H} with bounded complexity (e.g., discrete F\mathcal{F} and discrete H\mathcal{H}), we still achieve the generalization error, i.e., for all ff, for all g∈Hg\in\mathcal{H}, with probability at least 1−δ1-\delta:

where si∼dhπf,ai∼U(A),si′∼Ph(⋅∣s,a)s_{i}\sim d^{\pi_{f}}_{h},a_{i}\sim U(\mathcal{A}),s^{\prime}_{i}\sim P_{h}(\cdot|s,a), and the inequality assumes that ln⁡(1/δ)≥1\ln(1/\delta)\geq 1 (see Lemma 12 from Sun et al. (2019) for derivation).

For completeness, we consider factored MDP as a special example here. We refer readers to Sun et al. (2019) for a detailed treatment of how witness rank capturing factored MDP.

We consider state space S⊂Od\mathcal{S}\subset\mathcal{O}^{d} where O\mathcal{O} is a discrete set and we denote s[i]s[i] as the i-th entry of the state ss. For each dimension ii, we denote pai⊂[d]\text{pa}_{i}\subset[d] as the set of state dimensions that directly influences state dimension ii (we call them the parent set of the i-th dimension). In factored MDP, the transition is governed by the following factorized transition:

where P(i)P^{(i)} is the condition distribution that governs the transition from s[pai],as[\text{pa}_{i}],a to s′[i]s^{\prime}[i]. Here, we do not assume any structure on reward function.

Note that the complexity of the problem is captured by the number of parameters in the transition operator, which in this case is equal to ∑i=1dHA∣O∣1+∣pai∣\sum_{i=1}^{d}HA|\mathcal{O}|^{1+|\text{pa}_{i}|}. Note that when the parent set pai\text{pa}_{i} is not too big (e.g., a constant that is independent of dd), this complexity could be exponentially smaller than ∣O∣d|\mathcal{O}|^{d} for a MDP that does not have factorized structure.

Thus factored MDP is captured by Definition 6.1 where ζ(x)=x\zeta(x)=x, and ξ(s)=AHx\xi(s)=AHx. Sun et al. (2019) shows that value function based approaches including Olive Jiang et al. (2017) in worst case requires 2H2^{H} many samples to solve factored MDPs, which in turn indicates that the prior structural complexity such as Bellman rank and Bellman Eluder (Jin et al., 2021) must be exponential in H.

Conclusion

We presented a new framework, Bilinear Classes, together with a new sample efficient algorithm, BiLin-UCB. A key emphasis of the new class and algorithm is that many learnable RL models can be analyzed with the same algorithm and proof.

Our framework is more general than existing ones, and incorporates a large number of RL models with function approximation. Along with the general framework, our work also introduces several important new models including linear Q⋆/V⋆Q^{\star}/V^{\star}, RKHS Bellman complete, RKHS linear mixture models and low occupancy complexity. Our rates are non-parametric and depend on a new information theoretic quantity—critical information gain, which is an analog to the critical radius from non-parametric statistics. With this new quantity, our results extend prior finite-dimension results to infinite dimensional RKHS setting.

The Bilinear Classes can also be flexibly extended to cover many other examples including Witness Rank and Kernelized Nonlinear Regulator. We believe many other models (potentially even those proposed in the future) can be analyzed via extensions of the Bilinear Classes.

Acknowledgements

We thank Chi Jin and Qinghua Liu for discussions on Section 6 including the generalized linear bellman complete model. We thank Akshay Krishnamurthy for a discussion regarding Q/VQ/V-Bellman rank.

References

Appendix A Additional Examples of Bilinear Classes

We now include some other examples of Bilinear Classes in addition to ones discussed in Section 4.3.

We consider the feature selection setting introduced by Agarwal et al. [2020b].

We say a MDP M\mathcal{M} is low rank feature selection model if there exists (unknown) functions μh⋆:S↦V\mu_{h}^{\star}:\mathcal{S}\mapsto\mathcal{V} and (unknown) features ϕ⋆:S×A↦V\phi^{\star}:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V}, ψ⋆:S×A\psi^{\star}:\mathcal{S}\times\mathcal{A} for some Hilbert space V\mathcal{V} such that for all h∈[H]h\in[H] and (s,a,s′)∈S×A×S(s,a,s^{\prime})\in\mathcal{S}\times\mathcal{A}\times\mathcal{S}

Note that unlike linear MDP model where ϕ⋆\phi^{\star} is assumed to be known, here ϕ⋆\phi^{\star} is unknown to the learner. We use a function class Φ⊂S×A↦V\Phi\subset\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V} to capture ϕ⋆\phi^{\star}, i.e., we assume realizability ϕ⋆∈Φ\phi^{\star}\in\Phi.

We can define our function class H=H0×…,HH−1\mathcal{H}=\mathcal{H}_{0}\times\ldots,\mathcal{H}_{H-1} as follows

Note that for g=fg=f, we have that (here observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}))

Therefore, to prove that this is a Bilinear Class, we will show that a stronger “equality” version of Equation 2 holds (which will also prove Equation 1 holds). Observe that for any hh,

Observe that Wh(f⋆)=0W_{h}(f^{\star})=0 due to Bellman optimality condition for V⋆V^{\star} and π⋆\pi^{\star}. ∎

We now consider the Q⋆Q^{\star} irrelevance aggregation model introduced in Li .

We say a MDP M\mathcal{M} is the Q⋆Q^{\star} irrelevance aggregation model if there exists known function ζ:S↦V\zeta:\mathcal{S}\mapsto\mathcal{V} such that for all states s1,s2∈Ss_{1},s_{2}\in\mathcal{S}

Let Z={ζ(s):s∈S}\mathcal{Z}=\{\zeta(s):s\in\mathcal{S}\}. Here, our hypothesis class H=H0×…,HH−1\mathcal{H}=\mathcal{H}_{0}\times\ldots,\mathcal{H}_{H-1} is a set of linear functions i.e. for all h∈[H]h\in[H], the set Hh\mathcal{H}_{h} is defined as:

To prove that this is implicitly a Bilinear Class, we will reduce this into linear Q⋆/V⋆Q^{\star}/V^{\star} model (Definition 4.5). Let Z={ζ(s):s∈S}\mathcal{Z}=\{\zeta(s):s\in\mathcal{S}\}. Now, we construct one hot representation functions ϕ:S×A↦{0,1}∣Z∣×∣A∣\phi:\mathcal{S}\times\mathcal{A}\mapsto\{0,1\}^{|\mathcal{Z}|\times|\mathcal{A}|} and ψ:S↦{0,1}∣Z∣\psi:\mathcal{S}\mapsto\{0,1\}^{|\mathcal{Z}|} where

This is linear Q⋆/V⋆Q^{\star}/V^{\star} model (Definition 4.5) and therefore is a Bilinear Class. ∎

A.3 Linear Quadratic Regulator

To maintain notation of fixed starting state, without loss of generality, we also assume s0=0s_{0}=0 and a0=0a_{0}=0. An important property of LQR is that for linear non stationary policies π\pi, the value function VπV^{\pi} induced is quadratic (see for e.g. Jiang et al. [Lemma 7] for a proof).

This allows us to define out hypothesis class H=H0,…,HH−1\mathcal{H}=\mathcal{H}_{0},\ldots,\mathcal{H}_{H-1} as

Note that for g=fg=f, we have that (here observed transition info oh=(rh,sh,ah,sh+1)o_{h}=(r_{h},s_{h},a_{h},s_{h+1}))

Therefore, to prove that this is a Bilinear Class, we will show that a stronger “equality” version of Equation 2 holds (which will also prove Equation 1 holds). Observe that for any hh,

Note that we used ⟨Wh(f⋆),Xh(f)⟩=0\left\langle W_{h}(f^{\star}),X_{h}(f)\right\rangle=0 which follows from the bellman conditions i.e. for ah=Ch,f⋆sha_{h}=C_{h,f^{\star}}s_{h}

Taking expectation over sh∼dπfs_{h}\sim d^{\pi_{f}} proves the claim. ∎

A.4 Linear MDP

We consider the Linear MDP setting from Yang and Wang , Jin et al. .

We say a MDP M\mathcal{M} is a Linear MDP with features ϕ:S×A↦V\phi:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{V}, where V\mathcal{V} is a Hilbert space if for all h∈[H]h\in[H], there exists (unknown) measures μh\mu_{h} over S\mathcal{S} and (unknown) θh∈V\theta_{h}\in\mathcal{V}, such that for any (s,a)∈S×A(s,a)\in\mathcal{S}\times\mathcal{A}, we have

Here, our hypothesis class H\mathcal{H} is set of linear functions with respect to ϕ\phi. We denote hypothesis in our hypothesis class H\mathcal{H} as tuples (θ0,…θH−1)(\theta_{0},\ldots\theta_{H-1}), where θh∈V\theta_{h}\in\mathcal{V}. As observed in Jin et al. [Proposition 2.3], this satisfies the conditions of Bellman Complete model (Definition 4.6) and therefore is also a Bilinear Class.

A.5 Block MDP and Reactive POMDP

Both Block MDP [Du et al., 2019a, Misra et al., 2020] and a Reactive POMDP [Krishnamurthy et al., 2016] are partially observable MDPs (POMDPs) which can be described by a finite (unobservable) latent state space S\mathcal{S}, a finite action space A\mathcal{A}, and a possibly infinite but observable context space X\mathcal{X}. The transitions can be described by two conditional probabilities. One is the latent state transition p:S×A↦△(S)p:\mathcal{S}\times\mathcal{A}\mapsto\triangle\left(\mathcal{S}\right), and the other is the context-emission function q:S↦△(X)q:\mathcal{S}\mapsto\triangle(\mathcal{X}).

The key differences among Block MDP and Reactive POMDP are in the assumptions which we define below.

For Block MDPs, the context space X\mathcal{X} can be partitioned into disjoint blocks Xs\mathcal{X}_{s} for s∈Ss\in\mathcal{S}, each containing the support of the conditional distributiion q(⋅∣s)q(\cdot|s).

This assumption implies there exists a perfect decoding function f∗:X→Sf^{*}:\mathcal{X}\rightarrow\mathcal{S}, which maps contexts to their generating states. Therefore, we have that the transition of contexts satisfies

For POMDP, assume reward is known and is a deterministic function over observations and actions and r(x,a)∈r(x,a)\in. let us define belief bh(⋅∣hh)∈Δ(S)b_{h}(\cdot|\mathbf{h}_{h})\in\Delta(\mathcal{S}) as the posterior distribution of state ss at time step hh given history hh:=x0,a0,…,xh−1,ah−1,xh\mathbf{h}_{h}:=x_{0},a_{0},\dots,x_{h-1},a_{h-1},x_{h}, i.e., given any state ss, we have bh(s∣hh)=P(s∣x0,a0,…,xh−1,ah−1,xh)b_{h}(s|\mathbf{h}_{h})=P(s|x_{0},a_{0},\dots,x_{h-1},a_{h-1},x_{h}). Given aha_{h} and conditioned on xh+1x_{h+1} being observed at h+1h+1, the belief is updated based on the Bayes rule, deterministically,

with b0(s∣x0)∝μ0(s)q(x0∣s)b_{0}(s|x_{0})\propto\mu_{0}(s)q(x_{0}|s), where μ0∈Δ(S)\mu_{0}\in\Delta(S) is the initial state distribution (in the simplified case where we have a fixed s0s_{0}, then μ0\mu_{0} is a delta distribution with all probability mass on s0s_{0}).

Note that given ah,xh+1a_{h},x_{h+1}, the above update is deterministic, and bh(s∣hh)b_{h}(s|\mathbf{h}_{h}) is a function of history hh\mathbf{h}_{h}. Denote the deterministic Belief update procedure as bh+1=Γ(bh,ah,xh+1)b_{h+1}=\Gamma(b_{h},a_{h},x_{h+1}). For POMDP, the optimal policy π⋆\pi^{\star} is a mapping from Δ(S)\Delta(\mathcal{S}) to A\mathcal{A}. Given a belief bb, and an action aa, we can define Qh⋆(b,a)Q_{h}^{\star}(b,a) backward as follows. Start with VH⋆(b)=0V^{\star}_{H}(b)=0 for all b∈Δ(S)b\in\Delta(\mathcal{S}),

where Vh⋆(b)=argmaxaQh⋆(b,a),πh⋆(b)=argmaxaQh⋆(b,a)V^{\star}_{h}(b)=\mathop{{}\textrm{argmax}}_{a}Q^{\star}_{h}(b,a),\pi^{\star}_{h}(b)=\mathop{{}\textrm{argmax}}_{a}Q^{\star}_{h}(b,a).

For Reactive POMDPs, the optimal Q function Qh⋆Q^{\star}_{h} is only dependent on latest observation and action, i.e., for all hh, there exists gh⋆:X×A↦[0,H]g_{h}^{\star}:\mathcal{X}\times\mathcal{A}\mapsto[0,H], such that, for any given history hh:=x0,a0,…,xh−1,ah−1,xh\mathbf{h}_{h}:=x_{0},a_{0},\dots,x_{h-1},a_{h-1},x_{h}, we have:

Note that in this case, the optimal policy πh⋆\pi^{\star}_{h} only depends on the latest observation xhx_{h}, i.e., πh⋆(b(⋅∣hh))=argmaxa∈AQh⋆(b(⋅∣hh),a)=argmaxa∈Agh⋆(xh,a)\pi^{\star}_{h}(b(\cdot|\mathbf{h}_{h}))=\mathop{{}\textrm{argmax}}_{a\in\mathcal{A}}Q^{\star}_{h}(b(\cdot|\mathbf{h}_{h}),a)=\mathop{{}\textrm{argmax}}_{a\in\mathcal{A}}g^{\star}_{h}(x_{h},a). As shown in Jiang et al. , Reactive POMDPs have bellman rank bounded by ∣S∣|\mathcal{S}| which implies (see Section 4.1 for more detail) that Reactive POMDPs are a Bilinear Class.

Appendix B Proofs for Section 5

First, using Lemma F.1, we get that for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all g∈Hg\in\mathcal{H}

Therefore, we get ϵ\epsilon-optimal policy by setting

or equivalently by setting mm at least as large as

Using Lemma F.2, we get a solution for mm

This gives the total trajectory complexity

Appendix C An Elliptical Cover for Hilbert Spaces

The following theorem is a key technical contribution which allows us to obtain a number of non-parametric convergence rates.

xt=argmaxx∈X∥x∥Σt−12x_{t}=\mathop{{}\textrm{argmax}}_{x\in\mathcal{X}}\left\|x\right\|^{2}_{\Sigma_{t}^{-1}}

Σt+1=Σt+xtxt⊤\Sigma_{t+1}=\Sigma_{t}+x_{t}x_{t}^{\top}

This implies that there must exist a t∈0,…,T−1t\in 0,\dots,T-1, such that:

Note that xt=argmaxx∈X∥x∥Σt−1x_{t}=\mathop{{}\textrm{argmax}}_{x\in\mathcal{X}}\|x\|_{\Sigma_{t}^{-1}}. Thus, we have that:

where the equality in the third step uses that (w−w′)⊤xi=(w‾−w′)⊤xi(w-w^{\prime})^{\top}x_{i}=\left(\overline{w}-w^{\prime}\right)^{\top}x_{i} for all i∈0,…,Ti\in 0,\dots,T. The proof is completed choosing λ=ϵ2/(8BW2)\lambda=\epsilon^{2}/(8B_{W}^{2}) and (ϵ′)2=ϵ2/(2TBX2)(\epsilon^{\prime})^{2}=\epsilon^{2}/(2TB_{X}^{2}). ∎

Appendix D Concentration Arguments for Special Cases

Consider the RKHS linear MDP, where ϕ:S×A↦H\phi:\mathcal{S}\times\mathcal{A}\mapsto\mathcal{H} with H\mathcal{H} being some Hilbert space. Define Φ={ϕ(s,a):s∈S,a∈A}\Phi=\{\phi(s,a):s\in\mathcal{S},a\in\mathcal{A}\}.

For any distribution dd, we seek to bound:

where the last step follows using that ∣sup⁡xf(x)−sup⁡xg(x)∣≤sup⁡x∣f(x)−g(x)∣|\sup_{x}f(x)-\sup_{x}g(x)|\leq\sup_{x}|f(x)-g(x)| (which can be verified by considering both case of the sign inside the absolute value). The proof is completed by choose w′w^{\prime} to be closest point C\mathcal{C} to ww and applying Theorem C.1. ∎

Define W=:{w∈H:∥w∥≤BW,w⊤ϕ(s,a)∈[0,H]  ∀s,a∈S×A}\mathcal{W}=:\{w\in\mathcal{H}:\|w\|\leq B_{W},w^{\top}\phi(s,a)\in[0,H]\;\forall s,a\in\mathcal{S}\times\mathcal{A}\} for some real number BWB_{W}; and suppose for all ϕ(s,a)∈Φ\phi(s,a)\in\Phi that ∥ϕ(s,a)∥2≤Bϕ\|\phi(s,a)\|_{2}\leq B_{\phi}. Let

where γ~m=γ~(1/(8BW2m);Φ)\widetilde{\gamma}_{m}=\widetilde{\gamma}(1/(8B_{W}^{2}m);\Phi) (as defined in Equation 6).

First note that for any w∈Ww\in\mathcal{W}, we must have:

since we eliminate all ww such that w⊤ϕ(s,a)∉[0,H]w^{\top}\phi(s,a)\not\in[0,H] for some s,as,a.

Consider the cover C\mathcal{C} from Corollary D.1. From Lemma F.1 and a union bound over all w′∈Cw^{\prime}\in\mathcal{C}, for all w′∈Cw^{\prime}\in\mathcal{C}, we have that with probability at least 1−δ1-\delta:

Now consider any w∈Ww\in\mathcal{W}, via Corollary D.1, we know that there exists a w′∈Cw^{\prime}\in\mathcal{C} such that:

Thus, together with the fact that Corollary D.1 holds for both μ\mu and the uniform distribution over D\mathcal{D}, we get:

Let us set ϵ=1/m\epsilon=1/\sqrt{m} and rearrange terms, we get:

Denote γ~m=T\widetilde{\gamma}_{m}=T where TT is the smallest integer that satisfies T≥γT(1/(8BW2m))T\geq\gamma_{T}(1/(8B_{W}^{2}m)). Thus, we have:

where in the inequality we use exp⁡(γT(1/(8BW2m))T)−1≤e−1≤2\exp\left(\frac{\gamma_{T}(1/(8B_{W}^{2}m))}{T}\right)-1\leq e-1\leq 2.

Consider features ζ:S×A×S↦V\zeta:\mathcal{S}\times\mathcal{A}\times\mathcal{S}\mapsto\mathcal{V} with V\mathcal{V} being some Hilbert space. Define Z={ζ(s,a,s′) ⁣:(s,a,s′)∈S×A×S}Z=\{\zeta(s,a,s^{\prime})\colon(s,a,s^{\prime})\in\mathcal{S}\times\mathcal{A}\times\mathcal{S}\}.

Define W=:{w∈V:∥w∥≤BW,w⊤ζ(s,a,s′)∈[0,H]  ∀s,a,s′∈S×A×S}\mathcal{W}=:\{w\in\mathcal{V}:\|w\|\leq B_{W},w^{\top}\zeta(s,a,s^{\prime})\in[0,H]\;\forall s,a,s^{\prime}\in\mathcal{S}\times\mathcal{A}\times\mathcal{S}\} for some real number BWB_{W}; and suppose for all ζ(s,a,s′)∈Z\zeta(s,a,s^{\prime})\in Z that ∥ζ(s,a,s′)∥2≤Bζ\|\zeta(s,a,s^{\prime})\|_{2}\leq B_{\zeta}. Let

Then, for any distribution μ\mu over S×A×S\mathcal{S}\times\mathcal{A}\times\mathcal{S} and for any δ∈(0,1)\delta\in(0,1), with probability of at least 1−δ1-\delta over choice of an i.i.d. sample D∼μm\mathcal{D}\sim\mu^{m} of size mm, for all w∈Hw\in\mathcal{H}

where γ~m=γ~(1/(8BW2m);Z)\widetilde{\gamma}_{m}=\widetilde{\gamma}(1/(8B_{W}^{2}m);Z) (as defined in Equation 6).

The proof follows exactly as proof of Corollary D.2. ∎

Appendix E Generalized Bilinear Classes

Recall Definition 6.1 for Generalized Bilinear Class. We next complete the proof of Theorem 6.1.

First notice that a uniform convergence result similar to Lemma 5.1 still holds:

where εgen:=εgen(m,H,F)⋅conf(δ/(TH))\varepsilon_{\textrm{gen}}:=\varepsilon_{\textrm{gen}}(m,\mathcal{H},\mathcal{F})\cdot\text{conf}(\delta/(TH)).

Also it is easy to verify that the feasibility claim similar to Lemma 5.3 holds as well since max⁡ν∈FhLμt;h,ft(f⋆,ν)=0\max_{\nu\in\mathcal{F}_{h}}\mathcal{L}_{\mu_{t;h},f_{t}}(f^{\star},\nu)=0. The feasibility result immediately implies the optimism claimed in Lemma 5.4. While the derivation of Lemma 5.5 mostly follows, we use Equation 12 rather than Equation 1, which gives us the following:

where the last step follows from concavity of ξ\xi (6.1) and Jensen’s inequality.

To show the existence of a high quality policy, we also mainly follow the steps in the proof of Lemma 5.2. First we can verify Equation 7 holds due to the elliptical potential argument. This implies that for all hh,

Note that by 6.1 and an application of mean-value theorem, we have:

Apply ξ\xi on both sides and use the assumption that ξ\xi is non-decreasing, we have:

Now set λ=εgen2(m,H)/BW2\lambda=\varepsilon_{\textrm{gen}}^{2}(m,\mathcal{H})/B_{W}^{2}, and T≥γ~(λ,X)T\geq\widetilde{\gamma}(\lambda,\mathcal{X}), we get:

This concludes the first part of the theorem.

When ξ\xi is continuously differentiable, ξ(0)=0\xi(0)=0, and max⁡f,g,hξ′(⟨Wh(g,f⋆),Xh(f)⟩)≤α{\max_{f,g,h}\xi^{\prime}\left(\langle W_{h}(g,f^{\star}),X_{h}(f)\rangle\right)}\leq\alpha, we simply have:

via an application of mean-value theorem. This concludes the proof. ∎

Appendix F Auxiliary Lemmas

Let X1,…,XmX_{1},\ldots,X_{m} be independent random variables with mean μ\mu such that ∣Xi∣≤B|X_{i}|\leq B for some B>0B>0 almost surely for all i∈[m]i\in[m]. Then, with probability 1−δ1-\delta,

(Log Dominance Rule) Suppose α,a,b≥0\alpha,a,b\geq 0 and c≥(1+α)αc\geq(1+\alpha)^{\alpha}. Then, m=caln⁡α(abc)m=ca\ln^{\alpha}(abc) is a solution to

Furthermore, the critical information gain

Therefore, using the Determinant-Trace inequality, we get the first result

To get the second result, first note that for n=cdln⁡(1+cBX2/λ)n=cd\ln(1+cB^{2}_{X}/\lambda) and c=3c=3,

where the third last step follows from ln⁡(1+cBX2/λ)≥0\ln(1+cB_{X}^{2}/\lambda)\geq 0 and ln⁡(1+cBX2/λ)≥ln⁡(ln⁡(1+cBX2/λ))\ln(1+cB_{X}^{2}/\lambda)\geq\ln(\ln(1+cB_{X}^{2}/\lambda)) and last step follows from c=3>2c=3>2. ∎

Appendix G Sample Complexity Lower Bound for RHKS Bellman Complete and Linear MDP

Recall that in Section 5.3.2, we show that under the assumption that sup⁡h∈[H],θ∈Hh∥θ∥2\sup_{h\in[H],\theta\in\mathcal{H}_{h}}\lVert\theta\rVert_{2} and sup⁡x∈Φ∥x∥2\sup_{x\in\Phi}\lVert x\rVert_{2} are both bounded, and the assumption that the maximum information gain is bounded, then our algorithm finds a near-optimal policy using polynomial number of samples for RHKS Bellman Complete and Linear MDP. One may wonder if the assumption on the maximum information gain can be removed as in the case of contextual bandits [Abe et al., 2003, Foster and Rakhlin, 2020]. Here we show that for the case of reinforcement learning, without the maximum information gain assumption, there is an exponential sample complexity lower bound (in the problem horizon HH). Therefore, our hardness result justifies the necessity of assuming bounded maximum information gain for the case of RHKS Bellman Complete and Linear MDP.

Our hard instance is based on the binary tree instance (see Du et al. [2020a], Krishnamurthy et al. for previous hardness results that use such a construction). In this construction, there are HH levels of states, and level h∈[H]h\in[H] contains 2h2^{h} distinct states. Thus we have ∣S∣=2H−1|\mathcal{S}|=2^{H}-1. We use s0,s1,…,s2H−2s_{0},s_{1},\ldots,s_{2^{H}-2} to name these states. Here, s0s_{0} is the unique state in level h=0h=0, s1s_{1} and s2s_{2} are the two states in level h=1h=1, s3s_{3}, s4s_{4}, s5s_{5} and s6s_{6} are the four states in level h=2h=2, etc. There are two different actions, a1a_{1} and a2a_{2}, in the MDPs. For a state sis_{i} in level hh with h<H−1h<H-1, playing action a1a_{1} transits state sis_{i} to state s2i+1s_{2i+1} and playing action a2a_{2} transits state sis_{i} to state s2i+2s_{2i+2}, where s2i+1s_{2i+1} and s2i+2s_{2i+2} are both states in level h+1h+1. In the hard instances, r(s,a)=0r(s,a)=0 for all (s,a)(s,a) pairs except for a special state ss in level H−1H-1 and a special action a∈{a1,a2}a\in\{a_{1},a_{2}\}. For the special state ss and the special action aa, we have r(s,a)=1r(s,a)=1. It is known that for such hard instances, any algorithm requires Ω(2H)\Omega(2^{H}) to find a policy π\pi with V⋆(s0)−Vπ(s0)≤0.5V^{\star}(s_{0})-V^{\pi}(s_{0})\leq 0.5 with probability at least 0.90.9 (see Du et al. [2020a]). Now we construct a set of uninformative features and the hypothesis class H\mathcal{H} so that sup⁡h∈[H],θ∈Hh∥θ∥2\sup_{h\in[H],\theta\in\mathcal{H}_{h}}\lVert\theta\rVert_{2} and sup⁡x∈Φ∥x∥2\sup_{x\in\Phi}\lVert x\rVert_{2} are both bounded.