Linearly Parameterized Bandits
Paat Rusmevichientong, John N. Tsitsiklis
Introduction
Since its introduction by Thompson (1933), the multiarmed bandit problem has served as an important model for decision making under uncertainty. Given a set of arms with unknown reward profiles, the decision maker must choose a sequence of arms to maximize the expected total payoff, where the decision in each period may depend on the previously observed rewards. The multiarmed bandit problem elegantly captures the tradeoff between the need to exploit arms with high payoff and the incentive to explore previously untried arms for information gathering purposes.
Much of the previous work on the multiarmed bandit problem assumes that the rewards of the arms are statistically independent (see, for example, Lai and Robbins (1985) and Lai (1987)). This assumption enables us to consider each arm separately, but it leads to policies whose regret scales linearly with the number of arms. Most policies that assume independence require each arm to be tried at least once, and are impractical in settings involving many arms. In such settings, we want a policy whose regret is independent of the number of arms.
When the mean rewards of the arms are assumed to be independent random variables, Lai and Robbins (1985) show that the regret under an arbitrary policy must increase linearly with the number of arms. However, the assumption of independence is quite strong in practice. In many applications, the information obtained from pulling one arm can change our understanding of other arms. For instance, in marketing applications, we expect a priori that similar products should have similar sales. By exploiting the correlation among products/arms, we should be able to obtain a policy whose regret scales more favorably than traditional bandit algorithms that ignore correlation and assume independence.
Mersereau et al. (2009) propose a simple model that demonstrates the benefits of exploiting the underlying structure of the rewards. They consider a bandit problem where the expected reward of each arm is a linear function of an unknown scalar, with a known prior distribution. Since the reward of each arm depends on a single random variable, the mean rewards are perfectly correlated. They prove that, under certain assumptions, the cumulative Bayes risk over periods (defined below) under a greedy policy admits an upper bound, independent of the number of arms.
The linearly parameterized bandit is an important model that has been studied by many researchers, including Ginebra and Clayton (1995), Abe and Long (1999), and Auer (2002). The results in this paper complement and extend the earlier and independent work of Dani et al. (2008a) in a number of directions. We provide a detailed comparison between our work and the existing literature in Sections 1.3 and 1.4.
where for any , is the arm chosen under in period . Since is compact, is well defined for all . The -period cumulative Bayes risk under is defined by
where the expectation is taken with respect to the prior distribution of . We aim to develop a policy that minimizes the cumulative regret and Bayes risk. We note that minimizing the -period cumulative Bayes risk is equivalent to maximizing the expected total reward over periods.
2 Potential Applications
3 Related Literature
The multiarmed bandit literature can be divided into two streams, depending on the objective function criteria: maximizing the total discounted reward over an infinite horizon or minimizing the cumulative regret and Bayes risk over a finite horizon. Our paper focuses exclusively on the second criterion. Much of the work in this area focuses on understanding the rate with which the regret and risk under various policies increase over time. In their pioneering work, Lai and Robbins (1985) establish an asymptotic lower bound of for the -period cumulative regret for bandit problems with independent arms whose mean rewards are “well-separated,” where the difference between the expected reward of the best and second best arms is fixed and bounded away from zero. They further demonstrate a policy whose regret asymptotically matches the lower bound. In contrast, our paper focuses on problems where the number of arms is large (possibly infinite), and where the gap between the maximum expected reward and the expected reward of the second best arm can be arbitrarily small. Lai (1987) extends these results to a Bayesian setting, with a prior distribution on the reward characteristics of each arm. He shows that when we have arms, the -period cumulative Bayes risk is of order , when the prior distribution has a continuous density function satisfying certain properties (see Theorem 3 in Lai, 1987). Subsequent papers along this line include Agrawal et al. (1989), Agrawal (1995), and Auer et al. (2002).
There has been relatively little research, however, on policies that exploit the dependence among the arms. Thompson (1933) allows for correlation among arms in his initial formulation, though he only analyzes a special case involving independent arms. Robbins (1952) formulates a continuum-armed bandit regression problem, but does not provide an analysis of the regret or risk. Berry and Fristedt (1985) allow for dependence among arms in their formulation in Chapter 2, but mostly focus on the case of independent arms. Feldman (1962) and Keener (1985) consider two-armed bandit problems with two hidden states, where the rewards of each arm depend on the underlying state that prevails. Pressman and Sonin (1990) formulate a general multiarmed bandit problem with an arbitrary number of hidden states, and provide a detailed analysis for the case of two hidden states. Pandey et al. (2007) study bandit problems where the dependence of the arm rewards is represented by a hierarchical model.
A somewhat related literature on bandits with dependent arms is the recent work by Wang et al. (2005a, b) and Goldenshluger and Zeevi (2008, 2009) who consider bandit problems with two arms, where the expected reward of each arm depends on an exogenous variable that represents side information. These models, however, differ from ours because they assume that the side information variables are independent and identically distributed over time, and moreover, these variables are perfectly observed before we choose which arm to play. In contrast, we assume that the underlying random vector is unknown and fixed over time, to be estimated based on past rewards and decisions.
Our model generalizes the “response surface bandits” introduced by Ginebra and Clayton (1995), who assume a normal prior on and provide a simple tunable heuristic, without any analysis on the regret or risk. Abe and Long (1999), Auer (2002), and Dani et al. (2008a) all consider a special case of our model where the random vector and the error random variables are bounded almost surely, and with the exception of the last paper, focus on the regret criterion. Abe and Long (1999) demonstrate a class of bandits where the dimension is at least , and show that the -period regret under an arbitrary policy must be at least . Auer (2002) describes an algorithm based on least squares estimation and confidence bounds, and establishes an upper bound on the regret, for the case of finitely many arms. Dani et al. (2008a) show that the policy of Auer (2002) can be extended to problems having an arbitrary compact set of arms, and also make use of a barycentric spanner. They establish an upper bound on the regret, and discuss a variation of the policy that is more computationally tractable (at the expense of higher regret). Dani et al. (2008a) also establish an lower bound on the Bayes risk when the set of arms is the Cartesian product of circlesThe original lower bound (Theorem 3 on page 360 of Dani et al., 2008a) was not entirely correct; a correct version was provided later, in Dani et al. (2008b).. However, this leaves a gap from the upper bound, leaving open the question of the exact order of regret and risk.
4 Contributions and Organizations
Although we obtain the same lower bound of , our example and proof techniques are very different from Dani et al. (2008a). We consider the unit sphere, with a multivariate normal prior on , and standard normal errors. The analysis in Section 2 also illuminates the behavior of the least mean squares estimator in this setting, and we believe that it provides an approach that can be used to address more general classes of linear estimation and adaptive control problems.
We also prove that the phase-based policy remains effective (that is, admits an upper bound) for a broad class of bandit problems in which the set of arms is strongly convexOne can show that the Cartesian product of circles is not strongly convex, and thus, our phase-based policy cannot be applied to give the matching upper bound for the example used in Dani et al. (2008a). (defined in Section 3). To our knowledge, this is the first result that establishes the connection between a geometrical property (strong convexity) of the underlying set of arms and the effectiveness of separating exploration from exploitation. We suspect that strong convexity may have similar implications for other types of bandit and learning problems.
When the set of arms is an arbitrary compact set, the separation of exploration and exploitation may not be effective, and we consider in Section 4 an active exploration policy based on least squares estimation and confidence regions. We prove that the regret and risk under this policy are bounded above by , which is within a logarithmic factor of the lower bound. Our policy is closely related to the one considered in Auer (2002) and further analyzed in Dani et al. (2008a), with differences in a number of respects. First, our model allows the random vector and the errors to have unbounded support, which requires a somewhat more complicated analysis. Second, our policy is an “anytime” policy, in the sense that the policy does not depend on the time horizon of interest. In contrast, the policies of Auer (2002) and Dani et al. (2008a) involve a certain parameter whose value must be set in advance as a function of the time horizon in order to obtain the regret bound.
We finally comment on the case where the set of arms is finite and fixed. We show that the regret and risk under our active exploration policy increase gracefully with time, as and , respectively. These results show that our policy is within a constant factor of the asymptotic lower bounds established by Lai and Robbins (1985) and Lai (1987). In contrast, for the policies of Auer (2002) and Dani et al. (2008a), the available regret upper bounds grow over time as and , respectively.
We note that the bounds on the cumulative Bayes risk given in Table 1 hold under certain assumptions on the prior distribution of the random vector . For , is assumed to be a continuous random variable with a bounded density function (Theorem 3.2 in Mersereau et al., 2009). When the collection of arms is a unit sphere with , we require that both and are bounded (see Theorems 2.1 and 3.1, and Lemma 3.2). For general compact sets of arms where our risk bound is not tight, we only require that has a bounded expectation.
Lower Bounds
In this section, we establish lower bounds on the regret and risk under an arbitrary policy when the set of arms is the unit sphere. This result is stated in the following theoremThe result of Theorem 2.1 easily extends to the case where the covariance matrix is , rather than . The proof is essentially the same.
Let denote a collection of orthogonal unit vectors that are also orthogonal to . Note that and are functions of .
Using the fact that for any two unit vectors and , , the instantaneous regret in period satisfies
where the inequality follows from the fact that are orthogonal unit vectors. Therefore, the cumulative conditional risk satisfies
with probability one. From the definition of , we have for . Therefore, for ,
which eliminates the middle term in the summand above. Furthermore, we see that for all . Thus, with probability one,
and the desired result follows by taking the expectation of both sides. ∎
Since is orthogonal to , we can interpret and as the total amount of exploration over periods and the squared estimation error, respectively, in the direction . Thus, Lemma 2.2 tells us that the cumulative risk is bounded below by the sum of the squared estimation error and the total amount of exploration in the past periods. This result suggests an approach for establishing a lower bound on the risk. If the amount of exploration is large, then the risk will be large. On the other hand, if the amount of exploration is small, we expect significant estimation errors, which in turn imply large risk. This intuition is made precise in Lemma 2.3, which relates the squared estimation error and the amount of exploration.
Let \mathbf{Q}_{T}=\widehat{\mathbf{Z}}_{T}\big{/}\|\widehat{\mathbf{Z}}_{T}\|. For any , we have that . Let
be an orthonormal matrix whose columns are the vectors , and , respectively. Then, it is easy to verify that
Since has a multivariate normal prior distribution with covariance matrix , it is a standard result (use, for example, Corollary E.3.5 in Appendix E in Bertsekas, 1995) that
Since is a function of and , we have, for , that
where the inequality follows from Fiedler’s Inequality (see, for example, Theorem 2.1 in Fiedler and Pták, 1997), and the final equality follows from the definition of . ∎
The next lemma gives a lower bound on the probability that is bounded away from the origin. The proof follows from simple calculations involving normal densities, and the details are given in Appendix A.1.
For any and , .
The last lemma establishes a lower bound on the sum of the total amount of exploration and the squared estimation error, which is also the minimum cumulative Bayes risk along the direction by Lemma 2.2.
We note that if were a constant, rather than a random variable, Lemma 2.5 would follow immediately. Hence, most of the work in the proof below involves constraining to a certain range .
Consider an arbitrary , and let , . Our proof will make use of positive constants , , and , whose values will be chosen later. Note that
where we use the fact that is a function of in the final inequality. We will now lower bound the last term on the right hand side of the above inequality. Let \Theta=\mbox{\sf E}\left[\Gamma~{}\big{|}~{}\mathbf{H}_{T}\right]. Since is a function of ,
where the last inequality follows from Lemma 2.3 which implies that, with probability one,
and where the last inequality follows from the fact that , and thus, .
with probability one. By the Bonferroni Inequality, we have that
with probability one. Conditioned on , is normally distributed with mean zero and variance
Let be the cumulative distribution function of the standard normal random variable, that is, . Then,
from which it follows that, with probability one,
where the last inequality follows from Lemma 2.4. Set , , and , to obtain which is the desired result. ∎
Finally, here is the proof of Theorem 2.1.
where we have used the fact , which implies that . ∎
Matching Upper Bounds
We have established lower bounds when the set of arms is the unit sphere. We now prove that a policy that alternates between exploration and exploitation phases yields matching upper bounds on the regret and risk, and is therefore optimal for this problem. Surprisingly, we will see that the phase-based policy is effective for a large class of bandit problems, involving a strongly convex set of arms. We introduce the following assumption on the tails of the error random variables and on the set of arms , which will remain in effect throughout the rest of paper.
There exist positive constants and such that for any ,
Under Assumption 1(a), the tails of the distribution of the errors decay at least as fast as for a normal random variable with variance . The first part of Assumption 1(b) ensures that the expected reward of the arms remain bounded as the dimension increases, while the arms given in the second part of Assumption 1(b) will be used during the exploration phase of our policy.
Our policy – which we refer to as the Phased Exploration and Greedy Exploitation (PEGE) – operates in cycles, and in each cycle, we alternate between exploration and exploitation phases. During the exploration phase of cycle , we play the linearly independent arms from Assumption 1(b). Using the rewards observed during the exploration phases in the past cycles, we compute an ordinary least squares (OLS) estimate . In the exploitation phase of cycle , we use as a proxy for and compute a greedy decision defined by:
where we break ties arbitrarily. We then play the arm for an additional periods to complete cycle . Here is a formal description of the policy.
Phased Exploration and Greedy Exploitation (PEGE)
Description: For each cycle , complete the following two phases.
where for any , and denote the observed reward and the error random variable associated with playing arm in cycle . Note that the last equality follows from Equation (1) defining our model.
Exploitation ( periods): Play the greedy arm for periods.
Even though the SBAR condition appears to be an implicit one, it admits a simple interpretation. According to Corollary 4 of Polovinkin (1996), a compact set satisfies condition SBAR() if and only if it is strongly convex with parameter , in the sense that the set can be represented as the intersection of closed balls of radius . Intuitively, the SBAR condition requires the boundary of to have a curvature that is bounded below by a positive constant. For some examples, the unit ball satisfies the SBAR(1) condition. Furthermore, according to Theorem 3 of Polovinkin (1996), an ellipsoid of the form , where is a symmetric positive definite matrix, satisfies the condition SBAR .
The main result of this section is stated in the following theorem. The proof is given in Section 3.1.
Suppose in addition, that there exists a constant such that for every we have and . Then, there exists a positive constant that depends only on , , , , and , such that for any ,
The above result shows that the performance of our policy does not deteriorate as the norm of approaches zero.
Intuitively, the requirement in Theorem 3.1 implies that, as increases, the maximum expected reward (over all arms) remains bounded. Moreover, the assumption on the boundedness of means that does not have too much mass near the origin. The following lemma provides conditions under which this assumption holds, and shows that the case of the multivariate normal distribution used in Theorem 2.1 is also covered. The proof is given in Appendix A.2.
The following corollary shows that the example in Section 2 admits tight matching upper bounds on the regret and risk.
Moreover, if has a multivariate normal distribution with mean and covariance matrix , then for all ,
Since the set of arms is the unit sphere and the errors are standard normal, Assumption 1 is satisfied with . Moreover, as already discussed, the unit sphere satisfies the SBAR(1) condition. Finally, By Lemma 3.2, the random vector satisfies the hypotheses of Theorem 3.1. The regret and risk bounds then follow immediately. ∎
The proof of Theorem 3.1 relies on the following upper bound on the square of the norm difference between and .
Recall from the definition of the PEGE policy that the estimate at the end of the exploration phase of cycle is given by
where and . Note that the mean-zero random variables are independent of each other and their variance is bounded by some constant that depends only on . Then, it follows from Assumption 1 that
The next lemma gives an upper bound on the difference between two normalized vectors in terms of the difference of the original vectors.
where we define to be some fixed unit vector.
The inequality is easily seen to hold if either or . So, assume that both and are nonzero. Using the triangle inequality and the fact that \big{|}\left\|\mathbf{w}\right\|-\left\|\mathbf{z}\right\|\big{|}\leq\left\|\mathbf{w}-\mathbf{z}\right\|, we have that
By symmetry, we also have , which gives the desired result. ∎
The following lemma gives an upper bound on the expected instantaneous regret under the greedy decision during the exploitation phase of cycle .
where the inequality follows from the definition of the greedy decision in Equation (2), and the final equality follows from the fact that . As a convention, we define to some fixed unit vector and set .
It then follows from the Cauchy-Schwarz Inequality that, with probability one,
where the equality follows from the fact that for all . The second inequality follows from condition SBAR(), and the final inequality follows from Lemma 3.5. The desired result follows by taking conditional expectations, given , and applying Lemma 3.4. ∎
We can now complete the proof of Theorem 3.1, by adding the regret over the differnt times and cycles. By Assumption 1 and the Cauchy-Schwarz Inequality, the instantaneous regret from playing any arm is bounded above by . Consider an arbitrary cycle . Then, the total regret incurred during the exploration phase (with periods) in this cycle is bounded above by . During the exploitation phase of cycle , we always play the greedy arm . The expected instantaneous regret in each period during the exploitation phase is bounded above by . So, the total regret during cycle is bounded above by . Summing over cycles, we obtain
for some positive constants and that depend only on , , , and .
where the final inequality follows because . The risk bound follows by taking expectations and using the assumption on the boundedness of and .
A Policy for General Bandits
We have shown that when a bandit has a smooth best arm response, the PEGE policy achieves optimal regret and Bayes risk. The general idea is that when the estimation error is small, the instantaneous regret of the greedy decision based on our estimate can be of the same order as . However, under the smoothness assumption, this upper bound on the instantaneous regret is improved to , as shown in the proof of Lemma 3.6, and this enables us to separate exploration from exploitation.
However, if the number of arms is finite or if the collection of arms is an arbitrary compact set, then the PEGE policy may not be effective. This is because a small estimation error may have a disproportionately large effect on the arm chosen by a greedy policy, leading to a large instantaneous regret. In this section, we discuss a policy – which we refer to as the Uncertainty Ellipsoid (UE) policy – that can be applied to any bandit problem, at the price of slightly higher regret and Bayes risk. In contrast to the PEGE policy, the UE policy combines active exploration and exploitation in every period.
As discussed in the introduction, the UE policy is closely related to the algorithms described in Auer (2002) and Dani et al. (2008a), but also has the “anytime” property (the policy does not require prior knowledge of the time horizon ), and also allows the random vector and the errors to be unbounded. For the sake of completeness, we give a detailed description of our policy and state the regret and risk bounds that we obtain. The reader can find the proofs of these bounds in Appendix B.
To facilitate exposition, we introduce a constant that will appear in the description of the policy, namely,
where the parameters and are given in Assumption 1. The UE policy maintains, at each time period , the following two pieces of information.
The ordinary least squares (OLS) estimate defined as follows: if are the arms chosen during the first periods, then the OLS estimate is given byLet us note that we are abusing notation here. Throughout this section stands for the OLS estimate, which is different from the least mean squares estimator \mbox{\sf E}\left[\mathbf{Z}~{}\big{|}~{}\mathbf{H}_{t}\right] introduced in Section 2.:
In contrast to the PEGE policy, whose estimates relied only on the rewards observed in the exploration phases, the estimate incorporates all available information up to time . We initialize the policy by playing linearly independent arms, so that is positive definite for .
where the parameters and are given in Assumption 1(a) and Equation (3). The uncertainty ellipsoid represents the set of likely “errors” associated with the estimate . We define the uncertainty radius associated with each arm as follows:
A formal description of the policy is given below.
Initialization: During the first periods, play the linearly independent arms given in Assumption 1(b). Determine the OLS estimate , the uncertainty ellipsoid , and the uncertainty radius associated with each arm.
Description: For , do the following:
Let be an arm that gives the maximum estimated reward over the ellipsoid , that is,
where the uncertainty radius is defined in Equation (6); ties are broken arbitrarily.
Play arm and observe the resulting reward .
Update the OLS estimate , the uncertainty ellipsoid , and the uncertainty radius of each arm , using the formulas in Equations (4), (5), and (6).
The main results of this section are given in the following two theorems. The first theorem establishes upper bounds on the regret and risk when the set of arms is an arbitrary compact set. This result shows that the UE policy is nearly optimal, admitting upper bounds that are within a logarithmic factor of the lower bounds given in Theorem 2.1. Although the proof of this theorem makes use of somewhat different (and novel) large deviation inequalities for adaptive least squares estimators, the argument shares similarities with the proofs given in Dani et al. (2008a), and we omit the details. The reader can find a complete proof in Appendix B.2.
When the number of arms is finite, it turns out that we can obtain bounds on regret and risk that scale more gracefully over time, growing as and , respectively. This result is stated in Theorem 4.2, which shows that, for a fixed set of arms, the UE policy is asymptotically optimal as a function time, within a constant factor of the lower bounds established by Lai and Robbins (1985) and Lai (1987).
The reader can find a proof of this result in Appendix B.3.
The regret bound in Theorem 4.2 then follows immediately from the above upper bound and the fact that with probability one, because
and the desired result follows from the fact that , by the Cauchy-Schwarz Inequality.
We will now establish an upper bound on the Bayes risk. From the regret bound, it suffices to show that for any ,
Let denote the density function associated with the random variable . Then,
We will now proceed to bound each of the three terms on the right hand side of the above equality. Having assumed that , the first term satisfies
where the last inequality follows from the fact that for all . To evaluate the last term, note that for all , and thus, Putting everything together, we have that , which is the desired result. ∎
We conclude this section by giving an example of a random vector that satisfies the condition in Theorem 4.2. A similar example also appears in Example 2 of Lai (1987).
Since a polyhedral set has a finite number of extreme points (), the parameterized bandit problem can be reduced to the standard multi-armed bandit problem, where each arm corresponds to an extreme point of . We can thus apply the algorithm of Lai and Robbins (1985) and obtain the following upper bound on the -period cumulative regret for polyhedra
where the denominator corresponds to the difference between the expected reward of the optimal and the second best extreme points. The algorithm of Lai and Robbins (1985) is effective only when the polyhedral set has a small number of extreme points, as shown by the following examples.
Conclusion
Acknowledgement
The authors would like to thank Adrian Lewis and Mike Todd for helpful and stimulating discussions on the structure of positive definite matrices and the eigenvalues associated with least squares estimators, Gena Samorodnitsky for sharing his deep insights on the application of large deviation theory to this problem, Adam Mersereau for his contributions to the problem formulation, and Assaf Zeevi for helpful suggestions and discussions during the first author’s visit to Columbia Graduate School of Business. We also want to thank the Associate Editor and the referee for their helpful comments and suggestions on the paper. This research is supported in part by the National Science Foundation through grants DMS-0732196, ECCS-0701623, CMMI-0856063, and CMMI-0855928.
References
Appendix A Properties of Normal Vectors
We want to establish a lower bound on . Let denote the standard multivariate normal random vector with mean and identity covariance matrix . By our hypothesis, has the same distribution as , which implies that
By definition, has a chi-square distribution with degrees of freedom. By the Markov Inequality, . We will now establish an upper bound on . Note that, for any ,
where last equality follows from the fact that are independent standard normal random variables and thus, for . Set , and use the facts and , to obtain
which implies that , which is the desired result.
A.2 Proof of Lemma 3.2
For the proof of part (b), let be a standard multivariate normal random vector with mean and identity covariance matrix, . Then, has the same distribution as . Note that has a chi-square distribution with degrees of freedom. Thus,
We will now establish an upper bound on . For , since has a chi distribution with two degrees of freedom, we have that
Using the formula for the density of the chi-square distribution, we have
where the third equality follows from the fact that for and the integrand is the density function of the chi-square distribution with degrees of freedom and evaluates to . The last inequality follows because . Thus, we have , which is the desired result.
Appendix B Proof of Theorems 4.1 and 4.2
In the next section, we establish large deviation inequalities for adaptive least squares estimators (with unbounded error random variables), which will be used in the proof of Theorems 4.1 and 4.2, given in Sections B.2 and B.3, respectively.
The first result extend the standard Chernoff Inequality to our setting involving uncertainty ellipsoids when we have finitely many arms.
We will only prove the second inequality because the proof of the first one follows the same argument. If the sequence of arms is deterministic (and thus, the matrix is also deterministic), then
The classical Chernoff Inequality for the sum of independent random variables (see, for example, Chapter 1 in Dudley, 1999) then yields
In our setting, however, the arms are random variables that depend on the accumulated history, and we cannot apply the standard Chernoff inequality directly. If denotes the total number of times that arm has been chosen during the first periods given that , then
which shows that the matrix is completely determined by the nonnegative integer random variables . Since , the number of possible values of the vector is at most . It then follows easily that the number of different values of the ordered pair is at most . To get the desired result, we can then use the union bound and apply the classical Chernoff Inequality to each ordered pair. ∎
When the number of arms is infinite, the bounds in Theorem B.1 are vacuous. The following theorem provides an extension of the Chernoff inequality to the case of infinitely many arms.
The proof of Theorem B.2 makes use of the following series of lemmas. The first lemma establishes a tail inequality for a ratio of two random variables. De la Peña et al. (2004) gave a proof of this result in Corollary 2.2 (page 1908) of their paper .
Using a standard argument involving iterated expectations, we obtain
We can thus apply Lemma B.3 to the random variables and . Moreover, it follows from the definition of and in Assumption 1(b) that, with probability one,
Therefore, , and
where the last inequality follows from the definition of and the fact that . These two upper bounds imply that Therefore,
and the desired result then follows immediately from Lemma B.3. ∎
The next and final lemma extends the previous result to show that the matrix is positive semidefinite with a high probability. The proof of this result makes use of the fact that for the matrix to be positive semidefinite, it suffices for the inequality to hold for vectors in a sufficiently dense subset. We can then apply Lemma B.4 for each such vector and use the union bound.
Under Assumption 1, for any and ,
where the constants and are given in Assumption 1(b). Without loss of generality, we can assume that and that is an integer. Let be a covering of , that is, for any , there exists such that . It is easy to verify that can be chosen to have a cardinality of at most because we can consider a rectangular grid on with a grid spacing of . Then, for any point , there is a point on the rectangular grid such that the magnitude of each component of is at most , which implies that .
Let and be given. To facilitate our exposition, let . Let denote the event that the following inequalities hold:
Using the union bound, it follows from Lemma B.4 that the event happens with a probability at least
where we have used the fact that in the penultimate inequality. The final inequality follows from the definition of in Equation (3), which implies that , and thus,
To complete the proof, it suffices to show that when the event occurs, we have that for all . Consider an arbitrary , and let be such that . This implies that . Moreover, where we use the Cauchy-Schwarz for the last inequality.
Similarly, we can show that for all , . Summing over all , we obtain that . Putting everything together, we have that
where the last inequality follows from the fact that from our definition of . Finally, note that under the event ,
where the last inequality follows from the definition of . Thus, we have that , which is the desired result. ∎
We are now ready to give a proof of Theorem B.2.
It suffices to establish the second inequality in Theorem B.2 because the proof for the first inequality follows the same argument. It follows from the Cauchy-Schwarz inequality that
where the last equality follows from the definition of the least squares estimate .
It is a well-known result in linear algebra (see, for example, Theorem 1.3.3 in Bhatia, 2007) that if and are two symmetric positive definite matrices, then the block matrix \left(\begin{array}[]{cc}\mathbf{A}&\mathbf{X}\\ \mathbf{X}^{\prime}&\mathbf{B}\end{array}\right) is positive semidefinite if and only if . Applying this result to the two “equivalent” matrices \left(\begin{array}[]{cc}\zeta^{2}\,\kappa_{0}^{2}\,\sigma_{0}^{2}\,\log t&\mathbf{M}_{t}^{\prime}\\ \mathbf{M}_{t}&\mathbf{C}_{t}^{-1}\end{array}\right)\quad\textrm{and}\quad\left(\begin{array}[]{cc}\mathbf{C}_{t}^{-1}&\mathbf{M}_{t}\\ \mathbf{M}_{t}^{\prime}&\zeta^{2}\,\kappa_{0}^{2}\,\sigma_{0}^{2}\,\log t\end{array}\right)~{}, we conclude that if and only if . The desired result then follows from the fact that
where the last inequality follows from Lemma B.5. ∎
B.2 Bounds for General Compact Sets of Arms: Proof of Theorem 4.1
The proof of Theorem 4.1 makes use of a number of auxiliary results. The first result provides a motivation for the choice of the parameter in Equation (5) and our definition of the uncertainty radius in Equation (6). They are chosen to keep the probability of overestimating the reward of an arm by more than bounded by . This will limit the growth rate of the cumulative regret due to such overestimation.
Under Assumption 1, for any arm and ,
where .
It suffices to establish the first inequality because the proof of the second one is exactly the same. Let . Recall from Equations (5) and (6) that . By applying Theorem B.1 (with ) and Theorem B.2 (with ), we obtain
There are two cases to consider: and . Suppose that . Then,
where the last inequality follows from the fact that . In the second case where , we have that
where the last inequality follows from the fact that . Since the probability is bounded by in both cases, this gives the desired result. ∎
For any , let the random variable denote the instantaneous regret in period given that , that is,
Lemma B.6 shows that the probability of a large estimation error in period is at most . Consequently, as shown in the following lemma, the probability of having a large instantaneous regret in period is also small.
Suppose that the event occurs. Then, it follows that
which implies that Thus,
the last inequality follows from Lemma B.6. ∎
Lemma B.7 suggests the following approach for bounding the cumulative regret over periods. In the first periods (during the initialization), we incur a regret of . For each time period between and , we consider the two cases: 1) where the instantaneous regret is large with ; and, 2) the instantaneous regret is small. By the above lemma, the contribution to the cumulative regret from the first case is bounded above by , which is finite. In the second case, we have a simple upper bound of for the instantaneous regret. This argument leads to the following bound on the cumulative regret over periods.
For any , let the indicator random variable be defined by:
The contribution to the expected instantaneous regret \mbox{\sf E}\left[Q_{t+1}(\mathbf{z})~{}\big{|}~{}\mathbf{Z}=\mathbf{z}\right] comes from two cases: 1) when and 2) when . We will upper bound each of these two contributions separately. In the first case, we know from Lemma B.7 that \Pr\left\{G_{t+1}(\mathbf{z})=0~{}\big{|}~{}\mathbf{Z}=\mathbf{z}\right\}=\Pr\left\{Q_{t+1}(\mathbf{z})>2\alpha\,\sqrt{\log t}\sqrt{\min\left\{r\log t,\left|\mathcal{U}_{r}\right|\right\}}\,\left\|\mathbf{U}_{t+1}\right\|_{\mathbf{C}_{t}}~{}\big{|}~{}\mathbf{Z}=\mathbf{z}\right\}\leq 1/t^{2}. Since , we have that
On the other hand, when , we have that . This implies that, with probability one,
where we use the Cauchy-Schwarz Inequality in the second inequality and the final inequality follows from the fact that Putting the two cases together gives the desired upper bound because
The eigenvectors of the matrix reflect the directions of the arms that are chosen during the first periods. The corresponding eigenvalues then measure the frequency with which these directions are explored. Frequently explored directions will have small eigenvalues, while the eigenvalues for unexplored directions will be large. Thus, the weighted norm has two interpretations. First, it measures the size of the regret in period . In addition, since is a linear combination of the eigenvalues of , it also reflects the amount of exploration in period in the unexplored directions.
The above interpretation suggests that if we incur large regrets in the past (equivalently, we have done a lot of exploration), then the current regret should be small. Our intuition is confirmed in the following lemma that establishes a recursive relationship between the weighted norm in period and the norms in the preceding periods.
For any , let . By the Rayleigh Principle,
where the last inequality follows from the definition of and the fact that
where the last equality follows from the fact that where the vectors are given in Assumption 1(b). This proves the claimed upper bound on .
We will now establish the inequality that relates to for . Note that
where the second to last equality follows the matrix determinant lemma.
We will now establish bounds on the determinants and . Note that
where the last inequality follows from the definition of . Therefore, . Moreover, using Equation (10) repeatedly, we obtain
where the last inequality follows from the fact that and , where the vectors and the parameter are defined in Assumption 1(b).
Putting everything together, we have that
The above result shows that if the weighted norms in the preceding periods, as measured by , are large, then the weighted norm in the current period will be small. Moreover, since the weighted norm in the current period depends on the product of the norms in the past, we hope that the growth rate of the sum should be small. To formalize our conjecture, we introduce a related optimization problem. For any and , let be defined by:
where we define . The following lemma gives an upper bound in terms of the function .
For all , let . Then, . Let . It follows from Lemma B.9 that for all , with probability one, and . Therefore, we have . ∎
It follows from Lemma B.10 that it suffices to develop an upper bound on . This result is given in the following lemma.
Any feasible solution for the problem defining , also satisfies the constraints
where the last inequality follows from the fact that for any , we have . Thus, by letting , we obtain , where is the maximum possible value of , subject to
Let us introduce a continuous-time variable , and define , for . Let , and note that . For any , we have
Let . Then, for any ,
By integrating both sides, we obtain for all . Since because , taking logarithms, we obtain
The right-hand side above is therefore an upper bound on , which leads to the upper bound on , which gives the desired result. ∎
Finally, here is the proof of Theorem 4.1.
It suffices to establish the regret bound because the risk bound follows immediately from taking the expectation. Let . It follows from Lemmas B.8, B.10, and B.11 that
for some positive constants and that depend only on , , and . ∎
B.3 Bounds for Finitely Many Arms: Proof of Theorem 4.2
Since and are bounded above by by Lemma B.6, we can show that
Let . It follows from Equation (4) and the Sherman-Morrison Formula (see Sherman and Morrison, 1950) that
and therefore, 2R_{t}^{\mathbf{u}}=2\alpha\,\sqrt{\log t}\sqrt{\min\left\{r\log t,\left|\mathcal{U}_{r}\right|\right\}}\left\|\mathbf{u}\right\|_{\mathbf{C}_{t}}\leq\big{(}2\alpha\,\sqrt{\left|\mathcal{U}_{r}\right|\,\log t}\,\big{)}/\sqrt{N^{\mathbf{u}}(\mathbf{z},t)}.
By setting we conclude that whenever . This implies that , and we have that