Batched Gaussian Process Bandit Optimization via Determinantal Point Processes

Tarun Kathuria, Amit Deshpande, Pushmeet Kohli

Introduction

The optimization of an unknown function based on noisy observations is a fundamental problem in various real world domains, e.g., engineering design , finance and hyper-parameter optimization . In recent years, an increasingly popular direction has been to model smoothness assumptions about the function via a Gaussian Process (GP), which provides an easy way to compute the posterior distribution of the unknown function, and thereby uncertainty estimates that help to decide where to evaluate the function next, in search of an optima. This Bayesian optimization (BO) framework has received considerable attention in tuning of hyper-parameters for complex models and algorithms in Machine Learning, Robotics and Computer Vision .

Apart from a few notable exceptions , most methods for Bayesian optimization work by exploring one parameter value at a time. However, in many applications, it may be possible and, moreover, desirable to run multiple function evaluations in parallel. A case in point is when the underlying function corresponds to a laboratory experiment where multiple experimental setups are available or when the underlying function is the result of a costly computer simulation and multiple simulations can be run across different processors in parallel. By parallelizing the experiments, substantially more information can be gathered in the same time-frame; however, future actions must be chosen without the benefit of intermediate results. One might conceptualize these problems as choosing “batches” of experiments to run simultaneously. The key challenge is to assemble batches (out of a combinatorially large set of batches) of experiments that both explore the function and exploit by focusing on regions with high estimated value.

Given that functions sampled from GPs usually have some degree of smoothness, in the so-called batch Bayesian optimization (BBO) methods, it is desirable to choose batches which are diverse. Indeed, this is the motivation behind many popular BBO methods like the BUCB , UCB-PE and Local Penalization . Motivated by this long line of work in BBO, we propose a new approach that employs Determinantal Point Processes (DPPs) to select diverse batches of evaluations. DPPs are probability measures over subsets of a ground set that promote diversity, have applications in statistical physics and random matrix theory , and have efficient sampling algorithms . The two main ways for fixed cardinality subset selection via DPPs are that of choosing the subset which maximizes the determinant [DPP-MAX, Theorem 3.3] and sampling a subset according to the determinantal probability measure [DPP-SAMPLE, Theorem 3.4]. Following UCB-PE , our methods also choose the first point via an acquisition function, and then the rest of the points are selected from a relevance region using a DPP. Since DPPs crucially depend on the choice of the DPP kernel, it is important to choose the right kernel. Our method allows the kernel to change across iterations and automatically compute it based on the observed data. This kernel is intimately linked to the GP kernel used to model the function; it is in fact exactly the posterior kernel function of the GP. The acquisition functions we consider are EST , a recently proposed sequential MAP-estimate based Bayesian optimization algorithm with regret bounds independent of the size of the domain, and UCB . In fact, we show that UCB-PE can be cast into our framework as just being DPP-MAX where the maximization is done via a greedy selection rule.

Given that DPP-MAX is too greedy, it may be desirable to allow for uncertainty in the observations. Thus, we define DPP-SAMPLE which selects the batches via sampling subsets from DPPs, and show that the expected regret is smaller than that of DPP-MAX. To provide a fair comparison with an existing method, BUCB, we also derive regret bounds for B-EST [Theorem 3.2]. Finally, for all methods with known regret bounds, the key quantity is the information gain. In the appendix, we also provide a simpler proof of the information gain for the widely-used RBF kernel which also improves the bound from O((log⁡T)d+1)\mathcal{O}((\log T)^{d+1}) to O((log⁡T)d)\mathcal{O}((\log T)^{d}). We conclude with experiments on synthetic and real-world robotics and hyper-parameter optimization for extreme multi-label classification tasks which demonstrate that our DPP-based methods, especially the sampling based ones are superior or competitive with the existing baselines.

2 Related Work

One of the key tasks involved in black box optimization is of choosing actions that both explore the function and exploit our knowledge about likely high reward regions in the function’s domain. This exploration-exploitation trade-off becomes especially important when the function is expensive to evaluate. This exploration-exploitation trade off naturally leads to modeling this problem in the multi-armed bandit paradigm , where the goal is to maximize cumulative reward by optimally balancing this trade-off. Srinivas et al. analyzed the Gaussian Process Upper Confidence Bound (GP-UCB) algorithm, a simple and intuitive Bayesian method to achieve the first sub-linear regret bounds for Gaussian process bandit optimization. These bounds however grow logarithmically in the size of the (finite) search space.

Recent work by Wang et al. considered an intuitive MAP-estimate based strategy (EST) which involves estimating the maximum value of a function and choosing a point which has maximum probability of achieving this maximum value. They derive regret bounds for this strategy and show that the bounds are actually independent of the size of the search space. The problem setting for both UCB and EST is of optimizing a particular acquisition function. Other popular acquisition functions include expected improvement (EI), probability of improvement over a certain threshold (PI). Along with these, there is also work on Entropy search (ES) and its variant, predictive entropy search (PES) which instead aims at minimizing the uncertainty about the location of the optimum of the function. All the fore-mentioned methods, though, are inherently sequential in nature.

The BUCB and UCB-PE both depend on the crucial observation that the variance of the posterior distribution does not depend on the actual values of the function at the selected points. They exploit this fact by “hallucinating” the function values to be as predicted by the posterior mean. The BUCB algorithm chooses the batch by sequentially selecting the points with the maximum UCB score keeping the mean function the same and only updating the variance. The problem with this naive approach is that it is too “overconfident” of the observations which causes the confidence bounds on the function values to shrink very quickly as we go deeper into the batch. This is fixed by a careful initialization and expanding the confidence bounds which leads to regret bounds which are worse than that of UCB by some multiplicative factor (independent of T and B). The UCB-PE algorithm chooses the first point of the batch via the UCB score and then defines a “relevance region” and selects the remaining points from this region greedily to maximize the information gain, in order to focus on pure exploration (PE). This algorithm does not require any initialization like the BUCB and, in fact, achieves better regret bounds than the BUCB.

Both BUCB and UCB-PE, however, are too greedy in their selection of batches which may be really far from the optimal due to our “immediate overconfidence” of the values. Indeed this is the criticism of these two methods by a recently proposed BBO strategy PPES , which parallelizes predictive entropy search based methods and shows considerable improvements over the BUCB and UCB-PE methods. Another recently proposed method is the Local Penalization (LP) , which assumes that the function is Lipschitz continuous and tries to estimate the Lipschitz constant. Since assumptions of Lipschitz continuity naturally allow one to place bounds on how far the optimum of ff is from a certain location, they work to smoothly reduce the value of the acquisition function in a neighborhood of any point reflecting the belief about the distance of this point to the maxima. However, assumptions of Lipschitzness are too coarse-grained and it is unclear how their method to estimate the Lipschitz constant and modelling of local penalization affects the performance from a theoretical standpoint. Our algorithms, in constrast, are general and do not assume anything about the function other than it being drawn from a Gaussian Process.

Preliminaries

A crucial observation made in BUCB and UCB-PE is that the posterior covariance and variance functions do not depend on the actual function values at the set of points. The EST algorithm in chooses at each timestep tt,the point which has the maximum posterior probability of attaining the maximum value mm, i.e., the arg⁡max⁡x∈XPr(Mx∣m,Dt)\arg\max_{x\in\mathcal{X}}\mathsf{Pr}(M_{x}|m,\mathcal{D}_{t}) where MxM_{x} is the event that point xx achieves the maximum value. This turns out to be equal to \arg\min_{x\in\mathcal{X}}\big{[}(m-\mu_{t}(x))/\sigma_{t}(x)\big{]}. Note that this actually depends on the value of mm which, in most cases, is unknown. get around this by using an approximation m^\hat{m} which, under certain conditions specified in their paper, is an upper bound on mm. They provide two ways to get the estimate m^\hat{m}, namely ESTa and ESTn. We refer the reader to for details of the two estimates and refer to ESTa as EST.

Assuming that the horizon TT is unknown, a strategy has to be good at any iteration. Let rt,br_{t,b} denote the simple regret, the difference between the value of the maxima and the point queried xt,kx_{t,k}, i.e., rt,b=max⁡x∈Xf(x)−f(xt,b)r_{t,b}=\max_{x\in\mathcal{X}}f(x)-f(x_{t,b}). While, UCB-PE aims at minimizing a batched cumulative regret, in this paper we will focus on the standard full cumulative regret defined as RTB=∑t=1T∑b=1Brt,bR_{TB}=\sum_{t=1}^{T}\sum_{b=1}^{B}r_{t,b}. This models the case where all the queries in a batch should have low regret. The key quantity controlling the regret bounds of all known BO algorithms is the maximum mutual information that can be gained about ff from TT measurements : γT=max⁡A⊆X,∣A∣≤TI(yA,fA)=max⁡A⊆X,∣A∣≤T12log⁡det⁡(I+σ−2KA)\gamma_{T}=\max_{A\subseteq\mathcal{X},|A|\leq T}I(y_{A},f_{A})=\max_{A\subseteq\mathcal{X},|A|\leq T}\small{\frac{1}{2}}\normalsize\log\det(I+\sigma^{-2}K_{A}), where KAK_{A} is the (square) submatrix of KK formed by picking the row and column indices corresponding to the set AA. The regret for both the UCB and the EST algorithms are presented in the following theorem which is a combination of Theorem 1 in and Theorem 3.1 in .

Let C=2/log⁡(1+σ−2)C=2/\log(1+\sigma^{-2}) and fix δ>0\delta>0. For UCB, choose βt=2log⁡(∣X∣t2π2/6δ)\beta_{t}=2\log(|\mathcal{X}|t^{2}\pi^{2}/6\delta) and for EST, choose βt=(min⁡x∈Xm^−μt−1(x)σt−1(x))2\beta_{t}=(\min_{x\in\mathcal{X}}\small\frac{\hat{m}-\mu_{t-1}(x)}{\sigma_{t-1}(x)}\normalsize)^{2} and ζt=2log⁡(π2t2/δ)\zeta_{t}=2\log(\pi^{2}t^{2}/\delta). With probability 1−δ1-\delta, the cumulative regret up to any time step TT can be bounded as

2 Determinantal Point Processes

The problem of picking a set of size kk which maximizes the determinant and sampling a set according to the kk-DPP distribution has received considerable attention . The maximization problem in general is NP-hard and furthermore, has a hardness of approximation result of 1/ck1/c^{k} for some c>1c>1. The best known approximation algorithm is by with a factor of 1/ek1/e^{k}, which almost matches the lower bound. Their algorithm however is a complicated and expensive convex program. A simple greedy algorithm on the other hand gives a 1/2klog⁡(k)1/2^{k\log(k)}-approximation. For sampling from kk-DPPs, an exact sampling algorithm exists due to . This, however, does not scale to large datasets. A recently proposed alternative is an MCMC based method by which is much faster.

Main Results

In this section, we present our DPP-based algorithms. For a fair comparison of the various methods, we first prove the regret bounds of the EST version of BUCB, i.e., B-EST. We then show the equivalence between UCB-PE and UCB-DPP maximization along with showing regret bounds for the EST version of PE/DPP-MAX. We then present the DPP sampling (DPP-SAMPLE) based methods for UCB and EST and provide regret bounds. In Appendix 4, while borrowing ideas from , we provide a simpler proof with improved bounds on the maximum information gain for the RBF kernel.

The BUCB has a feedback mapping fbfb which indicates that at any given time tt (just in this case we will mean a total of TBTB timesteps), the iteration upto which the actual function values are available. In the batched setting, this is just ⌊(t−1)/B⌋B\lfloor{(t-1)/B}\rfloor B. The BUCB and B-EST, its EST variant algorithms are presented in Algorithm 1. The algorithm mainly comes from the observation made in that the point chosen by EST is the same as a variant of UCB. This is presented in the following lemma.

(Lemma 2.1 in ) At any timestep tt, the point selected by EST is the same as the point selected by a variant of UCB with βt1/2=min⁡x∈X(m^−μt−1(x))/σt−1(x)\beta_{t}^{1/2}=\min_{x\in\mathcal{X}}(\hat{m}-\mu_{t-1}(x))/\sigma_{t-1}(x).

This will be sufficient to get to B-EST as well by just running BUCB with the βt\beta_{t} as defined in Lemma 3.1 and is also provided in Algorithm 1. In the algorithm, C′C^{\prime} is chosen to be exp(2C)exp(2C), where CC is an upper bound on the maximum conditional mutual information I(f(x);yfb[t]+1:t−1∣y1:fb[t])I(f(x);y_{fb[t]+1:t-1}|y_{1:fb[t]}) (refer to for details). The problem with naively using this algorithm is that the value of C′C^{\prime}, and correspondingly the regret bounds, usually has at least linear growth in BB. This is corrected in by two-stage BUCB which first chooses an initial batch of size TinitT^{init} by greedily choosing points based on the (updated) posterior variances. The values are then obtained and the posterior GP is calculated which is used as the prior GP in Algorithm 1. The C′C^{\prime} value can then be chosen independent of BB. We refer the reader to the Table 1 in for values of C′C^{\prime} and TinitT^{init} for common kernels. Finally, the regret bounds of B-EST are presented in the next theorem.

Choose \alpha_{t}=\big{(}\min_{x\in\mathcal{X}}\small\frac{\hat{m}-\mu_{fb[t]}(x)}{\sigma_{t-1}(x)}\big{)}^{2} and βt=(C′)2αt\beta_{t}=(C^{\prime})^{2}\alpha_{t}, B≥2,δ>0B\geq 2,\delta>0 and the C′C^{\prime} and TinitT^{init} values are chosen according to Table 1 in . At any timestep TT, let RTR_{T} be the cumulative regret of the two-stage initialized B-EST algorithm. Then

2 Equivalence of Pure Exploration (PE) and DPP Maximization

We now present the equivalence between the Pure Exploration and a procedure which involves DPP maximization based on the Greedy algorithm. For the next two sections, by an iteration, we mean all BB points selected in that iteration and thus, μt−1\mu_{t-1} and kt−1k_{t-1} are computed using (t−1)B(t-1)B observations that are available to us. We first describe a generic framework for BBO inspired by UCB-PE : At any iteration, the first point is chosen by selecting the one which maximizes UCB or EST which can be seen as a variant of UCB as per Lemma 3.1. A relevance region Rt+\mathcal{R}_{t}^{+} is defined which contains arg⁡max⁡x∈Xft+1+(x)\arg\max_{x\in\mathcal{X}}f_{t+1}^{+}(x) with high probability. Let yt∙=ft−(xt∙)y_{t}^{\bullet}=f_{t}^{-}(x_{t}^{\bullet}), where xt∙=arg⁡max⁡x∈Xft−(x)x_{t}^{\bullet}=\arg\max_{x\in\mathcal{X}}f_{t}^{-}(x). The relevance region is formally defined as Rt+={x∈X∣μt−1+2βt+1σt−1(x)≥yt∙}\mathcal{R}_{t}^{+}=\{x\in\mathcal{X}|\mu_{t-1}+2\sqrt{\beta_{t+1}}\sigma_{t-1}(x)\geq y_{t}^{\bullet}\}. The intuition for considering this region is that using Rt+\mathcal{R}_{t}^{+} guarantees that the queries at iteration tt will leave an impact on the future choices at iteration t+1t+1. The next B−1B-1 points for the batch are then chosen from Rt+\mathcal{R}_{t}^{+}, according to some rule. In the special case of UCB-PE, the B−1B-1 points are selected greedily from Rt+\mathcal{R}_{t}^{+} by maximizing the (updated) posterior variance, while keeping the mean function the same. Now, at the ttht^{th} iteration, consider the posterior kernel function after xt,1x_{t,1} has been chosen (say kt,1k_{t,1}) and consider the kernel matrix Kt,1=I+σ−2[kt,1(pi,pj)]i,jK_{t,1}=I+\sigma^{-2}[k_{t,1}(p_{i},p_{j})]_{i,j} over the points pi∈Rt+p_{i}\in\mathcal{R}_{t}^{+}. We will consider this as our DPP kernel at iteration tt. Two possible ways of choosing B−1B-1 points via this DPP kernel is to either choose the subset of size B−1B-1 of maximum determinant (DPP-MAX) or sample a set from a (B−1)(B-1)-DPP using this kernel (DPP-SAMPLE). In this subsection, we focus on the maximization problem. The proof of the regret bounds of UCB-PE go through a few steps but in one of the intermediate steps (Lemma 5 of ), it is shown that the sum of regrets over a batch at an iteration tt is upper bounded as

where C2=σ−2/log⁡(1+σ−2)C_{2}=\sigma^{-2}/\log(1+\sigma^{-2}). From the final log-product term, it can be seen (from Schur’s determinant identity and the definition of σt,b(xt,b)\sigma_{t,b}(x_{t,b})) that the product of the last B−1B-1 terms is exactly the B−1B-1 principal minor of Kt,1K_{t,1} formed by the indices corresponding to S={xt,b}b=2BS=\{x_{t,b}\}_{b=2}^{B}. Thus, it is straightforward to see that the UCB-PE algorithm is really just (B−1)(B-1)-DPP maximization via the greedy algorithm. This connection will also be useful in the next subsection for DPP-SAMPLE. Thus, \sum_{b=1}^{B}r_{t,b}\leq C_{2}\sigma^{2}\bigg{[}\log(1+\sigma^{-2}\sigma_{t,1}(x_{t,1}))+\log\det((K_{t,1})_{S})\bigg{]}. Finally, for EST-PE, the proof proceeds like in the B-EST case by realising that EST is just UCB with an adaptive βt\beta_{t}. The final algorithm (along with its sampling counterpart; details in the next subsection) is presented in Algorithm 2. The procedure kDPPMaxGreedy(K,k)(K,k) picks a principal submatrix of KK of size kk by the greedy algorithm.

Finally, we have the theorem for the regret bounds for (UCB/EST)-DPP-MAX.

At iteration tt, let βt=2log⁡(∣X∣π2t2/6δ)\beta_{t}=2\log(|\mathcal{X}|\pi^{2}t^{2}/6\delta) for UCB, βt=(min⁡m^−μt−1(x)σt−1(x))2\beta_{t}=(\min\frac{\hat{m}-\mu_{t-1}(x)}{\sigma_{t-1}(x)})^{2} and ζt=2log⁡(π2t2/3δ)\zeta_{t}=2\log(\pi^{2}t^{2}/3\delta) for EST, C1=36/log⁡(1+σ−2)C_{1}=36/\log(1+\sigma^{-2}) and fix δ>0\delta>0, then, with probability ≥1−δ\geq 1-\delta the full cumulative regret RTBR_{TB} incurred by UCB-DPP-MAX is RTB≤C1TBβTγTB}R_{TB}\leq\sqrt{C_{1}TB\beta_{T}\gamma_{TB}}\} and that for EST-DPP-MAX is RTB≤C1TBγTB(βt∗1/2+ζT1/2)R_{TB}\leq\sqrt{C_{1}TB\gamma_{TB}}(\beta^{1/2}_{t^{*}}+\zeta_{T}^{1/2}).

The proof is provided in Appendix 2. It should be noted that the term inside the logarithm in ζt\zeta_{t} has been multiplied by 2 as compared to the sequential EST, which has a union bound over just one point, xtx_{t}. This happens because we will need a union bound over not just xt,bx_{t,b} but also xt∙x_{t}^{\bullet}. ∎

3 Batch Bayesian Optimization via DPP Sampling

In the previous subsection, we looked at the regret bounds achieved by DPP maximization. One natural question to ask is whether the other subset selection method via DPPs, namely DPP sampling, gives us equivalent or better regret bounds. Note that in this case, the regret would have to be defined as expected regret. The reason to believe this is well-founded as indeed sampling from kk-DPPs results in better results, in both theory and practice, for low-rank matrix approximation and exemplar-selection for Nystrom methods . Keeping in line with the framework described in the previous subsection, the subset to be selected has to be of size B−1B-1 and the kernel should be Kt,1K_{t,1} at any iteration tt. Instead of maximizing, we can choose to sample from a (B−1)(B-1)-DPP. The algorithm is described in Algorithm 2. The kDPPSample(K,k)\mathsf{kDPPSample(K,k)} procedure denotes sampling a set from the kk-DPP distribution with kernel KK. The question then to ask is what is the expected regret of this procedure. In this subsection, we show that the expected regret bounds of DPP-SAMPLE are less than the regret bounds of DPP-MAX and give a quantitative bound on this regret based on entropy of DPPs. By entropy of a kk-DPP with kernel KK, H(k−\mboxDPP(K))H(k-\mbox{DPP}(K)), we simply mean the standard definition of entropy for a discrete distribution. Note that the entropy is always non-negative in this case. Please see Appendix 3 for details. For brevity, since we always choose B−1B-1 elements from the DPP, we denote H(DPP(K))H(DPP(K)) to be the entropy of (B−1)(B-1)-DPP for kernel KK.

The regret bounds of DPP-SAMPLE are less than that of DPP-MAX. Furthermore, at iteration tt, let βt=2log⁡(∣X∣π2t2/6δ)\beta_{t}=2\log(|\mathcal{X}|\pi^{2}t^{2}/6\delta) for UCB, βt=(min⁡m^−μt−1(x)σt−1(x))2\beta_{t}=(\min\frac{\hat{m}-\mu_{t-1}(x)}{\sigma_{t-1}(x)})^{2} and ζt=2log⁡(π2t2/3δ)\zeta_{t}=2\log(\pi^{2}t^{2}/3\delta) for EST, C1=36/log⁡(1+σ−2)C_{1}=36/\log(1+\sigma^{-2}) and fix δ>0\delta>0, then the expected full cumulative regret of UCB-DPP-SAMPLE satisfies

Note that the regret bounds for both DPP-MAX and DPP-SAMPLE are better than BUCB/B-EST due to the latter having both an additional factor of BB in the log⁡\log term and a regret multiplier constant C′C^{\prime}. In fact, for the RBF kernel, C′C^{\prime} grows like edde^{d^{d}} which is quite large for even moderate values of dd.

Experiments

In this section, we study the performance of the DPP-based algorithms, especially DPP-SAMPLE against some existing baselines. In particular, the methods we consider are BUCB , B-EST, UCB-PE/UCB-DPP-MAX , EST-PE/EST-DPP-MAX, UCB-DPP-SAMPLE, EST-DPP-SAMPLE and UCB with local penalization (LP-UCB) . We used the publicly available code for BUCB and PEhttp://econtal.perso.math.cnrs.fr/software/. The code was modified to include the code for the EST counterparts using code for EST https://github.com/zi-w/EST. For LP-UCB, we use the publicly available GPyOpt codebase http://sheffieldml.github.io/GPyOpt/ and implemented the MCMC algorithm by for kk-DPP sampling with ϵ=0.01\epsilon=0.01 as the variation distance error. We were unable to compare against PPES as the code was not publicly available. Furthermore, as shown in the experiments in , PPES is very slow and does not scale beyond batch sizes of 4-5. Since UCB-PE almost always performs better than the simulation matching algorithm of in all experiments that we could find in previous papers , we forego a comparison against simulation matching as well to avoid clutter in the graphs. The performance is measured after tt batch evaluations using immediate regret, rt=∣f(x~t)−f(x∗)∣r_{t}=|f(\widetilde{x}_{t})-f(x^{*})|, where x∗x^{*} is a known optimizer of ff and x~t\widetilde{x}_{t} is the recommendation of an algorithm after tt batch evaluations. We perform 50 experiments for each objective function and report the median of the immediate regret obtained for each algorithm. To maintain consistency, the first point of all methods is chosen to be the same (random). The mean function of the prior GP was the zero function while the kernel function was the squared-exponential kernel of the form k(x,y)=γ2exp⁡[−0.5∑d(xd−yd2)/ld2]k(x,y)=\gamma^{2}\exp[-0.5\sum_{d}(x_{d}-y_{d}^{2})/l_{d}^{2}]. The hyper-parameter λ\lambda was picked from a broad Gaussian hyperprior and the the other hyper-parameters were chosen from uninformative Gamma priors.

Our first set of experiments is on a set of synthetic benchmark objective functions including Branin-Hoo , a mixture of cosines and the Hartmann-6 function . We choose batches of size 5 and 10. Due to lack of space, the results for mixture of cosines are provided in Appendix 5 while the results of the other two are shown in Figure 1. The results suggest that the DPP-SAMPLE based methods perform superior to the other methods. They do much better than their DPP-MAX and Batched counterparts. The trends displayed with regards to LP are more interesting. For the Branin-Hoo, LP-UCB starts out worse than the DPP based algorithms but takes over DPP-MAX relatively quickly and approaches the performance of DPP-SAMPLE when the batch size is 5. When the batch size is 10, the performance of LP-UCB does not improve much but both DPP-MAX and DPP-SAMPLE perform better. For Hartmann, LP-UCB outperforms both DPP-MAX algorithms by a considerable margin. The DPP-SAMPLE based methods perform better than LP-UCB. The gap, however, is more for the batch size of 10. Again, the performance of LP-UCB changes much lesser compared to the performance gain of the DPP-based algorithms. This is likely because the batches chosen by the DPP-based methods are more “globally diverse” for larger batch sizes. The superior performance of the sampling based methods can be attributed to allowing for uncertainty in the observations by sampling as opposed to greedily emphasizing on maximizing information gain.

We now consider maximization of real-world objective functions. The first function we consider, robot, returns the walking speed of a bipedal robot . The function’s input parameters, which live in 8^{8}, are the robot’s controller. We add Gaussian noise with σ=0.1\sigma=0.1 to the noiseless function. The second function, AbaloneThe Abalone dataset is provided by the UCI Machine Learning Repository at http://archive.ics.uci.edu/ml/datasets/Abalone is a test function used in . The challenge of the dataset is to predict the age of a species of sea snails from physical measurements. Similar to , we will use it as a maximization problem. Our final experiment is on hyper-parameter tuning for extreme multi-label learning. In extreme classification, one needs to deal with multi-class and multi-label problems involving a very large number of categories. Due to the prohibitively large number of categories, running traditional machine learning algorithms is not feasible. A recent popular approach for extreme classification is the FastXML algorithm . The main advantage of FastXML is that it maintains high accuracy while training in a fraction of the time compared to the previous state-of-the-art. The FastXML algorithm has 5 parameters and the performance depends on these hyper-parameters, to a reasonable amount. Our task is to perform hyper-parameter optimization on these 5 hyper-parameters with the aim to maximize the Precision@k for k=1k=1, which is the metric used in to evaluate the performance of FastXML compared to other algorithms as well. While the authors of run extensive tests on a variety of datasets, we focus on two small datasets : Bibtex and Delicious. As before, we use batch sizes of 5 and 10. The results for Abalone and the FastXML experiment on Delicious are provided in the appendix. The results for Prec@1 for FastXML on the Bibtex dataset and for the robot experiment are provided in Figure 2. The blue horizontal line for the FastXML results indicates the maximum Prec@k value found using grid search.

The results for robot indicate that while DPP-MAX does better than their Batched counterparts, the difference in the performance between DPP-MAX and DPP-SAMPLE is much less pronounced for a small batch size of 5 but is considerable for batch sizes of 10. This is in line with our intuition about sampling being more beneficial for larger batch sizes. The performance of LP-UCB is quite close and slightly better than UCB-DPP-SAMPLE. This might be because the underlying function is well-behaved (Lipschitz continuous) and thus, the estimate for the Lipschitz constant might be better which helps them get better results. This improvement is more pronounced for batch size of 10 as well. For Abalone (see Appendix 5), LP does better than DPP-MAX but there is a reasonable gap between DPP-SAMPLE and LP which is more pronounced for B=10B=10.

The results for Prec@1 for the Bibtex dataset for FastXML are more interesting. Both DPP based methods are much better than their Batched counterparts. For B=5B=5, DPP-SAMPLE is only slightly better than DPP-MAX. LP-UCB starts out worse than DPP-MAX but starts doing comparable to DPP-MAX after a few iterations. For B=10B=10, there is not a large improvement in the gap between DPP-MAX and DPP-SAMPLE. LP-UCB however, quickly takes over UCB-DPP-MAX and comes quite close to the performance of DPP-SAMPLE after a few iterations. For the Delicious dataset (see Appendix 5), we see a similar trend of the improvement of sampling to be larger for larger batch sizes. LP-UCB displays an interesting trend in this experiment by doing much better than UCB-DPP-MAX for B=5B=5 and is in fact quite close to the performance of DPP-SAMPLE. However, for B=10B=10, its performance is much closer to UCB-DPP-MAX. DPP-SAMPLE loses out to LP-UCB only on the robot dataset and does better for all the other datasets. Furthermore, this improvement seems more pronounced for larger batch sizes. We leave experiments with other kernels and a more thorough experimental evaluation with respect to batch sizes for future work.

Conclusion

We have proposed a new method for batched Gaussian Process bandit (batch Bayesian) optimization based on DPPs which are desirable in this case as they promote diversity in batches. The DPP kernel is automatically figured out on the fly which allows us to show regret bounds for DPP maximization and sampling based methods for this problem. We show that this framework exactly recovers a popular algorithm for BBO, namely the UCB-PE when we consider DPP maximization using the greedy algorithm. We showed that the regret for the sampling based method is always less than the maximization based method. We also derived their EST counterparts and also provided a simpler proof of the information gain for RBF kernels which leads to a slight improvement in the best bound known. Our experiments on a variety of synthetic and real-world tasks validate our theoretical claims that sampling performs better than maximization and other methods.

References

APPENDIX

The proofs for B-EST are relatively straightforward which follow from combining the proofs of and . We provide them here for completeness. We first need a series of supporting lemmas which are variants of the lemmas of UCB for EST. These require different bounds than the ones for BUCB.

(Lemma 3.2 in ) Pick δ∈(0,1)\delta\in(0,1) and set ζt=2log⁡(π2t2/6δ)\zeta_{t}=2\log(\pi^{2}t^{2}/6\delta). Then, for an arbitrary sequence of actions x1,x2,…∈Xx_{1},x_{2},\ldots\in\mathcal{X},

For EST, \alpha_{t}=\big{(}\frac{m-\mu_{t-1}(x)}{\sigma_{t-1}(x)}\big{)}^{2}. Implicit in this definition of the decision rule is the corresponding confidence interval for each x∈Xx\in\mathcal{X},

where this confidence interval’s upper confidence bound is the value of the argument of the decision rule. Furthermore, the width of any confidence interval is the difference between the uppermost and the lowermost limits, here w=2αt1/2σt−1(x)w=2\alpha_{t}^{1/2}\sigma_{t-1}(x). In the case of BUCB/B-EST, the batched confidence rules are of the form,

(Similar to Lemma 12 in ) If f(xt)∈Ctbatch(xt)∀t≥1f(x_{t})\in C_{t}^{batch}(x_{t})\forall t\geq 1 and given that actions are selected using EST, it holds that,

The proof of Lemma 12 in just uses the fact that the sequential regret bounds of UCB are 2βt1/2σt(xt)2\beta^{1/2}_{t}\sigma_{t}(x_{t}). We follow their same proof but use the EST sequential bounds to get the desired result. ∎

(of Theorem 3.2 in the main paper) The proof is similar to Theorem 5 in . The sum of the regrets over the T timesteps is split over the first TinitT^{init} timesteps and the remaining timesteps. The former term ∑t=1Tinitm−f(xt)≤2Tinit∥f∥∞\sum_{t=1}^{T^{init}}m-f(x_{t})\leq 2T^{init}\|f\|_{\infty}. The latter term is treated as simple BUCB and from Lemma 6.2, we get RTinit+1:T≤(T−Tinit)C1γ(T−Tinit)(ζT1/2+αt∗1/2)≤TC1γT(ζT1/2+αt∗1/2)R_{T^{init}+1:T}\leq\sqrt{(T-T^{init})C_{1}\gamma_{(T-T^{init})}}(\zeta_{T}^{1/2}+\alpha^{1/2}_{t^{*}})\leq\sqrt{TC_{1}\gamma_{T}}(\zeta_{T}^{1/2}+\alpha^{1/2}_{t^{*}}) as γT\gamma_{T} is a non-decreasing function. Combining the two terms gives us the desired result. ∎

2 Batch Bayesian Optimization via DPP-Maximization

In this section, we present the proof of the regret bounds for BBO via DPP-MAX. Since the GP-UCB-DPP-MAX is the same as GP-UCB-PE, we focus on GP-EST-DPP-MAX. We first restate the EST part of Theorem 3.3. Firstly, none of our proofs will depend on the order in which the batch was constructed but for sake of clarity of exposition, whenever needed, we can consider any arbitrary ordering of the B−1B-1 points chosen by maximizing a (B−1)(B-1)-DPP or sampling from it.

At iteration tt, fix δ>0\delta>0 and let \beta_{t}=\big{[}\min\limits_{x\in\mathcal{X}}\frac{m-\mu_{t-1}(x)}{\sigma_{t-1}(x)}\big{]}, ζt=2log⁡(π2t2/3δ)\zeta_{t}=2\log(\pi^{2}t^{2}/3\delta) and C1=36/log⁡(1+σ−2)C_{1}=36/\log(1+\sigma^{-2}). Then, with probability ≥1−δ\geq 1-\delta, the full cumulative regret incurred by EST-DPP-MAX is Rt≤C1TBγTB(βt∗1/2+ζTB1/2)R_{t}\leq\sqrt{C_{1}TB\gamma_{TB}}(\beta_{t^{*}}^{1/2}+\zeta^{1/2}_{TB}).

Notice that the logarithm term for ζt\zeta_{t} in the above theorem is twice that of the one in Lemma 6.1. This happens by considering the same proof as that for Lemma 6.1 but taking a union bound over xt∙x_{t}^{\bullet} along with xtx_{t}. We first prove some required lemmas.

The deviation of the first point, selected by either UCB or EST, is bounded by the deviation of any point selected by the DPP-MAX or DPP-SAMPLE in the previous iteration with high probability, i.e.,

The proof does not depend on the actual policy (UCB/EST) used for the first point of the batch or whether it was DPP-MAX or DPP-SAMPLE (consider an arbitary ordering of points chosen in either case). By the definition of xt+1,1x_{t+1,1}, we have ft+1+(xt+1,1)≥ft+1+(xt∙)f^{+}_{t+1}(x_{t+1,1})\geq f^{+}_{t+1}(x_{t}^{\bullet}). Also, from Lemma 6.1, we have ft+1+(xt∙)≥ft−(xt∙)f^{+}_{t+1}(x_{t}^{\bullet})\geq f^{-}_{t}(x_{t}^{\bullet}). This is different than Lemma 2 in as it now only holds for xt∙x_{t}^{\bullet} rather than all x∈Xx\in\mathcal{X}. Thus, with high probability, ft+1+(xt+1,1)≥yt∙f^{+}_{t+1}(x_{t+1,1})\geq y_{t}^{\bullet} and thus, xt+1,1∈Rt+x_{t+1,1}\in\mathcal{R}_{t}^{+}. Now, from the definition of xt,bx_{t,b}, we have σt−1,b(xt+1,1)≤σt−1,b(xt,b)\sigma_{t-1,b}(x_{t+1,1})\leq\sigma_{t-1,b}(x_{t,b}) w.h.p. Using the “Information never hurts” principle , we know that the entropy of f(x)f(x) for all locations xx can only decrease after observing a point xt,kx_{t,k}. For GPs, the entropy is also a non-decreasing function of the variance and thus, we have, σt,1(xt+1,1)≤σt−1,b(xt,b)\sigma_{t,1}(x_{t+1,1})\leq\sigma_{t-1,b}(x_{t,b}) and we are done. ∎

(Lemma 3 in ) The sum of deviations of the points selected by the UCB/EST policy is bounded by the sum of deviations over all the selected points divided by B. Formally, with high probability,

The proof is the same as that of Lemma 3 in but we provide it here for completeness. Using Lemma 6.4 and the definitions of xt,bx_{t,b}, we have σt,1(xt+1,1)≤σt−1,b\sigma_{t,1}(x_{t+1,1})\leq\sigma_{t-1,b} for all b≥2b\geq 2. Summing over all bb, we get for all t≥1,σt−1,1(xt,1)+(B−1)σt,1(xt+1,1)≤∑b=1Bσt−1,b(xt,b)t\geq 1,\sigma_{t-1,1}(x_{t,1})+(B-1)\sigma_{t,1}(x_{t+1,1})\leq\sum_{b=1}^{B}\sigma_{t-1,b}(x_{t,b}). Now, summing over tt, we get the desired result. ∎

(of Theorem 6.3) Clearly, the proof of Lemma 6.1 holds even for the last B−1B-1 points selected in a batch. However, t∗t^{*} only goes over the the TT iterations rather than TBTB evaluations. Thus, the cumulative regret is of the form

3 Batch Bayesian Optimization via DPP sampling

In this section, we prove the expected regret bounds obtained by DPP-SAMPLE (Theorem 3.4 of the main paper)

For the points chosen by (UCB/EST)-DPP-SAMPLE, the inequality,

Clearly, Lemma 6.5 holds in this case as well. Furthermore, it is easy to see that the inequality obtained by replacing every term in every summation by its square in Lemma 6.5 is also true by a similar proof. Thus, we have

Define ηt1/2={2βt1/2\mboxforUCB(βt∗1/2+ζt1/2)\mboxforEST\eta^{1/2}_{t}=\begin{cases}2\beta^{1/2}_{t}&\mbox{ for UCB}\\ (\beta^{1/2}_{t^{*}}+\zeta^{1/2}_{t})&\mbox{ for EST}\end{cases}.

(of Theorem 3.4 in the main paper) The expectation here is taken over the last B−1B-1 points in each iteration being drawn from the (B−1)(B-1)-DPP with the posterior kernel at the ttht^{th} iteration. Using linearity of expectation, we get

It is easy to see by Schur’s identity and the definition of σt−1,b\sigma_{t-1,b} that the term inside the expectation is just log⁡det⁡((Kt,1)S)\log\det((K_{t,1})_{S}), where SS is the set of B−1B-1 points chosen in the ttht^{th} iteration by DPP sampling with kernel Kt,1K_{t,1}. Let L=B−1L=B-1. Thus,

Firstly, since the expectation is less than the maximum and B/(B−1)≤2B/(B-1)\leq 2, we get that the expected regret has the same bound as the regret bounds for DPP-MAX. This bound is however, loose. We get a bound below which may be worse but that is due to a loose analysis on our part and we can just choose the minimum of below and the DPP-MAX regret bounds. Expanding the expectation, we get

Plugging this into the summation and observing that the summation over last term is less than C1′γTBC^{\prime}_{1}\gamma_{TB}, we get the desired result. ∎

4 Bounds on Information Gain for RBF kernels

The maximum information gain for the RBF kernel after S timesteps is O((log⁡∣S∣)d)\mathcal{O}\left(\left(\log\left|S\right|\right)^{d}\right)

where KS=(k(x,x′))x,x′∈SK_{S}=\left(k(x,x^{\prime})\right)_{x,x^{\prime}\in S}. It is easy to see that

Seeger et al. showed that for a Gaussian RBF kernel in dd dimensions, λt(K)≤cBt1/d\lambda_{t}(K)\leq cB^{t^{1/d}}, with B<1B<1. Let T=(log⁡1/B∣S∣)d≪∣S∣T=\left(\log_{1/B}\left|S\right|\right)^{d}\ll\left|S\right|. Then for t>Tt>T, we have λt≤c/T\lambda_{t}\leq c/T, and for t≤Tt\leq T, we have λt≤c\lambda_{t}\leq c. Therefore,

Thus, the maximum information gain for SS is upper bounded by O((log⁡∣S∣)d)\mathcal{O}\left(\left(\log\left|S\right|\right)^{d}\right). ∎

5 Experiments

5.2 Real-World Experiments

We first provide the results for the Abalone experiment and then provide the Prec@1 values for the FastXML experiment on the Delicious experiment.