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 as
For the episodic MDP , we use , , and to denote the optimal policy, optimal Q-function, and optimal value function, respectively. We have and the Bellman optimality equation
Meanwhile, the optimal policy is specified by
where the maximum is taken over all functions mapping from to distributions over . 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 given the initial state .
2 Offline Data Collecting Process
We consider the offline setting, that is, a learner only has access to a dataset consisting of trajectories , which is collected a priori by an experimenter. In other words, at each step of each trajectory , the experimenter takes the action at the state , receives the reward , and observes the next state . Here can be arbitrarily chosen, while and 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 that the learner has access to is compliant with the underlying MDP .
As a special case, Assumption 2.2 holds if the experimenter follows a fixed behavior policy. More generally, Assumption 2.2 allows 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, can be interdependent across each trajectory . 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 be the policy such that . For any and , we have
2 Illustration via a Special Case: MAB
We consider the MAB, a special case of the MDP, where is a singleton, is discrete, and . To simplify the subsequent discussion, we assume without loss of generality
Here is the expected reward of each action and is independently drawn. For notational simplicity, we omit the dependency on and , as and is a singleton. Based on the dataset , where , we consider the sample average estimator
Note that serves as the estimated Q-function. Under Assumption 2.2, we have
In particular, are independent across each action conditioning on . We consider the policy
which is greedy with respect to , as it takes the action with probability one.
By Equation (3.1), Lemma 3.1, and Equation (3.4), we have
For example, assuming for each action , term (i) is the maximum of Gaussians , which can be rather large in expectation, especially when is relatively small for a certain action , e.g., . More generally, it is quite possible that takes a certain action with probability one only because is relatively small, which allows to be rather large, even when is relatively small. Due to such a spurious correlation, 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 does not necessarily have a “uniform coverage” over each action . In other words, is often relatively small for at least a certain action .
Going beyond the MAB, that is, , such a spurious correlation is further exacerbated, as it is more challenging to ensure each state and each action are visited sufficiently many times in . 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 , 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, in Algorithm 1 serves as the penalty function, which ensures in Equation (3.2) is nonpositive under defined in Equation (4.1), that is,
Note that Equation (4.1) holds in a pointwise manner for all . In other words, as long as is a -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 and prove it is a -uncertainty quantifier under Assumption 2.2. In particular, we aim to find a -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 . Correspondingly, we set
at each step . Here is the regularization parameter. Note that has the closed form
Meanwhile, we construct based on as
at each step . Here is the scaling parameter. In addition, we construct based on 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 in 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 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 , 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 and a fixed behavior policy that induces , 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 is “covered” by sufficiently well, the suboptimality of Algorithm 2 decays at a rate.
Suppose there exists an absolute constant such that the event
Here is an absolute constant and is the confidence parameter. For in Algorithm 2, the event
for in Algorithm 2, the event
where and 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 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 in Equation (4.12) and on the trajectory induced by 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 , which is induced by observing in addition to . In other words, such a mutual information characterizes how much uncertainty in can be eliminated when we additionally condition on .
To simplify the subsequent discussion, we assume is deterministic at each step . Let be the trajectory induced by , which is also deterministic. In Equation (4.8), we have
In other words, the suboptimality in Equation (4.8) only depends on how well “covers” the trajectory induced by instead of its “uniform coverage” over and . In particular, as long as lies off the trajectory induced by , how well “covers” , that is, , 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 , even though is unknown a priori. From another perspective, assuming hypothetically is known a priori, the error that arises from estimating the transition kernel and expected reward function at scales as , which can not be improved due to the information-theoretic lower bound.
Outperforming Demonstration: Assuming hypothetically is induced by a fixed behavior policy (namely the demonstration), such an oracle property allows to outperform in terms of the suboptimality, which is defined in Equation (2.6). Specifically, it is quite possible that is relatively small and is rather large for a certain , which is “covered” by but lies off the trajectory induced by . Correspondingly, the suboptimality of can be rather large. On the other hand, as discussed above, and do not affect the suboptimality of , which can be relatively small as long as is sufficiently large. Here is “covered” by and lies on the trajectory induced by .
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 and .
Suppose consists of trajectories independently and identically induced by a fixed behavior policy in the linear MDP. Meanwhile, suppose there exists an absolute constant such that
Here is an absolute constant and is the confidence parameter. Suppose we have , where is a sufficiently large absolute constant that depends on . For 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 and attains the information-theoretic lower bound for offline policy evaluation. In contrast, we focus on offline policy optimization, which is more challenging. As , the suboptimality in Equation (4.13) goes to zero.
3 Minimax Optimality: Information-Theoretic Lower Bound
For the output of any algorithm, there exist a linear MDP , an initial state , and a dataset , which is compliant with , 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 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 be the space of square-integrable functions on with respect to Lebesgue measure and let be the inner product for . The kernel function induces an integral operator defined by
Mercer’s Theorem (Steinwart and Christmann 2008) implies that there exists a countable and non-increasing sequence of nonnegative eigenvalues for the integral operator , and the associated eigenfunctions form an orthogonal basis of . Moreover, the kernel function admits a spectral representation for all . The eigenfunctions also enables us to write the RKHS as a subset of :
such that the -inner product of any can be represented as
4.2 Pessimistic Value Iteration for Kernel Function Approximation with Data Splitting
at each step for all , where only trajectories in fold are involved. The empirical Bellman update is obtained from a kernel ridge regression so that
for some regularization parameter . Following the same arguments as in Yang et al. 2020c, we note that admits a closed-form solution
where 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 :
Here is the Gram matrix for the set , defined similarly as Equation (4.17). In particular, when has -finite spectrum, 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 especially when 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 and satisfying
Theorem 4.9 expresses the suboptimality upper bound in a generic form consisting of two parts: (i) a parameter that depends on the kernel function class, as well as (ii) an information quantity
that only depends on the optimal policy 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 . When the RKHS has -finite spectrum with for all , 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 , focusing on the resulting forms of the two components. We would see the effect of sample splitting in our discussion. Firstly, the parameter depends on the information gain , which can be viewed as a characterization of the complexity of . We provide explicit choices of under various eigenvalue decay conditions of that decide such complexity.
Let be the eigenvalues induced by the integral opretaor defined in Equation (4.15) and be the associated eigenfunctions. We assume that satisfies one of the following conditions for some constant .
-finite spectrum: for all , where is a positive integer.
-exponential decay: there exists some constants , and such that and for all .
-polynomial decay: there exists some constants , and such that and for all , where .
The -finite spectrum condition is satisfied by the linear MDP (Jin et al. 2020) with feature dimension , 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 for Theorem 4.9.
Under Assumptions 4.8 and 4.10, we set and in Algorithm 3, where
Here is an absolute constant that does not depend on or . Then with probability at least with respect to , it holds that
for some absolute constant that does not depend on or .
Under -finite spectrum condition, taking in Algorithm 3 leads to a variant of Algorithm 2 with sample splitting; setting instead of does not change the order of upper bounds in Theorem 4.4 for linear MDP. Firstly, comparing in Proposition 4.11 to for linear MDP where in Theorem 4.4, data splitting improves the upper bound by a factor of since it removes the dependence of on the covering number of the (linear) function class. Here hides logarithmic factors. On the other hand, in ideal settings such as the well-explored case of Corollary 4.6, is of order , where the reduction in sample size incurs an additional factor of . Thus, the data splitting approach is favorable if the horizon is of a smaller order than . In general, the data splitting approach improves sample efficiency if the kernel function class has a covering number that is larger than .
To further understand the behavior of beyond the -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 .
We study a special case where the offline dataset consist of i.i.d. trajectories from some fixed behavior policy ; this enables us to translate into population quantities with specific choices of . The learning performance would depend on the “coverage” of for the optimal policy , communicated by the following notion of “effective dimension”.
Moreover, we define the population effective dimension under as
Suppose consists of i.i.d. trajectories sampled from behavior policy , and Assumption 4.10 holds; in case (iii) -polynomial decay, we additionally assume . In Algorithm 3, we set as in Proposition 4.11 and
where is a sufficiently large absolute constant that does not depend on or . Then with probability at least with respect to , it holds that
where is an absolute constant that does not depend on or , and
The same results also apply to .
Parallel to the linear setting, Corollary 4.13 demonstrates the performance of our method in terms of that depends on the relationship between (from ) and (from . When and are close (i.e., covers well), we have ; in this case, the suboptimality is of order under -finite spectrum and -exponential decay, while for -polynomial decay we obtain a sublinear rate of .
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 implies the pessimism of , that is, in a pointwise manner for all . To see this, note that the definition of in Equation (3.1) gives
which together with Equations (2.3) and (2.5) further implies
for all and . Also, note that . Therefore, Equation (5.2) implies in a pointwise manner. Moreover, by recursively applying Equation (5.3), we have in a pointwise manner for all . In other words, Lemma 5.1 implies that the pessimism of holds with probability at least as long as in Algorithm 1 are -uncertainty quantifiers, which serves as a sufficient condition that can be verified. Meanwhile, the upper bound of in Equation (5.1) controls the underestimation bias of , 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 as the output of Algorithm 1, that is, . As is greedy with respect to for all , term (iii) in Equation (3.2) is nonpositive. Therefore, we have
for all , 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 specified in Equation (4.7) are -uncertainty quantifiers, which are defined in Definition 4.1. In the following lemma, we prove that such a statement holds when the regularization parameter and scaling parameter 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 is an absolute constant and is the confidence parameter. It holds that specified in Equation (4.7) are -uncertainty quantifiers, where used in Equation (4.1) are obtained by Algorithm 2.
for all under 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 of linear MDPs and a worst-case dataset , while in Section 5.3.2, we prove Theorem 4.7 via the information-theoretic lower bound.
In the sequel, we construct a class of linear MDPs and a worst-case dataset , which is compliant with the underlying MDP as defined in Definition 2.1.
Linear MDP: We define the following class of linear MDPs
where is an episodic MDP with the horizon , state space , and action space with . In particular, we fix the initial state as . For the transition kernel, at the first step , we set
Meanwhile, at any subsequent step , we set
In other words, are the absorbing states. Here abbreviates . For the reward function, we set
As are the absorbing states, the optimal policy at the first step is a deterministic policy, which by Equation (5.3.1) selects the action that induces the largest transition probability into the desired state . In other words, at the first step , we have
Here we assume without loss of generality in Equation (5.3.1). Meanwhile, at any subsequent step , an arbitrary policy is optimal, as the action selected by does not affect the transition probability. Therefore, for any policy , the suboptimality of for the linear MDP takes the form
where for notational simplicity, we define for all . Here with an abuse of notation, we incorporate the explicit dependency on the underlying MDP into the suboptimality .
In other words, assuming that are the episode indices such that for all , we define for all . By such a construction, are the realizations of independent Bernoulli random variables, which satisfy
Note that knowing the value of the immediate reward is sufficient for determining the value of the second state . Meanwhile, recall that are the absorbing states. Therefore, for learning the optimal policy , the original dataset contains the same information as the reduced dataset , where the randomness only comes from the state transition at the first step of each trajectory . Correspondingly, the probability of observing the dataset 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 , where the class of linear MDPs is defined in Equation (5.6). Such a construction ensures that (i) the distribution of the dataset , which is compliant with the underlying MDP, is similar across , and (ii) the suboptimality of any policy , which is constructed based on the dataset, is different across . In other words, it is hard to distinguish based on , while obtained from can not achieve a desired suboptimality for simultaneously. Such a construction captures the fundamental hardness of offline RL for the linear MDP.
For any , where , we set
For the dataset specified in Section 5.3.1, the output of any algorithm satisfies
As specified in Equation (5.10), for the underlying MDP , the optimal policy takes the initial action with probability one at the initial state , while for , takes with probability one at . We consider the following hypothesis testing problem
based on the dataset . For such a problem, any test function is a binary map such that means the null hypothesis is accepted, while means is rejected. For the output of any algorithm, we define
Correspondingly, the risk of the (randomized) test function takes the form
Therefore, Lemma 5.3 lower bounds the suboptimality of any policy by the risk of a (randomized) test function, which is induced by , 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 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 given any initial state can be decomposed as
where are the estimated value functions constructed by the meta-algorithm. Term (i) in Equation (A.1) is the difference between the estimated value function and the optimal value function , while term (ii) is the difference between and the value function of . 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 , , and being the estimated Q-functions constructed by the meta-algorithm, we have
Similarly, applying Lemma A.1 with and 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 defined in Equation (4.1), the model evaluation errors are nonnegative. In the sequel, we assume that holds. Recall the construction of in Line 5 of Algorithm 1 for all . For all and all , if , we have
By the definition of in Equation (3.1), we have
as and are nonnegative. Otherwise, if , we have
As are -uncertainty quantifiers, which are defined in Definition 4.1, we have
Here the last inequality follows from the definition of in Equation (4.1). Therefore, we conclude the proof of for all and all on .
It remains to establish the upper bound in Equation (5.1). For all and all , combining the definition of event in Equation (4.1) as well as the construction of 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 and . Hence, we have
which by the definition of in Equation (3.1) implies
Here the last inequality follows from the definition of in Equation (4.1). Therefore, we complete the proof of for all and all on .
In summary, we conclude that on ,
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 for all , which implies
Let be an absolute constant. For any function and any , we have
where and are defined in Equations (B.2) and (4.2), respectively.
For all , Equations (B.1) and (B.2) imply
where the third inequality follows from the fact that .
Meanwhile, by the definition of in Equation (4.2) and the triangle inequality, we have
Note that , which follows from the fact that and by Line 10 of Algorithm 2. Also, note that , which follows from the definition of in Equation (4.2). Hence, we have
where the last inequality follows from the fact that . Here denotes the matrix operator norm. By the Cauchy-Schwarz inequality, we have
where the second equality follows from the definition of 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 in Line 10 of Algorithm 2, we have . By Lemma B.1, we have . Hence, term (i) defined in Equation (B.5) is upper bounded by
Here the second equality follows from the definition of in Equation (4.2). Also, the first inequality follows from the Cauchy-Schwarz inequality, while the last inequality follows from the fact that
Here denotes the matrix operator norm and we use the fact that .
It remains to upper bound term (ii). For notational simplicity, for any , any , and any function , 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 depends on via , as it is constructed based on the dataset . To this end, we resort to uniform concentration inequalities to upper bound
for each , where it holds that . Here for all , we define the function class
For all and all , let be the minimal -cover of with respect to the supremum norm. In other words, for any function , there exists a function such that
Meanwhile, among all -covers of defined by such a property, we choose as the one with the minimal cardinality.
By Lemma B.1, we have . Hence, for all , we have
Here is the regularization parameter and is the scaling parameter, which are specified in Algorithm 2. For notational simplicity, we use and to denote and , respectively. As it holds that and is an -cover of , there exists a function such that
Hence, given and , the monotonicity of conditional expectations implies
By the triangle inequality, Equations (B.10) and (B.12) imply
for all and all . Setting 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 by the definition of in Equation (4.2) and for all by Definition 4.3, for all , we have
Combining Equations (B.15) and (B.16), for all , we have
Let be any fixed function. Under Assumption 2.2, for any fixed and any , we have
For the fixed and all , we define the -algebra
where denotes the -algebra generated by a set of random variables and denotes . For all , we have , as is -measurable. Also, for the fixed function and all , we have
as is -measurable. Hence, is a stochastic process adapted to the filtration . By Assumption 2.2, we have
We invoke Lemma E.2 with and for all . For the fixed function and fixed , we have
for all . Here we use the fact that . Note that for all by Definition 4.3. We have
where denotes the matrix operator norm. Hence, it holds that and , which implies
Therefore, we conclude the proof of Lemma B.2. ∎
Applying Lemma B.2 and the union bound, for any fixed , we have
For all and all , we set . Hence, for any fixed , it holds that
It remains to choose a proper and upper bound the -covering number . In the sequel, we set and . By Equation (B.19), for all , it holds that
For all and all , we have
See Lemma D.6 in Jin et al. 2020 for a detailed proof. ∎
Here is an absolute constant, is the confidence parameter, and is specified in Algorithm 2. Recall that is the minimal -cover of with respect to the supremum norm. Applying Lemma B.3 with , we have
As it holds that , we set to ensure that the second term on the right-hand side of Equation (B.2) is the dominating term, where . Hence, we have
By Equations (B.20) and (B.22), for all , it holds that
As it holds that and , Equation (B.2) implies
We set to be sufficiently large, which ensures that on the right-hand side of Equation (B.24). By Equations (B.2) and (B.24), for all , it holds that
By Equations (4.7), (B.5), (B.2), and (B.25), for all and all , it holds that
B.3 Proof of Corollary 4.5
By the Cauchy-Schwarz inequality, we have
for all and all . We define the event
for all and all . On the event , where and are defined in Equations (4.9) and (B.27), respectively, we have
Here are the eigenvalues of for all and all , the first inequality follows from the definition of in Equation (B.27), and the second inequality follows from Equation (B.3) and the definition of in Equation (4.9). Meanwhile, by Definition 4.3, we have for all . By Jensen’s inequality, we have
for all and all . As is positive semidefinite, we have for all , all , and all . Hence, on , we have
B.4 Proof of Corollary 4.6
For all and all , we define the random matrices
By Definition 4.3, we have for all . By Jensen’s inequality, we have
Hence, for all and all , we have
As are i.i.d. and centered, for all , we have
where the first inequality follows from Jensen’s inequality. Similarly, for all and all , as it holds that
Applying Lemma E.1 to defined in Equation (B.4), for any fixed and any , we have
For all , we set . By Equation (B.29), when is sufficiently large so that , we have . Hence, for the fixed , we have
By Equation (B.4) and the union bound, for all , it holds that
By the definition of in Equation (B.4), we have
Recall that there exists an absolute constant such that , which implies . By Equations (B.31) and (B.32), when is sufficiently large so that , for all , it holds that
Here we define the absolute constant and use the fact that for all in Definition 4.3.
Appendix C Proofs of Minimax Optimality
We consider two linear MDPs and in the class defined in Equation (5.6). As we have , by Equations (5.3.1) and (5.3.1), the optimal policy for satisfies , which always chooses the action at the first step , while the optimal policy for satisfies , which always chooses the action at the first step . Given the dataset , we denote by the output of any offline RL algorithm. Recall that . By Equation (5.11), the suboptimality of for is
Similarly, the suboptimality of for is
Recall that we define for all . 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 . We consider any linear MDP and the dataset compliant with , which is constructed in Section 5.3.1. Recall that for all and . We define for all .
Suppose that Assumption 2.2 holds and the underlying MDP is . In Algorithm 2, we set and . Here is an absolute constant and is the confidence parameter, which are specified in Theorem 4.4. We have
Recall that for all . By the definition of in Equation (4.2), we have
where the second equality follows from the definition of in Equation (5.3.1). Since are the absorbing states, for all , we have
where the second equality follows from the definition of in Equation (5.3.1). Also, we have
which yields Equation (C.1). Here we use the definition of in Equation (5.3.1) and the regularization parameter in Algorithm 2.
In the sequel, we lower bound and via concentration inequalities. By the construction of in Section 5.3.1, for all and all , given the action , is a Bernoulli random variable with the success probability . As , we have
Given the actions , is a sum of independent Bernoulli random variables. By Hoeffding’s inequality, for all , it holds that
Meanwhile, by Theorem 4.4 with the regularization parameter and the confidence parameter , it holds that
C.3 Proof of Theorem 4.7
We consider two linear MDPs and in the class and the dataset compliant with or , which is constructed in Section 5.3.1. We additionally assume that and for an absolute constant . For the policy constructed by any offline RL algorithm, recall the test function 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 and in , while and in , where . By Equation (C.15), we have
where the second equality follows from Equation (5.13). Note that for all , it holds that . Hence, when , we have
Similarly, when , we have
Recall that and for an absolute constant . We set
such that , , and . Hence, the KL-divergence is upper bounded as
where the second inequality follows from the fact that 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 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 for an absolute constant .
By Equations (C.3), (C.3), and (C.3), when is sufficiently large so that and , we have
C.4 Locally Refined Upper Bounds
Since is a class of linear MDPs, Theorem 4.4 yields an upper bound on the suboptimality of constructed by Algorithm 2, which is minimax optimal up to and absolute constant. Focusing on , with a different choice of the -uncertainty quantifier tailored for , PEVI achieves a more refined local minimax optimality.
for all . Recall that the initial state is fixed to . For any , we have
Based on the dataset that is compliant with , we construct the estimated Bellman operator and value function for all as follows. To begin with, we define as a zero function. For all , we define
For and all with , we define
For any and any dataset that is compliant with , we assume that for the optimal action , where . Then the following statements hold: (i) defined in Equation (C.31) are -uncertainty quantifiers satisfying Equation (4.1); (ii) we have
We remark that based on the -uncertainty quantifiers tailored for linear MDPs in , 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 suboptimality upper bound, where omits logarithmic terms and absolute constants. In contrast, as shown in Equation (C.35), achieves an improved suboptimality upper bound. Thus, neglecting logarithmic terms and absolute constants, although both being minimax optimal algorithms, is superior over given in Algorithm 2 by a factor of , and is minimax optimal up to a factor of .
The proof consists of two steps. In the first step, we prove that given in Equation (C.31) are -uncertainty quantifiers. In the second step, we apply Theorem 4.2 and establish the upper bound.
for all .
for all . Recall the mapping from the rewards to the relabeled rewards defined in Equation (5.12). For any such that , we consider the -algebras
Since is compliant with , by Equation (5.13), is a martingale difference sequence adapted to filtration . Applying Azuma-Hoeffding’s inequality, we have
where the last inequality follows from the fact that . By Equation (C.27), we have
where the second equality follows from the definition of for all in Equation (C.28). Thus, for any fixed such that , we have
Thus, defined in Equation (C.31) are -uncertainty quantifiers.
Step (ii). In the sequel, we apply Theorem 4.2 to and establish the suboptimality upper bound in Proposition C.2. Specifically, by Theorem 4.2, it holds that
Note that for . 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 is the identity mapping in 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, is a self-adjoint operator eigenvalues no smaller than , in the sense that for any . Therefore, there exists a positive definite operator whose eigenvalues are no smaller than and . We denote the inverse of as , so that and . For any , we denote Then we have
Therefore, since for , we have
where the last equality follows from the fact that
and we define as the Gram matrix for . On the other hand, under these notations for any and defined in Equation (4.17), hence the penalty function 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 in Algorithm 3 where and satisfies
We first establish the closed form of in Equation (4.16) for any . Since is an RKHS, there exists a feature map such that for all and all and for all . Therefore, for each step , the solution of the kernel ridge regression could be written as
By the property of Hilbert spaces, admits the orthogonal decomposition , where is the span of . In light of this decomposition, we claim that . To see this, if , we could write , where and with , so that for all but , a contradiction to the definition of . 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 and response vector defined in Equation (4.17). Combining Equation (D.4) with the feature representation where is defined in Equation (4.17), we obtain the original closed form in Equation (4.16).
Also, for all , it holds that and
Since both the matrix and the operator 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 . Therefore, it holds that
where we write . On the other hand, recalling the definition of 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 , is constructed with . Recall the inverse order of the sample splitting, and . We then define the filtration
for , where denotes the -algebra generated by the set of random variables and . The inverse order in the data splitting implies that for any ,
hence . Therefore, the stochastic process
is adapted to the filtration . Meanwhile, the compliance assumption of dataset imply
where for .
We now translate the bound in Equation (D.1) to the desired form. We note that
For any , noting that we have
Meanwhile, taking , we have
where the second line follows from Equation (D.11). For any fixed , combining Equations (D.1), (D.10) and (D.12), we know that
holds with probability at least . Also, note that , hence , where . As a result, for any and any ,
holds simultaneously for all with probability at least . Combining Equations (D.1), (D.8) and (D.14), with probability at least , it holds simultaneously for all that
D.2 Proof of Proposition 4.11
The condition of in Theorem 4.9 translates to
Note that . Then it suffies to have
We now proceed to upper bound the right-handed side above.
In this case, since , by Lemma E.5, there exists some absolute constant that only depends on such that
Hence we could set for some sufficiently large constant .
By Lemma E.5, there exists some absolute constant that only depends on such that
We can thus choose for some sufficiently large absolute constant depending on and .
By Lemma E.5, there exists some absolute constant that only depends on such that
Thus, it suffices to choose , where is a sufficiently large absolute constant depending on . ∎
D.3 Proof of Corollary 4.13
where , and the last line uses the feature map representation in (D.1). Therefore, fixing any , we set as in Proposition 4.11 with a sufficiently large constant and some to be specified later. Then Theorem 4.9 and Proposition 4.11 indicate that with probability at least , it holds simultaneously for all that
In the sequel, we relate to by properly setting under the eigenvalue decay conditions in Assumption 4.10. Recalling , the operator norm of is lower bounded as . Furthermore, as stated in Section 4.4.1, the feature mapping can be expanded with respect to the orthogonal basis as
where . The following lemma establishes the concentration of to certain population quantities, whose proof is in Appendix D.4.
Then with probability at least , it holds that
We now specify and in Lemma D.2 to establish the error bounds for each eigenvalue decay condition in Assumption 4.10 and compute the constant accordingly. Throughout, we set and show that
with probability at least . Taking a union bound, we know that with probability at least , it holds simultaneously for all that
In this case, we could simply take and . We also take
We first verify this choice satisfies Equation (D.17). Note that , and
hence Equation (D.17) holds. Meanwhile, this choice ensures when , which further leads to
with probability at least . Consequently, on the same event,
which is exactly Equation (D.19). Meanwhile, this choice of leads to
for some sufficiently large constant that does not depend on or .
We follow the computation in Yang et al. 2020c to compute for -exponential decay, where we assume that for all . Thus,
where . For notational simplicity, we denote the constants and , both of which are positive. We thus have
by the monotonicity of in . In the following, we bound for two cases and , separately; this follows exactly the same calculations as in Yang et al. 2020c, while we include the details here for completeness. When , for it holds that . Hence with a change of variable , one has
When , with a change of variable one has
where the last equality is integration by parts. Furthermore, since for all , the second integral in Equation (D.3) can be bounded as
where the last equality uses a change of variable . Combining Equations (D.3) and (D.21) leads to
Then for sufficiently large satisfying , solving the above inequality leads to
To summarize, when , we have
We now specify a proper set of such that Equation (D.17) holds, and with high probability. We consider and separately.
We now let for some sufficiently large absolute constant , and . We first verify the condition (D.17) holds with this choice. When is sufficiently large, we have . Meanwhile, there exists absolute constants (i.e., only depending on and ) such that
where the second inequality uses . Therefore, we can choose some sufficiently large absolute constant , which only depends on , , and , such that for sufficiently large . Thus, we know that Equation (D.17) holds. When is sufficiently large such that , we have . On the other hand, since . Together with Equation (D.18), such choice leads to
with probability at least . On the same event, we similarly have Equation (D.19).
To this end, it suffices to choose some sufficiently large (larger than an absolute constant that only depends on and ) such that , and
With a slight abuse of notations for absolute constants, we now show that we could choose for some sufficiently large absolute constant that only depends on , , and . Without loss of generality we always have and . Also, there exists an absolute constant such that
Therefore, we can choose a sufficiently large absolute constant such that . This verifies Equation (D.17). At the same time, such choice of ensures and for sufficiently large , hence Therefore, as we’ve verified the condition (D.17), from Lemma D.2 we know that (D.19) holds with probability at least .
Summarizing these two cases, we let for some sufficiently large absolute constant that only depends on , , , and . When is sufficiently large, Equation (D.19) holds with probability at least . Finally, such choice of leads to
for some sufficiently large absolute constant that does not depend on or .
as well as ; as a result, we have once . We then verify that such choice satisfies Equation (D.17). Since we already have , we only need to show . By the choice of in Equation (D.22), there exsists some absolute constants such that
where we set for some sufficiently large absolute constant . Thus Equation (D.17) holds, and Lemma D.2 implies that when is sufficiently large, Equation (D.19) holds with probability at least . Such choise of leads to
for some absolute constant that does not depend on or , where
Therefore, we conclude the proof of Corollary 4.13. ∎
D.4 Proof of Lemma D.2
Also, for any random variable , it holds that
Recalling the decomposition of with respect to the orthogonal basis of in Equation (D.15), we know that
where the second equality follows from for all . Thus, for any fixed with and any , we have
For notational simplicity, in the following we denote for any , , and
where are i.i.d. random variables whose expectation is given by
and the expectation is with respect to the distribution of induced by the behavior policy . Meanwhile, since , we know for any . Hence
For any fixed , taking leads to
with probability at least . Now recall that . Firstly, if , then
Otherwise if , then , hence
Combining the two cases, we complete the proof of Lemma D.4. ∎
Taking a union bound over for all , we know from Lemma E.4 that if , then with probability at least ,
holds simultaneously for all .
For any with , since for any , we know
Therefore, the definition of and implies
Meanwhile, we have since . Therefore, there exists some such that . Meanwhile, and as . Thus by Cauchy Schwarz inequality,
Therefore, on the event that Equation (D.24) holds, we have
for all such that , which further implies
Finally, combining Equation (D.4) and Lemma D.3, we have
for all such that , where we use the fact that and . Therefore, recalling the definition , we know that it holds with probability at least that
as long as 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 . For all , it holds that
for all with probability at least .
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 be a sequence in the RKHS . Let for and is the identity mapping on . For any , we define a self-adjoint and positive-definite operator , so that for any . Then for any , 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. ∎
-finite spectrum: for all , where is a positive integer.
-exponential decay: there exists some constants such that for all , where is a positive constant.
-polynomial decay: there exists some constants such that for all , where is a constant.
Suppose for absolute constants . Then we have
where is an absolute constant that only depends on and .
See Lemma D.5 of Yang et al. 2020c for a detailed proof. ∎