High Dimensional Bayesian Optimisation and Bandits via Additive Models

Kirthevasan Kandasamy, Jeff Schneider, Barnabas Poczos

Introduction

In many applications we are tasked with zeroth order optimisation of an expensive to evaluate function ff in DD dimensions. Some examples are hyper parameter tuning in expensive machine learning algorithms, experiment design, optimising control strategies in complex systems, and scientific simulation based studies. In such applications, ff is a blackbox which we can interact with only by querying for the value at a specific point. Related to optimisation is the bandits problem arising in applications such as online advertising and reinforcement learning. Here the objective is to maximise the cumulative sum of all queries. In either case, we need to find the optimum of ff using as few queries as possible by managing exploration and exploitation.

Bayesian Optimisation (Mockus & Mockus 1991) refers to a suite of methods that tackle this problem by modeling ff as a Gaussian Process (GP). In such methods, the challenge is two fold. At time step tt, first estimate the unknown ff from the query value-pairs. Then use it to intelligently query at xt{{\bf x}_{t}} where the function is likely to be high. For this, we first use the posterior GP to construct an acquisition function φt\varphi_{t} which captures the value of the experiment at a point. Then we maximise φt\varphi_{t} to determine xt{{\bf x}_{t}}.

Gaussian process bandits and Bayesian optimisation (GPB/ BO) have been successfully applied in many applications such as tuning hyperparameters in learning algorithms (Snoek et al. 2012; Bergstra et al. 2011; Mahendran et al. 2012), robotics (Lizotte et al. 2007; Martinez-Cantin et al. 2007) and object tracking (Denil et al. 2012). However, all such successes have been in low (typically <10<10) dimensions (Wang et al. 2013). Expensive high dimensional functions occur in several problems in fields such as computer vision (Yamins et al. 2013), antenna design (Hornby et al. 2006), computational astrophysics (Parkinson et al. 2006) and biology (Gonzalez et al. 2014). Scaling GPB/ BO methods to high dimensions for practical problems has been challenging. Even current theoretical results suggest that GPB/ BO is exponentially difficult in high dimensions without further assumptions (Srinivas et al. 2010; Bull 2011). To our knowledge, the only approach to date has been to perform regular GPB/ BO on a low dimensional subspace. This works only under strong assumptions.

We identify two key challenges in scaling GPB/ BO to high dimensions. The first is the statistical challenge in estimating the function. Nonparametric regression is inherently difficult in high dimensions with known lower bounds depending exponentially in dimension (Györfi et al. 2002). The often exponential sample complexity for regression is invariably reflected in the regret bounds for GPB/ BO. The second is the computational challenge in maximising φt\varphi_{t}. Commonly used global optimisation heuristics used to maximise φt\varphi_{t} themselves require computation exponential in dimension. Any attempt to scale GPB/ BO to high dimensions must effectively address these two concerns.

In this work, we embark on this challenge by treating ff as an additive function of mutually exclusive lower dimensional components. Our contributions in this work are:

We present the Add-GP-UCB algorithm for optimisation and bandits of an additive function. An attractive property is that we use an acquisition function which is easy to optimise in high dimensions.

In our theoretical analysis we bound the regret for Add-GP-UCB. We show that it has only linear dependence on the dimension DD when ff is additive Post-publication it was pointed out to us that there was a bug in our analysis. We are working on resolving it and will post an update shortly. See Section 6 for more details. .

Empirically we demonstrate that Add-GP-UCB outperforms naive BO on synthetic experiments, an astrophysical simulator and the Viola and Jones face detection problem. Furthermore Add-GP-UCB does well on several examples when the function is not additive.

A Matlab implementation of our methods is available online at github.com/kirthevasank/add-gp-bandits.

Related Work

GPB/ BO methods follow a family of GP based active learning methods which select the next experiment based on the posterior (osborne12alBayesianQuadrature; ma15pointillistic; kandasamy15activePostEst). In the GPB/ BO setting, common acquisition functions include Expected improvement (Mockus 1994), probability of improvement (Jones et al. 1998), Thompson sampling (Thompson 1933) and upper confidence bound (Auer 2003). Of particular interest to us, is the Gaussian process upper confidence bound (GP-UCB). It was first proposed and analysed in the noisy setting by Srinivas et al. 2010 and extended to the noiseless case by de Freitas et al. 2012. Some literature studies variants, such as combining several acquisition functions (Hoffman et al. 2011) and querying in batches (Azimi et al. 2010).

To our knowledge, most literature for GPB/ BO in high dimensions are in the setting where the function varies only along a very low dimensional subspace (Chen et al. 2012; Wang et al. 2013; Djolonga et al. 2013). In these works, the authors do not encounter either challenge as they perform GPB/ BO in either a random or carefully selected lower dimensional subspace. However, assuming that the problem is an easy (low dimensional) one hiding in a high dimensional space is often too restrictive. Indeed, our experimental results confirm that such methods perform poorly on real applications when the assumptions are not met. While our additive assumption is strong in its own right, it is considerably more expressive. It is more general than the setting in Chen et al. 2012. Even though it does not contain the settings in Djolonga et al. 2013; Wang et al. 2013, unlike them, we still allow the function to vary along the entire domain.

Using an additive structure is standard in high dimensional regression literature both in the GP framework and otherwise. Hastie & Tibshirani 1990; Ravikumar et al. 2009 treat the function as a sum of one dimensional components. Our additive framework is more general. Duvenaud et al. 2011 assume a sum of functions of all combinations of lower dimensional coordinates. These literature argue that using an additive model has several advantages even if ff is not additive. It is a well understood notion in statistics that when we only have a few samples, using a simpler model to fit our data may give us a better trade off for estimation error against approximation error. This observation is crucial: in many applications for Bayesian optimisation we are forced to work in the low sample regime since calls to the blackbox are expensive. Though the additive assumption is biased for nonadditive functions, it enables us to do well with only a few samples. While we have developed theoretical results only for additive ff, empirically we show that our additive model outperforms naive GPB/ BO even when the underlying function is not additive.

Analyses of GPB/ BO methods focus on the query complexity of ff which is the dominating cost in relevant applications. It is usually assumed that φt\varphi_{t} can be maximised to arbitrary precision at negligible cost. Common techniques to maximise φt\varphi_{t} include grid search, Monte Carlo and multistart methods (Brochu et al. 2010). In our work we use the Dividing Rectangles (DiRect) algorithm of Jones et al. 1993. While these methods are efficient in low dimensions they require exponential computation in high dimensions. It is widely acknowledged in the community that this is a critical bottleneck in scaling GPB/ BO to high dimensions (de Freitas 2014). While we still work in the paradigm where evaluating ff is expensive and characterise our theoretical results in terms of query complexity, we believe that assuming arbitrary computational power to optimise φt\varphi_{t} is too restrictive. For instance, in hyperparameter tuning the budget for determining the next experiment is dictated by the cost of the learning algorithm. In online advertising and robotic reinforcement learning we need to act in under a few seconds or real time.

In this manuscript, Section 3 formally details our problem and assumptions. We present Add-GP-UCB in Section 4 and our theoretical results in Section 4.3. All proofs are deferred to Appendix B. We summarize the regrets for Add-GP-UCB and GP-UCB in Table 1. In Section C we present the experiments.

Problem Statement & Set up

Key structural assumption: In order to make progress in high dimensions, we will assume that ff decomposes into the following additive form,

Here Γ,Bν\Gamma,B_{\nu} are the Gamma and modified Bessel functions. A principal convenience in modelling our problem via a GP is that posterior distributions are analytically tractable.

Let ff be defined as in Equation (1), where f(j)∼GP(μ(j)(x),κ(j)(x(i),x(j)′))f^{(j)}\sim\mathcal{G}\mathcal{P}(\mu^{(j)}(x),\kappa^{(j)}(x^{(i)},{x^{(j)}}^{\prime})). Let y=f(x)+ϵy=f(x)+\epsilon where ϵ ∼N(0,η2)\epsilon~\sim\mathcal{N}(0,\eta^{2}). Denote δ(x,x′)=1 if x=x′, and 0 otherwise\delta(x,x^{\prime})=1\text{ if }x=x^{\prime},\text{ and }0\text{ otherwise}. Then y∼GP(μ(x),κ(x,x′)+η2δ(x,x′))y\sim\mathcal{G}\mathcal{P}(\mu(x),\kappa(x,x^{\prime})+\eta^{2}\delta(x,x^{\prime})) where

We will call a kernel such as κ(j)\kappa^{(j)} which acts only on dd variables a dthd^{th} order kernel. A kernel which acts on all the variables is a DthD^{th} order kernel. Our kernel for ff is a sum of MM at most dthd^{th} order kernels which, we will show, is statistically simpler than a DthD^{th} order kernel.

We conclude this section by looking at some seemingly straightforward approaches to tackle the problem. The first natural question is of course why not directly run GP-UCB using the additive kernel? Since it is simpler than a DDth{}^{\textrm{th}} order kernel we can expect statistical gains. While this is true, it still requires optimising φt\varphi_{t} in DD dimensions to determine the next point which is expensive.

Alternatively, for an additive function, we could adopt a sequential approach where we use 1/M1/M fraction of our query budget to maximise the first group by keeping the rest of the coordinates constant. Then we proceed to the second group and so on. While optimising a dd dimensional acquisition function is easy, this approach is not desirable for several reasons. First, it will not be an anytime algorithm as we will have to pre-allocate our query budget to maximise each group. Once we proceed to a new group we cannot come back and optimise an older one. Second, such an approach places too much faith in the additive assumption. We will only have explored MM dd-dimensional hyperplanes in the entire space. Third, it is not suitable as a bandit algorithm as we suffer high regret until we get to the last group. We further elaborate on the deficiencies of this and other sequential approaches in Appendix A.2.

Algorithm

Under an additive assumption, our algorithm has two components. First, we obtain the posterior GP for each f(j)f^{(j)} using the query-value pairs until time tt. Then we maximise a dd dimensional GP-UCB-like acquisition function on each GP to construct the next query point. Since optimising φt\varphi_{t} depends exponentially in dimension, this is cheaper than optimising one acquisition on the combined GP.

Typically in GPs, given noisy labels, Y={y1,…,yn}Y=\{y_{1},\dots,y_{n}\} at points X={x1,…,xn}X=\{x_{1},\dots,x_{n}\}, we are interested in inferring the posterior distribution for f∗=f(x∗)f_{*}=f(x_{*}) at a new point x∗x_{*}. In our case though, we will be primarily interested in the distribution of f∗(j)=f(j)(x∗(j))f^{(j)}_{*}=f^{(j)}(x^{(j)}_{*}) conditioned on X,YX,Y. We have illustrated this graphically in Figure 1. The joint distribution of f∗(j)f^{(j)}_{*} and YY can be written as

2 The Add-GP-UCB Algorithm

Intuitively, the μt−1\mu_{t-1} term in the GP-UCB objective prefers points where ff is known to be high, the σt−1\sigma_{t-1} term prefers points where we are uncertain about ff and βt1/2\beta_{t}^{1/2} negotiates the tradeoff. The former contributes to the “exploitation” facet of our problem, in that we wish to have low instantaneous regret. The latter contributes to the “exploration” facet since we also wish to query at regions we do not know much about ff lest we miss out on regions where ff is high. We provide a brief summary of GP-UCB and its theoretical properties in Appendix A.1.

As we have noted before, maximising φt\varphi_{t} which is typically multimodal to obtain xt{{\bf x}_{t}} is itself a difficult problem. In any grid search or branch and bound methods such as DiRect, maximising a function to within ζ\zeta accuracy, requires O(ζ−D)\mathcal{O}(\zeta^{-D}) calls to φt\varphi_{t}. Therefore, for large DD maximising φt\varphi_{t} is extremely difficult. In practical settings, especially in situations where we are computationally constrained, this poses serious limitations for GPB/ BO as we may not be able to optimise φt\varphi_{t} to within a desired accuracy.

Fortunately, in our setting we can be more efficient. We propose an alternative acquisition function which applies to an additive kernel. We define the Additive Gaussian Process Upper Confidence Bound (Add-GP-UCB) to be

We immediately see that we can write φ~t\widetilde{\varphi}_{t} as a sum of functions on orthogonal domains: φ~t(x)=∑jφ~t(j)(x(j))\widetilde{\varphi}_{t}(x)=\sum_{j}\widetilde{\varphi}_{t}^{(j)}(x^{(j)}) where φ~t(j)(x(j))=μt−1(j)(x(j))+βt1/2σt−1(j)(x(j))\widetilde{\varphi}_{t}^{(j)}(x^{(j)})=\mu^{(j)}_{t-1}(x^{(j)})+\beta_{t}^{1/2}\sigma^{(j)}_{t-1}(x^{(j)}). This means that φ~t\widetilde{\varphi}_{t} can be maximised by maximising each φ~t(j)\widetilde{\varphi}_{t}^{(j)} separately on X(j)\mathcal{X}^{(j)}. As we need to solve MM at most dd dimensional optimisation problems, it requires only O(Md+1ζ−d)\mathcal{O}(M^{d+1}\zeta^{-d}) calls to the utility function in total – far more favourable than maximising φt\varphi_{t}.

Since the cost for maximising the acquisition function is a key theme in this paper let us delve into this a bit more. One call to φt\varphi_{t} requires O(Dt2)\mathcal{O}(Dt^{2}) effort. For φ~t\widetilde{\varphi}_{t} we need MM calls each requiring O(djt2)\mathcal{O}(d_{j}t^{2}) effort. So both φt\varphi_{t} and φ~t\widetilde{\varphi}_{t} require the same effort in this front. For φt\varphi_{t}, we need to know the posterior for only ff whereas for φ~t\widetilde{\varphi}_{t} we need to know the posterior for each f(j)f^{(j)}. However, the brunt of the work in obtaining the posterior is the O(t3)\mathcal{O}(t^{3}) effort in inverting the t×tt\times t matrix Δ\Delta in (5) which needs to be done for both φt\varphi_{t} and φ~t\widetilde{\varphi}_{t}. For φ~t\widetilde{\varphi}_{t}, we can obtain the inverse once and reuse it MM times, so the cost of obtaining the posterior is O(t3+Mt2)\mathcal{O}(t^{3}+Mt^{2}). Since the number of queries needed will be super linear in DD and hence MM, the t3t^{3} term dominates. Therefore obtaining each posterior f(j)f^{(j)} is only marginally more work than obtaining the posterior for ff. Any difference here is easily offset by the cost for maximising the acquisition function.

The question remains then if maximising φ~t\widetilde{\varphi}_{t} would result in low regret. Since φt\varphi_{t} and φ~t\widetilde{\varphi}_{t} are neither equivalent nor have the same maximiser it is not immediately apparent that this should work. Nonetheless, intuitively this seems like a reasonable scheme since the ∑jσt−1(j)\sum_{j}\sigma^{(j)}_{t-1} term captures some notion of the uncertainty and contributes to exploration. In Theorem 5 we show that this intuition is reasonable – maximising φ~t\widetilde{\varphi}_{t} achieves the same rates as φt\varphi_{t} for cumulative and simple regrets if the kernel is additive.

We summarise the resulting algorithm in Algorithm 1. In brief, at time step tt, we obtain the posterior distribution for f(j)f^{(j)} and maximise φ~t(j)\widetilde{\varphi}_{t}^{(j)} to determine the coordinates xt(j){\bf x}_{t}^{(j)}. We do this for each jj and then combine them to obtain xt{{\bf x}_{t}}.

3 Main Theoretical Results

Now, we present our main theoretical contributions. We bound the regret for Add-GP-UCB under different kernels. Following Srinivas et al. 2010, we first bound the statistical difficulty of the problem as determined by the kernel. We show that under additive kernels the problem is much easier than when using a full DDth{}^{\textrm{th}} order kernel. Next, we show that the Add-GP-UCB algorithm is able to exploit the additive structure and obtain the same rates as GP-UCB. The advantage to using Add-GP-UCB is that it is much easier to optimise the acquisition function. For our analysis, we will need Assumption 2 and Definition 3.

Let ff be sampled from a GP with kernel κ\kappa. κ(⋅,x)\kappa(\cdot,x) is LL-Lipschitz for all xx. Further, the partial derivatives of ff satisfies the following high probability bound. There exists constants a,b>0a,b>0 such that,

The Lipschitzian condition is fairly mild and the latter condition holds for four times differentiable stationary kernels such as the SE and Matérn kernels for ν>2\nu>2 (Ghosal & Roy 2006). Srinivas et al. 2010 showed that the statistical difficulty of GPB/ BO is determined by the Maximum Information Gain as defined below. We bound this quantity for additive SE and Matérn kernels in Theorem 4. This is our first main theorem.

(Maximum Information Gain) Let f∼GP(μ,κ)f\sim\mathcal{G}\mathcal{P}(\mu,\kappa), yi=f(xi)+ϵy_{i}=f(x_{i})+\epsilon where ϵ∼N(0,η2)\epsilon\sim\mathcal{N}(0,\eta^{2}). Let A={x1,…,xT}⊂XA=\{x_{1},\dots,x_{T}\}\subset\mathcal{X} be a finite subset, fAf_{A} denote the function values at these points and yAy_{A} denote the noisy observations. Let II be the Shannon Mutual Information. The Maximum Information Gain between yAy_{A} and fAf_{A} is

Assume that the kernel κ\kappa has the additive form of (4), and that each κ(j)\kappa^{(j)} satisfies Assumption 2. W.l.o.g assume κ(x,x′)=1\kappa(x,x^{\prime})=1. Then,

If each κ(j)\kappa^{(j)} is a djthd_{j}^{th} order squared exponential kernel (2) where dj≤dd_{j}\leq d, then γT∈O(Ddd(log⁡T)d+1)\gamma_{T}\in\mathcal{O}(Dd^{d}(\log T)^{d+1}).

If each κ(j)\kappa^{(j)} is a djthd_{j}^{th} order Matérn kernel (3) where dj≤dd_{j}\leq d and ν>2\nu>2, then γT∈O(D2dTd(d+1)2ν+d(d+1)log⁡(T))\gamma_{T}\in\mathcal{O}(D2^{d}T^{\frac{d(d+1)}{2\nu+d(d+1)}}\log(T)).

We use bounds on the eigenvalues of the SE and Matérn kernels from Seeger et al. 2008 and a result from Srinivas et al. 2010 which bounds the information gain via the eigendecay of the kernel. We bound the eigendecay of the sum κ\kappa via MM and the eigendecay of a single κ(j)\kappa^{(j)}. The complete proof is given in Appendix B.1. The important observation is that the dependence on DD is linear for an additive kernel. In contrast, for a DDth{}^{\textrm{th}} order kernel this is exponential (Srinivas et al. 2010).

Next, we present our second main theorem which bounds the regret for Add-GP-UCB for an additive kernel as given in Equation 4.

Suppose ff is constructed by sampling f(j)∼GP(0,κ(j))f^{(j)}\sim\mathcal{G}\mathcal{P}({\bf 0},\kappa^{(j)}) for j=1,…,Mj=1,\dots,M and then adding them. Let all kernels κ(j)\kappa^{(j)} satisfy assumption 2 for some L,a,bL,a,b. Further, we maximise the acquisition function φ~t\widetilde{\varphi}_{t} to within ζ0t−1/2\zeta_{0}t^{-1/2} accuracy at time step tt. Pick δ∈(0,1)\delta\in(0,1) and choose

Then, Add-GP-UCB attains cumulative regret RT∈O(T1DγTTlog⁡T)R_{T}\in\mathcal{O}\left(\sqrt{\vphantom{T^{1}}D\gamma_{T}T\log T}\right) and hence simple regret ST∈O(T1DγTlog⁡T/T)S_{T}\in\mathcal{O}\left(\sqrt{\vphantom{T^{1}}D\gamma_{T}\log T/T}\right). Precisely, with probability >1−δ>1-\delta,

where C1=1/log⁡(1+η−2)C_{1}=1/\log(1+\eta^{-2}) and C2C_{2} is a constant depending on aa, bb, DD, δ\delta, LL and η\eta.

Part of our proof uses ideas from Srinivas et al. 2010. We show that ∑jβtσt−1(j)(⋅)\sum_{j}\beta_{t}\sigma^{(j)}_{t-1}(\cdot) forms a credible interval for f(⋅)f(\cdot) about the posterior mean μt(⋅)\mu_{t}(\cdot) for an additive kernel in Add-GP-UCB. We relate the regret to this confidence set using a covering argument. We also show that our regret doesn’t suffer severely if we only approximately optimise the acquisition provided that the accuracy improves at rate O(t−1/2)\mathcal{O}(t^{-1/2}). For this we establish smoothness of the posterior mean. The correctness of the algorithm follows from the fact that Add-GP-UCB can be maximised by individually maximising φ~t(j)\widetilde{\varphi}_{t}^{(j)} on each X(j)\mathcal{X}^{(j)}. The complete proof is given in Appendix B.2. When we combine the results in Theorems 4 and 5 we obtain the rates given in Table 1 See Footnote 1..

One could consider alternative lower order kernels – one candidate is the sum of all possible dthd^{th} order kernels (Duvenaud et al. 2011). Such a kernel would arguably allow us to represent a larger class of functions than our kernel in (4). If, for instance, we choose each of them to be a SE kernel, then it can be shown that γT∈O(Dddd+1(log⁡T)d+1)\gamma_{T}\in\mathcal{O}(D^{d}d^{d+1}(\log T)^{d+1}). Even though this is worse than our kernel in poly(D)\textrm{poly}(D) factors, it is still substantially better than using a DDth{}^{\textrm{th}} order kernel. However, maximising the corresponding utility function, either of the form φt\varphi_{t} or φ~t\widetilde{\varphi}_{t}, is still a DD dimensional problem. We reiterate that what renders our algorithm attractive in large DD is not just the statistical gains due to the simpler kernel. It is also the fact that our acquisition function can be efficiently maximised.

4 Practical Considerations

Our practical implementation differs from our theoretical analysis in the following aspects.

Choice of βt\beta_{t}: βt\beta_{t} as specified by Theorems 5, usually tends to be conservative in practice (Srinivas et al. 2010). For good empirical performance a more aggressive strategy is required. In our experiments, we set βt=0.2dlog⁡(2t)\beta_{t}=0.2d\log(2t) which offered a good tradeoff between exploration and exploitation. Note that this captures the correct dependence on D,dD,d and tt in Theorems 5 and 6.

Data dependent prior: Our analysis assumes that we know the GP kernel of the prior. In reality this is rarely the case. In our experiments, we choose the hyperparameters of the kernel by maximising the GP marginal likelihood (Rasmussen & Williams 2006) every NcycN_{cyc} iterations.

Initialisation: Marginal likelihood based kernel tuning can be unreliable with few data points. This is a problem in the first few iterations. Following the recommendations in Bull 2011 we initialise Add-GP-UCB (and GP-UCB) using NinitN_{init} points selected uniformly at random.

Decomposition & Non-additive functions: If ff is additive and the decomposition is known, we use it directly. But it may not always be known or ff may not be additive. Then, we could treat the decomposition as a hyperparameter of the additive kernel and maximise the marginal likelihood w.r.t the decomposition. However, given that there are D!/d!MM!D!/{d!}^{M}M! possible decompositions, computing the marginal likelihood for all of them is infeasible. We circumvent this issue by randomly selecting a few (O(D)\mathcal{O}(D)) decompositions and choosing the one with the largest marginal likelihood. Intuitively, if the function is not additive, with such a “partial maximisation” we can hope to capture some existing marginal structure in ff. At the same time, even an exhaustive maximisation will not do much better than a partial maximisation if there is no additive structure. Empirically, we found that partially optimising for the decomposition performed slightly better than using a fixed decomposition or a random decomposition at each step. We incorporate this procedure for finding an appropriate decomposition as part of the kernel hyper parameter learning procedure every NcycN_{cyc} iterations.

How do we choose (d,M)(d,M) when ff is not additive? If dd is large we allow for richer class of functions, but risk high variance. For small dd, the kernel is too simple and we have high bias but low variance – further optimising φ~t\widetilde{\varphi}_{t} is easier. In practice we found that our procedure was fairly robust for reasonable choices of dd. Yet this is an interesting theoretical question. We also believe it is a difficult one. Using the marginal likelihood alone will not work as the optimal choice of dd also depends on the computational budget for optimising φ~t\widetilde{\varphi}_{t}. We hope to study this question in future work. For now, we give some recommendations at the end. Our modified algorithm with these practical considerations is given below. Observe that in this specification if we use d=Dd=D we have the original GP-UCB algorithm.

Summary of Experiments

In this summary we present results in the optimisation setting. Refer Appendix C for results on bandits. Following, Brochu et al. 2010 we use DiRect to maximise φt,φ~t\varphi_{t},\widetilde{\varphi}_{t}. To demonstrate the efficacy of Add-GP-UCB we optimise the acquisition function under a constrained budget. We compare Add-GP-UCB against GP-UCB, random querying (RAND) and DiRect. On the real datasets we also compare it to the Expected Improvement (GP-EI) acquisition function which is popular in BO applications and the method of Wang et al. 2013 which uses a random projection before applying BO (REMBO). We have multiple instantiations of Add-GP-UCB for different values for (d,M)(d,M).

In contrast to existing literature in the BO community, we found that the UCB acquisitions outperformed GP-EI. One possible reason may be that under a constrained budget, UCB is robust to imperfect maximisation (Theorem 5) whereas GP-EI may not be. Another reason may be our choice of constants in UCB (Section 4.4).

We create a series of additive functions by replicating a d′{d^{\prime}} dimensional function fd′f_{d^{\prime}} in M′{M^{\prime}} groups. (We use the prime to avoid confusion with our Add-GP-UCB instantiations with different (d,M)(d,M) values.) So the function doesn’t depend on D−d′M′D-{d^{\prime}}{M^{\prime}} coordinates. We have illustrated fd′f_{d^{\prime}} for d′=2{d^{\prime}}=2 in the first figure in Fig 2 (See Eq (14) in C.1). Since each fd′f_{d^{\prime}} has 33 modes, the function has 3M′3^{M^{\prime}} modes. In the synthetic experiments we use an instantiation of Add-GP-UCB that knows the decomposition–i.e. (d,M)=(d′,M′)(d,M)=({d^{\prime}},{M^{\prime}}) and the grouping of coordinates. We refer to this as Add-⋆{\star}. For the rest we use a (d,M)(d,M) decomposition by creating MM groups of size at most dd and find a good grouping by partially maximising the marginal likelihood (Section 4.4). We refer to them as Add-d/M{d/M}.

For GP-UCB and GP-EI we allocate a budget of min⁡(5000,100D)\min(5000,100D) DiRect function evaluations to optimise the acquisition function. For all Add-d/M{d/M} methods we set it to 90%90\% of this amount to account for the additional overhead in posterior inference for each f(j)f^{(j)}. While the 90%90\% seems arbitrary, in our experiments this was hardly a factor as the cost was dominated by the inversion of Δ\Delta. Therefore, for our 10D10D problem we maximise φt\varphi_{t} with βt=2log⁡(2t)\beta_{t}=2\log(2t) with 10001000 evaluations whereas for Add-5/2{5/2} we maximise each φ~t(j)\widetilde{\varphi}_{t}^{(j)} with βt=log⁡(2t)\beta_{t}=\log(2t) with 450450 evaluations.

We refer to each example by the configuration of the additive function–its (D,d′,M′)(D,{d^{\prime}},{M^{\prime}}) values. In the (10,3,3)(10,3,3) example Add-⋆{\star} does best since it knows the correct model and the acquisition function can be maximised within the budget. However Add-3/4{3/4} and Add-5/2{5/2} models do well too and outperform GP-UCB. Add-1/10{1/10} performs poorly since it is statistically not expressive enough to capture the true function (high bias). In the (24,11,2)(24,11,2), (40,18,2)(40,18,2) and (96,29,3)(96,29,3) examples Add-⋆{\star} outperforms GP-UCB. However, it is not competitive with the Add-d/M{d/M} for small dd. Even though Add-⋆{\star} knows the correct decomposition, there are two possible failure modes since d′{d^{\prime}} is large. The variance is very high in the absence of sufficient data points. In addition, optimising the acquisition function is also difficult. This illustrates our previous argument that using an additive kernel can be advantageous even on non-additive functions. In the (40,5,8)(40,5,8), (96,5,19)(96,5,19) examples Add-⋆{\star} performs best as d′{d^{\prime}} is small enough. But again, almost all Add-d/M{d/M} instantiations outperform GP-UCB. In contrast to the small DD examples, for large DD, GP-UCB and Add-d/M{d/M} with large dd perform worse than DiRect. This is probably because the acquisition cannot be maximised to sufficient accuracy within the budget. We have only presented a subset of our simulations here. Please see Appendix C.1 for more experiments and other details.

2 Real Experiments

SDSS Galaxy Data: Here, we use galaxy data from the Sloan Digital Sky Survey to find the maximum likelihood values for 2020 cosmological parameters. The likelihood is computed via an astrophysical simulation. Software is obtained from Tegmark et al 2006. Each query to the likelihood takes 2-5 seconds. The likelihood only depends on 99 of the parameters but we augment it to 2020 dimensions to emulate the fact that in real astrophysical applications we may not know the relevant parameters. In order to be wall clock time competitive with RAND and DiRect we use 500500 evaluations for GP-UCB, GP-EI and REMBO and 450450 for Add-d/M{d/M} to maximise the acquisition function. We have elaborated more details in Appendix C.2. The results are given in 3. Despite the fact that the function may not be additive, all Add-d/M{d/M} methods outperform GP-UCB and GP-EI. Since the function only depends on 99 parameters we used REMBO with a 99 dimensional projection. Despite this advantage to REMBO it is not as competitive with the Add-d/M{d/M} methods. Here Add-5/4{5/4} performs slightly better than the rest since it seems to have the best tradeoff between being statistically expressive enough to capture the function while at the same time being easy enough to optimise the acquisition function within the allocated budget.

Viola & Jones Face Detection: The Viola & Jones Cascade Classifier (VJ) (Viola & Jones 2001) is a popular method for face detection in computer vision based on the Adaboost algorithm. In this experiment we use the VJ face dataset and the OpenCV implementation (Bradski & Kaehler 2008) which implements the classifier as a 22-stage cascade. The task is to find the 2222 threshold values for each stage to maximise classification accuracy. Each function call takes 30-40 seconds and is the the dominant cost in this experiment. We use 10001000 DiRect evaluations to optimise the acquisition function for GP-UCB, GP-EI and REMBO and 900900 for Add-d/M{d/M}. We use REMBO with a 55 dimensional projection. The results are given in Figure 3. Not surprisingly, REMBO performs worst since it is searching only on a 55 dimensional space. Barring Add-1/22{1/22} all other Add-d/M{d/M} instantiations outperform GP-UCB and GP-EI with Add-6/4{6/4} performing best. Interestingly, we also find a configuration for the thresholds that outperforms the one used in OpenCV.

Conclusion

Recommendations: Based on our experiences, we recommend the following. If ff is known to be additive, the decomposition is known and dd is small enough so that φ~t\widetilde{\varphi}_{t} can be efficiently optimised, then running Add-GP-UCB with the known decomposition is likely to produce the best results. If not, then use a small value for dd and run Add-GP-UCB while partially optimising for the decomposition periodically (Section 4.4). In our experiments we found that using dd between 33 an 1212 seemed reasonable choices. However, note that this depends on the computational budget for optimising the acquisition, the query budget for ff and to a certain extent the the function ff itself.

Summary: Our algorithm takes into account several practical considerations in real world GPB/ BO applications such as computational constraints in optimising the acquisition and the fact that we have to work with a relatively few data points since function evaluations are expensive. Our framework effectively addresses these concerns without considerably compromising on the statistical integrity of the model. We believe that this provides a promising direction to scale GPB/ BO methods to high dimensions.

Future Work: Our experiments indicate that our methods perform well beyond the scope suggested by our theory. Developing an analysis that takes into account the bias-variance and computational tradeoffs in approximating and optimising a non-additive function via an additive model is an interesting challenge. We also intend to extend this framework to discrete settings, other acquisition functions and handle more general decompositions.

References

Appendix A Some Auxiliary Material

In this subsection we present a brief summary of the GP-UCB algorithm in (Srinivas et al. 2010). The algorithm is given in Algorithm 3.

The following theorem gives the rate of convergence for GP-UCB. Note that under an additive kernel, this is the same rate as Theorem 5 which uses a different acquisition function. Note the differences in the choice of βt\beta_{t}.

(Modification of Theorem 2 in (Srinivas et al. 2010)) Suppose ff is constructed by sampling f(j)∼GP(0,κ(j))f^{(j)}\sim\mathcal{G}\mathcal{P}({\bf 0},\kappa^{(j)}) for j=1,…,Mj=1,\dots,M and then adding them. Let all kernels κ(j)\kappa^{(j)} satisfy assumption 2 for some L,a,bL,a,b. Further, we maximise the acquisition function φ~t\widetilde{\varphi}_{t} to within ζ0t−1/2\zeta_{0}t^{-1/2} accuracy at time step tt. Pick δ∈(0,1)\delta\in(0,1) and choose

Then, GP-UCB attains cumulative regret RT∈O(T1DγTTlog⁡T)R_{T}\in\mathcal{O}\left(\sqrt{\vphantom{T^{1}}D\gamma_{T}T\log T}\right) and hence simple regret ST∈O(T1DγTlog⁡T/T)S_{T}\in\mathcal{O}\left(\sqrt{\vphantom{T^{1}}D\gamma_{T}\log T/T}\right). Precisely, with probability >1−δ>1-\delta,

where C1=1/log⁡(1+η−2)C_{1}=1/\log(1+\eta^{-2}) and C2C_{2} is a constant depending on aa, bb, DD, δ\delta, LL and η\eta.

Srinivas et al. 2010 bound the regret for exact maximisation of the GP-UCB acquisition φt\varphi_{t}. By following an analysis similar to our proof of Theorem 5 the regret can be shown to be the same for an ζ0t−1/2\zeta_{0}t^{-1/2}- optimal maximisation. ∎

A.2 Sequential Optimisation Approaches

If the function is known to be additive, we could consider several other approaches for maximisation. We list two of them here and explain their deficiencies. We recommend that the reader read the main text before reading this section.

First, fix the coordinates of x(j),j≠1x^{(j)},j\neq 1 and optimise w.r.t x(1)x^{(1)} by querying the function for a pre-specified number of times. Then we proceed sequentially optimising with respect to x(2),x(3)…x^{(2)},x^{(3)}\dots. We have outlined this algorithm in Algorithm 4. There are several reasons this approach is not desirable.

First, it places too much faith on the additive assumption and requires that we know the decomposition at the start of the algorithm. Note that this strategy will only have searched the space in MM dd-dimensional subspaces. In our approach even if the function is not additive we can still hope to do well since we learn the best additive approximation to the true function. Further, if the decomposition is not known we could learn the decomposition “on the go” or at least find a reasonably good decomposition as we have explained in Section 4.4.

Such a sequential approach is not an anytime algorithm. This in particular means that we need to predetermine the number of queries to be allocated to each group. After we proceed to a new group it is not straightforward to come back and improve on the solution obtained for an older group.

This approach is not suitable for the bandits setting. We suffer large instantaneous regret up until we get to the last group. Further, after we proceed beyond a group since we cannot come back, we cannot improve on the best regret obtained in that group.

Our approach does not have any of these deficiencies.

A.2.2 Only change one Group per Query

In this strategy, the approach would be very similar to Add-GP-UCB except that at each query we will only update one group at time. If it is the kkth{}^{\textrm{th}} group the query point is determined by maximising φ~t(k)\widetilde{\varphi}_{t}^{(k)} for xt(k){\bf x}_{t}^{(k)} and for all other groups we use values from the previous rotation. After MM iterations we cycle through the groups. We have outlined this in Algorithm 5.

This is a reasonable approach and does not suffer from the same deficiencies as Algorithm 4. Maximising the acquisition function will also be slightly easier O(ζ−d)\mathcal{O}(\zeta^{-d}) since we need to optimise only one group at a time. However, the regret for this approach would be O(MTaDγTTlog⁡T)\mathcal{O}(M\sqrt{\vphantom{T^{a}}D\gamma_{T}T\log T}) which is a factor of MM worse than the regret in our method (This can be show by following an analysis similar to the one in section B.2. This is not surprising, since at each iteration you are moving in dd-coordinates of the space and you have to wait MM iterations before the entire point is updated.

Appendix B Proofs of Results in Section 4.3

For this we will use the following two results from Srinivas et al. 2010.

(Information Gain in GP, (Srinivas et al. 2010) Lemma 5.3) Using the basic properties of a GP, they show that

where σt−12\sigma^{2}_{t-1} is the posterior variance after observing the first t−1t-1 points.

We will use some bounds on the eigenvalues for the simple squared exponential kernel given in (Seeger et al. 2008). It was shown that the eigenvalues {λs(i)}\{\lambda^{(i)}_{s}\} of κ(i)\kappa^{(i)} satisfied λs(i)≤cdBs1/di\lambda^{(i)}_{s}\leq c^{d}B^{s^{1/d_{i}}} where B<1B<1 (See Remark 9). Since the kernel is additive, and x(i)∩x(j)=∅x^{(i)}\cap x^{(j)}=\varnothing the eigenfunctions corresponding to κ(i)\kappa^{(i)} and κ(j)\kappa^{(j)} will be orthogonal. Hence the eigenvalues of κ\kappa will just be the union of the eigenvalues of the individual kernels – i.e. {λs}=⋃j=1M{λs(j)}\{\lambda_{s}\}=\bigcup_{j=1}^{M}\{\lambda^{(j)}_{s}\}. As B<1B<1, λs(i)≤cdBs1/d\lambda^{(i)}_{s}\leq c^{d}B^{s^{1/d}}. Let T+=⌊T∗/M⌋T_{+}=\lfloor T_{*}/M\rfloor and α=−log⁡B\alpha=-\log B. Then,

By using τ=d\tau=d and by using T∗≤(M+1)T+T_{*}\leq(M+1)T_{+}, we use Theorem 8 to obtain the following bound on γT\gamma_{T},

Now we need to pick T+T_{+} so as to balance these two terms. We will choose T+=(log⁡(TnT)α)dT_{+}=\left(\frac{\log(Tn_{T})}{\alpha}\right)^{d} which is less than min⁡(T,nT)/M\min(T,n_{T})/M for sufficiently large TT. Then e−αT+1/d=1/TnTe^{-\alpha T_{+}^{1/d}}=1/Tn_{T}. Then the first term S1S_{1} inside the paranthesis is,

Note that the constant in front has exponential dependence on dd but we ignore it since we already have ddd^{d}, (log⁡T)d(\log T)^{d} terms. The second term S2S_{2} becomes,

Since S1S_{1} dominates S2S_{2}, we should choose r=Tr=T to maximise the RHS in (7). This gives us,

B.1.2 Proof of Theorem 4-2

Once again, we use bounds given in (Seeger et al. 2008). It was shown that the eigenvalues {λs(i)}\{\lambda^{(i)}_{s}\} for κ(i)\kappa^{(i)} satisfied λs(i)≤cds−2ν+djdj\lambda^{(i)}_{s}\leq c^{d}s^{-\frac{2\nu+d_{j}}{d_{j}}} (See Remark 9). By following a similar argument to above we have {λs}=⋃j=1M{λs(j)}\{\lambda_{s}\}=\bigcup_{j=1}^{M}\{\lambda^{(j)}_{s}\} and λs(i)≤cds−2ν+dd\lambda^{(i)}_{s}\leq c^{d}s^{-\frac{2\nu+d}{d}}. Let T+=⌊T∗/M⌋T_{+}=\lfloor T_{*}/M\rfloor. Then,

where C8C_{8} is an appropriate constant. We set T+=(TnT)d2ν+d(log⁡(TnT))−d2ν+dT_{+}=(Tn_{T})^{\frac{d}{2\nu+d}}(\log(Tn_{T}))^{-\frac{d}{2\nu+d}} and accordingly we have the following bound on γT\gamma_{T} as a function of T+∈{1,…,min⁡(T,nT)/M}T_{+}\in\{1,\dots,\min(T,n_{T})/M\},

Since this is a concave function on rr we can find the optimum by setting the derivative w.r.t rr to be zero. We get r∈O(T/2dlog⁡(TnT))r\in\mathcal{O}(T/2^{d}\log(Tn_{T})) and hence,

Here in the second step we have substituted the values for T+T_{+} first and then nTn_{T}. In the last step we have balanced the polynomial dependence on TT in both terms by setting τ=2νd2ν+d(d+1)\tau=\frac{2\nu d}{2\nu+d(d+1)}. ∎

The eigenvalues and eigenfunctions for the kernel are defined with respect to a base distribution on X\mathcal{X}. In the development of Theorem 8, Srinivas et al. 2010 draw nTn_{T} samples from the uniform distribution on X\mathcal{X}. Hence, the eigenvalues/eigenfunctions should be w.r.t the uniform distribution. The bounds given in Seeger et al. 2008 are for the uniform distribution for the Matérn kernel and a Gaussian Distribution for the Squared Exponential Kernel. For the latter case, Srinivas et al. 2010 argue that the uniform distribution still satisfies the required tail constraints and therefore the bounds would only differ up to constants.

B.2 Rates on Add-GP-UCB

Denote p=∑jdjp=\sum_{j}d_{j}. πt\pi_{t} denotes a sequence such that ∑tπt−1=1\sum_{t}\pi_{t}^{-1}=1. For e.g. when we use πt=π2t2/6\pi_{t}=\pi^{2}t^{2}/6 below, we obtain the rates in Theorem 5.

In what follows, we will construct discretisations Ω(j)\Omega^{(j)} on each group X(j)\mathcal{X}^{(j)} for the sake of analysis. Let ωj=∣Ω(j)∣\omega_{j}=|\Omega^{(j)}| and ωm=max⁡jωj\omega_{m}=\max_{j}\omega_{j}. The discretisation of the individual groups induces a discretisation Ω\Omega on X\mathcal{X} itself, Ω={x=⋃jx(j):x(j)∈Ω(j),j=1,…,M}\Omega=\{{\bf x}=\bigcup_{j}{\bf x}^{(j)}:{\bf x}^{(j)}\in\Omega^{(j)},j=1,\dots,M\}. Let ω=∣Ω∣=∏jωj\omega=|\Omega|=\prod_{j}\omega_{j}. We first establish the following two lemmas before we prove Theorem 5.

Pick δ∈(0,1)\delta\in(0,1) and set βt=2log⁡(ωmMπt/δ)\beta_{t}=2\log(\omega_{m}M\pi_{t}/\delta). Then with probability >1−δ>1-\delta,

By using a union bound ωj≤ωm\omega_{j}\leq\omega_{m} times over all x(j)∈Ω(j){\bf x}^{(j)}\in\Omega^{(j)} and then MM times over all discretisations the above holds with probability >1−δ/πt>1-\delta/\pi_{t} for all j=1,…,Mj=1,\dots,M and x(j)∈Ω(j){\bf x}^{(j)}\in\Omega^{(j)}. Therefore, we have ∣f(x)−μt−1(x)∣≤∣f(x(j))−μt−1(j)(x(j))∣≤βt1/2∑jσt−1(j)(x(j))|f({\bf x})-\mu_{t-1}({\bf x})|\leq|f({\bf x}^{(j)})-\mu^{(j)}_{t-1}({\bf x}^{(j)})|\leq\beta_{t}^{1/2}\sum_{j}\sigma^{(j)}_{t-1}({\bf x}^{(j)}) for all x∈Ω{\bf x}\in\Omega. Now using the union bound on all tt yields the result. ∎

The posterior mean μt−1\mu_{t-1} for a GP whose kernel κ(⋅,x)\kappa(\cdot,x) is LL-Lipschitz satisfies,

Therefore the statement is true with probability >1−δ>1-\delta for all tt. Further, Δ≻η2I\Delta\succ\eta^{2}I implies ∥Δ−1∥op≤η−2\|\Delta^{-1}\|_{op}\leq\eta^{-2} and ∣k(x,z)−k(x′,z)∣≤L∥x−x′∥|k(x,z)-k(x^{\prime},z)|\leq L\|x-x^{\prime}\|. Therefore

By setting δ/3=pae−J2/b2\delta/3=pae^{-J^{2}/b^{2}} we have with probability >1−δ/3>1-\delta/3,

Now, we construct a sequence of discretisations Ωt(j)\Omega^{(j)}_{t} satisfying ∥x(j)−[x(j)]t]∥1≤dj/τt    ∀x(j)∈Ωt(j)\|x^{(j)}-[x^{(j)}]_{t}]\|_{1}\leq d_{j}/\tau_{t}\;\;\forall x^{(j)}\in\Omega^{(j)}_{t}. Here, [x(j)]t[x^{(j)}]_{t} is the closest point to x(j)x^{(j)} in Ωt(j)\Omega^{(j)}_{t} in an L2L_{2} sense. A sufficient discretisation is a grid with τt\tau_{t} uniformly spaced points. Then it follows that for all x∈Ωtx\in\Omega_{t}, ∥x−[x]t∥1≤p/τt\|x-[x]_{t}\|_{1}\leq p/\tau_{t}. Here Ωt\Omega_{t} is the discretisation induced on X\mathcal{X} by the Ωt(j)\Omega^{(j)}_{t}’s and [x]t[x]_{t} is the closest point to xx in Ωt\Omega_{t}. Note that ∥x(j)−[x(j)]t∥2≤dj/τt  ∀x(j)∈Ω(j)\|x^{(j)}-[x^{(j)}]_{t}\|_{2}\leq\sqrt{d_{j}}/\tau_{t}\;\forall x^{(j)}\in\Omega^{(j)} and ∥x−[x]t∥2≤p/τt\|x-[x]_{t}\|_{2}\leq\sqrt{p}/\tau_{t}. We will set τt=pt3\tau_{t}=pt^{3}–therefore, ωtj≤(pt3)d=Δωmt\omega_{tj}\leq(pt^{3})^{d}\stackrel{{\scriptstyle\Delta}}{{=}}\omega_{mt}. When combining this with (9), we get that with probability >1−δ/3>1-\delta/3, ∣f(x)−f([x])∣≤blog⁡(3ap/δ)/t3|f(x)-f([x])|\leq b\sqrt{\log(3ap/\delta)}/t^{3}. By our choice of βt\beta_{t} and using Lemma 10 the following is true for all t≥1t\geq 1 and for all x∈Xx\in\mathcal{X} with probability >1−2δ/3>1-2\delta/3,

By Lemma 11 with probability >1−δ/3>1-\delta/3 we have,

We use the above results to obtain the following bound on the instantaneous regret rtr_{t} which holds with probability >1−δ>1-\delta for all t≥1t\geq 1,

For any x∈Xx\in\mathcal{X} we can bound σt(x)2{\sigma_{t}(x)}^{2} as follows,

Here we have used the fact that u2≤v2log⁡(1+u2)/log⁡(1+v2)u^{2}\leq v^{2}\log(1+u^{2})/\log(1+v^{2}) for u≤vu\leq v and σt(x)2≤κ(x,x)=1{\sigma_{t}({\bf x})}^{2}\leq\kappa(x,x)=1. Write C1=log⁡−1(1+η−2)C_{1}=\log^{-1}(1+\eta^{-2}). By using Jensen’s inequality and Definition 3 for any set of TT points {x1,x2,…xT}⊂X\{x_{1},x_{2},\dots x_{T}\}\subset\mathcal{X},

Finally we can bound the cumulative regret with probability >1−δ>1-\delta for all T≥1T\geq 1 by,

where we have used the summability of the first two terms in Equation (12). Here, for δ<0.8\delta<0.8, the constant C2C_{2} is given by,

Appendix C Experiments

To demonstrate the efficacy of Add-GP-UCB over GP-UCB we optimise the acquisition function under a constrained budget. Following, Brochu et al. 2010 we use DiRect to maximise φt,φ~t\varphi_{t},\widetilde{\varphi}_{t}. We compare Add-GP-UCB against GP-UCB, random querying (RAND) and DiRect There are several optimisation methods based on simulated annealing, cross entropy and genetic algorithms. We use DiRect since its easy to configure and known to work well in practice.. On the real datasets we also compare it to the Expected Improvement (GP-EI) acquisition function which is popular in BO applications and the method of Wang et al. 2013 which uses a random projection before applying BO (REMBO). We have multiple instantiations of Add-GP-UCB for different values for (d,M)(d,M). For optimisation, we perform comparisons based on the simple regret STS_{T} and for bandits we use the time averaged cumulative regret RT/TR_{T}/T.

For all GPB/ BO methods we set Ninit=10N_{init}=10, Ncyc=25N_{cyc}=25 in all experiments. Further, for the first 2525 iterations we set the bandwidth to a small value (10−5)(10^{-5}) to encourage an explorative strategy. We use SE kernels for each additive kernels and use the same scale σ\sigma and bandwidth hh hyperparameters for all the kernels. Every 2525 iterations we maximise the marginal likelihood with respect to these 22 hyperparameters in addition to the decomposition.

In contrast to existing literature in the BO community, we found that the UCB acquisitions outperformed GP-EI. One possible reason may be that under a constrained budget, UCB is robust to imperfect maximisation (Theorem 5) whereas GP-EI may not be. Another reason may be our choice of constants in UCB (Section 4.4).

First we demonstrate our technique on a series of synthetic examples. For this we construct additive functions for different values for the maximum group size d′{d^{\prime}} and the number of groups M′{M^{\prime}}. We use the prime to distinguish it from Add-GP-UCB instantiations with different combinations of (d,M)(d,M) values. The d′{d^{\prime}} dimensional function fd′f_{d^{\prime}} is,

where v1,v2,v3v_{1},v_{2},v_{3} are fixed d′{d^{\prime}} dimensional vectors and hd′=0.01d′0.1h_{d^{\prime}}=0.01{d^{\prime}}^{0.1}. Then we create M′{M^{\prime}} groups of coordinates by randomly adding d′{d^{\prime}} coordinates into each group. On each such group we use fd′f_{d^{\prime}} and then add them up to obtain the composite function ff. Precisely,

The remaining D−d′M′D-{d^{\prime}}{M^{\prime}} coordinates do not contribute to the function. Since fd′f_{d^{\prime}} has 33 modes, ff will have 3M′3^{M^{\prime}} modes. We have illustrated fd′f_{d^{\prime}} for d′=2{d^{\prime}}=2 in Figure 4.

In the synthetic experiments we use an instantiation of Add-GP-UCB that knows the decomposition–i.e. (d,M)=(d′,M′)(d,M)=({d^{\prime}},{M^{\prime}}) and the grouping of coordinates. We refer to this as Add-⋆{\star}. For the rest we use a (d,M)(d,M) decomposition by creating MM groups of size at most dd and find a good grouping by partially maximising the marginal likelihood (Section 4.4). We refer to them as Add-d/M{d/M}.

For GP-UCB we allocate a budget of min⁡(5000,100D)\min(5000,100D) DiRect function evaluations to optimise the acquisition function. For all Add-d/M{d/M} methods we set it to 90%90\% of this amount While the 90%90\% seems arbitrary, in our experiments this was hardly a factor as the cost was dominated by the inversion of Δ\Delta. to account for the additional overhead in posterior inference for each f(j)f^{(j)}. Therefore, in our 10D10D problem we maximise φt\varphi_{t} with βt=2log⁡(2t)\beta_{t}=2\log(2t) with 10001000 DiRect evaluations whereas for Add-2/5{2/5} we maximise each φ~t(j)\widetilde{\varphi}_{t}^{(j)} with βt=0.4log⁡(2t)\beta_{t}=0.4\log(2t) with 180180 evaluations.

The results are given in Figures 5 and 6. We refer to each example by the configuration of the additive function–its (D,d′,M′)(D,{d^{\prime}},{M^{\prime}}) values. In the (10,3,3)(10,3,3) example Add-⋆{\star} does best since it knows the correct model and the acquisition function can be maximised within the budget. However Add-3/4{3/4} and Add-5/2{5/2} models do well too and outperform GP-UCB. Add-1/10{1/10} performs poorly since it is statistically not expressive enough to capture the true function. In the (24,11,2)(24,11,2), (40,18,2)(40,18,2), (40,35,1)(40,35,1), (96,29,3)(96,29,3) and (120,55,2)(120,55,2) examples Add-⋆{\star} outperforms GP-UCB. However, it is not competitive with the Add-d/M{d/M} for small dd. Even though Add-⋆{\star} knew the correct decomposition, there are two possible failure modes since d′{d^{\prime}} is large. The kernel is complex and the estimation error is very high in the absence of sufficient data points. In addition, optimising the acquisition is also difficult. This illustrates our previous argument that using an additive kernel can be advantageous even if the function is not additive or the decomposition is not known. In the (24,6,4)(24,6,4), (40,5,8)(40,5,8) and (96,5,19)(96,5,19) examples Add-⋆{\star} performs best as d′{d^{\prime}} is small enough. But again, almost all Add-d/M{d/M} instantiations outperform GP-UCB. In contrast to the small DD examples, for large DD, GP-UCB and Add-d/M{d/M} with large dd perform worse than DiRect. This is probably because our budget for maximising φt\varphi_{t} is inadequate to optimise the acquisition function to sufficient accuracy. For some of the large DD examples the cumulative regret is low for Add-GP-UCB and Add-d/M{d/M} with large dd. This is probably since they have already started exploiting where as the Add-d/M{d/M} with small dd methods are still exploring. We posit that if we run for more iterations we will be able to see the improvements.

C.2 SDSS Astrophysical Dataset

Here we used Galaxy data from the Sloan Digital Sky Survey (SDSS). The task is to find the maximum likelihood estimators for a simulation based astrophysical likelihood model. Data and software for computing the likelihood are taken from Tegmark et al 2006. The software itself takes in only 99 parameters but we augment this to 2020 dimensions to emulate the fact that in practical astrophysical problems we may not know the true parameters on which the problem is dependent. This also allows us to effectively demonstrate the superiority of our methods over alternatives. Each query to this likelihood function takes about 2-5 seconds. In order to be wall clock time competitive with RAND and DiRectwe use only 500500 evaluations for GP-UCB, GP-EI and REMBO and 450450 for Add-d/M{d/M} to maximise the acquisition function.

We have shown the Maximum value obtained over 400400 iterations of each algorithm in Figure 3. Note that RAND outperforms DiRect here since a random query strategy is effectively searching in 99 dimensions. Despite this advantage to RAND all BO methods do better. Moreover, despite the fact that the function may not be additive, all Add-d/M{d/M} methods outperform GP-UCB. Since the function only depends on 99 parameters we use REMBO with a 99 dimensional projection. Yet, it is not competitive with the Add-d/M{d/M} methods. Possible reasons for this may include the scaling of the parameter space by d\sqrt{d} in REMBO and the imperfect optimisation of the acquisition function. Here Add-5/4{5/4} performs slightly better than the rest since it seems to have the best tradeoff between being statistically expressive enough to capture the function while at the same time be easy enough to optimise the acquisition function within the allocated budget.

C.3 Viola & Jones Face Detection

The Viola & Jones (VJ) Cascade Classifier (Viola & Jones 2001) is a popular method for face detection in computer vision based on the Adaboost algorithm. The KK-cascade has KK weak classifiers which outputs a score for any given image. When we wish to classify an image we pass that image through each classifier. If at any point the score falls below a certain threshold the image is classified as negative. If the image passes through all classifiers then it is classified as positive. The threshold values at each stage are usually pre-set based on prior knowledge. There is no reason to believe that these threshold values are optimal. In this experiment we wish to find an optimal set of values for these thresholds by optimising the classification accuracy over a training set.

For this task, we use 10001000 images from the Viola & Jones face dataset containing both face and non-face images. We use the implementation of the VJ classifier that comes with OpenCV (Bradski & Kaehler 2008) which uses a 22-stage cascade and modify it to take in the threshold values as a parameter. As our domain X\mathcal{X} we choose a neighbourhood around the configuration given in OpenCV. Each function call takes about 30-40 seconds and is the the dominant cost in this experiment. We use 10001000 DiRect evaluations to optimise the acquisition function for GP-UCB, GP-EI and REMBO and 900900 for the Add-d/M{d/M} instantiations. Since we do not know the structure of the function we use REMBO with a 55 dimensional projection. The results are given in Figure 3. Not surprisingly, REMBO performs worst as it is only searching on a 55 dimensional space. Barring Add-1/22{1/22} all other instantiations perform better than GP-UCB and GP-EI with Add-6/4{6/4} performing the best. Interestingly, we also find a value for the thresholds that outperform the configuration used in OpenCV.