Is Pessimism Provably Efficient for Offline RL?

Ying Jin, Zhuoran Yang, Zhaoran Wang

Introduction

The empirical success of online (deep) reinforcement learning (RL) (Mnih et al. 2015; Silver et al. 2016; Silver et al. 2017; Vinyals et al. 2017) relies on two ingredients: (i) expressive function approximators, e.g., deep neural networks (LeCun et al. 2015), which approximate policies and values, and (ii) efficient data generators, e.g., game engines (Bellemare et al. 2013) and physics simulators (Todorov et al. 2012), which serve as environments. In particular, learning the deep neural network in an online manner often necessitates millions to billions of interactions with the environment. Due to such a barrier of sample complexity, it remains notably more challenging to apply online RL in critical domains, e.g., precision medicine (Gottesman et al. 2019) and autonomous driving (Shalev-Shwartz et al. 2016), where interactive data collecting processes can be costly and risky. To this end, we study offline RL in this paper, which aims to learn an optimal policy based on a dataset collected a priori without further interactions with the environment. Such datasets are abundantly available in various domains, e.g., electronic health records for precision medicine (Chakraborty and Murphy 2014) and human driving trajectories for autonomous driving (Sun et al. 2020).

In comparison with online RL (Lattimore and Szepesvári 2020; Agarwal et al. 2020a), offline RL remains even less understood in theory (Lange et al. 2012; Levine et al. 2020), which hinders principled developments of trustworthy algorithms in practice. In particular, as active interactions with the environment are infeasible, it remains unclear how to maximally exploit the dataset without further exploration. Due to such a lack of continuing exploration, which plays a key role in online RL, any algorithm for offline RL possibly suffers from the insufficient coverage of the dataset (Wang et al. 2020a). Specifically, as illustrated in Section 3, two challenges arise:

the intrinsic uncertainty, that is, the dataset possibly fails to cover the trajectory induced by the optimal policy, which however carries the essential information, and

the spurious correlation, that is, the dataset possibly happens to cover a trajectory unrelated to the optimal policy, which by chance induces a large cumulative reward and hence misleads the learned policy.

See Figures 1 and 2 for illustrations. As the dataset is collected a priori, which is often beyond the control of the learner, any assumption on the sufficient coverage of the dataset possibly fails to hold in practice (Fujimoto et al. 2019; Agarwal et al. 2020b; Fu et al. 2020a; Gulcehre et al. 2020).

In this paper, we aim to answer the following question:

Is it possible to design a provably efficient algorithm for offline RL under minimal assumptions on the dataset?

To this end, we propose a pessimistic value iteration algorithm (PEVI), which incorporates a penalty function (pessimism) into the value iteration algorithm (Sutton and Barto 2018; Szepesvári 2010). Here the penalty function simply flips the sign of the bonus function (optimism) for promoting exploration in online RL (Jaksch et al. 2010; Azar et al. 2017), which enables a straightforward implementation of PEVI in practice. Specifically, we study the episodic setting of the Markov decision process (MDP). Our theoretical contribution is fourfold:

We decompose the suboptimality of any algorithm for offline RL into three sources, namely the intrinsic uncertainty, spurious correlation, and optimization error. In particular, we identify the key role of the spurious correlation, even in the multi-armed bandit (MAB), a special case of the MDP.

For any general MDP, we establish the suboptimality of PEVI under a sufficient condition on the penalty function. In particular, we prove as long as the penalty function is an uncertainty quantifier, which is defined in Section 4.1, pessimism allows PEVI to eliminate the spurious correlation from its suboptimality.

For the linear MDP (Yang and Wang 2019; Jin et al. 2020), we instantiate PEVI by specifying the penalty function. In particular, we prove such a penalty function is an uncertainty quantifier, which verifies the sufficient condition imposed in (ii). Correspondingly, we establish the suboptimality of PEVI for the linear MDP.

We prove PEVI is minimax optimal for the linear MDP up to multiplicative factors of the dimension and horizon. In particular, we prove the intrinsic uncertainty identified in (i) is impossible to eliminate, as it arises from the information-theoretic lower bound. Moreover, such a fundamental limit certifies an oracle property of PEVI, which is defined in Section 4.2. Specifically, the suboptimality of PEVI only depends on how well the dataset covers the trajectory induced by the optimal policy, which carries the essential information, rather than any trajectory unrelated to the optimal policy, which causes the spurious correlation.

Throughout our theory, we only require an assumption on the compliance of the dataset, that is, the data collecting process is carried out in the underlying MDP of interest. Such an assumption is minimal. In comparison with existing literature, we require no assumptions on the sufficient coverage of the dataset, e.g., finite concentrability coefficients (Chen and Jiang 2019) and uniformly lower bounded densities of visitation measures (Yin et al. 2020), which often fail to hold in practice. Meanwhile, we impose no restrictions on the affinity between the learned policy and behavior policy (for collecting data) (Liu et al. 2020), which is often employed as a regularizer (or equivalently, a constraint) in existing literature. See Section 1.1 for a detailed discussion.

Our work adds to the vast body of existing literature on offline RL (also known as batch RL) (Lange et al. 2012; Levine et al. 2020), where a learner only has access to a dataset collected a priori. Existing literature studies two tasks: (i) offline policy evaluation, which estimates the expected cumulative reward or (action- and state-) value functions of a target policy, and (ii) offline policy optimization, which learns an optimal policy that maximizes the expected cumulative reward. Note that (i) is also known as off-policy policy evaluation, which can be adapted to handle the online setting. Also, note that the target policy in (i) is known, while the optimal policy in (ii) is unknown. As (ii) is more challenging than (i), various algorithms for solving (ii), especially the value-based approaches, can be adapted to solve (i). Although we focus on (ii), we discuss the existing works on (i) and (ii) together.

A key challenge of offline RL is the insufficient coverage of the dataset (Wang et al. 2020a), which arises from the lack of continuing exploration (Szepesvári 2010). In particular, the trajectories given in the dataset and those induced by the optimal policy (or the target policy) possibly have different distributions, which is also known as distribution shift (Levine et al. 2020). As a result, intertwined with overparameterized function approximators, e.g., deep neural networks, offline RL possibly suffers from the extrapolation error (Fujimoto et al. 2019), which is large on the states and actions that are less covered by the dataset. Such an extrapolation error further propagates through each iteration of the algorithm for offline RL, as it often relies on bootstrapping (Sutton and Barto 2018).

To address such a challenge, the recent works (Fujimoto et al. 2019; Laroche et al. 2019; Jaques et al. 2019; Wu et al. 2019; Kumar et al. 2019; Kumar et al. 2020; Agarwal et al. 2020b; Yu et al. 2020; Kidambi et al. 2020; Wang et al. 2020c; Siegel et al. 2020; Nair et al. 2020; Liu et al. 2020) demonstrate the empirical success of various algorithms, which fall into two (possibly overlapping) categories: (i) regularized policy-based approaches and (ii) pessimistic value-based approaches. Specifically, (i) regularizes (or equivalently, constrains) the policy to avoid visiting the states and actions that are less covered by the dataset, while (ii) penalizes the (action- or state-) value function on such states and actions.

On the other hand, the empirical success of offline RL mostly eludes existing theory. Specifically, the existing works require various assumptions on the sufficient coverage of the dataset, which is also known as data diversity (Levine et al. 2020). For example, offline policy evaluation often requires the visitation measure of the behavior policy to be lower bounded uniformly over the state-action space. An alternative assumption requires the ratio between the visitation measure of the target policy and that of the behavior policy to be upper bounded uniformly over the state-action space. See, e.g., Jiang and Li 2016; Thomas and Brunskill 2016; Farajtabar et al. 2018; Liu et al. 2018; Xie et al. 2019; Nachum et al. 2019a; Nachum et al. 2019b; Tang et al. 2019; Kallus and Uehara 2019; Kallus and Uehara 2020; Jiang and Huang 2020; Uehara et al. 2020; Duan et al. 2020; Yin and Wang 2020; Yin et al. 2020; Nachum and Dai 2020; Yang et al. 2020a; Zhang et al. 2020b and the references therein. As another example, offline policy optimization often requires the concentrability coefficient to be upper bounded, whose definition mostly involves taking the supremum of a similarly defined ratio over the state-action space. See, e.g., Antos et al. 2007; Antos et al. 2008; Munos and Szepesvári 2008; Farahmand et al. 2010; Farahmand et al. 2016; Scherrer et al. 2015; Chen and Jiang 2019; Liu et al. 2019; Wang et al. 2019; Fu et al. 2020b; Fan et al. 2020; Xie and Jiang 2020a; Xie and Jiang 2020b; Liao et al. 2020; Zhang et al. 2020a and the references therein.

In practice, such assumptions on the sufficient coverage of the dataset often fail to hold (Fujimoto et al. 2019; Agarwal et al. 2020b; Fu et al. 2020a; Gulcehre et al. 2020), which possibly invalidates existing theory. For example, even for the MAB, a special case of the MDP, it remains unclear how to maximally exploit the dataset without such assumptions, e.g., when each action (arm) is taken a different number of times. As illustrated in Section 3, assuming there exists a suboptimal action that is less covered by the dataset, it possibly interferes with the learned policy via the spurious correlation. As a result, it remains unclear how to learn a policy whose suboptimality only depends on how well the dataset covers the optimal action instead of the suboptimal ones. In contrast, our work proves that pessimism resolves such a challenge by eliminating the spurious correlation, which enables exploiting the essential information, e.g., the observations of the optimal action in the dataset, in a minimax optimal manner. Although the optimal action is unknown, our algorithm adapts to identify the essential information in the dataset via the oracle property. See Section 4 for a detailed discussion.

Our work adds to the recent works on pessimism (Yu et al. 2020; Kidambi et al. 2020; Kumar et al. 2020; Liu et al. 2020; Buckman et al. 2020). Specifically, Yu et al. 2020; Kidambi et al. 2020 propose a pessimistic model-based approach, while Kumar et al. 2020 propose a pessimistic value-based approach, both of which demonstrate empirical successes. From a theoretical perspective, Liu et al. 2020 propose a regularized (and pessimistic) variant of the fitted Q-iteration algorithm (Antos et al. 2007; Antos et al. 2008; Munos and Szepesvári 2008), which attains the optimal policy within a restricted class of policies without assuming the sufficient coverage of the dataset. In contrast, our work imposes no restrictions on the affinity between the learned policy and behavior policy. In particular, our algorithm attains the information-theoretic lower bound for the linear MDP (Yang and Wang 2019; Jin et al. 2020) (up to multiplicative factors of the dimension and horizon), which implies that given the dataset, the learned policy serves as the “best effort” among all policies since no other can do better. From another theoretical perspective, Buckman et al. 2020 characterize the importance of pessimism, especially when the assumption on the sufficient coverage of the dataset fails to hold. In contrast, we propose a principled framework for achieving pessimism via the notion of uncertainty quantifier, which serves as a sufficient condition for general function approximators. See Section 4 for a detailed discussion. Moreover, we instantiate such a framework for the linear MDP and establish its minimax optimality via the information-theoretic lower bound. In other words, our work complements Buckman et al. 2020 by proving that pessimism is not only “important” but also optimal in the sense of information theory.

Preliminaries

In this section, we first introduce the episodic Markov decision process (MDP) and the corresponding performance metric. Then we introduce the offline setting and the corresponding data collecting process.

and the Bellman operator at each step h∈[H]h\in[H] as

For the episodic MDP (S,A,H,P,r)({\mathcal{S}},\mathcal{A},H,\mathcal{P},r), we use π∗\pi^{*}, Qh∗Q_{h}^{*}, and Vh∗V_{h}^{*} to denote the optimal policy, optimal Q-function, and optimal value function, respectively. We have VH+1∗=0V_{H+1}^{*}=0 and the Bellman optimality equation

Meanwhile, the optimal policy π∗\pi^{*} is specified by

where the maximum is taken over all functions mapping from S{\mathcal{S}} to distributions over A\mathcal{A}. We aim to learn a policy that maximizes the expected cumulative reward. Correspondingly, we define the performance metric as

which is the suboptimality of the policy π\pi given the initial state s1=xs_{1}=x.

2 Offline Data Collecting Process

We consider the offline setting, that is, a learner only has access to a dataset D\mathcal{D} consisting of KK trajectories {(xhτ,ahτ,rhτ)}τ,h=1K,H\{(x_{h}^{\tau},a_{h}^{\tau},r_{h}^{\tau})\}_{\tau,h=1}^{K,H}, which is collected a priori by an experimenter. In other words, at each step h∈[H]h\in[H] of each trajectory τ∈[K]\tau\in[K], the experimenter takes the action ahτa_{h}^{\tau} at the state xhτx_{h}^{\tau}, receives the reward rhτ=rh(xhτ,ahτ)r_{h}^{\tau}=r_{h}(x_{h}^{\tau},a_{h}^{\tau}), and observes the next state xh+1τ∼Ph(⋅ ∣ sh=xhτ,ah=ahτ)x_{h+1}^{\tau}\sim\mathcal{P}_{h}(\cdot{\,|\,}s_{h}=x_{h}^{\tau},a_{h}=a_{h}^{\tau}). Here ahτa_{h}^{\tau} can be arbitrarily chosen, while rhr_{h} and Ph\mathcal{P}_{h} are the reward function and transition kernel of an underlying MDP. We define the compliance of such a dataset with the underlying MDP as follows.

The dataset D\mathcal{D} that the learner has access to is compliant with the underlying MDP (S,A,H,P,r)({\mathcal{S}},\mathcal{A},H,\mathcal{P},r).

As a special case, Assumption 2.2 holds if the experimenter follows a fixed behavior policy. More generally, Assumption 2.2 allows ahτa_{h}^{\tau} to be arbitrarily chosen, even in an adaptive or adversarial manner, in the sense that the experimenter does not necessarily follow a fixed behavior policy. In particular, ahτa_{h}^{\tau} can be interdependent across each trajectory τ∈[K]\tau\in[K]. For example, the experimenter can sequentially improve the behavior policy using any algorithm for online RL. Furthermore, Assumption 2.2 does not require the data collecting process to well explore the state space and action space.

What Causes Suboptimality?

In this section, we decompose the suboptimality of any policy into three sources, namely the spurious correlation, intrinsic uncertainty, and optimization error. We first analyze the MDP and then specialize the general analysis to the multi-armed bandit (MAB) for illustration.

Let π^={π^h}h=1H\widehat{\pi}=\{\widehat{\pi}_{h}\}_{h=1}^{H} be the policy such that V^h(x)=⟨Q^h(x,⋅),π^h(⋅ ∣ x)⟩A\widehat{V}_{h}(x)=\langle\widehat{Q}_{h}(x,\cdot),\widehat{\pi}_{h}(\cdot{\,|\,}x)\rangle_{\mathcal{A}}. For any π^\widehat{\pi} and x∈Sx\in{\mathcal{S}}, we have

2 Illustration via a Special Case: MAB

We consider the MAB, a special case of the MDP, where S{\mathcal{S}} is a singleton, A\mathcal{A} is discrete, and H=1H=1. To simplify the subsequent discussion, we assume without loss of generality

Here μ(a)\mu(a) is the expected reward of each action a∈Aa\in\mathcal{A} and ϵ\epsilon is independently drawn. For notational simplicity, we omit the dependency on h∈[H]h\in[H] and x∈Sx\in{\mathcal{S}}, as H=1H=1 and S{\mathcal{S}} is a singleton. Based on the dataset D={(aτ,rτ)}τ=1K\mathcal{D}=\{(a^{\tau},r^{\tau})\}_{\tau=1}^{K}, where rτ=r(aτ)r^{\tau}=r(a^{\tau}), we consider the sample average estimator

Note that μ^\widehat{\mu} serves as the estimated Q-function. Under Assumption 2.2, we have

In particular, {μ^(a)}a∈A\{\widehat{\mu}(a)\}_{a\in\mathcal{A}} are independent across each action a∈Aa\in\mathcal{A} conditioning on {aτ}τ=1K\{a^{\tau}\}_{\tau=1}^{K}. We consider the policy

which is greedy with respect to μ^\widehat{\mu}, as it takes the action arg maxa∈Aμ^(a)\mathop{\text{\rm arg\,max}}_{a\in\mathcal{A}}\widehat{\mu}(a) with probability one.

By Equation (3.1), Lemma 3.1, and Equation (3.4), we have

For example, assuming μ(a)=0\mu(a)=0 for each action a∈Aa\in\mathcal{A}, term (i) is the maximum of ∣A∣|\mathcal{A}| Gaussians {N(0,1/N(a))}a∈A\{\text{N}(0,1/N(a))\}_{a\in\mathcal{A}}, which can be rather large in expectation, especially when N(a♯)N(a^{\sharp}) is relatively small for a certain action a♯∈Aa^{\sharp}\in\mathcal{A}, e.g., N(a♯)=1N(a^{\sharp})=1. More generally, it is quite possible that π^\widehat{\pi} takes a certain action a♮∈Aa^{\natural}\in\mathcal{A} with probability one only because N(a♮)N(a^{\natural}) is relatively small, which allows μ^(a♮)\widehat{\mu}(a^{\natural}) to be rather large, even when μ(a♮)\mu(a^{\natural}) is relatively small. Due to such a spurious correlation, ⟨μ^(⋅)−μ(⋅),π^(⋅)⟩A=μ^(a♮)−μ(a♮)\langle\widehat{\mu}(\cdot)-\mu(\cdot),\widehat{\pi}(\cdot)\rangle_{\mathcal{A}}=\widehat{\mu}(a^{\natural})-\mu(a^{\natural}) in Equation (3.5) can be rather large in expectation, which incurs a significant suboptimality. More importantly, such an undesired situation can be quite common in practice, as D\mathcal{D} does not necessarily have a “uniform coverage” over each action a∈Aa\in\mathcal{A}. In other words, N(a♯)N(a^{\sharp}) is often relatively small for at least a certain action a♯∈Aa^{\sharp}\in\mathcal{A}.

Going beyond the MAB, that is, H≥1H\geq 1, such a spurious correlation is further exacerbated, as it is more challenging to ensure each state x∈Sx\in{\mathcal{S}} and each action a∈Aa\in\mathcal{A} are visited sufficiently many times in D\mathcal{D}. To this end, existing literature (Antos et al. 2007; Antos et al. 2008; Munos and Szepesvári 2008; Farahmand et al. 2010; Farahmand et al. 2016; Scherrer et al. 2015; Liu et al. 2018; Nachum et al. 2019a; Nachum et al. 2019b; Chen and Jiang 2019; Tang et al. 2019; Kallus and Uehara 2019; Kallus and Uehara 2020; Fan et al. 2020; Xie and Jiang 2020a; Xie and Jiang 2020b; Jiang and Huang 2020; Uehara et al. 2020; Duan et al. 2020; Yin et al. 2020; Qu and Wierman 2020; Li et al. 2020; Liao et al. 2020; Nachum and Dai 2020; Yang et al. 2020a; Zhang et al. 2020a; Zhang et al. 2020b) relies on various assumptions on the “uniform coverage” of D\mathcal{D}, e.g., finite concentrability coefficients and uniformly lower bounded densities of visitation measures, which however often fail to hold in practice.

Pessimism is Provably Efficient

In this section, we present the algorithm and theory. Specifically, we introduce a penalty function to develop a pessimistic value iteration algorithm (PEVI), which simply flips the sign of the bonus function for promoting exploration in online RL (Jaksch et al. 2010; Abbasi-Yadkori et al. 2011; Russo and Van Roy 2013; Osband and Van Roy 2014; Chowdhury and Gopalan 2017; Azar et al. 2017; Jin et al. 2018; Jin et al. 2020; Cai et al. 2020; Yang et al. 2020b; Ayoub et al. 2020; Wang et al. 2020b). In Section 4.1, we provide a sufficient condition for eliminating the spurious correlation from the suboptimality for any general MDP. In Section 4.2, we characterize the suboptimality for the linear MDP (Yang and Wang 2019; Jin et al. 2020) by verifying the sufficient condition in Section 4.1. In Section 4.3, we establish the minimax optimality of PEVI via the information-theoretic lower bound.

The following theorem characterizes the suboptimality of Algorithm 1, which is defined in Equation (2.6).

Theorem 4.2 establishes a sufficient condition for eliminating the spurious correlation, which corresponds to term (i) in Equation (3.2), from the suboptimality for any general MDP. Specifically, −Γh-\Gamma_{h} in Algorithm 1 serves as the penalty function, which ensures −ιh-\iota_{h} in Equation (3.2) is nonpositive under E\mathcal{E} defined in Equation (4.1), that is,

Note that Equation (4.1) holds in a pointwise manner for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}. In other words, as long as Γh\Gamma_{h} is a ξ\xi-uncertainty quantifier, the suboptimality in Equation (4.2) only corresponds to term (ii) in Equation (3.2), which characterizes the intrinsic uncertainty. In any concrete setting, e.g., the linear MDP, it only remains to specify Γh\Gamma_{h} and prove it is a ξ\xi-uncertainty quantifier under Assumption 2.2. In particular, we aim to find a ξ\xi-uncertainty quantifier that is sufficiently small to establish an adequately tight upper bound of the suboptimality in Equation (4.2). In the sequel, we show it suffices to employ the bonus function for promoting exploration in online RL.

2 Pessimistic Value Iteration: Linear MDP

As a concrete setting, we study the instantiation of PEVI for the linear MDP. We define the linear MDP (Yang and Wang 2019; Jin et al. 2020) as follows, where the transition kernel and expected reward function are linear in a feature map.

at each step h∈[H]h\in[H]. Correspondingly, we set

at each step h∈[H]h\in[H]. Here λ>0\lambda>0 is the regularization parameter. Note that w^h\widehat{w}_{h} has the closed form

Meanwhile, we construct Γh\Gamma_{h} based on D\mathcal{D} as

at each step h∈[H]h\in[H]. Here β>0\beta>0 is the scaling parameter. In addition, we construct V^h\widehat{V}_{h} based on D\mathcal{D} as

The following theorem characterizes the suboptimality of Algorithm 2, which is defined in Equation (2.6).

Suppose Assumption 2.2 holds and the underlying MDP is a linear MDP. In Algorithm 2, we set As a side note, the factor dd in BB can be improved with a sample splitting trick; we apply this trick and defer the corresponding discussion to the kernel setting in Section 4.4.

We highlight the following aspects of Theorem 4.4:

“Assumption-Free” Guarantee: Theorem 4.4 only relies on the compliance of D\mathcal{D} with the linear MDP. In comparison with existing literature (Antos et al. 2007; Antos et al. 2008; Munos and Szepesvári 2008; Farahmand et al. 2010; Farahmand et al. 2016; Scherrer et al. 2015; Liu et al. 2018; Nachum et al. 2019a; Nachum et al. 2019b; Chen and Jiang 2019; Tang et al. 2019; Kallus and Uehara 2019; Kallus and Uehara 2020; Fan et al. 2020; Xie and Jiang 2020a; Xie and Jiang 2020b; Jiang and Huang 2020; Uehara et al. 2020; Duan et al. 2020; Yin et al. 2020; Qu and Wierman 2020; Li et al. 2020; Liao et al. 2020; Nachum and Dai 2020; Yang et al. 2020a; Zhang et al. 2020a; Zhang et al. 2020b), we require no assumptions on the “uniform coverage” of D\mathcal{D}, e.g., finite concentrability coefficients and uniformly lower bounded densities of visitation measures, which often fail to hold in practice. Meanwhile, we impose no restrictions on the affinity between Pess(D)\texttt{Pess}(\mathcal{D}) and a fixed behavior policy that induces D\mathcal{D}, which is often employed as a regularizer (or equivalently, a constraint) in existing literature (Fujimoto et al. 2019; Laroche et al. 2019; Jaques et al. 2019; Wu et al. 2019; Kumar et al. 2019; Wang et al. 2020c; Siegel et al. 2020; Nair et al. 2020; Liu et al. 2020).

The following corollary proves as long as the trajectory induced by π∗\pi^{*} is “covered” by D\mathcal{D} sufficiently well, the suboptimality of Algorithm 2 decays at a K−1/2K^{-1/2} rate.

Suppose there exists an absolute constant c†>0c^{\dagger}>0 such that the event

Here c>0c>0 is an absolute constant and ξ∈(0,1)\xi\in(0,1) is the confidence parameter. For Pess(D)\texttt{Pess}(\mathcal{D}) in Algorithm 2, the event

for Pess(D)\texttt{Pess}(\mathcal{D}) in Algorithm 2, the event

where w^h\widehat{w}_{h} and Λh\Lambda_{h} are defined in Equation (4.2). Correspondingly, we have

Here I is the (conditional) mutual information and H is the (conditional) differential entropy. Meanwhile, we have

where the second equality follows from the matrix determinant lemma and the last equality holds when ϕ(sh,ah)⊤Λh−1ϕ(sh,ah)\phi(s_{h},a_{h})^{\top}\Lambda_{h}^{-1}\phi(s_{h},a_{h}) is close to zero. Therefore, in Equation (4.8), we have

In other words, the suboptimality in Equation (4.8), which corresponds to the intrinsic uncertainty, can be cast as the mutual information between wh ∣ Dw_{h}{\,|\,}\mathcal{D} in Equation (4.12) and ϕ(sh,ah)\phi(s_{h},a_{h}) on the trajectory induced by π∗\pi^{*} in the underlying MDP. In particular, such a mutual information can be cast as the information gain (Schmidhuber 1991; Schmidhuber 2010; Sun et al. 2011; Still and Precup 2012; Houthooft et al. 2016; Russo and Van Roy 2016; Russo and Van Roy 2018) for estimating whw_{h}, which is induced by observing ϕ(sh,ah)\phi(s_{h},a_{h}) in addition to D\mathcal{D}. In other words, such a mutual information characterizes how much uncertainty in wh ∣ Dw_{h}{\,|\,}\mathcal{D} can be eliminated when we additionally condition on ϕ(sh,ah)\phi(s_{h},a_{h}).

To simplify the subsequent discussion, we assume Ph\mathcal{P}_{h} is deterministic at each step h∈[H]h\in[H]. Let {(sh∗,ah∗)}h=1H\{(s_{h}^{*},a_{h}^{*})\}_{h=1}^{H} be the trajectory induced by π∗\pi^{*}, which is also deterministic. In Equation (4.8), we have

In other words, the suboptimality in Equation (4.8) only depends on how well D\mathcal{D} “covers” the trajectory induced by π∗\pi^{*} instead of its “uniform coverage” over S{\mathcal{S}} and A\mathcal{A}. In particular, as long as (sh⋄,ah⋄)(s_{h}^{\diamond},a_{h}^{\diamond}) lies off the trajectory induced by π∗\pi^{*}, how well D\mathcal{D} “covers” (sh⋄,ah⋄)(s_{h}^{\diamond},a_{h}^{\diamond}), that is, Nh(sh⋄,ah⋄)N_{h}(s_{h}^{\diamond},a_{h}^{\diamond}), does not affect the suboptimality in Equation (4.8). See Figure 2 for an illustration.

Oracle Property: Following existing literature (Donoho and Johnstone 1994; Fan and Li 2001; Zou 2006), we refer to such a phenomenon as the oracle property, that is, the algorithm incurs an “oracle” suboptimality that automatically “adapts” to the support of the trajectory induced by π∗\pi^{*}, even though π∗\pi^{*} is unknown a priori. From another perspective, assuming hypothetically π∗\pi^{*} is known a priori, the error that arises from estimating the transition kernel and expected reward function at (sh∗,ah∗)(s_{h}^{*},a_{h}^{*}) scales as Nh(sh∗,ah∗)−1/2N_{h}(s_{h}^{*},a_{h}^{*})^{-1/2}, which can not be improved due to the information-theoretic lower bound.

Outperforming Demonstration: Assuming hypothetically D\mathcal{D} is induced by a fixed behavior policy πˉ\bar{\pi} (namely the demonstration), such an oracle property allows Pess(D)\texttt{Pess}(\mathcal{D}) to outperform πˉ\bar{\pi} in terms of the suboptimality, which is defined in Equation (2.6). Specifically, it is quite possible that rh(sh⋄,ah⋄)r_{h}(s_{h}^{\diamond},a_{h}^{\diamond}) is relatively small and Nh(sh⋄,ah⋄)N_{h}(s_{h}^{\diamond},a_{h}^{\diamond}) is rather large for a certain (sh⋄,ah⋄)(s_{h}^{\diamond},a_{h}^{\diamond}), which is “covered” by D\mathcal{D} but lies off the trajectory induced by π∗\pi^{*}. Correspondingly, the suboptimality of πˉ\bar{\pi} can be rather large. On the other hand, as discussed above, rh(sh⋄,ah⋄)r_{h}(s_{h}^{\diamond},a_{h}^{\diamond}) and Nh(sh⋄,ah⋄)N_{h}(s_{h}^{\diamond},a_{h}^{\diamond}) do not affect the suboptimality of Pess(D)\texttt{Pess}(\mathcal{D}), which can be relatively small as long as Nh(sh∗,ah∗)N_{h}(s_{h}^{*},a_{h}^{*}) is sufficiently large. Here (sh∗,ah∗)(s_{h}^{*},a_{h}^{*}) is “covered” by D\mathcal{D} and lies on the trajectory induced by π∗\pi^{*}.

Well-Explored Dataset: To connect existing literature (Duan et al. 2020), the following corollary specializes Theorem 4.4 under the additional assumption that the data collecting process well explores S{\mathcal{S}} and A\mathcal{A}.

Suppose D\mathcal{D} consists of KK trajectories {(xhτ,ahτ,rhτ)}τ,h=1K,H\{(x_{h}^{\tau},a_{h}^{\tau},r_{h}^{\tau})\}_{\tau,h=1}^{K,H} independently and identically induced by a fixed behavior policy πˉ\bar{\pi} in the linear MDP. Meanwhile, suppose there exists an absolute constant c‾>0\underline{c}>0 such that

Here c>0c>0 is an absolute constant and ξ∈(0,1)\xi\in(0,1) is the confidence parameter. Suppose we have K≥C⋅dlog⁡(4dH/ξ)K\geq C\cdot d\log(4dH/\xi), where C>0C>0 is a sufficiently large absolute constant that depends on c‾\underline{c}. For Pess(D)\texttt{Pess}(\mathcal{D}) in Algorithm 2, the event

The suboptimality in Equation (4.13) parallels the policy evaluation error established in Duan et al. 2020, which also scales as H2K−1/2H^{2}K^{-1/2} and attains the information-theoretic lower bound for offline policy evaluation. In contrast, we focus on offline policy optimization, which is more challenging. As K→∞K\rightarrow\infty, the suboptimality in Equation (4.13) goes to zero.

3 Minimax Optimality: Information-Theoretic Lower Bound

For the output Algo(D)\texttt{Algo}(\mathcal{D}) of any algorithm, there exist a linear MDP M=(S,A,H,P,r)\mathcal{M}=({\mathcal{S}},\mathcal{A},H,\mathcal{P},r), an initial state x∈Sx\in{\mathcal{S}}, and a dataset D\mathcal{D}, which is compliant with M\mathcal{M}, such that

See Section 5.3 for a proof sketch and Appendix C.3 for a detailed proof. ∎

Theorem 4.7 matches Theorem 4.4 up to β\beta and absolute constants. Although Theorem 4.7 only establishes the minimax optimality, Proposition C.2 further certifies the local optimality on the constructed set of worst-case MDPs via a more refined instantiation of the meta-algorithm (Algorithm 1). See Appendix C.4 for a detailed discussion.

4 Pessimistic Value Iteration: Reproducing Kernel Hilbert Spaces

In this section, we study the Pessimistic Value Iteration in greater generality with kernel function approximation, covering the linear setting of Algorithm 2 as a special case. The algorithm we develop in this part slightly modifies the generic Algorithm 1 with a data splitting trick: we use distinct (and reverse-ordered) subsets of the offline dataset for the value iteration at each time step. Despite a (limited) reduction in the size of available sample, this modification allows us to remove the dependence on the covering number of the kernel function classes in the analysis of suboptimality upper bounds, thereby being particularly favorable if the covering number is large.

Let L2(Z)\mathcal{L}^{2}(\mathcal{Z}) be the space of square-integrable functions on Z\mathcal{Z} with respect to Lebesgue measure and let ⟨⋅,⋅⟩L2\langle\cdot,\cdot\rangle_{\mathcal{L}^{2}} be the inner product for L2(Z)\mathcal{L}^{2}(\mathcal{Z}). The kernel function KK induces an integral operator TK ⁣:L2(Z)→L2(Z)T_{K}\colon\mathcal{L}^{2}(\mathcal{Z})\to\mathcal{L}^{2}(\mathcal{Z}) defined by

Mercer’s Theorem (Steinwart and Christmann 2008) implies that there exists a countable and non-increasing sequence of nonnegative eigenvalues {σi}i≥1\{\sigma_{i}\}_{i\geq 1} for the integral operator TKT_{K}, and the associated eigenfunctions {ψi}i≥1\{\psi_{i}\}_{i\geq 1} form an orthogonal basis of L2(Z)\mathcal{L}^{2}(\mathcal{Z}). Moreover, the kernel function admits a spectral representation K(z,z′)=∑i=1∞σi⋅ψi(z)⋅ψi(z′)K(z,z^{\prime})=\sum_{i=1}^{\infty}\sigma_{i}\cdot\psi_{i}(z)\cdot\psi_{i}(z^{\prime}) for all z,z′∈Zz,z^{\prime}\in\mathcal{Z}. The eigenfunctions {ψi}i≥1\{\psi_{i}\}_{i\geq 1} also enables us to write the RKHS H\mathcal{H} as a subset of L2(Z)\mathcal{L}^{2}(\mathcal{Z}):

such that the H\mathcal{H}-inner product of any f,g∈Hf,g\in\mathcal{H} can be represented as

4.2 Pessimistic Value Iteration for Kernel Function Approximation with Data Splitting

at each step h∈[H]h\in[H] for all f∈Hf\in\mathcal{H}, where only trajectories in fold Dh\mathcal{D}_{h} are involved. The empirical Bellman update is obtained from a kernel ridge regression so that

for some regularization parameter λ>0\lambda>0. Following the same arguments as in Yang et al. 2020c, we note that f^h\widehat{f}_{h} admits a closed-form solution

where β>0\beta>0 is a scaling parameter. Finally, we construct the pessimistic Q-function by

Besides the closeness assumption on the Bellman operator, we also define the maximal information gain (Srinivas et al. 2009) as a characterization of the complexity of H\mathcal{H}:

Here KCK_{\mathcal{C}} is the Gram matrix for the set C\mathcal{C}, defined similarly as Equation (4.17). In particular, when H\mathcal{H} has γ\gamma-finite spectrum, G(n,λ)=O(γ⋅log⁡n)G(n,\lambda)=\mathcal{O}(\gamma\cdot\log n) recovers the dimensionality of the linear space up to a logarithmic factor. More importantly, information gain defined in (4.20) offers a characterization of the effective dimension of H\mathcal{H} especially when H\mathcal{H} is infinite-dimensional.

The suboptimality of the output of Algorithm 3 is characterized by the following theorem.

Suppose Assumption 4.8 holds, and there exists some λ≥1+1/K\lambda\geq 1+1/K and B>0B>0 satisfying

Theorem 4.9 expresses the suboptimality upper bound in a generic form consisting of two parts: (i) a parameter B>0B>0 that depends on the kernel function class, as well as (ii) an information quantity

that only depends on the optimal policy π∗\pi^{*} and the offline dataset. In the same spirit of our preceding results, pessimism eliminates the spurious correlation (c.f. Equation (3.2)) with a properly constructed uncertainty quantifier {Γh}h=1H\{\Gamma_{h}\}_{h=1}^{H}. When the RKHS has γ\gamma-finite spectrum with σj=0\sigma_{j}=0 for all j>γj>\gamma, ID\mathcal{I}_{\mathcal{D}} reduces to the one in Theorem 4.4 for the linear setting (with data splitting).

In what follows, we interpret the generic bound in Theorem 4.9 under specific conditions on H\mathcal{H}, focusing on the resulting forms of the two components. We would see the effect of sample splitting in our discussion. Firstly, the parameter B>0B>0 depends on the information gain G(K/H,1+1/K)G(K/H,1+1/K), which can be viewed as a characterization of the complexity of H\mathcal{H}. We provide explicit choices of BB under various eigenvalue decay conditions of H\mathcal{H} that decide such complexity.

Let {σj}j≥1\{\sigma_{j}\}_{j\geq 1} be the eigenvalues induced by the integral opretaor TKT_{K} defined in Equation (4.15) and {ψj}j≥1\{\psi_{j}\}_{j\geq 1} be the associated eigenfunctions. We assume that {σj}j≥1\{\sigma_{j}\}_{j\geq 1} satisfies one of the following conditions for some constant γ>0\gamma>0.

γ\gamma-finite spectrum: σj=0\sigma_{j}=0 for all j>γj>\gamma, where γ\gamma is a positive integer.

γ\gamma-exponential decay: there exists some constants C1,C2>0C_{1},C_{2}>0, τ∈[0,1/2)\tau\in[0,1/2) and Cψ>0C_{\psi}>0 such that σj≤C1⋅exp⁡(−C2⋅jγ)\sigma_{j}\leq C_{1}\cdot\exp(-C_{2}\cdot j^{\gamma}) and sup⁡z∈Zσjτ⋅∣ψj(z)∣≤Cψ\sup_{z\in\mathcal{Z}}\sigma_{j}^{\tau}\cdot|\psi_{j}(z)|\leq C_{\psi} for all j≥1j\geq 1.

γ\gamma-polynomial decay: there exists some constants C1>0C_{1}>0, τ∈[0,1/2)\tau\in[0,1/2) and Cψ>0C_{\psi}>0 such that σj≤C1⋅j−γ\sigma_{j}\leq C_{1}\cdot j^{-\gamma} and sup⁡z∈Zσjτ⋅∣ψj(z)∣≤Cψ\sup_{z\in\mathcal{Z}}\sigma_{j}^{\tau}\cdot|\psi_{j}(z)|\leq C_{\psi} for all j≥1j\geq 1, where γ>1\gamma>1.

The γ\gamma-finite spectrum condition is satisfied by the linear MDP (Jin et al. 2020) with feature dimension γ\gamma, and Algorithm 3 reduces to the algorithm for linear MDP established in preceding sections (with data splitting). Also, the exponential and polynomial decay are relatively mild conditions compared to those in the literature. We refer the readers to Section 4.1 of Yang et al. 2020c for a detailed discussion on the eigenvalue decay conditions. Under the conditions in Assumption 4.10, Proposition 4.11 establishes the concrete choices of BB for Theorem 4.9.

Under Assumptions 4.8 and 4.10, we set λ≥1+1/K\lambda\geq 1+1/K and β=B\beta=B in Algorithm 3, where

Here C>0C>0 is an absolute constant that does not depend on KK or HH. Then with probability at least 1−ξ1-\xi with respect to D\mathcal{D}, it holds that

for some absolute constant C>0C>0 that does not depend on KK or HH.

Under γ\gamma-finite spectrum condition, taking λ=1+1/K\lambda=1+1/K in Algorithm 3 leads to a variant of Algorithm 2 with sample splitting; setting λ=1+1/K\lambda=1+1/K instead of λ=1\lambda=1 does not change the order of upper bounds in Theorem 4.4 for linear MDP. Firstly, comparing B=O~(γH)B=\widetilde{\mathcal{O}}(\sqrt{\gamma}H) in Proposition 4.11 to B=O~(γH)B=\widetilde{\mathcal{O}}(\gamma H) for linear MDP where d=γd=\gamma in Theorem 4.4, data splitting improves the upper bound by a factor of γ\sqrt{\gamma} since it removes the dependence of BB on the covering number of the (linear) function class. Here O~(⋅)\widetilde{\mathcal{O}}(\cdot) hides logarithmic factors. On the other hand, in ideal settings such as the well-explored case of Corollary 4.6, ID\mathcal{I}_{\mathcal{D}} is of order O~(dH⋅∣Ih∣−1/2)\widetilde{\mathcal{O}}(\sqrt{d}H\cdot|\mathcal{I}_{h}|^{-1/2}), where the reduction in sample size incurs an additional factor of H\sqrt{H}. Thus, the data splitting approach is favorable if the horizon HH is of a smaller order than d=γd=\gamma. In general, the data splitting approach improves sample efficiency if the kernel function class has a covering number that is larger than exp⁡(H)\exp(H).

To further understand the behavior of ID\mathcal{I}_{\mathcal{D}} beyond the γ\gamma-finite spectrum setting, we now consider a special case where the offline dataset consists of i.i.d. trajectories induced by some behavior policy. This offers a more clear illustration of the learning performance by certain population quantities that characterzie how close the behavior policy is to π∗\pi^{*}.

We study a special case where the offline dataset consist of i.i.d. trajectories from some fixed behavior policy πb\pi^{b}; this enables us to translate ID\mathcal{I}_{\mathcal{D}} into population quantities with specific choices of λ\lambda. The learning performance would depend on the “coverage” of πb\pi^{b} for the optimal policy π∗\pi^{*}, communicated by the following notion of “effective dimension”.

Moreover, we define the population effective dimension under πb\pi^{b} as

Suppose D\mathcal{D} consists of i.i.d. trajectories sampled from behavior policy πb\pi^{b}, and Assumption 4.10 holds; in case (iii) γ\gamma-polynomial decay, we additionally assume γ(1−2τ)>1\gamma(1-2\tau)>1. In Algorithm 3, we set B>0B>0 as in Proposition 4.11 and

where C>0C>0 is a sufficiently large absolute constant that does not depend on KK or HH. Then with probability at least 1−ξ1-\xi with respect to D\mathcal{D}, it holds that

where C′>0C^{\prime}>0 is an absolute constant that does not depend on KK or HH, and

The same results also apply to deffsampled_{\text{eff}}^{\text{sample}}.

Parallel to the linear setting, Corollary 4.13 demonstrates the performance of our method in terms of deffpopd_{\text{eff}}^{\text{pop}} that depends on the relationship between Σh\Sigma_{h} (from πb\pi^{b}) and Σh∗\Sigma_{h}^{*} (from π∗)\pi^{*}). When Σh\Sigma_{h} and Σh∗\Sigma_{h}^{*} are close (i.e., πb\pi^{b} covers π∗\pi^{*} well), we have deffpop≈O~(H3/2K1/2)d_{\text{eff}}^{\text{pop}}\approx\widetilde{\mathcal{O}}(H^{3/2}K^{1/2}); in this case, the suboptimality is of order K−1/2K^{-1/2} under γ\gamma-finite spectrum and γ\gamma-exponential decay, while for γ\gamma-polynomial decay we obtain a sublinear rate of Kκ∗−1/2K^{\kappa^{*}-1/2}.

Proof Sketch

In this section, we sketch the proofs of the main results in Section 4. In Section 5.1, we sketch the proof of Theorem 4.2, which handles any general MDP. In Section 5.2, we specialize it to the linear MDP, which is handled by Theorem 4.4. In Section 5.3, we sketch the proof of Theorem 4.7, which establishes the information-theoretic lower bound.

In Equation (5.1), the nonnegativity of {ιh}h=1H\{\iota_{h}\}_{h=1}^{H} implies the pessimism of {Q^h}h=1H\{\widehat{Q}_{h}\}_{h=1}^{H}, that is, Q^h≤Qh∗\widehat{Q}_{h}\leq Q_{h}^{*} in a pointwise manner for all h∈[H]h\in[H]. To see this, note that the definition of {ιh}h=1H\{\iota_{h}\}_{h=1}^{H} in Equation (3.1) gives

which together with Equations (2.3) and (2.5) further implies

for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} and h∈[H]h\in[H]. Also, note that V^H+1=VH+1∗=0\widehat{V}_{H+1}=V_{H+1}^{*}=0. Therefore, Equation (5.2) implies QH∗≥Q^HQ_{H}^{*}\geq\widehat{Q}_{H} in a pointwise manner. Moreover, by recursively applying Equation (5.3), we have Qh∗≥Q^hQ_{h}^{*}\geq\widehat{Q}_{h} in a pointwise manner for all h∈[H]h\in[H]. In other words, Lemma 5.1 implies that the pessimism of {Q^h}h=1H\{\widehat{Q}_{h}\}_{h=1}^{H} holds with probability at least 1−ξ1-\xi as long as {Γh}h=1H\{\Gamma_{h}\}_{h=1}^{H} in Algorithm 1 are ξ\xi-uncertainty quantifiers, which serves as a sufficient condition that can be verified. Meanwhile, the upper bound of {ιh}h=1H\{\iota_{h}\}_{h=1}^{H} in Equation (5.1) controls the underestimation bias of {Q^h}h=1H\{\widehat{Q}_{h}\}_{h=1}^{H}, which arises from pessimism.

Based on Lemma 5.1, we are ready to prove Theorem 4.2.

We upper bound the three terms on the right-hand side of Equation (3.2) respectively. Specifically, we apply Lemma 3.1 by setting π^={π^h}h=1H\widehat{\pi}=\{\widehat{\pi}_{h}\}_{h=1}^{H} as the output of Algorithm 1, that is, π^=Pess(D)\widehat{\pi}=\texttt{Pess}(\mathcal{D}). As π^h\widehat{\pi}_{h} is greedy with respect to Q^h\widehat{Q}_{h} for all h∈[H]h\in[H], term (iii) in Equation (3.2) is nonpositive. Therefore, we have

for all x∈Sx\in{\mathcal{S}}, where terms (i) and (ii) characterize the spurious correlation and intrinsic uncertainty, respectively. To upper bound such two terms, we invoke Lemma 5.1, which implies

2 Suboptimality of PEVI: Linear MDP

Based on Theorem 4.2, we are ready to prove Theorem 4.4, which is specialized to the linear MDP defined in Definition 4.3.

It suffices to show that {Γh}h=1H\{\Gamma_{h}\}_{h=1}^{H} specified in Equation (4.7) are ξ\xi-uncertainty quantifiers, which are defined in Definition 4.1. In the following lemma, we prove that such a statement holds when the regularization parameter λ>0\lambda>0 and scaling parameter β>0\beta>0 in Algorithm 2 are properly chosen.

Suppose that Assumption 2.2 holds and the underlying MDP is a linear MDP. In Algorithm 2, we set

Here c>0c>0 is an absolute constant and ξ∈(0,1)\xi\in(0,1) is the confidence parameter. It holds that {Γh}h=1H\{\Gamma_{h}\}_{h=1}^{H} specified in Equation (4.7) are ξ\xi-uncertainty quantifiers, where {V^h+1}h=1H\{\widehat{V}_{h+1}\}_{h=1}^{H} used in Equation (4.1) are obtained by Algorithm 2.

for all x∈Sx\in{\mathcal{S}} under E\mathcal{E} defined in Equation (4.1). Here the last equality follows from Equation (4.7). Therefore, we conclude the proof of Theorem 4.4. ∎

3 Minimax Optimality of PEVI

In this section, we sketch the proof of Theorem 4.7, which establishes the minimax optimality of Theorem 4.4 for the linear MDP. Specifically, in Section 5.3.1, we construct a class M\mathfrak{M} of linear MDPs and a worst-case dataset D\mathcal{D}, while in Section 5.3.2, we prove Theorem 4.7 via the information-theoretic lower bound.

In the sequel, we construct a class M\mathfrak{M} of linear MDPs and a worst-case dataset D\mathcal{D}, which is compliant with the underlying MDP as defined in Definition 2.1.

Linear MDP: We define the following class of linear MDPs

where M(p1,p2,p3)M(p_{1},p_{2},p_{3}) is an episodic MDP with the horizon H≥2H\geq 2, state space S={x0,x1,x2}{\mathcal{S}}=\{x_{0},x_{1},x_{2}\}, and action space A={bj}j=1A\mathcal{A}=\{b_{j}\}_{j=1}^{A} with ∣A∣=A≥3|\mathcal{A}|=A\geq 3. In particular, we fix the initial state as s1=x0s_{1}=x_{0}. For the transition kernel, at the first step h=1h=1, we set

Meanwhile, at any subsequent step h∈{2,…,H}h\in\{2,\ldots,H\}, we set

In other words, x1,x2∈Sx_{1},x_{2}\in{\mathcal{S}} are the absorbing states. Here P1(x1 ∣ x0,b1)\mathcal{P}_{1}(x_{1}{\,|\,}x_{0},b_{1}) abbreviates P1(s2=x1 ∣ s1=x0,a1=b1)\mathcal{P}_{1}(s_{2}=x_{1}{\,|\,}s_{1}=x_{0},a_{1}=b_{1}). For the reward function, we set

As x1,x2∈Sx_{1},x_{2}\in{\mathcal{S}} are the absorbing states, the optimal policy π1∗\pi_{1}^{*} at the first step h=1h=1 is a deterministic policy, which by Equation (5.3.1) selects the action a∈Aa\in\mathcal{A} that induces the largest transition probability into the desired state x1x_{1}. In other words, at the first step h=1h=1, we have

Here we assume without loss of generality p1≠p2p_{1}\neq p_{2} in Equation (5.3.1). Meanwhile, at any subsequent step h∈{2,…,H}h\in\{2,\ldots,H\}, an arbitrary policy πh\pi_{h} is optimal, as the action a∈Aa\in\mathcal{A} selected by πh\pi_{h} does not affect the transition probability. Therefore, for any policy π={πh}h=1H\pi=\{\pi_{h}\}_{h=1}^{H}, the suboptimality of π\pi for the linear MDP M=M(p1,p2,p3)\mathcal{M}=M(p_{1},p_{2},p_{3}) takes the form

where for notational simplicity, we define pj=p3p_{j}=p_{3} for all j∈{3,…,A}j\in\{3,\ldots,A\}. Here with an abuse of notation, we incorporate the explicit dependency on the underlying MDP M∈M\mathcal{M}\in\mathfrak{M} into the suboptimality SubOpt(π;x0)\text{SubOpt}(\pi;x_{0}).

In other words, assuming that 1≤τ1<τ2<⋯<τnj≤K1\leq\tau_{1}<\tau_{2}<\cdots<\tau_{n_{j}}\leq K are the episode indices such that a1τi=bja_{1}^{\tau_{i}}=b_{j} for all i∈[nj]i\in[n_{j}], we define κji=r2τi\kappa_{j}^{i}=r_{2}^{\tau_{i}} for all j∈[A]j\in[A]. By such a construction, {κji}i,j=1nj,A\{\kappa_{j}^{i}\}_{i,j=1}^{n_{j},A} are the realizations of KK independent Bernoulli random variables, which satisfy

Note that knowing the value of the immediate reward r2τr_{2}^{\tau} is sufficient for determining the value of the second state x2τx_{2}^{\tau}. Meanwhile, recall that x1,x2∈Sx_{1},x_{2}\in{\mathcal{S}} are the absorbing states. Therefore, for learning the optimal policy π∗\pi^{*}, the original dataset D\mathcal{D} contains the same information as the reduced dataset D1={(x1τ,a1τ,x2τ,r2τ)}τ=1K\mathcal{D}_{1}=\{(x_{1}^{\tau},a_{1}^{\tau},x_{2}^{\tau},r_{2}^{\tau})\}_{\tau=1}^{K}, where the randomness only comes from the state transition at the first step h=1h=1 of each trajectory τ∈[K]\tau\in[K]. Correspondingly, the probability of observing the dataset D1\mathcal{D}_{1} takes the form

3.2 Information-Theoretic Lower Bound

The proof of Theorem 4.7 is based on the Le Cam method (Le Cam 2012; Yu 1997). Specifically, we construct two linear MDPs M1,M2∈M\mathcal{M}_{1},\mathcal{M}_{2}\in\mathfrak{M}, where the class M\mathfrak{M} of linear MDPs is defined in Equation (5.6). Such a construction ensures that (i) the distribution of the dataset D\mathcal{D}, which is compliant with the underlying MDP, is similar across M1,M2∈M\mathcal{M}_{1},\mathcal{M}_{2}\in\mathfrak{M}, and (ii) the suboptimality of any policy π\pi, which is constructed based on the dataset, is different across M1,M2∈M\mathcal{M}_{1},\mathcal{M}_{2}\in\mathfrak{M}. In other words, it is hard to distinguish M1,M2∈M\mathcal{M}_{1},\mathcal{M}_{2}\in\mathfrak{M} based on D\mathcal{D}, while π\pi obtained from D\mathcal{D} can not achieve a desired suboptimality for M1,M2∈M\mathcal{M}_{1},\mathcal{M}_{2}\in\mathfrak{M} simultaneously. Such a construction captures the fundamental hardness of offline RL for the linear MDP.

For any p,p∗∈[1/4,3/4]p,p^{*}\in[1/4,3/4], where p<p∗p<p^{*}, we set

For the dataset D\mathcal{D} specified in Section 5.3.1, the output Algo(D)\texttt{Algo}(\mathcal{D}) of any algorithm satisfies

As specified in Equation (5.10), for the underlying MDP M1\mathcal{M}_{1}, the optimal policy π1∗\pi_{1}^{*} takes the initial action b1b_{1} with probability one at the initial state x0x_{0}, while for M2\mathcal{M}_{2}, π1∗\pi_{1}^{*} takes b2b_{2} with probability one at x0x_{0}. We consider the following hypothesis testing problem

based on the dataset D\mathcal{D}. For such a problem, any test function ψ\psi is a binary map such that ψ(D)=0\psi(\mathcal{D})=0 means the null hypothesis H0H_{0} is accepted, while ψ(D)=1\psi(\mathcal{D})=1 means H0H_{0} is rejected. For the output π={πh}h=1H=Algo(D)\pi=\{\pi_{h}\}_{h=1}^{H}=\texttt{Algo}(\mathcal{D}) of any algorithm, we define

Correspondingly, the risk of the (randomized) test function ψAlgo\psi_{\texttt{Algo}} takes the form

Therefore, Lemma 5.3 lower bounds the suboptimality of any policy π={πh}h=1H=Algo(D)\pi=\{\pi_{h}\}_{h=1}^{H}=\texttt{Algo}(\mathcal{D}) by the risk of a (randomized) test function, which is induced by π\pi, for the corresponding hypothesis testing problem defined in Equation (5.16). Such an approach mirrors the Le Cam method (Le Cam 2012; Yu 1997) for establishing the minimax optimality in statistical estimation. In particular, a careful choice of p,p∗∈[1/4,3/4]p,p^{*}\in[1/4,3/4] leads to the information-theoretic lower bound established in Theorem 4.7. See Appendix C.3 for a detailed proof.

References

Appendix A Proofs of Suboptimality Decomposition

By the definition in Equation (2.6), the suboptimality of the policy π^\widehat{\pi} given any initial state x∈Sx\in{\mathcal{S}} can be decomposed as

where {V^h}h=1H\{\widehat{V}_{h}\}_{h=1}^{H} are the estimated value functions constructed by the meta-algorithm. Term (i) in Equation (A.1) is the difference between the estimated value function V^1\widehat{V}_{1} and the optimal value function V1π∗V_{1}^{\pi^{*}}, while term (ii) is the difference between V^1\widehat{V}_{1} and the value function V1π^V_{1}^{\widehat{\pi}} of π^\widehat{\pi}. To further decompose terms (i) and (ii), we utilize the following lemma, which is obtained from Cai et al. 2020, to characterize the difference between an estimated value function and the value function of a policy.

See Section B.1 in Cai et al. 2020 for a detailed proof. ∎

Applying Lemma A.1 with π=π^\pi=\widehat{\pi}, π′=π∗\pi^{\prime}=\pi^{*}, and {Q^h}h=1H\{\widehat{Q}_{h}\}_{h=1}^{H} being the estimated Q-functions constructed by the meta-algorithm, we have

Similarly, applying Lemma A.1 with π=π′=π^\pi=\pi^{\prime}=\widehat{\pi} and {Q^h}h=1H\{\widehat{Q}_{h}\}_{h=1}^{H} being the estimated Q-functions constructed by the meta-algorithm, we have

Appendix B Proofs of Pessimistic Value Iteration

We first show that on the event E\mathcal{E} defined in Equation (4.1), the model evaluation errors {ιh}h=1H\{\iota_{h}\}_{h=1}^{H} are nonnegative. In the sequel, we assume that E\mathcal{E} holds. Recall the construction of Q‾h\overline{Q}_{h} in Line 5 of Algorithm 1 for all h∈[H]h\in[H]. For all h∈[H]h\in[H] and all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}, if Q‾h(x,a)<0\overline{Q}_{h}(x,a)<0, we have

By the definition of ιh\iota_{h} in Equation (3.1), we have

as rhr_{h} and V^h+1\widehat{V}_{h+1} are nonnegative. Otherwise, if Q‾h(x,a)≥0\overline{Q}_{h}(x,a)\geq 0, we have

As {Γh}h=1H\{\Gamma_{h}\}_{h=1}^{H} are ξ\xi-uncertainty quantifiers, which are defined in Definition 4.1, we have

Here the last inequality follows from the definition of E\mathcal{E} in Equation (4.1). Therefore, we conclude the proof of ιh(x,a)≥0\iota_{h}(x,a)\geq 0 for all h∈[H]h\in[H] and all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} on E\mathcal{E}.

It remains to establish the upper bound in Equation (5.1). For all h∈[H]h\in[H] and all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}, combining the definition of event E\mathcal{E} in Equation (4.1) as well as the construction of Q‾h\overline{Q}_{h} in Line 5 of Algorithm 1 gives

where the first inequality follows from the triangle inequality, while the second inequality follows from the fact that rh∈r_{h}\in and V^h+1∈[0,H−h]\widehat{V}_{h+1}\in[0,H-h]. Hence, we have

which by the definition of ιh\iota_{h} in Equation (3.1) implies

Here the last inequality follows from the definition of E\mathcal{E} in Equation (4.1). Therefore, we complete the proof of ιh(x,a)≤2Γh(x,a)\iota_{h}(x,a)\leq 2\Gamma_{h}(x,a) for all h∈[H]h\in[H] and all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} on E\mathcal{E}.

In summary, we conclude that on E\mathcal{E},

Therefore, we conclude the proof of Lemma 5.1. ∎

B.2 Proof of Lemma 5.2

Also, Equation (4.4) ensures that the expected reward is linear in ϕ\phi for all h∈[H]h\in[H], which implies

Let Vmax⁡>0V_{\max}>0 be an absolute constant. For any function V:S→[0,Vmax⁡]V:{\mathcal{S}}\to[0,V_{\max}] and any h∈[H]h\in[H], we have

where whw_{h} and w^h\widehat{w}_{h} are defined in Equations (B.2) and (4.2), respectively.

For all h∈[H]h\in[H], Equations (B.1) and (B.2) imply

where the third inequality follows from the fact that V∈[0,Vmax⁡]V\in[0,V_{\max}].

Meanwhile, by the definition of w^h\widehat{w}_{h} in Equation (4.2) and the triangle inequality, we have

Note that ∣rhτ+V^h+1(xh+1τ)∣≤H|r_{h}^{\tau}+\widehat{V}_{h+1}(x_{h+1}^{\tau})|\leq H, which follows from the fact that rhτ∈r_{h}^{\tau}\in and V^h+1∈[0,H−1]\widehat{V}_{h+1}\in[0,H-1] by Line 10 of Algorithm 2. Also, note that Λh⪰λ⋅I\Lambda_{h}\succeq\lambda\cdot I, which follows from the definition of Λh\Lambda_{h} in Equation (4.2). Hence, we have

where the last inequality follows from the fact that ∥Λh−1∥op≤λ−1\|\Lambda_{h}^{-1}\|_{\mathop{\text{op}}}\leq\lambda^{-1}. Here ∥⋅∥op\|\cdot\|_{\mathop{\text{op}}} denotes the matrix operator norm. By the Cauchy-Schwarz inequality, we have

where the second equality follows from the definition of Λh\Lambda_{h} in Equation (4.2).

Therefore, combining Equations (B.2) and (B.2), we conclude the proof of Lemma B.1. ∎

In the sequel, we upper bound terms (i) and (ii) respectively. By the construction of the estimated value function V^h+1\widehat{V}_{h+1} in Line 10 of Algorithm 2, we have V^h+1∈[0,H−1]\widehat{V}_{h+1}\in[0,H-1]. By Lemma B.1, we have ∥wh∥≤Hd\|w_{h}\|\leq H\sqrt{d}. Hence, term (i) defined in Equation (B.5) is upper bounded by

Here the second equality follows from the definition of Λh\Lambda_{h} in Equation (4.2). Also, the first inequality follows from the Cauchy-Schwarz inequality, while the last inequality follows from the fact that

Here ∥⋅∥op\|\cdot\|_{\mathop{\text{op}}} denotes the matrix operator norm and we use the fact that ∥Λh−1∥op≤λ−1\|\Lambda_{h}^{-1}\|_{\mathop{\text{op}}}\leq\lambda^{-1}.

It remains to upper bound term (ii). For notational simplicity, for any h∈[H]h\in[H], any τ∈[K]\tau\in[K], and any function V ⁣:S→[0,H]V\colon{\mathcal{S}}\rightarrow[0,H], we define the random variable

By the Cauchy-Schwarz inequality, term (ii) defined in Equation (B.5) is upper bounded by

In the sequel, we upper bound term (iii) via concentration inequalities. An obstacle is that V^h+1\widehat{V}_{h+1} depends on {(xhτ,ahτ)}τ=1K\{(x_{h}^{\tau},a_{h}^{\tau})\}_{\tau=1}^{K} via {(xh′τ,ah′τ)}τ∈[K],h′>h\{(x_{h^{\prime}}^{\tau},a_{h^{\prime}}^{\tau})\}_{\tau\in[K],h^{\prime}>h}, as it is constructed based on the dataset D\mathcal{D}. To this end, we resort to uniform concentration inequalities to upper bound

for each h∈[H]h\in[H], where it holds that V^h+1∈Vh+1(R,B,λ)\widehat{V}_{h+1}\in\mathcal{V}_{h+1}(R,B,\lambda). Here for all h∈[H]h\in[H], we define the function class

For all ε>0\varepsilon>0 and all h∈[H]h\in[H], let Nh(ε;R,B,λ)\mathcal{N}_{h}(\varepsilon;R,B,\lambda) be the minimal ε\varepsilon-cover of Vh(R,B,λ)\mathcal{V}_{h}(R,B,\lambda) with respect to the supremum norm. In other words, for any function V∈Vh(R,B,λ)V\in\mathcal{V}_{h}(R,B,\lambda), there exists a function V†∈Nh(ε;R,B,λ)V^{\dagger}\in\mathcal{N}_{h}(\varepsilon;R,B,\lambda) such that

Meanwhile, among all ε\varepsilon-covers of Vh(R,B,λ)\mathcal{V}_{h}(R,B,\lambda) defined by such a property, we choose Nh(ε;R,B,λ)\mathcal{N}_{h}(\varepsilon;R,B,\lambda) as the one with the minimal cardinality.

By Lemma B.1, we have ∥w^h∥≤HKd/λ\|\widehat{w}_{h}\|\leq H\sqrt{Kd/\lambda}. Hence, for all h∈[H]h\in[H], we have

Here λ>0\lambda>0 is the regularization parameter and β>0\beta>0 is the scaling parameter, which are specified in Algorithm 2. For notational simplicity, we use Vh+1\mathcal{V}_{h+1} and Nh+1(ε)\mathcal{N}_{h+1}(\varepsilon) to denote Vh+1(R0,B0,λ)\mathcal{V}_{h+1}(R_{0},B_{0},\lambda) and Nh+1(ε;R0,B0,λ)\mathcal{N}_{h+1}(\varepsilon;R_{0},B_{0},\lambda), respectively. As it holds that V^h+1∈Vh+1\widehat{V}_{h+1}\in\mathcal{V}_{h+1} and Nh+1(ε)\mathcal{N}_{h+1}(\varepsilon) is an ε\varepsilon-cover of Vh+1\mathcal{V}_{h+1}, there exists a function Vh+1†∈Nh+1(ε)V^{\dagger}_{h+1}\in\mathcal{N}_{h+1}(\varepsilon) such that

Hence, given Vh+1†V^{\dagger}_{h+1} and V^h+1\widehat{V}_{h+1}, the monotonicity of conditional expectations implies

By the triangle inequality, Equations (B.10) and (B.12) imply

for all h∈[H]h\in[H] and all (x,a,x′)∈S×A×S(x,a,x^{\prime})\in{\mathcal{S}}\times\mathcal{A}\times{\mathcal{S}}. Setting (x,a,x′)=(xhτ,ahτ,xh+1τ)(x,a,x^{\prime})=(x_{h}^{\tau},a_{h}^{\tau},x_{h+1}^{\tau}) in Equation (B.13), we have

The second term on the right-hand side of Equation (B.15) is upper bounded by

where the first inequality follows from Equation (B.14). As it holds that Λh⪰λ⋅I\Lambda_{h}\succeq\lambda\cdot I by the definition of Λh\Lambda_{h} in Equation (4.2) and ∥ϕ(x,a)∥≤1\|\phi(x,a)\|\leq 1 for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} by Definition 4.3, for all h∈[H]h\in[H], we have

Combining Equations (B.15) and (B.16), for all h∈[H]h\in[H], we have

Let V:S→[0,H−1]V:{\mathcal{S}}\to[0,H-1] be any fixed function. Under Assumption 2.2, for any fixed h∈[H]h\in[H] and any δ∈(0,1)\delta\in(0,1), we have

For the fixed h∈[H]h\in[H] and all τ∈{0,…,K}\tau\in\{0,\ldots,K\}, we define the σ\sigma-algebra

where σ(⋅)\sigma(\cdot) denotes the σ\sigma-algebra generated by a set of random variables and (τ+1)∧K(\tau+1)\wedge K denotes min⁡{τ+1,K}\min\{\tau+1,K\}. For all τ∈[K]\tau\in[K], we have ϕ(xhτ,ahτ)∈Fh,τ−1\phi(x_{h}^{\tau},a_{h}^{\tau})\in\mathcal{F}_{h,\tau-1}, as (xhτ,ahτ)(x_{h}^{\tau},a_{h}^{\tau}) is Fh,τ−1\mathcal{F}_{h,\tau-1}-measurable. Also, for the fixed function V ⁣:S→[0,H−1]V\colon{\mathcal{S}}\to[0,H-1] and all τ∈[K]\tau\in[K], we have

as (rhτ,xh+1τ)(r_{h}^{\tau},x_{h+1}^{\tau}) is Fh,τ\mathcal{F}_{h,\tau}-measurable. Hence, {ϵhτ(V)}τ=1K\{\epsilon_{h}^{\tau}(V)\}_{\tau=1}^{K} is a stochastic process adapted to the filtration {Fh,τ}τ=0K\{\mathcal{F}_{h,\tau}\}_{\tau=0}^{K}. By Assumption 2.2, we have

We invoke Lemma E.2 with M0=λ⋅IM_{0}=\lambda\cdot I and Mk=λ⋅I+∑τ=1kϕ(xhτ,ahτ) ϕ(xhτ,ahτ)⊤M_{k}=\lambda\cdot I+\sum_{\tau=1}^{k}\phi(x_{h}^{\tau},a_{h}^{\tau})\ \phi(x_{h}^{\tau},a_{h}^{\tau})^{\top} for all k∈[K]k\in[K]. For the fixed function V ⁣:S→[0,H−1]V\colon{\mathcal{S}}\to[0,H-1] and fixed h∈[H]h\in[H], we have

for all δ∈(0,1)\delta\in(0,1). Here we use the fact that MK=ΛhM_{K}=\Lambda_{h}. Note that ∥ϕ(x,a)∥≤1\|\phi(x,a)\|\leq 1 for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} by Definition 4.3. We have

where ∥⋅∥op\|\cdot\|_{\mathop{\text{op}}} denotes the matrix operator norm. Hence, it holds that det⁡(Λh)≤(λ+K)d\det(\Lambda_{h})\leq(\lambda+K)^{d} and det⁡(λ⋅I)=λd\det(\lambda\cdot I)=\lambda^{d}, which implies

Therefore, we conclude the proof of Lemma B.2. ∎

Applying Lemma B.2 and the union bound, for any fixed h∈[H]h\in[H], we have

For all ξ∈(0,1)\xi\in(0,1) and all ε>0\varepsilon>0, we set δ=ξ/(H⋅∣Nh+1(ε)∣)\delta=\xi/(H\cdot|\mathcal{N}_{h+1}(\varepsilon)|). Hence, for any fixed h∈[H]h\in[H], it holds that

It remains to choose a proper ε>0\varepsilon>0 and upper bound the ε\varepsilon-covering number ∣Nh+1(ε)∣|\mathcal{N}_{h+1}(\varepsilon)|. In the sequel, we set ε=dH/K\varepsilon=dH/K and λ=1\lambda=1. By Equation (B.19), for all h∈[H]h\in[H], it holds that

For all h∈[H]h\in[H] and all ε>0\varepsilon>0, we have

See Lemma D.6 in Jin et al. 2020 for a detailed proof. ∎

Here c>0c>0 is an absolute constant, ξ∈(0,1)\xi\in(0,1) is the confidence parameter, and ζ=log⁡(2dHK/ξ)\zeta=\log(2dHK/\xi) is specified in Algorithm 2. Recall that Nh+1(ε)=Nh+1(ε;R0,B0,λ)\mathcal{N}_{h+1}(\varepsilon)=\mathcal{N}_{h+1}(\varepsilon;R_{0},B_{0},\lambda) is the minimal ε\varepsilon-cover of Vh+1=Vh+1(R0,B0,λ)\mathcal{V}_{h+1}=\mathcal{V}_{h+1}(R_{0},B_{0},\lambda) with respect to the supremum norm. Applying Lemma B.3 with ε=dH/K\varepsilon=dH/K, we have

As it holds that ζ>1\zeta>1, we set c≥1c\geq 1 to ensure that the second term on the right-hand side of Equation (B.2) is the dominating term, where 32c2⋅d1/2K2ζ≥132c^{2}\cdot d^{1/2}K^{2}\zeta\geq 1. Hence, we have

By Equations (B.20) and (B.22), for all h∈[H]h\in[H], it holds that

As it holds that ζ>1\zeta>1 and log⁡ζ≤ζ\log\zeta\leq\zeta, Equation (B.2) implies

We set c≥1c\geq 1 to be sufficiently large, which ensures that 36+8⋅log⁡(64c2)≤c2/436+8\cdot\log(64c^{2})\leq c^{2}/4 on the right-hand side of Equation (B.24). By Equations (B.2) and (B.24), for all h∈[H]h\in[H], it holds that

By Equations (4.7), (B.5), (B.2), and (B.25), for all h∈[H]h\in[H] and all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}, it holds that

B.3 Proof of Corollary 4.5

By the Cauchy-Schwarz inequality, we have

for all x∈Sx\in{\mathcal{S}} and all h∈[H]h\in[H]. We define the event

for all x∈Sx\in{\mathcal{S}} and all h∈[H]h\in[H]. On the event E†∩E‡\mathcal{E}^{\dagger}\cap\mathcal{E}^{\ddagger}, where E†\mathcal{E}^{\dagger} and E‡\mathcal{E}^{\ddagger} are defined in Equations (4.9) and (B.27), respectively, we have

Here {λh,j(x)}j=1d\{\lambda_{h,j}(x)\}_{j=1}^{d} are the eigenvalues of Σh(x)\Sigma_{h}(x) for all x∈Sx\in{\mathcal{S}} and all h∈[H]h\in[H], the first inequality follows from the definition of E‡\mathcal{E}^{\ddagger} in Equation (B.27), and the second inequality follows from Equation (B.3) and the definition of E†\mathcal{E}^{\dagger} in Equation (4.9). Meanwhile, by Definition 4.3, we have ∥ϕ(s,a)∥≤1\|\phi(s,a)\|\leq 1 for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}. By Jensen’s inequality, we have

for all x∈Sx\in{\mathcal{S}} and all h∈[H]h\in[H]. As Σh(x)\Sigma_{h}(x) is positive semidefinite, we have λh,j(x)∈\lambda_{h,j}(x)\in for all x∈Sx\in{\mathcal{S}}, all h∈[H]h\in[H], and all j∈[d]j\in[d]. Hence, on E†∩E‡\mathcal{E}^{\dagger}\cap\mathcal{E}^{\ddagger}, we have

B.4 Proof of Corollary 4.6

For all h∈[H]h\in[H] and all τ∈[K]\tau\in[K], we define the random matrices

By Definition 4.3, we have ∥ϕ(x,a)∥≤1\|\phi(x,a)\|\leq 1 for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A}. By Jensen’s inequality, we have

Hence, for all h∈[H]h\in[H] and all τ∈[K]\tau\in[K], we have

As {Ahτ}τ=1K\{A_{h}^{\tau}\}_{\tau=1}^{K} are i.i.d. and centered, for all h∈[H]h\in[H], we have

where the first inequality follows from Jensen’s inequality. Similarly, for all h∈[H]h\in[H] and all τ∈[K]\tau\in[K], as it holds that

Applying Lemma E.1 to ZhZ_{h} defined in Equation (B.4), for any fixed h∈[H]h\in[H] and any t≥0t\geq 0, we have

For all ξ∈(0,1)\xi\in(0,1), we set t=10K⋅log⁡(4dH/ξ)t=\sqrt{10K\cdot\log(4dH/\xi)}. By Equation (B.29), when KK is sufficiently large so that K≥5⋅log⁡(4dH/ξ)K\geq 5\cdot\log(4dH/\xi), we have 2t/3≤K2t/3\leq K. Hence, for the fixed h∈[H]h\in[H], we have

By Equation (B.4) and the union bound, for all h∈[H]h\in[H], it holds that

By the definition of ZhZ_{h} in Equation (B.4), we have

Recall that there exists an absolute constant c‾>0\underline{c}>0 such that λmin⁡(Σh)≥c‾/d\lambda_{\min}(\Sigma_{h})\geq\underline{c}/d, which implies ∥Σh−1∥op≤d/c‾\|\Sigma_{h}^{-1}\|_{\mathop{\text{op}}}\leq d/\underline{c}. By Equations (B.31) and (B.32), when KK is sufficiently large so that K≥40d/c‾⋅log⁡(4dH/ξ)K\geq 40d/\underline{c}\cdot\log(4dH/\xi), for all h∈[H]h\in[H], it holds that

Here we define the absolute constant c′′=2/c‾c^{\prime\prime}=\sqrt{2/\underline{c}} and use the fact that ∥ϕ(x,a)∥≤1\|\phi(x,a)\|\leq 1 for all (x,a)∈S×A(x,a)\in{\mathcal{S}}\times\mathcal{A} in Definition 4.3.

Appendix C Proofs of Minimax Optimality

We consider two linear MDPs M1=M(p∗,p,p)\mathcal{M}_{1}=M(p^{*},p,p) and M2=M(p,p∗,p)\mathcal{M}_{2}=M(p,p^{*},p) in the class M\mathfrak{M} defined in Equation (5.6). As we have p∗>pp^{*}>p, by Equations (5.3.1) and (5.3.1), the optimal policy for M1\mathcal{M}_{1} satisfies π1∗,1(a1 ∣ x0)=\ind{a1=b1}\pi_{1}^{*,1}(a_{1}{\,|\,}x_{0})=\ind\{a_{1}=b_{1}\}, which always chooses the action b1b_{1} at the first step h=1h=1, while the optimal policy for M2\mathcal{M}_{2} satisfies π1∗,2(a1 ∣ x0)=\ind{a1=b2}\pi_{1}^{*,2}(a_{1}{\,|\,}x_{0})=\ind\{a_{1}=b_{2}\}, which always chooses the action b2b_{2} at the first step h=1h=1. Given the dataset D\mathcal{D}, we denote by π={πh}h=1H=Algo(D)\pi=\{\pi_{h}\}_{h=1}^{H}=\texttt{Algo}(\mathcal{D}) the output of any offline RL algorithm. Recall that ∑j=1Aπ1(bj ∣ x0)=1\sum_{j=1}^{A}\pi_{1}(b_{j}{\,|\,}x_{0})=1. By Equation (5.11), the suboptimality of π\pi for M1\mathcal{M}_{1} is

Similarly, the suboptimality of π\pi for M2\mathcal{M}_{2} is

Recall that we define nj=∑τ=1K\ind{a1τ=bj}n_{j}=\sum_{\tau=1}^{K}\ind\{a_{1}^{\tau}=b_{j}\} for all j∈[A]j\in[A]. Combining Equations (C.1) and (C.2), we have

C.2 Suboptimality of PEVI on 𝔐\mathfrak{M}

In this section, we establish the suboptimality of PEVI for the linear MDPs in the class M\mathfrak{M}. We consider any linear MDP M=M(p1,p2,p3)∈M\mathcal{M}=M(p_{1},p_{2},p_{3})\in\mathfrak{M} and the dataset D={(xhτ,ahτ,rhτ)}τ,h=1K,H\mathcal{D}=\{(x_{h}^{\tau},a_{h}^{\tau},r_{h}^{\tau})\}_{\tau,h=1}^{K,H} compliant with M\mathcal{M}, which is constructed in Section 5.3.1. Recall that nj=∑τ=1K\ind{a1τ=bj}n_{j}=\sum_{\tau=1}^{K}\ind\{a_{1}^{\tau}=b_{j}\} for all j∈[A]j\in[A] and j∗=arg maxj∈[A]pjj^{*}=\mathop{\text{\rm arg\,max}}_{j\in[A]}p_{j}. We define mj=∑τ=1K\ind{x2τ=xj}m_{j}=\sum_{\tau=1}^{K}\ind\{x_{2}^{\tau}=x_{j}\} for all j∈{1,2}j\in\{1,2\}.

Suppose that Assumption 2.2 holds and the underlying MDP is M∈M\mathcal{M}\in\mathfrak{M}. In Algorithm 2, we set λ=1\lambda=1 and β=c⋅dHlog⁡(4dHK/ξ)\beta=c\cdot dH\sqrt{\log(4dHK/\xi)}. Here c>0c>0 is an absolute constant and ξ∈(0,1)\xi\in(0,1) is the confidence parameter, which are specified in Theorem 4.4. We have

Recall that x1τ=x0x_{1}^{\tau}=x_{0} for all τ∈[K]\tau\in[K]. By the definition of Λh\Lambda_{h} in Equation (4.2), we have

where the second equality follows from the definition of ϕ\phi in Equation (5.3.1). Since x1,x2∈Sx_{1},x_{2}\in{\mathcal{S}} are the absorbing states, for all h∈{2,…,H}h\in\{2,\dots,H\}, we have

where the second equality follows from the definition of ϕ\phi in Equation (5.3.1). Also, we have

which yields Equation (C.1). Here we use the definition of ϕ\phi in Equation (5.3.1) and the regularization parameter λ=1\lambda=1 in Algorithm 2.

In the sequel, we lower bound m1m_{1} and m2m_{2} via concentration inequalities. By the construction of D\mathcal{D} in Section 5.3.1, for all τ∈[K]\tau\in[K] and all j∈[A]j\in[A], given the action a1τ=bja_{1}^{\tau}=b_{j}, \ind{x2τ=x1}\ind\{x_{2}^{\tau}=x_{1}\} is a Bernoulli random variable with the success probability pjp_{j}. As p1,p2,p3∈[1/4,3/4]p_{1},p_{2},p_{3}\in[1/4,3/4], we have

Given the actions {a1τ}τ=1K\{a_{1}^{\tau}\}_{\tau=1}^{K}, m1m_{1} is a sum of KK independent Bernoulli random variables. By Hoeffding’s inequality, for all ξ>0\xi>0, it holds that

Meanwhile, by Theorem 4.4 with the regularization parameter λ=1\lambda=1 and the confidence parameter ξ/2\xi/2, it holds that

C.3 Proof of Theorem 4.7

We consider two linear MDPs M1=M(p∗,p,p)\mathcal{M}_{1}=M(p^{*},p,p) and M2=M(p,p∗,p)\mathcal{M}_{2}=M(p,p^{*},p) in the class M\mathfrak{M} and the dataset D\mathcal{D} compliant with M1\mathcal{M}_{1} or M2\mathcal{M}_{2}, which is constructed in Section 5.3.1. We additionally assume that n1,n2≥4n_{1},n_{2}\geq 4 and 1/cˉ≤n1/n2≤cˉ1/\bar{c}\leq n_{1}/n_{2}\leq\bar{c} for an absolute constant cˉ>0\bar{c}>0. For the policy π={πh}h=1H=Algo(D)\pi=\{\pi_{h}\}_{h=1}^{H}=\texttt{Algo}(\mathcal{D}) constructed by any offline RL algorithm, recall the test function ψAlgo(D)\psi_{\texttt{Algo}}(\mathcal{D}) defined in Equation (5.17), which is constructed for the hypothesis testing problem defined in Equation (5.16). By Equation (5.3.2), we have

respectively. Here we use the fact that p1=p∗p_{1}=p^{*} and p2=pp_{2}=p in M1=M(p∗,p,p)\mathcal{M}_{1}=M(p^{*},p,p), while p1=pp_{1}=p and p2=p∗p_{2}=p^{*} in M2=M(p,p∗,p)\mathcal{M}_{2}=M(p,p^{*},p), where p∗>pp^{*}>p. By Equation (C.15), we have

where the second equality follows from Equation (5.13). Note that for all x∈(−1,1)x\in(-1,1), it holds that log⁡(1+x)≤x\log(1+x)\leq x. Hence, when p∗−p<min⁡{p,1−p}p^{*}-p<\min\{p,1-p\}, we have

Similarly, when p∗−p<min⁡{p∗,1−p∗}p^{*}-p<\min\{p^{*},1-p^{*}\}, we have

Recall that n1,n2≥4n_{1},n_{2}\geq 4 and 1/cˉ≤n1/n2≤cˉ1/\bar{c}\leq n_{1}/n_{2}\leq\bar{c} for an absolute constant cˉ>0\bar{c}>0. We set

such that p∗,p∈[1/4,3/4]p^{*},p\in[1/4,3/4], 0≤p∗−p≤1/40\leq p^{*}-p\leq 1/4, and p∗−p<min⁡{p,1−p,p∗,1−p∗}p^{*}-p<\min\{p,1-p,p^{*},1-p^{*}\}. Hence, the KL-divergence is upper bounded as

where the second inequality follows from the fact that p,p∗∈[1/4,3/4]p,p^{*}\in[1/4,3/4] and the last inequality follows from Equation (C.16). By Equations (C.3) and (C.3), we have

Combining Equations (C.16) and (C.18), for the output π={πh}h=1H=Algo(D)\pi=\{\pi_{h}\}_{h=1}^{H}=\texttt{Algo}(\mathcal{D}) of any offline RL algorithm, we have

Here the first inequality follows from Lemma 5.3 and the last inequality follows from the fact that 1/cˉ≤n1/n2≤cˉ1/\bar{c}\leq n_{1}/n_{2}\leq\bar{c} for an absolute constant cˉ>0\bar{c}>0.

By Equations (C.3), (C.3), and (C.3), when KK is sufficiently large so that K≥64⋅log⁡(2K)K\geq 64\cdot\log(2K) and K≥2/C′K\geq 2/C^{\prime}, we have

C.4 Locally Refined Upper Bounds

Since M\mathfrak{M} is a class of linear MDPs, Theorem 4.4 yields an upper bound on the suboptimality of Pess(D)\texttt{Pess}(\mathcal{D}) constructed by Algorithm 2, which is minimax optimal up to β\beta and absolute constant. Focusing on M\mathfrak{M}, with a different choice of the ξ\xi-uncertainty quantifier tailored for M\mathcal{M}, PEVI achieves a more refined local minimax optimality.

for all a∈Aa\in\mathcal{A}. Recall that the initial state is fixed to x0x_{0}. For any j∈[A]j\in[A], we have

Based on the dataset D={(xhτ,ahτ,rhτ)}τ,h=1K,H\mathcal{D}=\{(x_{h}^{\tau},a_{h}^{\tau},r_{h}^{\tau})\}_{\tau,h=1}^{K,H} that is compliant with M\mathcal{M}, we construct the estimated Bellman operator B^h\widehat{B}_{h} and value function V^h\widehat{V}_{h} for all h∈[H]h\in[H] as follows. To begin with, we define V^H+1\widehat{V}_{H+1} as a zero function. For all h≥2h\geq 2, we define

For h=1h=1 and all j∈[A]j\in[A] with nj>0n_{j}>0, we define

For any M∈M\mathcal{M}\in\mathfrak{M} and any dataset D\mathcal{D} that is compliant with M\mathcal{M}, we assume that nj∗=∑τ=1K\ind{a1τ=bj∗}≥1n_{j^{*}}=\sum_{\tau=1}^{K}\ind\{a_{1}^{\tau}=b_{j}^{*}\}\geq 1 for the optimal action bj∗b_{j^{*}}, where j∗=arg maxj∈{1,2}{pj}j^{*}=\mathop{\text{\rm arg\,max}}_{j\in\{1,2\}}\{p_{j}\}. Then the following statements hold: (i) {Γhξ}h=1H\{\Gamma_{h}^{\xi}\}_{h=1}^{H} defined in Equation (C.31) are ξ\xi-uncertainty quantifiers satisfying Equation (4.1); (ii) we have

We remark that based on the ξ\xi-uncertainty quantifiers tailored for linear MDPs in M\mathfrak{M}, Proposition C.2 establishes a tighter upper bound than that in Theorem 4.4. Specifically, Equation (C.4) shows that directly applying Theorem 4.4 yields an O~(H2A/nj∗)\widetilde{\mathcal{O}}(H^{2}A/\sqrt{n_{j^{*}}}) suboptimality upper bound, where O~(⋅)\widetilde{\mathcal{O}}(\cdot) omits logarithmic terms and absolute constants. In contrast, as shown in Equation (C.35), Pess∗(D)\texttt{Pess}^{*}(\mathcal{D}) achieves an improved O~(H/nj∗)\widetilde{\mathcal{O}}(H/\sqrt{n_{j^{*}}}) suboptimality upper bound. Thus, neglecting logarithmic terms and absolute constants, although both being minimax optimal algorithms, Pess∗(D)\texttt{Pess}^{*}(\mathcal{D}) is superior over Pess(D)\texttt{Pess}(\mathcal{D}) given in Algorithm 2 by a factor of HAHA, and Pess∗(D)\texttt{Pess}^{*}(\mathcal{D}) is minimax optimal up to a factor of HH.

The proof consists of two steps. In the first step, we prove that {Γhξ}h=1H\{\Gamma_{h}^{\xi}\}_{h=1}^{H} given in Equation (C.31) are ξ\xi-uncertainty quantifiers. In the second step, we apply Theorem 4.2 and establish the upper bound.

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

for all j∈[A]j\in[A]. Recall the mapping from the rewards {r2τ}τ=1K\{r_{2}^{\tau}\}_{\tau=1}^{K} to the relabeled rewards {κji}i,j=1nj,A\{\kappa_{j}^{i}\}_{i,j=1}^{n_{j},A} defined in Equation (5.12). For any j∈[A]j\in[A] such that nj≥1n_{j}\geq 1, we consider the σ\sigma-algebras

Since D\mathcal{D} is compliant with M\mathcal{M}, by Equation (5.13), {κji−pj}i=1nj\{\kappa_{j}^{i}-p_{j}\}_{i=1}^{n_{j}} is a martingale difference sequence adapted to filtration {Fi}i=1nj\{\mathcal{F}_{i}\}_{i=1}^{n_{j}}. Applying Azuma-Hoeffding’s inequality, we have

where the last inequality follows from the fact that nj≥1n_{j}\geq 1. By Equation (C.27), we have

where the second equality follows from the definition of V^h\widehat{V}_{h} for all h≥2h\geq 2 in Equation (C.28). Thus, for any fixed j∈[A]j\in[A] such that nj≥1n_{j}\geq 1, we have

Thus, {Γhξ}h=1H\{\Gamma_{h}^{\xi}\}_{h=1}^{H} defined in Equation (C.31) are ξ\xi-uncertainty quantifiers.

Step (ii). In the sequel, we apply Theorem 4.2 to Pess∗(D)\texttt{Pess}^{*}(\mathcal{D}) and establish the suboptimality upper bound in Proposition C.2. Specifically, by Theorem 4.2, it holds that

Note that log⁡(2A/ξ)=log⁡2+log⁡(A/ξ)≤2log⁡(A/ξ)\log(2A/\xi)=\log 2+\log(A/\xi)\leq 2\log(A/\xi) for A≥2A\geq 2. Combining Equations (C.35) and (C.36), we have

Appendix D Proofs of PEVI with Kernel Function Approximation

In this part, we provide the proof of Theorem 4.9 and the related supporting lemmas.

where IHI_{\mathcal{H}} is the identity mapping in H\mathcal{H} and all the formal matrix multiplications follow the same rules as those for real-valued matrix. In this way, these operators are well-defined. Also, Λh\Lambda_{h} is a self-adjoint operator eigenvalues no smaller than λ\lambda, in the sense that ⟨f,Λg⟩=⟨Λf,g⟩\langle f,\Lambda g\rangle=\langle\Lambda f,g\rangle for any f,g∈Hf,g\in\mathcal{H}. Therefore, there exists a positive definite operator Λh1/2\Lambda^{1/2}_{h} whose eigenvalues are no smaller than λ1/2\lambda^{1/2} and Λh=Λh1/2Λh1/2\Lambda_{h}=\Lambda_{h}^{1/2}\Lambda_{h}^{1/2}. We denote the inverse of Λh1/2\Lambda_{h}^{1/2} as Λh−1/2\Lambda_{h}^{-1/2}, so that Λh−1=Λh−1/2Λh−1/2\Lambda_{h}^{-1}=\Lambda_{h}^{-1/2}\Lambda_{h}^{-1/2} and ∥Λh−1/2∥H≤λ−1/2\|\Lambda_{h}^{-1/2}\|_{\mathcal{H}}\leq\lambda^{-1/2}. For any z∈Zz\in\mathcal{Z}, we denote Λh(z)=Λh+ϕ(z)ϕ(z)⊤.\Lambda_{h}(z)=\Lambda_{h}+\phi(z)\phi(z)^{\top}. Then we have

Therefore, since ϕ(z)⊤Λh−1ϕ(z)≤1\phi(z)^{\top}\Lambda_{h}^{-1}\phi(z)\leq 1 for λ≥1\lambda\geq 1, we have

where the last equality follows from the fact that

and we define Kh(z)K_{h}(z) as the Gram matrix for {zhτ}τ∈[K]∪{z}\{z_{h}^{\tau}\}_{\tau\in[K]}\cup\{z\}. On the other hand, under these notations kh(z)=Φhϕ(z)k_{h}(z)=\Phi_{h}\phi(z) for any z∈Zz\in\mathcal{Z} and kh(⋅)k_{h}(\cdot) defined in Equation (4.17), hence the penalty function Γh\Gamma_{h} defined in Equation (4.19) can be written as

Combining Equations (D.1) and (D.1), we have

which completes the proof of Theorem 4.9. ∎

Suppose Assumption 4.8 holds. We set β=B\beta=B in Algorithm 3 where λ≥1+1/K\lambda\geq 1+1/K and B>0B>0 satisfies

We first establish the closed form of f^h\widehat{f}_{h} in Equation (4.16) for any h∈[H]h\in[H]. Since H\mathcal{H} is an RKHS, there exists a feature map ϕ ⁣:Z→H\phi\colon\mathcal{Z}\to\mathcal{H} such that f(z)=⟨f,ϕ(z)⟩Hf(z)=\langle f,\phi(z)\rangle_{\mathcal{H}} for all f∈Hf\in\mathcal{H} and all z∈Zz\in\mathcal{Z} and K(z,z′)=⟨ϕ(z),ϕ(z′)⟩HK(z,z^{\prime})=\langle\phi(z),\phi(z^{\prime})\rangle_{\mathcal{H}} for all z,z′∈Zz,z^{\prime}\in\mathcal{Z}. Therefore, for each step h∈[H]h\in[H], the solution f^h\widehat{f}_{h} of the kernel ridge regression could be written as

By the property of Hilbert spaces, H\mathcal{H} admits the orthogonal decomposition H=M⊕M⊥\mathcal{H}=\mathcal{M}\oplus\mathcal{M}^{\bot}, where M\mathcal{M} is the span of {ϕ(xhτ,ahτ) ⁣:τ∈[K]}\big\{\phi(x_{h}^{\tau},a_{h}^{\tau})\colon\tau\in[K]\big\}. In light of this decomposition, we claim that f^h∈M\widehat{f}_{h}\in\mathcal{M}. To see this, if f^h∉M\widehat{f}_{h}\notin\mathcal{M}, we could write f^h=f1+f2\widehat{f}_{h}=f_{1}+f_{2}, where f1∈Mf_{1}\in\mathcal{M} and f2∈M⊥f_{2}\in\mathcal{M}^{\bot} with f2≠0f_{2}\neq 0, so that ⟨ϕ(xhτ,ahτ),f^h⟩H=⟨ϕ(xhτ,ahτ),f1⟩H\big\langle\phi(x_{h}^{\tau},a_{h}^{\tau}),\widehat{f}_{h}\big\rangle_{\mathcal{H}}=\big\langle\phi(x_{h}^{\tau},a_{h}^{\tau}),f_{1}\big\rangle_{\mathcal{H}} for all τ∈[K]\tau\in[K] but ∥f^h∥H2=∥f1∥H2+∥f2∥H2>∥f1∥H2\|\widehat{f}_{h}\|_{\mathcal{H}}^{2}=\|f_{1}\|_{\mathcal{H}}^{2}+\|f_{2}\|_{\mathcal{H}}^{2}>\|f_{1}\|_{\mathcal{H}}^{2}, a contradiction to the definition of f^h\widehat{f}_{h}. Therefore, we have the equivalent representation

in which all multiplications are for real-valued vectors and matrices. With the above reduced ridge regression problem, we obtain the closed form

for the Gram matrix KhK_{h} and response vector yhy_{h} defined in Equation (4.17). Combining Equation (D.4) with the feature representation f^h(z)=⟨f^,ϕ(z)⟩H=kh(z)⊤θ^h\widehat{f}_{h}(z)=\langle\widehat{f},\phi(z)\rangle_{\mathcal{H}}=k_{h}(z)^{\top}\widehat{\theta}_{h} where kh(z)k_{h}(z) is defined in Equation (4.17), we obtain the original closed form in Equation (4.16).

Also, for all h∈[H]h\in[H], it holds that Kh=ΦhΦh⊤K_{h}=\Phi_{h}\Phi_{h}^{\top} and

Since both the matrix ΦhΦh⊤+λ⋅I\Phi_{h}\Phi_{h}^{\top}+\lambda\cdot I and the operator Φh⊤Φh+λ⋅IH\Phi_{h}^{\top}\Phi_{h}+\lambda\cdot I_{\mathcal{H}} are strictly positive definite, we have

hence the fitted value function admits the form

In the sequel, we bound terms (i) and (ii) separately. By the Cauchy-Schwarz inequality,

where Λh=Φh⊤Φh+λ⋅IH\Lambda_{h}=\Phi_{h}^{\top}\Phi_{h}+\lambda\cdot I_{\mathcal{H}}. Therefore, it holds that

where we write ∥ϕ(x,a)∥Λh−12:=⟨ϕ(x,a),Λh−1ϕ(x,a)⟩=∥Λh−1/2ϕ(x,a)∥H2\|\phi(x,a)\|_{\Lambda_{h}^{-1}}^{2}:=\big\langle\phi(x,a),\Lambda_{h}^{-1}\phi(x,a)\big\rangle=\|\Lambda_{h}^{-1/2}\phi(x,a)\|_{\mathcal{H}}^{2}. On the other hand, recalling the definition of Φh\Phi_{h} in Equation (D.1), we have

where the last inequality follows from the Cauchy-Schwarz inequality.

In the sequel, we aim to bound the RHS of Equation (D.8) by martingale concentration inequalities. To this end, we note that for h∈[H−1]h\in[H-1], V^h+1\widehat{V}_{h+1} is constructed with Dh+1∪⋯∪DH\mathcal{D}_{h+1}\cup\cdots\cup\mathcal{D}_{H}. Recall the inverse order of the sample splitting, and Ih={K/H⋅(h−1)+1,…,K/H⋅h}\mathcal{I}_{h}=\{K/H\cdot(h-1)+1,\dots,K/H\cdot h\}. We then define the filtration

for τ∈Ih\tau\in\mathcal{I}_{h}, where σ(⋅)\sigma(\cdot) denotes the σ\sigma-algebra generated by the set of random variables and (τ+1)∨k=min⁡{τ+1,K}(\tau+1)\vee k=\min\{\tau+1,K\}. The inverse order in the data splitting implies that for any τ∈Ih\tau\in\mathcal{I}_{h},

hence V^h+1∈Fh,τ\widehat{V}_{h+1}\in\mathcal{F}_{h,\tau}. Therefore, the stochastic process

is adapted to the filtration {Fh,τ}τ∈Ih\{\mathcal{F}_{h,\tau}\}_{\tau\in\mathcal{I}_{h}}. Meanwhile, the compliance assumption of dataset D\mathcal{D} imply

where Eh=(ϵhτ)τ∈Ih⊤E_{h}=(\epsilon_{h}^{\tau})_{\tau\in\mathcal{I}_{h}}^{\top} for ϵk=ϵhτ(V)\epsilon_{k}=\epsilon_{h}^{\tau}(V).

We now translate the bound in Equation (D.1) to the desired form. We note that

For any η>0\eta>0, noting that ((Kh+η⋅I)−1+I)(Kh+η⋅I)=Kh+(1+η)⋅I,\big((K_{h}+\eta\cdot I)^{-1}+I\big)(K_{h}+\eta\cdot I)=K_{h}+(1+\eta)\cdot I, we have

Meanwhile, taking η=λ‾−1>0\eta=\underline{\lambda}-1>0, we have

where the second line follows from Equation (D.11). For any fixed ξ>0\xi>0, combining Equations (D.1), (D.10) and (D.12), we know that

holds with probability at least 1−ξ/H1-\xi/H. Also, note that λ‾⋅I+Kh=λ‾⋅(I+Kh/λ‾)\underline{\lambda}\cdot I+K_{h}=\underline{\lambda}\cdot(I+K_{h}/\underline{\lambda}), hence log⁡det⁡[λ‾⋅I+Kh]=Nhlog⁡λ‾+log⁡det⁡[I+Kh/λ‾]\log\det\big[\underline{\lambda}\cdot I+K_{h}\big]=N_{h}\log\underline{\lambda}+\log\det\big[I+K_{h}/\underline{\lambda}\big], where Nh=∣Ih∣=K/HN_{h}=|\mathcal{I}_{h}|=K/H. As a result, for any ε>0\varepsilon>0 and any 1<λ‾≤λ1<\underline{\lambda}\leq\lambda,

holds simultaneously for all h∈[H]h\in[H] with probability at least 1−ξ1-\xi. Combining Equations (D.1), (D.8) and (D.14), with probability at least 1−ξ1-\xi, it holds simultaneously for all h∈[H]h\in[H] that

D.2 Proof of Proposition 4.11

The condition of BB in Theorem 4.9 translates to

Note that 2K/H⋅log⁡(1+1/K)≤2/H≤1≤log⁡(H/ξ)2K/H\cdot\log(1+1/K)\leq 2/H\leq 1\leq\log(H/\xi). Then it suffies to have

We now proceed to upper bound the right-handed side above.

In this case, since 1+1/K∈1+1/K\in, by Lemma E.5, there exists some absolute constant CC that only depends on d,γd,\gamma such that

Hence we could set B=c⋅H⋅γ⋅log⁡(KH/ξ)B=c\cdot H\cdot\sqrt{\gamma\cdot\log(KH/\xi)} for some sufficiently large constant c>0c>0.

By Lemma E.5, there exists some absolute constant CC that only depends on d,γd,\gamma such that

We can thus choose B=c⋅H⋅(log⁡(KH/ξ))1/2+1/(2γ)B=c\cdot H\cdot(\log(KH/\xi))^{1/2+1/(2\gamma)} for some sufficiently large absolute constant c>0c>0 depending on d,γ,C1,C2d,\gamma,C_{1},C_{2} and CψC_{\psi}.

By Lemma E.5, there exists some absolute constant CC that only depends on d,γd,\gamma such that

Thus, it suffices to choose B=c⋅Kd+12(γ+d)H1−d+12(γ+d)⋅log⁡(KH/ξ)B=c\cdot K^{\frac{d+1}{2(\gamma+d)}}H^{1-{\frac{d+1}{2(\gamma+d)}}}\cdot\sqrt{\log(KH/\xi)}, where c>0c>0 is a sufficiently large absolute constant depending on d,γd,\gamma. ∎

D.3 Proof of Corollary 4.13

where Φh⊤Φh=∑τ∈Ihϕ(zhτ)ϕ(zhτ)⊤\Phi_{h}^{\top}\Phi_{h}=\sum_{\tau\in\mathcal{I}_{h}}\phi(z_{h}^{\tau})\phi(z_{h}^{\tau})^{\top}, and the last line uses the feature map representation in (D.1). Therefore, fixing any ξ∈(0,1)\xi\in(0,1), we set B>0B>0 as in Proposition 4.11 with a sufficiently large constant C>0C>0 and some λ≥1+1/K\lambda\geq 1+1/K to be specified later. Then Theorem 4.9 and Proposition 4.11 indicate that with probability at least 1−ξ/21-\xi/2, it holds simultaneously for all x∈Xx\in\mathcal{X} that

In the sequel, we relate deffsampled_{\textrm{eff}}^{\text{sample}} to deffpopd_{\text{eff}}^{\text{pop}} by properly setting λ>0\lambda>0 under the eigenvalue decay conditions in Assumption 4.10. Recalling Λh=Φh⊤Φh+λIH\Lambda_{h}=\Phi_{h}^{\top}\Phi_{h}+\lambda\mathcal{I}_{\mathcal{H}}, the operator norm of Λh−1\Lambda_{h}^{-1} is lower bounded as ∥Λh−1∥op≥1/λ\|\Lambda_{h}^{-1}\|_{\mathop{\text{op}}}\geq 1/\lambda. Furthermore, as stated in Section 4.4.1, the feature mapping ϕ ⁣:Z→H\phi\colon\mathcal{Z}\to\mathcal{H} can be expanded with respect to the orthogonal basis {σj⋅ψj}j≥0\{\sqrt{\sigma_{j}}\cdot\psi_{j}\}_{j\geq 0} as

where ∥ψj∥∞=sup⁡z∈Z∣ψj(z)∣\|\psi_{j}\|_{\infty}=\sup_{z\in\mathcal{Z}}|\psi_{j}(z)|. The following lemma establishes the concentration of Λh\Lambda_{h} to certain population quantities, whose proof is in Appendix D.4.

Then with probability at least 1−δ1-\delta, it holds that

We now specify mm and ε\varepsilon in Lemma D.2 to establish the error bounds for each eigenvalue decay condition in Assumption 4.10 and compute the constant B>0B>0 accordingly. Throughout, we set δ=ξ/2\delta=\xi/2 and show that

with probability at least 1−ξ/21-\xi/2. Taking a union bound, we know that with probability at least 1−ξ1-\xi, it holds simultaneously for all x∈Xx\in\mathcal{X} that

In this case, we could simply take m=γm=\gamma and Rm=0R_{m}=0. We also take

We first verify this choice satisfies Equation (D.17). Note that λ/2≥16log⁡(2/δ)\lambda/2\geq 16\log(2/\delta), and

hence Equation (D.17) holds. Meanwhile, this choice ensures (3n+λ)ε≤λ/4(3n+\lambda)\varepsilon\leq\lambda/4 when n≥256γ⋅log⁡(2n/δ)n\geq 256\gamma\cdot\log(2n/\delta), which further leads to

with probability at least 1−δ1-\delta. Consequently, on the same event,

which is exactly Equation (D.19). Meanwhile, this choice of λ\lambda leads to

for some sufficiently large constant C′>0C^{\prime}>0 that does not depend on KK or HH.

We follow the computation in Yang et al. 2020c to compute RmR_{m} for γ\gamma-exponential decay, where we assume that ∥ψj∥∞≤Cψ⋅σ−τ\|\psi_{j}\|_{\infty}\leq C_{\psi}\cdot\sigma^{-\tau} for all j≥1j\geq 1. Thus,

where τ∈[0,1/2)\tau\in[0,1/2). For notational simplicity, we denote the constants C1,τ=Cψ⋅C11/2−τC_{1,\tau}=C_{\psi}\cdot C_{1}^{1/2-\tau} and C2,τ=C2⋅(1−2τ)C_{2,\tau}=C_{2}\cdot(1-2\tau), both of which are positive. We thus have

by the monotonicity of exp⁡(−C2,τ⋅uγ)\exp(-C_{2,\tau}\cdot u^{\gamma}) in u∈[m,∞)u\in[m,\infty). In the following, we bound RmR_{m} for two cases γ≥1\gamma\geq 1 and γ∈(0,1)\gamma\in(0,1), separately; this follows exactly the same calculations as in Yang et al. 2020c, while we include the details here for completeness. When γ≥1\gamma\geq 1, for u≥m≥1u\geq m\geq 1 it holds that uγ−1≥1u^{\gamma-1}\geq 1. Hence with a change of variable v=uγv=u^{\gamma}, one has

When γ∈(0,1)\gamma\in(0,1), with a change of variable v=uγv=u^{\gamma} one has

where the last equality is integration by parts. Furthermore, since 1/v≤1/mγ1/v\leq 1/m^{\gamma} for all v≥mv\geq m, the second integral in Equation (D.3) can be bounded as

where the last equality uses a change of variable u=vγu=v^{\gamma}. Combining Equations (D.3) and (D.21) leads to

Then for sufficiently large mm satisfying mγ⋅C2,τ>2(1/γ−1)m^{\gamma}\cdot C_{2,\tau}>2(1/\gamma-1), solving the above inequality leads to

To summarize, when γ≥1\gamma\geq 1, we have

We now specify a proper set of (m,λ,ε)(m,\lambda,\varepsilon) such that Equation (D.17) holds, and Λh⪰(nΣh+λIH)/4\Lambda_{h}\succeq(n\Sigma_{h}+\lambda\mathcal{I}_{\mathcal{H}})/4 with high probability. We consider γ≥1\gamma\geq 1 and γ∈(0,1)\gamma\in(0,1) separately.

We now let λ=max⁡{C3(log⁡(n/δ))2,1}\lambda=\max\{C_{3}(\log(n/\delta))^{2},1\} for some sufficiently large absolute constant C3C_{3}, and ε=λ/(36n)\varepsilon=\lambda/(36n). We first verify the condition (D.17) holds with this choice. When nn is sufficiently large, we have λ/2≥16log⁡(2/δ)\lambda/2\geq 16\log(2/\delta). Meanwhile, there exists absolute constants C4,C5,C6>0C_{4},C_{5},C_{6}>0 (i.e., only depending on C1,τC_{1,\tau} and C2,τC_{2,\tau}) such that

where the second inequality uses 1/γ≤11/\gamma\leq 1. Therefore, we can choose some sufficiently large absolute constant C3>0C_{3}>0, which only depends on CψC_{\psi}, C1C_{1}, C2C_{2} and τ\tau, such that 16mlog⁡(1+2/ε)≤λ/816m\log(1+2/\varepsilon)\leq\lambda/8 for sufficiently large nn. Thus, we know that Equation (D.17) holds. When nn is sufficiently large such that n≥2λ/3n\geq 2\lambda/3, we have (3n+λ)ε≤λ/8(3n+\lambda)\varepsilon\leq\lambda/8. On the other hand, 5nRm≤λ/85nR_{m}\leq\lambda/8 since Rm≤λ/(40n)R_{m}\leq\lambda/(40n). Together with Equation (D.18), such choice leads to

with probability at least 1−δ1-\delta. On the same event, we similarly have Equation (D.19).

To this end, it suffices to choose some sufficiently large mm (larger than an absolute constant that only depends on C2,τC_{2,\tau} and γ\gamma) such that C2,τ⋅mγ≥2log⁡mC_{2,\tau}\cdot m^{\gamma}\geq 2\log m, and

With a slight abuse of notations for absolute constants, we now show that we could choose λ=C4⋅[log⁡(n/δ)]1+1/γ\lambda=C_{4}\cdot\big[\log(n/\delta)\big]^{1+1/\gamma} for some sufficiently large absolute constant C4C_{4} that only depends on CψC_{\psi}, C1C_{1}, C2C_{2} and τ\tau. Without loss of generality we always have and λ/2≥16log⁡(2/δ)≥16\lambda/2\geq 16\log(2/\delta)\geq 16. Also, there exists an absolute constant C5,C6C_{5},C_{6} such that

Therefore, we can choose a sufficiently large absolute constant C4>0C_{4}>0 such that 2C5⋅[log⁡(C6⋅n)]1+1/γ≤C4⋅[log⁡(n/δ)]1+1/γ=λ/22C_{5}\cdot\big[\log(C_{6}\cdot n)\big]^{1+1/\gamma}\leq C_{4}\cdot\big[\log(n/\delta)\big]^{1+1/\gamma}=\lambda/2. This verifies Equation (D.17). At the same time, such choice of (λ,m,ε)(\lambda,m,\varepsilon) ensures 5nRm≤λ/85nR_{m}\leq\lambda/8 and n≥2λ/3n\geq 2\lambda/3 for sufficiently large nn, hence (3n+λ)ε+5nRm≤λ4.(3n+\lambda)\varepsilon+5nR_{m}\leq\frac{\lambda}{4}. Therefore, as we’ve verified the condition (D.17), from Lemma D.2 we know that (D.19) holds with probability at least 1−δ1-\delta.

Summarizing these two cases, we let λ=C4⋅[log⁡(n/δ)]1+1/γ\lambda=C_{4}\cdot\big[\log(n/\delta)\big]^{1+1/\gamma} for some sufficiently large absolute constant C4C_{4} that only depends on CψC_{\psi}, C1C_{1}, C2C_{2}, γ\gamma and τ\tau. When nn is sufficiently large, Equation (D.19) holds with probability at least 1−δ1-\delta. Finally, such choice of λ\lambda leads to

for some sufficiently large absolute constant C′>0C^{\prime}>0 that does not depend on KK or HH.

as well as ε=λ/(36n)\varepsilon=\lambda/(36n); as a result, we have (3n+λ)ε+5nRm≤λ4(3n+\lambda)\varepsilon+5nR_{m}\leq\frac{\lambda}{4} once n≥2λ/3n\geq 2\lambda/3. We then verify that such choice satisfies Equation (D.17). Since we already have λ/2≥16log⁡(2/δ)\lambda/2\geq 16\log(2/\delta), we only need to show 16mlog⁡(1+2/ε)≤λ/216m\log(1+2/\varepsilon)\leq\lambda/2. By the choice of mm in Equation (D.22), there exsists some absolute constants C6,C7>0C_{6},C_{7}>0 such that

where we set λ=C5⋅n1/Cγ,τlog⁡(n/δ)\lambda=C_{5}\cdot n^{1/C_{\gamma,\tau}}\log(n/\delta) for some sufficiently large absolute constant C5>0C_{5}>0. Thus Equation (D.17) holds, and Lemma D.2 implies that when nn is sufficiently large, Equation (D.19) holds with probability at least 1−δ1-\delta. Such choise of λ\lambda leads to

for some absolute constant C′>0C^{\prime}>0 that does not depend on KK or HH, where

Therefore, we conclude the proof of Corollary 4.13. ∎

D.4 Proof of Lemma D.2

Also, for any random variable z∈Zz\in\mathcal{Z}, it holds that

Recalling the decomposition of ϕ(z)\phi(z) with respect to the orthogonal basis {σj⋅ψj}j≥1\{\sqrt{\sigma_{j}}\cdot\psi_{j}\}_{j\geq 1} of H\mathcal{H} in Equation (D.15), we know that

where the second equality follows from ∥σj⋅ψj∥H=1\|\sqrt{\sigma_{j}}\cdot\psi_{j}\|_{\mathcal{H}}=1 for all j≥1j\geq 1. Thus, for any fixed x∈Hx\in\mathcal{H} with ∥x∥H=1\|x\|_{\mathcal{H}}=1 and any i∈[n]i\in[n], we have

For notational simplicity, in the following we denote ϕm(z):=Πm[ϕ(z)]\phi_{m}(z):=\Pi_{m}\big[\phi(z)\big] for any z∈Zz\in\mathcal{Z}, Λm,h=∑τ∈Ihϕm(zhτ)ϕm(zhτ)⊤+λIh\Lambda_{m,h}=\sum_{\tau\in\mathcal{I}_{h}}\phi_{m}(z_{h}^{\tau})\phi_{m}(z_{h}^{\tau})^{\top}+\lambda\mathcal{I}_{h}, and

where {(x⊤ϕm(zhτ))2}τ∈Ih\big\{(x^{\top}\phi_{m}(z_{h}^{\tau}))^{2}\big\}_{\tau\in\mathcal{I}_{h}} are i.i.d. random variables whose expectation is given by

and the expectation is with respect to the distribution of zh=(xh,ah)z_{h}=(x_{h},a_{h}) induced by the behavior policy πb\pi^{b}. Meanwhile, since ∥x∥H≤1\|x\|_{\mathcal{H}}\leq 1, we know ∣x⊤ϕm(z)∣≤∥x∥H⋅∥ϕm(z)∥H≤∥x∥H⋅∥ϕ(z)∥H≤1|x^{\top}\phi_{m}(z)|\leq\|x\|_{\mathcal{H}}\cdot\|\phi_{m}(z)\|_{\mathcal{H}}\leq\|x\|_{\mathcal{H}}\cdot\|\phi(z)\|_{\mathcal{H}}\leq 1 for any z∈Zz\in\mathcal{Z}. Hence

For any fixed δ∈(0,1)\delta\in(0,1), taking t=4x⊤Σm,hxnlog⁡2δ+43nlog⁡2δt=\sqrt{\frac{4x^{\top}\Sigma_{m,h}x}{n}\log\frac{2}{\delta}}+\frac{4}{3n}\log\frac{2}{\delta} leads to

with probability at least 1−δ1-\delta. Now recall that λ≥24log⁡(2/δ)\lambda\geq 24\log(2/\delta). Firstly, if x⊤Σm,hx≤λ/nx^{\top}\Sigma_{m,h}x\leq\lambda/n, then

Otherwise if x⊤Σm,hx>λ/nx^{\top}\Sigma_{m,h}x>\lambda/n, then x⊤Σm,hx>24log⁡(2/δ)/nx^{\top}\Sigma_{m,h}x>24\log(2/\delta)/n, hence

Combining the two cases, we complete the proof of Lemma D.4. ∎

Taking a union bound over xi/∥xi∥Hx_{i}/\|x_{i}\|_{\mathcal{H}} for all xi∈NH(m,ε)x_{i}\in\mathcal{N}_{\mathcal{H}}(m,\varepsilon), we know from Lemma E.4 that if λ≥16log⁡(2NH(m,ε)/δ)\lambda\geq 16\log(2N_{\mathcal{H}}(m,\varepsilon)/\delta), then with probability at least 1−δ1-\delta,

holds simultaneously for all xi∈NH(m,ε)x_{i}\in\mathcal{N}_{\mathcal{H}}(m,\varepsilon).

For any x∈Hx\in\mathcal{H} with ∥x∥H≤1\|x\|_{\mathcal{H}}\leq 1, since ϕm(z)∈Πm(H)\phi_{m}(z)\in\Pi_{m}(\mathcal{H}) for any z∈Zz\in\mathcal{Z}, we know

Therefore, the definition of Σ^m,h\widehat{\Sigma}_{m,h} and Σm,h\Sigma_{m,h} implies

Meanwhile, we have Πm[x]∈B(m,H)\Pi_{m}[x]\in\mathcal{B}(m,\mathcal{H}) since ∥Πm[x]∥H≤∥x∥H≤1\|\Pi_{m}[x]\|_{\mathcal{H}}\leq\|x\|_{\mathcal{H}}\leq 1. Therefore, there exists some xi∈NH(m,ε)x_{i}\in\mathcal{N}_{\mathcal{H}}(m,\varepsilon) such that ∥Πm[x]−xi∥H≤ε\|\Pi_{m}[x]-x_{i}\|_{\mathcal{H}}\leq\varepsilon. Meanwhile, ∥Σ^m,h∥op≤1\|\widehat{\Sigma}_{m,h}\|_{\mathop{\text{op}}}\leq 1 and ∥Σm,h∥op≤1\|\Sigma_{m,h}\|_{\mathop{\text{op}}}\leq 1 as sup⁡z∈Z∥ϕm(z)∥H≤1\sup_{z\in\mathcal{Z}}\|\phi_{m}(z)\|_{\mathcal{H}}\leq 1. Thus by Cauchy Schwarz inequality,

Therefore, on the event that Equation (D.24) holds, we have

for all x∈Hx\in\mathcal{H} such that ∥x∥H≤1\|x\|_{\mathcal{H}}\leq 1, which further implies

Finally, combining Equation (D.4) and Lemma D.3, we have

for all x∈Hx\in\mathcal{H} such that ∥x∥H≤1\|x\|_{\mathcal{H}}\leq 1, where we use the fact that ∥Σm,h−Σh∥op≤2Rm\big\|\Sigma_{m,h}-\Sigma_{h}\big\|_{\mathop{\text{op}}}\leq 2R_{m} and ∥Σ^m,h−Σ^h∥op≤2Rm\big\|\widehat{\Sigma}_{m,h}-\widehat{\Sigma}_{h}\big\|_{\mathop{\text{op}}}\leq 2R_{m}. Therefore, recalling the definition Λh=nΣ^h+λIH\Lambda_{h}=n\widehat{\Sigma}_{h}+\lambda\mathcal{I}_{\mathcal{H}}, we know that it holds with probability at least 1−δ1-\delta that

as long as λ≥16log⁡(2NH(m,ε)/δ).\lambda\geq 16\log(2N_{\mathcal{H}}(m,\varepsilon)/\delta). By Equation (D.23), it suffices to take

Therefore, we complete the proof of Lemma D.2. ∎

Appendix E Supporting Lemmas

The following lemma characterizes the deviation of the sample mean of a random matrix. See, e.g., Theorem 1.6.2 of Tropp 2015 and the references therein.

See, e.g., Theorem 1.6.2 of Tropp 2015 for a detailed proof. ∎

The following lemma, which is obtained from Abbasi-Yadkori et al. 2011, establishes the concentration of self-normalized processes.

for all t≥1t\geq 1. For all δ>0\delta>0, it holds that

for all t≥1t\geq 1 with probability at least 1−δ1-\delta.

See Theorem 1 of Abbasi-Yadkori et al. 2011 for a detailed proof. ∎

The following lemma from Abbasi-Yadkori et al. 2011 and Yang et al. 2020c establishes the bounds on self-normalized processes.

Let {ϕt}t≥1\{\phi_{t}\}_{t\geq 1} be a sequence in the RKHS H\mathcal{H}. Let Λ0=λ⋅IH ⁣:H→H\Lambda_{0}=\lambda\cdot\mathcal{I}_{\mathcal{H}}\colon\mathcal{H}\to\mathcal{H} for λ≥1\lambda\geq 1 and IH\mathcal{I}_{\mathcal{H}} is the identity mapping on H\mathcal{H}. For any t≥1t\geq 1, we define a self-adjoint and positive-definite operator Λt=Λ0+∑j=1tϕjϕj⊤\Lambda_{t}=\Lambda_{0}+\sum_{j=1}^{t}\phi_{j}\phi_{j}^{\top}, so that Λtf=Λ0f+∑j=1t⟨ϕj,f⟩ϕj\Lambda_{t}f=\Lambda_{0}f+\sum_{j=1}^{t}\langle\phi_{j},f\rangle\phi_{j} for any f∈Hf\in\mathcal{H}. Then for any t≥1t\geq 1, it holds that

See Lemma E.3 in Yang et al. 2020c for a detailed proof. ∎

See Theorem 1 in Chowdhury and Gopalan 2017 for a detailed proof. ∎

γ\gamma-finite spectrum: σj=0\sigma_{j}=0 for all j>γj>\gamma, where γ\gamma is a positive integer.

γ\gamma-exponential decay: there exists some constants C1,C2>0C_{1},C_{2}>0 such that σj≤C1⋅exp⁡(−C2⋅jγ)\sigma_{j}\leq C_{1}\cdot\exp(-C_{2}\cdot j^{\gamma}) for all j≥1j\geq 1, where γ>0\gamma>0 is a positive constant.

γ\gamma-polynomial decay: there exists some constants C1>0C_{1}>0 such that σj≤C1⋅j−γ\sigma_{j}\leq C_{1}\cdot j^{-\gamma} for all j≥1j\geq 1, where γ≥2+1/d\gamma\geq 2+1/d is a constant.

Suppose λ∈[c1,c2]\lambda\in[c_{1},c_{2}] for absolute constants c1,c2c_{1},c_{2}. Then we have

where CC is an absolute constant that only depends on d,γ,C1,C2,C,c1d,\gamma,C_{1},C_{2},C,c_{1} and c2c_{2}.

See Lemma D.5 of Yang et al. 2020c for a detailed proof. ∎