Provably Efficient Reinforcement Learning with Linear Function Approximation
Chi Jin, Zhuoran Yang, Zhaoran Wang, Michael I. Jordan
Introduction
Reinforcement Learning (RL) is a control-theoretic problem in which an agent tries to maximize its expected cumulative reward by interacting with an unknown environment over time . Modern RL commonly engages practical problems with an enormous number of states, where function approximation must be deployed to approximate the (action-)value function—the expected cumulative reward starting from a state-action pair—or the policy—the mapping from a state to its subsequent action. Function approximation, especially based on deep neural networks, lies at the heart of the recent practical successes of RL in domains such as Atari games , Go , robotics , and dialogue systems . Moreover, deep neural networks serve as essential components of generic deep RL algorithms, including Deep Q-Network (DQN) , Asynchronous Advantage Actor-Critic (A3C) , and Trust Region Policy Optimization (TRPO) .
Despite the empirical successes of function approximation in RL, most existing theoretical guarantees apply only to tabular RL [see, e.g., 20, 33, 8, 22], in which the states and actions are discrete, and the value function is represented by a table. Due to the curse of dimensionality, only relatively small problems can be tackled by tabular RL. Thus, researchers have turned to function approximation [see, e.g., 40, 12, 43], in theory and in practice. While function approximation greatly expands the potential reach of RL, particularly via deep RL architectures, it raises a number of fundamental theoretical challenges. For example, while the effective state and action spaces can be much larger when function approximation is used, the neighborhoods of most states are not visited even once during a set of learning episodes, which makes it difficult to obtain reliable estimates of value functions [see, e.g., 41, 42, 26]. To cope with this challenge, relatively simple function classes, including linear function classes, are often used. This introduces, however, a bias, even in the limit of infinite training data, given that the optimal value function and policy may not be linear [see, e.g., 10, 11, 43]. Thus, both in theory and in practice, the design of RL systems must cope with fundamental statistical problems of sparsity and misspecification, all in the context of a dynamical system. Moreover, a core distinguishing feature of RL is that it requires addressing the tradeoff between exploration and exploitation. Addressing this tradeoff algorithmically requires exactly the kinds of statistical estimates that are challenging to obtain in the RL setting due to sparsity, misspecification, and dynamics. Thus the following fundamental question remains open:
Is it possible to design provably efficient RL algorithms in the function approximation setting?
By “efficient” we mean efficient in both runtime and sample complexity—the runtime and the sample complexity should not depend on the number of states, but should depend instead on an intrinsic complexity measure of the function class.
Several recent attempts have been made to attack this fundamental problem. However, they either require the access to a “simulator” which alleviates the difficulty of exploration, or assume the transition dynamics to be deterministic , to have a low variance , or are parametrizable by a relatively small matrix , which alleviates the difficulty in estimating the transition dynamics (see Section 1.1 for more details).
Focusing on a linear setting in which the transition dynamics and reward function are assumed to be linear, we present the first algorithm that is provably efficient in both runtime and sample complexity, without requiring additional oracles or stronger assumptions. Concretely, in the general setting of an episodic Markov Decision Process (MDP), we prove that an optimistic version of Least-Squares Value Iteration (LSVI) —a classical algorithm frequently studied in the linear setting—achieves regret, where is the ambient dimension of feature space, is the length of each episode, is the total number of steps, and hides only absolute constant and poly-logarithmic factors. Importantly, such regret is independent of and —the number of states and actions. Our algorithm runs in time and space, which are again independent of and thus efficient in practice. In addition, our result is robust to the linear assumption: When the underlying transition model is not linear, but -close to linear in total variation distance (Assumption B), our algorithm achieves regret. That is, in addition to the standard regret, the algorithm also suffers from a linear regret term that scales with an error that arises due to the function class misspecification.
Tabular RL is well studied in both model-based and model-free settings . See also for a simplified setting with access to a “simulator” (also called a generative model), which is a strong oracle that allows the algorithm to query arbitrary state-action pairs and return the reward and the next state. The “simulator” significantly alleviates the difficulty of exploration, since a naive exploration strategy which queries all state-action pairs uniformly at random already leads to the most efficient algorithm for finding an optimal policy .
In the episodic setting with nonstationary dynamics and no “simulators,” the best regrets achieved by existing model-based and model-free algorithms are and , respectively, both of which (nearly) attain the minimax lower bound . Here and denote the numbers of states and actions, respectively. Although these algorithms are (nearly) minimax-optimal, they can not cope with large state spaces, as their regret scales linearly in , where is often exponentially large in practice [see, e.g., 30, 38, 23, 27]. Moreover, the minimax lower bound suggests that, information-theoretically, a large state space cannot be handled efficiently unless further problem-specific structure is exploited. Compared with this line of work, in the current paper we exploit the linear structure of the reward and transition functions and show that the regret of optimistic LSVI scales polynomially in the ambient dimension rather than the number of states .
Linear bandits:
To enable function approximation, another line of related work studies stochastic linear bandits or stochastic linear contextual bandits [see, e.g., 5, 16, 28, 35, 14, 2], which is a special case of the linear MDP studied in this paper (Assumption A) with the episode length set equal to one. See and the references therein for a detailed survey. The best regrets achieved by existing algorithms are for linear bandits and for linear contextual bandits , both of which scale polynomially in the ambient dimension . We note, however, that while an MDP has state transition, linear bandits do not. This temporal structure captures the fundamental difference in their difficulties of exploration: a naive adaptation of existing linear bandit algorithms to the linear MDP setting yields a regret exponential in —the length of each episode.
RL with function approximation:
In the setting of linear function approximation, there is a long line of classical work on the design of algorithms, but this work does not provide polynomial sample efficiency guarantees [see, e.g., 12, 29, 41, 33, 9]. Recently, Yang and Wang revisited the setting of linear transitions and rewards (Assumption A), and presented a sample-efficient algorithm assuming the access to a “simulator”. Similar to the case of tabular setting, the “simulator” greatly alleviates the difficulty of exploration. We also note that their very recent work , developed independently of the current paper, provides sample efficiency guarantees for exploration in the linear MDP setting. Compared with the current paper, differs in that requires one additional key assumption—that the transition model can be parameterized by a relatively small matrix. This additional assumption reduces the number of free parameters in the transition model from potentially being infinite (for the case with an infinite number of states) to small and finite, and thus mitigates the challenges in estimating the transition model. As a result, their algorithm and main mechanism are based on estimating the unknown matrix, which differs from our approach. Finally, in a broader context, without the assumption of a linear MDP, sample efficiency guarantees have been established for RL under other assumptions, such as that the transition dynamics are fully deterministic , or have low variances . These assumptions can be potentially restrictive in practice, and may not hold even in the tabular setting. In contrast, our results directly cover the standard tabular case with no extra assumptions.
In the setting of general function approximation, Jiang et al. present a generic algorithm Olive, which enjoys sample efficiency if a complexity measure that they refer to as “Bellman rank” is small. It can be shown that Bellman rank is at most under Assumption A, and thus Olive is sample efficient in our setting. In contrast to our results, Olive is not computationally efficient in general and it does not provide a regret bound. Meanwhile, a recent line of work studies a nonparametric setting with Hölder smooth reward and transition model. The sample complexities provided therein are exponential in dimensionality in the worst case.
Preliminaries
which holds for all . Similarly, the Bellman optimality equation is
This implies that the optimal policy is the greedy policy with respect to the optimal action-value function . Thus, to find the optimal policy , it suffices to estimate the optimal action-value functions.
Furthermore, under the setting of an episodic MDP, the agent aims to learn the optimal policy by interacting with the environment during a set of episodes. For each , at the beginning of the th episode, the adversary picks the initial state and the agent chooses policy . The difference in values between and serves as the expected regret or the suboptimality of the agent at the -th episode. Thus, after playing for episodes, the total (expected) regret is
We focus on a setting of a linear Markov decision process, where the transition kernels and the reward function are assumed to be linear. This assumption implies that the action-value function is linear, as we will show. Note that this is not the same as the assumption that the policy is a linear function—an assumption that has been the focus of much of the literature. Rather, it is akin to a statistical modeling assumption, in which we make assumptions about how data are generated and then study various estimators. Formally, we make the following definition.
Without loss of generality, we assume for all , and for all .
Recall that we assume the reward functions are bounded in $[0,H]$. Our choice of normalization conditions in Assumption A implies that the following concrete examples serve as special cases of a linear MDP.
When the feature space, , is a subset of the -dimensional simplex, , a linear MDP can be instantiated by choosing to be an arbitrary probability measure over and letting be any vector such that .
As mentioned earlier, a crucial property of the linear MDP is that, for all policies, the action-value functions are always linear in the feature map . Therefore, when designing RL algorithms, it suffices to focus on linear action-value functions.
For a linear MDP, for any policy , there exist weights such that for any , we have .
We provide a proof of this proposition in Appendix A, where we also present additional discussion of the basic properties of a linear MDP.
Main Results
In this section, we present our main results, which provide sample complexity guarantees for Algorithm 1 in the linear MDP setting (Theorem 3.1) and in a misspecified setting (Theorem 3.2).
We first lay out our algorithm (Algorithm 1)—an optimistic modification of Least-Square Value Iteration (LSVI), where the optimism is realized by Upper-Confidence Bounds (UCB). At a high level, each episode consists of two passes (or loops) over all steps. The first pass (line 3-6) updates the parameters that are used to form the action-value function . The second pass (line 7-8) executes the greedy policy, , according to the obtained in the first pass. We note since the agent receives no reward after the th step. For the first episode , since the summation in line 4-5 is from to , we simply have and . Line 6 specifies the dependency of the action-value function on the parameters and , and no actual updates need to be performed.
The idea of Least-Square Value Iteration stems from the classical value-iteration algorithm, which finds the optimal policy (or action-value function) by applying the Bellman optimality equation Eq. (2) recursively:
Algorithm 1 additionally adds an UCB bonus term of form to encourage exploration, where is the Gram matrix of the regularized least-squares problem, and is a scalar. This form of bonus is common in the literature on linear bandits . Intuitively, represents the effective number of samples the agent has observed so far along the direction, and thus the bonus term represents the uncertainty along the direction. It is called an upper confidence bound because, by choosing a proper value for we can prove that, with high probability, in line 5 of Algorithm 1 is always an upper bound of for all state-action pair (see Lemma B.5).
We are now ready to state our main theorem, which gives a -regret bound in the linear MDP setting without any further assumptions. Here, is the total number of steps.
Under Assumption A, there exists an absolute constant such that, for any fixed , if we set and in Algorithm 1 with , then with probability , the total regret of LSVI-UCB (Algorithm 1) is at most , where hides only absolute constants.
Theorem 3.1 asserts that when and are set properly, LSVI-UCB will suffer total regret at most . We emphasize that while a naive adaptation of existing linear bandit algorithms to this linear MDP setting easily yields a regret exponential in , our regret is only polynomial in . Avoiding this exponential dependency on the planning horizon is a key step in efficiently solving the sequential RL problem. Additionally, comparing to the minimax regret in a tabular setting, , our regret replaces the number of state-action pairs by a polynomial dependency on the intrinsic complexity measure of feature space, . In fact, our regret is completely independent of and , which is crucial in the large state-space setting where function approximation is necessary. Please see also Section 5 for more discussion on the optimal dependencies on and .
We remark that Algorithm 1 only needs to store , and for all , which takes space. When we compute by the Sherman-Morrison formula, the computational complexity of Algorithm 1 is dominated by line 5 in computing for all . This takes time per step, which gives a total runtime .
Finally, similarly to the discussion in Section 3.1 of , our regret bound (Theorem 3.1) directly translates to a sample complexity guarantee (or a PAC guarantee) in the following sense. When the initial state is fixed for all episodes, then, with at least constant probability, we can learn an -optimal policy which satisfies using samples. The algorithm to achieve this is to simply run Algorithm 1 for episodes, and then output the greedy policy according to the action-value function at the th episode, where is sampled uniformly from .
Theorem 3.1 hinges on the fact that the MDP has a linear structure. A natural follow-up question arises: what would happen if the underlying MDP is not linear, and thus misspecified? We first present a definition for an approximate linear model.
Without loss of generality, we assume that for all , and for all .
By definition, an MDP is an -approximately linear MDP if there exists a linear MDP such that their Markov transition dynamics and reward functions are close. Here the closeness between transition dynamics is measured in terms of total variation distance.
In general, an algorithm designed for a linear MDP could break down entirely if the underlying MDP is not linear. The following theorem states that this is not the case for our algorithm. It is in fact robust to small model misspecification. To achieve this, we need only to adopt a different hyperparameter in different episodes.
Under Assumption B, there exists an absolute constant such that, for any fixed , if we set and in Algorithm 1 with , then with probability , the total regret of LSVI-UCB (Algorithm 1) is at most \mathcal{O}\bigl{(}\sqrt{d^{3}H^{3}T\iota^{2}}+\zeta dHT\sqrt{\iota}\bigr{)}.
Compared with Theorem 3.1, Theorem 3.2 asserts that the LSVI-UCB algorithm will incur at most an additional regret when the model is misspecified. This additional term is inevitably linear in due the intrinsic bias introduced by linear approximation. When is sufficiently small, i.e., the underlying MDP is not far away from being linear, our algorithm will still enjoy good theoretical guarantees.
Theorem 3.2 can also be converted to a PAC guarantee with a similar flavor. When the initial state is fixed for all episodes, then, with at least constant probability, we can learn an -optimal policy which satisfies using samples.
Mechanisms
In this section, we overview several of the key ideas behind the regret bound in Theorem 3.1. We defer the full proof of Theorem 3.1 and Theorem 3.2 to Appendix B and Appendix C respectively.
In Section 3, we mentioned that the LSVI algorithm is motivated from the Bellman optimality equation Eq. (2). It remains to verify that line 5 in Algorithm 1 indeed well approximates the Bellman optimality equation, which turns out to require not only the linear MDP structure but also hinges on several other facts.
To simplify our presentation, in this section we treat the regularization parameter loosely as being sufficiently small so that . We will focus in this section on a fixed episode , and drop the dependency of parameters and value functions on when it is clear from the context. Now, ignoring the UCB bonus, the least-squares solution (line 5) gives the following estimate of the action-value function:
Our analysis depends on the following two key steps.
However, the function in Algorithm 1 is again computed by least-squares value iteration in later steps and it thus inevitably depends on the choices of actions , and thus also samples . Therefore, the concentration of self-normalized process does not apply directly. To resolve this issue, we establish the uniform concentration over all value functions in the following class:
Finally, with the above key observations in mind, our proof proceeds by leveraging and adapting techniques from the literature on tabular MDP and linear bandits. Please see Appendix B and C for the details.
Conclusion
In this paper, we have presented the first provable RL algorithm with both polynomial runtime and polynomial sample complexity for linear MDPs, without requiring a “simulator” or additional assumptions. The algorithm is simply Least-Squares Value Iteration—a classical RL algorithm commonly studied in the setting of linear function approximation—with a UCB bonus. We hope that our work may serve as a first step towards a better understanding of efficient RL with function approximation.
We provide a few additional concluding observations.
Theorem 3.1 claims the total regret to be upper bounded by . One immediate question is what the optimal dependencies on and are. Since our setting covers the standard tabular setting, as in shown in Example 2.1, a lower bound can be directly obtained through a reduction from the tabular setting, which gives for the case of nonstationary transitions . We believe the difference between this lower bound and our upper bound is expected because the exploration bonus used in this paper is intrinsically “Hoeffding-type.” Using a “Bernstein-type” bonus can potentially help shave off one factor (see for a similar phenomenon in the tabular setting).
In contrast, the optimal dependency on dimension is more important but is also less clear. In the case where the number of actions is very large, one may attempt to use the lower bound in the linear bandit setting, , for the case . We comment that as soon as (where the Markov transition matters), the assumption of a linear MDP imposes structure on the feature space (see Proposition A.1). Technically, the standard constructions for the hard instances in the linear bandit lower bound do not respect this structure, so the lower bound does not directly apply. It remains an interesting future direction to determine this optimal dependency on .
On the assumption of linear transition dynamics.
Finally, it remains an interesting future question whether an RL algorithm can be proved to be efficient without assuming a linear structure in the transition dynamics.
Acknowledgements
We thank Alekh Agarwal, Zeyuan Allen-Zhu, Sebastian Bubeck, Nan Jiang and Akshay Krishnamurthy for valuable discussions. This work was supported in part by the DARPA program on Lifelong Learning Machines.
References
Appendix A Properties of Linear MDP
In this section, we present some of the basic properties of linear MDPs.
We start with the most important property of a linear MDP: the action-value function is always linear in the feature map for any policy.
The linearity of the action-value functions directly follows from the Bellman equation in Eq. (1):
Second, we show that, under mild conditions, the assumption of a linear transition is necessary for the Bellman error to be zero for all policies .
We define the function . Additionally, let two policies and satisfy
where the second equality holds due to Eq. (10). Thus, by combining Eq. (9) and Eq. (A), we have
For a linear MDP, for any , we have
In particular, the first condition in Eq. (12) requires the image of , , to be contained in a -dimensional hyperphane.
Appendix B Proof of Theorem 3.1
In this section, we prove Theorem 3.1. We first introduce the notation that is used throughout this section. Then, we present lemmas and their proofs. Finally, we combine the lemmas to prove Theorem 3.1.
Throughout this section, we denote , , and as the parameters and the Q-value function estimate in episode . Denote value function as . We also denote as the greedy policy induced by . To simplify our presentation, we always denote .
First, we prove two lemmas which state that the linear weights in both the action-value functions and Algorithm 1 are bounded.
Under Assumption A, for any fixed policy , let be the corresponding weights such that for all . Then, we have
By the Bellman equation in Eq. (1), we know, for any :
Since MDP is linear, by definition, this gives:
For any , the weight in Algorithm 1 satisfies:
where the last step is due to Lemma D.1. The remainder of the proof follows from the fact that . ∎
Second, we present our main concentration lemma, which is crucial in controlling the fluctuations in least-squares value iteration.
Under the setting of Theorem 3.1, let be the constant in our definition of (i.e., ). There exists an absolute constant that is independent of such that for any fixed , if we let be the event that:
For all , by Lemma B.2 we have . In addition, by the construction of , the minimum eigenvalue of is lower bounded by . Thus, by combining Lemmas D.4 and D.6, we have for any fixed that:
Notice that we choose the hyperparameters and where is an absolute constant. Finally, picking , by Eq. (13), there exists a absolute constant that is independent of such that
Next, we recursively bound the difference between the value function maintained in Algorithm 1 (without bonus) and the true value function of any policy . We bound this difference using their expected difference at next step, plus a error term. This error term can be upper bounded by our bonus with high probability. This is the key technical lemma in this section.
There exists an absolute constant such that for where , and for any fixed policy , on the event defined in Lemma B.3, we have for all that:
for some that satisfies .
By Proposition 2.3 and the Bellman equation Eq. (1), we know for any :
Now, we bound the terms on the right-hand side individually. For the first term,
For the second term, given the event defined in Lemma B.3, we have:
for an absolute constant independent of , and . For the third term,
Finally, since , by Lemma B.1 and our choice of parameter , we have
for an absolute constant independent of . Finally, to prove this lemma, we only need to show that there exists a choice of absolute constant so that
where . We know by its definition, and is an absolute constant independent of . Therefore, we can pick an absolute constant which satisfies . This choice of will make Eq. (14) hold for all , which finishes the proof. ∎
Lemma B.4 implies that by adding appropriate bonuses, in Algorithm 1 can be always an upper bound of with high confidence.
Under the setting of Theorem 3.1, on the event defined in Lemma B.3, we have for all .
First, we prove the base case, at the last step . The statement holds because . Since the value function at step is zero, by Lemma B.4, we have:
Now, suppose the statement holds true at step and consider step . Again, by Lemma B.4, we have:
Lemma B.4 also easily transforms to a recursive formula for . This formula will be very useful in proving the main theorem.
By Lemma B.4 we have that for any :
and finally, by Algorithm 1 and the definition of we have
Finally, we are ready to prove the main theorem. We restate our main theorem as follows.
We use the notion of and as in Lemma B.6. We condition on the event defined in Lemma B.3 with . By Lemmas B.5 and B.6, we have
We now bound the two terms on the right-hand side of Eq. (15) separately. For the first term, since the computation of is independent of the new observation at episode , we obtain that is a martingale difference sequence satisfying for all . Therefore, by the Azuma-Hoeffding inequality, for any , we have
Hence, with probability at least , we have
where . Furthermore, for the second term, note that the minimum eigenvalue of is at least (which equals to 1) for all . Also notice that . By Lemma D.2, for any , we have
Moreover, note that ; this gives
Now, by the Cauchy-Schwartz inequality, we have
which yields an upper bound on the second term in Eq. (15). Finally, combining Eq. (15), Eq. (16), Eq. (18), and with our choice of for some absolute constant c, we conclude that with probability :
for some absolute constant . This concludes the proof. ∎
Appendix C Proof of Theorem 3.2
In this section, we prove Theorem 3.2. At a high level, the proof structure is similar to the structure in Appendix B. We will particularly focus on the parts that require different treatments in the misspecified setting.
Throughout this section, we denote , , and as the parameters and the Q-value functions estimated in episode . Denote the value function as . We denote as the greedy policy induced by . To simplify the presentation, we denote .
First, we establish a lemma that is the counterpart of Lemma 2.3 in the misspecified setting: for any policy , its action-value function is always close to a linear function.
Since and satisfy Eq.(4), we have:
We can again show that the linear weights defined in Lemma C.1 are bounded.
Under Assumption B, for any policy , let be the corresponding weights as defined in Lemma C.1. Then, we have
Similar to Lemma B.3, we also bound the stochastic noise in concentration.
Under the setting of Theorem 3.2, let be the constant in our choice of (i.e. ), There exists an absolute constant that is independent of such that for any fixed , if we let be the event that:
The proof is essentially the same as the proof for Lemma B.3, with the only difference that is now bounded by instead of as in Lemma B.3. Because as in Assumption B, the new bound of only affects the choice of absolute in Lemma C.3. ∎
In the misspecified case, we also need to bound an error term where the noise can be potentially adversarial instead of stochastic. The adversarial noise is precisely due to model misspecification.
where the last inequality is due to Lemma D.1. ∎
Now we are ready to prove the key lemma, which is the counterpart of Lemma B.4.
There exists an absolute constant such that for where , and for any fixed policy , on the event defined in Lemma C.3, we have for all that:
for some that satisfies .
Now, we bound the terms on the right-hand side individually. For the first term,
For the second term, given the event defined in Lemma C.3, we have:
for an absolute constant independent of , and . For the third term,
For the fourth term, by Lemma C.4, we have
Finally, since , we have:
for an absolute constant independent of . As in the proof of Lemma B.4, to prove this lemma, we only need to show that there exists a choice of absolute constant so that , and
This can be done by an picking absolute constant that satisfies . ∎
Given Lemma C.5, we can now easily proceed to prove that is a upper bound of up to an error that depends linearly on the misspecification .
Under the setting of Theorem 3.2, on the event defined in Lemma C.3, we have for all .
First, we consider the base case. The statement holds for the last step , i.e., . Since the value function at step is zero, by Lemma C.5, we have:
Now, suppose the statement holds true at step , and consider step . Again, by Lemma C.5, we have:
Therefore, we conclude the proof of this lemma. ∎
The gap also has a recursive formula similar to Lemma B.6.
This is because by Lemma C.5, we have for any :
Finally, by Algorithm 1 and the definition of we have
Finally, we are ready to combine all previous lemmas to prove the main theorem in the misspecified setting.
The proof of this theorem is similar to that of Theorem 3.1. We condition on the event defined in Lemma C.3. For for any , we define . By Lemma C.6, we have for all , which implies that . Furthermore, by Lemma C.7, on the event we have:
where we use the fact that . Since is a martingale difference sequence with each term bounded by , the Azuma-Hoeffding inequality implies that
holds with probability at least , where . Moreover, by the Cauchy-Schwarz inequality, we have
Moreover, since we set for some absolute constant , we have
Therefore, combining Eq. (21), Eq. (22), and Eq. (23), we have
Finally, combining Eq. (C), Eq. (20), and Eq. (24), we obtain
for some absolute constant . This concludes the proof of the theorem. ∎
Appendix D Auxiliary Lemmas
This section presents several auxiliary lemmas and their proofs.
First, we present a few important short inequalities for summations.
Since and for all , we have
Note that, for any , it holds that . Therefore, we have
Moreover, for any , by the definition of , we have
Therefore, combining Eq. (25) and Eq. (26), we conclude the proof. ∎
D.2 Concentration inequalities for self-normalized processes
Next, we present a few concentration inequalities. The following one provides a concentration inequality for the standard self-normalized processes.
When specializing this concentration inequality to our setting, we require uniform concentration over all value functions within a function class . This uniform concentration incurs an additional term that depends logarithmically on the covering number of .
For any , we know there exists a in the -covering such that
where we can apply Theorem D.3 and a union bound to the first term. Also, it is not hard to bound the second term by . ∎
To compute the covering number of function class , we first require a basic result on the covering number of a Euclidean ball as follows. We refer readers to classical material, such as Lemma 5.2 in , for its proof.
Now, we are ready to compute the covering number of .
Equivalently, we can reparametrize the function class by let , so we have
for and . For any two functions , let them take the form in Eq. (27) with parameters and , respectively. Then, since both and are contraction maps, we have
where the second last inequality follows from the fact that holds for any . For matrices, and denote the matrix operator norm and Frobenius norm respectively.