Te Whare Wananga o te Upoko o te Ika a Maui. Computer Science

Similar documents
STAT 518 Intro Student Presentation

Using Gaussian Processes to Optimize Expensive Functions.

Learning Gaussian Process Models from Uncertain Data

Gaussian process for nonstationary time series prediction

GWAS V: Gaussian processes

Nonparametric Bayesian Methods (Gaussian Processes)

Gaussian Processes for Regression and Optimisation

Probabilistic & Unsupervised Learning

Multi-Kernel Gaussian Processes

Variational Principal Components

STA 4273H: Statistical Machine Learning

Gaussian Process Regression: Active Data Selection and Test Point. Rejection. Sambu Seo Marko Wallat Thore Graepel Klaus Obermayer

PILCO: A Model-Based and Data-Efficient Approach to Policy Search

Inference and estimation in probabilistic time series models

Gaussian Process priors with Uncertain Inputs: Multiple-Step-Ahead Prediction

Recent Advances in Bayesian Inference Techniques

Gaussian with mean ( µ ) and standard deviation ( σ)

STA414/2104. Lecture 11: Gaussian Processes. Department of Statistics

INFINITE MIXTURES OF MULTIVARIATE GAUSSIAN PROCESSES

Statistical Approaches to Learning and Discovery

Multiple-step Time Series Forecasting with Sparse Gaussian Processes

Bayesian Methods for Machine Learning

Probabilistic Graphical Models Lecture 17: Markov chain Monte Carlo

Approximate Inference Part 1 of 2

Approximate Inference Part 1 of 2

Gaussian processes. Chuong B. Do (updated by Honglak Lee) November 22, 2008

Model Selection for Gaussian Processes

The Variational Gaussian Approximation Revisited

Introduction to Gaussian Processes

Pattern Recognition and Machine Learning

Glasgow eprints Service

Neutron inverse kinetics via Gaussian Processes

A Process over all Stationary Covariance Kernels

Bayesian inference & process convolution models Dave Higdon, Statistical Sciences Group, LANL

1 Bayesian Linear Regression (BLR)

Nonparmeteric Bayes & Gaussian Processes. Baback Moghaddam Machine Learning Group

Active and Semi-supervised Kernel Classification

Gaussian Processes for Regression. Carl Edward Rasmussen. Department of Computer Science. Toronto, ONT, M5S 1A4, Canada.

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix

CSci 8980: Advanced Topics in Graphical Models Gaussian Processes

Anomaly Detection and Removal Using Non-Stationary Gaussian Processes

An Alternative Infinite Mixture Of Gaussian Process Experts

Nonparameteric Regression:

Introduction. Chapter 1

Widths. Center Fluctuations. Centers. Centers. Widths

Large-scale Ordinal Collaborative Filtering

Infinite Mixtures of Gaussian Process Experts

Gaussian Process Dynamical Models Jack M Wang, David J Fleet, Aaron Hertzmann, NIPS 2005

Probabilistic Graphical Models Lecture 20: Gaussian Processes

Lecture: Gaussian Process Regression. STAT 6474 Instructor: Hongxiao Zhu

VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui

Part 1: Expectation Propagation

System identification and control with (deep) Gaussian processes. Andreas Damianou

CSC 2541: Bayesian Methods for Machine Learning

Prediction of Data with help of the Gaussian Process Method

STA 4273H: Sta-s-cal Machine Learning

MTTTS16 Learning from Multiple Sources

Time-Sensitive Dirichlet Process Mixture Models

Gaussian Process for Internal Model Control

Computer Vision Group Prof. Daniel Cremers. 4. Gaussian Processes - Regression

Lecture 6: Graphical Models: Learning

Bayesian Inference: Principles and Practice 3. Sparse Bayesian Models and the Relevance Vector Machine

Connections between score matching, contrastive divergence, and pseudolikelihood for continuous-valued variables. Revised submission to IEEE TNN

Gaussian Processes (10/16/13)

Machine Learning Summer School

Lecture : Probabilistic Machine Learning

Lecture 16 Deep Neural Generative Models

Regression with Input-Dependent Noise: A Bayesian Treatment

Chapter 4 Dynamic Bayesian Networks Fall Jin Gu, Michael Zhang

ADVANCED MACHINE LEARNING ADVANCED MACHINE LEARNING. Non-linear regression techniques Part - II

CPSC 540: Machine Learning

Computer Vision Group Prof. Daniel Cremers. 9. Gaussian Processes - Regression

Practical Bayesian Optimization of Machine Learning. Learning Algorithms

Where now? Machine Learning and Bayesian Inference

Efficient Sensitivity Analysis in Hidden Markov Models

Machine Learning. B. Unsupervised Learning B.2 Dimensionality Reduction. Lars Schmidt-Thieme, Nicolas Schilling

Gaussian Process Regression

Non-Factorised Variational Inference in Dynamical Systems

Intelligent Systems (AI-2)

Bayesian Learning. HT2015: SC4 Statistical Data Mining and Machine Learning. Maximum Likelihood Principle. The Bayesian Learning Framework

Bayesian Regression Linear and Logistic Regression

Nonparametric Regression With Gaussian Processes

Tutorial on Gaussian Processes and the Gaussian Process Latent Variable Model

Further Issues and Conclusions

Probabilistic Graphical Models

A Generative Perspective on MRFs in Low-Level Vision Supplemental Material

A short introduction to INLA and R-INLA

Intelligent Systems (AI-2)

COMP 551 Applied Machine Learning Lecture 21: Bayesian optimisation

output dimension input dimension Gaussian evidence Gaussian Gaussian evidence evidence from t +1 inputs and outputs at time t x t+2 x t-1 x t+1

Efficient Posterior Inference and Prediction of Space-Time Processes Using Dynamic Process Convolutions

Nonstationary spatial process modeling Part II Paul D. Sampson --- Catherine Calder Univ of Washington --- Ohio State University

Gaussian Process Approximations of Stochastic Differential Equations

Bayesian time series classification

Modeling human function learning with Gaussian processes

Intelligent Systems I

Machine Learning Techniques for Computer Vision

Bayesian Hidden Markov Models and Extensions

Transcription:

VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui School of Mathematical and Computing Sciences Computer Science Multiple Output Gaussian Process Regression Phillip Boyle and Marcus Frean Technical Report CS-TR-5/ April 5 School of Mathematical and Computing Sciences Victoria University PO Box 6, Wellington New Zealand Tel: +64 4 463 534 Fax: +64 4 463 545 Email: Tech.Reports@mcs.vuw.ac.nz http://www.mcs.vuw.ac.nz/research

VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui School of Mathematical and Computing Sciences Computer Science PO Box 6 Wellington New Zealand Tel: +64 4 463 534, Fax: +64 4 463 545 Email: Tech.Reports@mcs.vuw.ac.nz http://www.mcs.vuw.ac.nz/research Multiple Output Gaussian Process Regression Phillip Boyle and Marcus Frean Technical Report CS-TR-5/ April 5 Abstract Gaussian processes are usually parameterised in terms of their covariance functions. However, this makes it difficult to deal with multiple outputs, because ensuring that the covariance matrix is positive definite is problematic. An alternative formulation is to treat Gaussian processes as white noise sources convolved with smoothing kernels, and to parameterise the kernel instead. Using this, we extend Gaussian processes to handle multiple, coupled outputs.

Introduction Gaussian process regression has many desirable properties, such as ease of obtaining and expressing uncertainty in predictions, the ability to capture a wide variety of behaviour through a simple parameterisation, and a natural Bayesian interpretation [4, 3, 8]. Because of this they have been suggested as replacements for supervised neural networks in non-linear regression [7, 7], extended to handle classification tasks [, 6, 5], and used in a variety of other ways (e.g. [5, 3]). A Gaussian process (GP), as a set of jointly Gaussian random variables, is completely characterised by a covariance matrix with entries determined by a covariance function. Traditionally, such models have been specified by parameterising the covariance function (i.e. a function specifying the covariance of output values given any two input vectors). In general this needs to be a positive definite function to ensure positive definiteness of the covariance matrix. Most GP implementations model only a single output variable. Attempts to handle multiple outputs generally involve using an independent model for each output - a method known as multi-kriging [7] - but such models cannot capture the structure in outputs that covary. As an example, consider the two tightly coupled outputs shown at the top of Figure, in which one output is simply a shifted version of the other. Here we have detailed knowledge of output, but sampling of output is sparse. A model that treats the outputs as independent cannot exploit their obvious similarity - intuitively, we should make predictions about output using what we learn from both output and. Joint predictions are possible (e.g. co-kriging []) but are problematic in that it is not clear how covariance functions should be defined [4]. Although there are many known positive definite autocovariance functions (e.g. Gaussians and many others [, 8]), it is difficult to define cross-covariance functions that result in positive definite covariance matrices. Contrast this to neural network modelling, where the handling of multiple outputs is routine. An alternative to directly parameterising covariance functions is to treat GPs as the outputs of stable linear filters. For a linear filter, the output in response to an input x(t) is y(t) = h(t) x(t) = h(t τ)x(τ)dτ, where h(t) defines the impulse response of the filter and denotes convolution. Provided the linear filter is stable and x(t) is Gaussian white noise, the output process y(t) is necessarily a Gaussian process. It is also possible to characterise p-dimensional stable linear filters, with M-inputs and N-outputs, by a set of M N impulse responses. In general, the resulting N outputs are dependent Gaussian processes. Now we can model multiple dependent outputs by parameterising the set of impulse responses for a multiple output linear filter, and inferring the parameter values from data that we observe. Instead of specifying and parameterising positive definite covariance functions, we now specify and parameterise impulse responses. The only restriction is that the filter be linear and stable, and this is achieved by requiring the impulse responses to be absolutely integrable. Constructing GPs by stimulating linear filters with Gaussian noise is equivalent to constructing GPs through kernel convolutions. A Gaussian process V (s) can be constructed over a region S by convolving a continuous white noise process X(s) with a smoothing kernel h(s), V (s) = h(s) X(s) for s S, [6]. To this can be added a second white noise source, representing measurement uncertainty, and together this gives a model for observations Y. This view of GPs is shown in graphical form in Figure (a). The convolution approach has been used to formulate flexible nonstationary covariance functions [, ]. Furthermore, this idea can be extended to model multiple dependent output processes by assuming a single common latent process [6]. For example, two dependent processes V (s) and V (s) are constructed from a

Figure : (a) Gaussian process prior for a single output. The output Y is the sum of two Gaussian white noise processes, one of which has been convolved ( ) with a kernel (h). (b) The model for two dependent outputs Y and Y. All of X, X, X and the noise contributions are independent Gaussian white noise sources. Notice that if X is forced to zero Y and Y become independent processes as in (a) - we use this as a control model. shared dependence on X(s) for s S, as follows V (s) = h (s λ)x(λ)dλ and V (s) = h (s λ)x(λ)dλ S S S S where S = S S S is a union of disjoint subspaces. V (s) is dependent on X(s), s S but not X(s), s S. Similarly, V (s) is dependent on X(s), s S but not X(s), s S. This allows V (s) and V (s) to possess independent components. In this paper, we model multiple outputs somewhat differently to [6]. Instead of assuming a single latent process defined over a union of subspaces, we assume multiple latent processes, each defined over R p. Some outputs may be dependent through a shared reliance on common latent processes, and some outputs may possess unique, independent features through a connection to a latent process that affects no other output. Two Dependent Outputs Consider two outputs Y (s) and Y (s) over a region R p, where s R p. We have N observations of output and N observations of output, giving us data D = {s,i, y,i } N i= and D = {s,i, y,i } N i=. We wish to learn a model from the combined data D = {D, D } in order to predict Y (s ) or Y (s ), for s R p. As shown in Figure (b), we can model each output as the linear sum of three stationary Gaussian processes. One of these (V ) arises from a noise source unique to that output, under convolution with a kernel h. A second (U) is similar, but arises from a separate noise source X that influences both outputs (although via different kernels, k). The third is additive noise as before. Thus we have Y i (s) = U i (s) + V i (s) + W i (s), where W i (s) is a stationary Gaussian white noise process with variance, σi, X (s), X (s) and X (s) are independent stationary Gaussian white noise processes, U (s), U (s), V (s) and V (s) are Gaussian processes given by U i (s) = k i (s) X (s) and V i (s) = h i (s) X i (s).

The k, k, h, h are parameterised Gaussian kernels where k (s) = v exp ( st A s ), k (s) = v exp ( (s µ)t A (s µ) ), and h i (s) = w i exp ( st B i s ). Note that k (s) is offset from zero by µ to allow modelling of outputs that are coupled and translated relative to one another. We wish to derive the set of functions Cij Y (d) that define the autocovariance (i = j) and cross-covariance (i j) between the outputs i and j, for a given separation d between arbitrary inputs s a and s b. By solving a convolution integral, (appendix), Cij Y (d) can be expressed in a closed form, and is fully determined by the parameters of the Gaussian kernels and the noise variances σ and σ as follows: C Y (d) = CU (d) + CV (d) + δ abσ C Y (d) = CU (d) + CV (d) + δ abσ C Y (d) = CU (d) C Y (d) = CU (d) where Cii U (d) = π p vi ( Ai exp ) 4 dt A i d C U (d) = (π) p v v ( A + A exp ) (d µ)t Σ(d µ) C(d) U = (π) p v v ( A + A exp ) (d + µ)t Σ(d + µ) = C( d) U Cii V (d) = π p wi ( Bi exp ) 4 dt B i d with Σ = A (A + A ) A = A (A + A ) A. Given Cij Y (d) then, we can construct the covariance matrices C, C, C, and C as follows C ij = Cij Y (s i, s j, ) Cij Y (s i, s j,nj )..... Cij Y (s i,n i s j, ) Cij Y (s i,n i s j,nj ) () Together these define the positive definite symmetric covariance matrix C for the combined output data D: [ ] C C C = () C C We define a set of hyperparameters Θ that parameterise {v, v, w, w, A, A, B, B, µ, σ, σ }. Now, we can calculate the log-likelihood L = log C yt C y N + N log π where y T = [ ] y, y,n y, y,n and C is a function of Θ and D. Learning a model now corresponds to either maximising the log-likelihood L, or maximising the posterior probability P (Θ D). Alternatively, we can simulate the predictive distribution for y by taking samples from the joint P (y, Θ D), using Markov Chain Monte Carlo methods [9]. 3

The predictive distribution at a point s on output i given Θ and D is Gaussian with mean ŷ and variance σŷ given by and where ŷ = k T C y σ ŷ = κ kt C k κ = C Y ii () = v i + w i + σ i and k = [ C Y i (s s, )... C Y i (s s,n ) C Y i (s s, )... C Y i (s s,n ) ] T. Example - Strongly dependent outputs over d input space Consider two outputs, observed over a d input space. Let A i = exp(f i ), B i = exp(g i ), and σ i = exp(β i ). Our hyperparameters are Θ = {v, v, w, w, f, f, g, g, µ, β, β } where each element of Θ is a scalar. We set Gaussian priors over Θ, as follows: P (v i ) = N (v i,,.5 ), P (w i ) = N (w i,,.5 ), P (f i ) = N (f i, 3.5, ), P (g i ) = N (g i, 3.5, ), P (µ) = N (µ,,.5 ), P (β i ) = N (β i, 4,.75 ). where N (x, µ, σ ) is a Gaussian distribution for variable x with mean µ and variance σ. We generated N = 48 data points by taking N = 3 samples from output and N = 6 samples from output. The samples from output were linearly spaced in the interval [, ] and those from output were uniformly spaced in the region [,.5] [.65, ]. All samples were taken under additive Gaussian noise, σ =.5. To build our model, we maximised P (Θ D) P (D Θ) P (Θ) using a multistart conjugate gradient algorithm, with 5 starts, sampling from P (Θ) for initial conditions. The resulting dependent model is shown in Figure along with an independent (control) model with no coupling (see Figure ). Observe that the dependent model has learned the coupling and translation between the outputs, and has filled in output where samples are missing. The control model cannot achieve such infilling as it is consists of two independent Gaussian processes.. Example - Strongly dependent outputs over d input space Consider two outputs, observed over a d input space. Let A i = α i I B i = τ i I where I is the identity matrix. Furthermore, let σ i = exp(β i ). In this toy example, we set µ =, so our hyperparameters become Θ = {v, v, w, w, α, α, τ, τ β, β } where each element of Θ is a scalar. We set Gaussian priors over Θ, as follows: P (v i ) = N (v i,,.5 ), P (w i ) = N (w i,,.5 ), P (α i ) = N (α i,.3,. ), P (τ i ) = N (τ i,.3,. ), P (β i ) = N (β i, 3.7,.5 ). We generated 7 data points by taking 8 samples from output and 36 samples from output. Both sets of samples formed uniform lattices over the region [.9,.9] [.9,.9] and were taken with additive Gaussian noise, σ =.5. To build our model, we maximised P (Θ D) as before. The dependent model is shown in Figure 3 along with an independent control model. The dependent model has filled in output where samples are missing. Again, the control model cannot achieve such in-filling as it is consists of two independent Gaussian processes. 4

Output independent model Output independent model.5 True function Model mean.5.4.4.3.3........8.6.4...4.6.8..8.6.4...4.6.8 Output dependent model Output dependent model.5.5.4.4.3.3........8.6.4...4.6.8..8.6.4...4.6.8 Figure : Strongly dependent outputs where output is simply a translated version of output, with independent Gaussian noise, σ =.5. The solid lines represent the model, the dotted lines are the true function, and the dots are samples. The shaded regions represent σ error bars for the model prediction. (top) Independent model of the two outputs. (bottom) Dependent model..3 Example 3 - Partially Coupled Outputs The examples in sections. and. show GP models of two dependent outputs which had no independent components. The top of Figure 4 shows a case in which a pair of outputs are dependent, but also have features that are independent of each other. Our hyperparameters Θ are the same as those from section. and again we use Gaussian priors. We generated 48 data points by taking 3 samples from output and 6 samples from output. The samples were linearly spaced in the interval [, ] for output and [, ] for output. All samples were taken with additive Gaussian noise, σ =.5. As before, we then maximised P (Θ D) and made predictions with the resulting model along with an independent model for comparison. As Figure 4 shows, the dependent model has learned the coupling between the outputs, and attempts to fill in output where samples are missing. The in-filling is not as striking as the previous examples because output possesses an independent component, but is much better than the default GP model. 5

Figure 3: Strongly dependent outputs where output is simply a copy of output, with independent Gaussian noise. (top) Independent model of the two outputs. (bottom) Dependent model. Output is modelled well by both models. Output is modelled well only by the dependent model 3 Time Series Forecasting Consider the observation of multiple time series, where some of the series lead or predict the others. We simulated a set of three time series for steps each (figure 5) where series 3 was positively coupled to a lagged version of series (lag =.5) and negatively coupled to a lagged version of series (lag =.6). Given the 3 observations, we built a dependent GP model of the three time series and compared them with independent GP models. The dependent GP model incorporated a prior belief that series 3 was coupled to series and, with the lags unknown. The independent GP model assumed no coupling between its outputs, and consisted of three independent GP models. We queried the models for forecasts of the future values of series 3. It is clear from figure 5 that the dependent GP model does a far better job at forecasting the dependent series 3. The independent model becomes inaccurate after just a few time steps into the future. This inaccuracy is expected as knowledge of series and is required to accurately predict series 3. The dependent GP model performs well as it has learned that series 3 is positively coupled to a lagged version of series and negatively coupled to a lagged version of series. 6

.5 Output and.5.5.5.8.6.4...4.6.8.5 Output independent model.5 Output independent model.5.5.5.5.5.8.6.4...4.6.8.5.8.6.4...4.6.8.5 Output dependent model.5 Output dependent model.5.5.5.5.5.8.6.4...4.6.8.5.8.6.4...4.6.8 Figure 4: Dependent but unique outputs. (top) Outputs and are overlaid to illustrate the (partial) coupling between them. Note that these outputs are not entirely dependent. (middle) Independent model of the two outputs. (bottom) Dependent model. 7

3 Series 3 Series Series 3 3 3 4 5 6 7 8 Figure 5: Three coupled time series, where series and series predict series 3. Forecasting for series 3 begins after time steps where t = 7.8. The dependent model forecast is shown with a solid line, and the independent (control) forecast is shown with a broken line. The dependent model does a far better job at forecasting the next steps of series 3 (black dots). 8

4 Multiple Outputs and Non-stationary Kernels The convolution framework described here for constructing GPs can be extended to build models capable of modelling N-outputs, each defined over a p-dimensional input space. In general, we can define a model where we assume M-independent Gaussian white noise processes X (s)... X M (s), N-outputs U (s)... U N (s), and M N kernels {{k mn (s)} M }N n= where s R p. The autocovariance (i = j) and cross-covariance (i j) functions between output processes i and j become (appendix A.) C U ij (d) = and the matrix defined by equation is extended to C... C N C =..... C N... C NN R p k mi (s)k mj (s + d)ds (3) If we have R i observations of output i, then we have R = N i= R i observations in total and C is a R R matrix. Our combined data set becomes D = {D D N }, where D i = {(s i,, y i, ) (s i,ri, y i,ri )}. The log-likelihood becomes L = log C yt C y R log π where y T = [ (y, y,r ) (y i, y i,ri ) (y N, y N,RN ) ] and the predictive distribution at a point s on output i given Θ and D is Gaussian with mean ŷ and variance σŷ given by and ŷ = k T C y σ ŷ = κ kt C k where κ = Cii Y () = vi + wi + σi and k T = [ k T k T j k T ] N and k T j = [ Cij Y (s s j, )... Cij Y (s s j,rj ) ] The kernels used in (3) need not be Gaussian, and need not be spatially invariant, or stationary. We require kernels that are absolutely integrable,... k(s) dp s <. This provides a large degree of flexibility, and is an easy condition to uphold. It would seem that an absolutely integrable kernel would be easier to define and parameterise than a positive definite function. On the other hand, we require a closed form of Cij Y (d) and this may not be attainable for some non-gaussian kernels. 5 Conclusion We have shown how the Gaussian Process framework can be extended to multiple output variables without assuming them to be independent. Multiple processes can be handled by inferring convolution kernels instead of covariance functions. This makes it easy to construct the required positive definite covariance matrices for covarying outputs. 9

One application of this work is to learn the spatial translations between outputs. However the framework developed here is more general than this, as it can model data that arises from multiple sources, only some of which are shared. Our examples show the infilling of sparsely sampled regions that becomes possible in a model that permits coupling between outputs. Another application is the forecasting of dependent time series. Our example shows how learning couplings between multiple time series may aid in forecasting, particularly when the series to be forecast is dependent on previous or current values of other series. Dependent Gaussian processes should be particularly valuable in cases where one output is expensive to sample, but covaries strongly with a second that is cheap. By inferring both the coupling and the independent aspects of the data, the cheap observations can be used as a proxy for the expensive ones. A Appendices A. Auto-Covariance and Cross-Covariance Functions Consider M independent, stationary, Gaussian white noise processes, X (s)... X M (s), s R p, producing N-outputs, Y (s)... Y N (s), with the n th defined as follows: Y n (s) = U n (s) + W n (s) where W n (s) is stationary Gaussian white noise, and U n (s) is defined by a sum of convolutions: U n (s) = = h mn (s) X m (s) R p h mn (α)x m (s α)d p α where, h mn is the kernel connecting latent input m to output n. The function C Y ij (s a, s b ) defines the auto (i == j) and cross covariance (i j) between Y i (s a ) and Y j (s b ), and is derived as follows: where σ i is the variance of W i (s), and C Y ij (s a, s b ) = C U ij (s a, s b ) + σ i δ ij δ ab Cij U (s a, s b ) = E {U i (s a )U j (s b )} (U i (s), U j (s) are zero mean processes) { M } = E h mi (α)x m (s a α)d p α h nj (β)x n (s b β)d p β R p R p = n= R p n= R p h mi (α)h nj (β)e {X m (s a α)x n (s b β)d p α d p β} where we have changed the order of expectation and integration because R p h mn (s) d p s < m, n, i.e. h mn (s) are finite energy kernels (corresponding to stable linear filters). Now, X m (s ) and X m (s ) are Gaussian white noise processes, that only covary if m = n and s = s, so

C U ij (s a, s b ) = = R p R p h mi (α)h nj (β)δ ( α [s a s b + β] ) d p α d p β R p h mj (β)h mi (β + (s a s b ))d p β which is the sum of kernel correlations. If the kernels are stationary, then we can define a stationary Cij U ( ) in terms of a separation vector d s = s a s b. C U ij (d s) = A. Covariance functions for Gaussian Kernels R p h mj (β)h mi (β + d s )d p β (4) Equation 4 defines the auto and cross covariance and is repeated here for convenience. C U ij (d s ) = R p h mj (β)h mi (β + d s )d p β Here, we set the kernels to parameterised Gaussians and solve the integral. Let ( h mn (s) = v mn exp ) (s µ mn) T A mn (s µ mn ) where v mn R, s, µ mn R p, and A mn is a p p positive definite matrix. Now let a, b R p and A, B be p p positive definite matrices. Define ( f(s, a, b, A, B) = exp ) ( R p (s a)t A(s a) exp ) (s b)t B(s b) d p s = exp ( ) ( c exp ) R p (s µ)t G(s µ) d p s where G = A + B, µ = G (Aa + Bb), and c = a T Aa + b T Bb µ T Gµ f(s, a, b, A, B) = exp ( c ) (π) p G Now, c = a T Aa + b T Bb µ T Gµ = (b ɛ) T Σ(b ɛ) + g where Σ = A AG A = AG B and ɛ = Σ BG Aa = a and g = ɛ T Σɛ + a T Aa a T AG Aa = so, f(s, a, b, A, B) = (π) p ( exp ) A + B (b a)t Σ (b a)

We can now write C U ij (d s ) = R p v mi exp = = { ( v mj exp ) (β µ mj) T A mj (β µ mj ) ( )} (β + d s µ mi ) T A mi (β + d s µ mi ) d p β f(β, µ mj, d s µ mi, A mj, A mi ) where Σ = A mi (A mi + A mj ) A mj References (π) p ( Amj + A mi exp ) (d s [µ mi µ mj ]) T Σ (d s [µ mi µ mj ]) [] Abrahamsen, P. A review of gaussian random fields and correlation functions. Tech. Rep. 97, Norwegian Computing Center, Box 4, Blindern, N-34 Oslo, Norway, 997. [] Cressie, N. Statistics for Spatial Data. Wiley, 993. [3] Gibbs, M. Bayesian Gaussian Processes for Classification and Regression. PhD thesis, University of Cambridge, Cambridge, U.K., 997. [4] Gibbs, M., and MacKay, D. J. Efficient implementation of gaussian processes. www.inference.phy.cam.ac.uk/mackay/abstracts/gpros.html, 996. [5] Gibbs, M. N., and MacKay, D. J. Variational gaussian process classifiers. IEEE Trans. on Neural Networks, 6 (), 458 464. [6] Higdon, D. Space and space-time modelling using process convolutions. In Quantitative methods for current environmental issues (), C. Anderson, V. Barnett, P. Chatwin, and A. El- Shaarawi, Eds., Springer Verlag, pp. 37 56. [7] MacKay, D. J. Gaussian processes: A replacement for supervised neural networks? In NIPS97 Tutorial, 997. [8] MacKay, D. J. Information theory, inference, and learning algorithms. Cambridge University Press, 3. [9] Neal, R. Probabilistic inference using markov chain monte carlo methods. Tech. Report CRG- TR-93-, Dept. of Computer Science, Univ. of Toronto, 993. [] Neal, R. Monte carlo implementation of gaussian process models for bayesian regression and classification. Tech. Rep. CRG-TR-97-, Dept. of Computer Science, Univ. of Toronto, 997. [] Paciorek, C. Nonstationary Gaussian processes for regression and spatial modelling. PhD thesis, Carnegie Mellon University, Pittsburgh, Pennsylvania, U.S.A., 3. [] Paciorek, C., and Schervish, M. Nonstationary covariance functions for gaussian process regression. Submitted to NIPS, 4. [3] Rasmussen, C., and Kuss, M. Gaussian processes in reinforcement learning. In Advances in Neural Information Processing Systems (4), vol. 6. [4] Rasmussen, C. E. Evaluation of Gaussian Processes and other methods for Non-Linear Regression. PhD thesis, Graduate Department of Computer Science, University of Toronto, 996. [5] Tipping, M. E., and Bishop, C. M. Bayesian image super-resolution. In Advances in Neural Information Processing Systems (), S. Becker S., Thrun and K. Obermayer, Eds., vol. 5, pp. 33 3.

[6] Williams, C. K., and Barber, D. Bayesian classification with gaussian processes. IEEE trans. Pattern Analysis and Machine Intelligence, (998), 34 35. [7] Williams, C. K., and Rasmussen, C. E. Gaussian processes for regression. In Advances in Neural Information Processing Systems (996), D. Touretzsky, M. Mozer, and M. Hasselmo, Eds., vol. 8. 3