# A Case Study Competition Among Methods for Analyzing Large Spatial Data

- 1.3k Downloads
- 7 Citations

## Abstract

The Gaussian process is an indispensable tool for spatial data analysts. The onset of the “big data” era, however, has lead to the traditional Gaussian process being computationally infeasible for modern spatial data. As such, various alternatives to the full Gaussian process that are more amenable to handling big spatial data have been proposed. These modern methods often exploit low-rank structures and/or multi-core and multi-threaded computing environments to facilitate computation. This study provides, first, an introductory overview of several methods for analyzing large spatial data. Second, this study describes the results of a predictive competition among the described methods as implemented by different groups with strong expertise in the methodology. Specifically, each research group was provided with two training datasets (one simulated and one observed) along with a set of prediction locations. Each group then wrote their own implementation of their method to produce predictions at the given location and each was subsequently run on a common computing environment. The methods were then compared in terms of various predictive diagnostics. Supplementary materials regarding implementation details of the methods and code are available for this article online.

## Keywords

Big data Gaussian process Parallel computing Low-rank approximation## 1 Introduction

*N*-variate Gaussian distribution. More specifically, let \(\mu (\varvec{s}): \mathcal {D} \rightarrow \mathbb {R}\) denote a mean function returning the mean at location \(\varvec{s}\) (typically assumed to be linear in covariates \(\varvec{X}(\varvec{s}) = (1,X_1(\varvec{s}),\dots ,X_P(\varvec{s}))'\)) and \(\mathbb {C}(\varvec{s}_1,\varvec{s}_2): \mathcal {D}^2 \rightarrow \mathbb {R}^+\) denote a positive-definite covariance function. Then, if \(Y(\varvec{s})\) follows a spatial Gaussian process, \(\varvec{Y}\) has the density function,

With the modern onset of larger and larger spatial datasets, however, the use of Gaussian processes for scientific discovery has been hindered by computational intractability. Specifically, evaluating the density in (1) requires \(\mathcal {O}(N^3)\) operations and \(\mathcal {O}(N^2)\) memory which can quickly overwhelm computing systems when *N* is only moderately large. Early solutions to this problem included factoring (1) into a series of conditional distributions (Vecchia 1988; Stein et al. 2004), the use of pseudo-likelihoods (Varin et al. 2011; Eidsvik et al. 2014), modeling in the spectral domain (Fuentes 2007) or using tapered covariance functions (Furrer et al. 2006; Kaufman et al. 2008; Stein 2013). Beginning in the late 2000’s, several approaches based on low-rank approximations to Gaussian processes were developed (or became popular) including discrete process convolutions (Higdon 2002; Lemos and Sansó 2009), fixed rank kriging (Cressie and Johannesson 2008; Kang and Cressie 2011; Katzfuss and Cressie 2011), predictive processes (Banerjee et al. 2008; Finley et al. 2009), lattice kriging (Nychka et al. 2015) and stochastic partial differential equations (Lindgren et al. 2011). Sun et al. (2012), Bradley et al. (2016) and Liu et al. (2018) provide exceptional reviews of these methods and demonstrate their effectiveness for modeling spatial data.

After several years of their use, however, scientists have started to observe shortcomings in many of the above methods for approximating GPs such as the propensity to oversmooth the data (Simpson et al. 2012; Stein 2014) and even, for some of these methods, an upper limit on the size of the dataset that can be modeled. Hence, recent scientific research in this area has focused on the efficient use of modern computing platforms and the development of methods that are parallelizable. For example, Paciorek et al. (2015) show how (1) can be calculated using parallel computing while Katzfuss and Hammerling (2017) and Katzfuss (2017) develop a basis-function approach that lends itself to distributed computing. Alternatively, Barbian and Assunção (2017) and Guhaniyogi and Banerjee (2018) propose dividing the data into a large number of subsets, draw inference on the subsets in parallel and then combining the inferences. Datta et al. (2016a, c) build upon Vecchia (1988) by developing novel approaches to factoring (1) as a series of conditional distributions based only on nearest neighbors.

Given the plethora of choices to analyze large spatially correlated data, for this paper, we seek to not only provide an overview of modern methods to analyze massive spatial datasets, but also lightly compare the methods in a unique way. Specifically, this research implements the common task framework of Wikle et al. (2017) by describing the outcome of a friendly case study competition between various research groups across the globe who each implemented their own method to analyze the same spatial datasets (see the list of participating groups in Table 1). That is, several research groups were provided with two spatial datasets (one simulated and one real) with a portion of each dataset removed to validate predictions (research groups were not provided with the removed portion so that this study is “blinded”). The simulated data represent a scenario where the Gaussian process assumption is valid (i.e., a correctly specified model), whereas the real dataset is a scenario when the model is potentially mis-specified due to inherent non-stationarity or non-Gaussian errors. Each group then implemented their unique method and provided a prediction (and prediction interval or standard error) of the spatial process at the held out locations. The predictions were compared by a third party and are summarized herein.

The case study competition described herein is unique and novel in that, typically, comparisons/reviews of various methods is done by a single research group implementing each method (see Sun et al. 2012; Bradley et al. 2016). However, single research groups may be more or less acquainted with some methods leading to a possibly unfair comparison with those methods they are less familiar with. In contrast, for the comparison/competition here, each method was implemented by a research group with strong expertise in the method and who is well-versed in any possible intricacies associated with its use. Further, unlike the previous reviews of Sun et al. (2012); Bradley et al. (2016), we provide a comparison of each method’s ability to quantify the uncertainty associated with predictions. Hence, in terms of scientific contributions, this paper (i) serves as a valuable review, (ii) discusses a unique case study comparison of spatial methods for large datasets, (iii) provides code to implement each method to practitioners (see supplementary materials), (iv) provides a comparison of the uncertainty quantification associated with each method and (v) establishes a framework for future studies to follow when comparing various analytical methods.

The remainder of this paper is organized as follows. Section 2 gives a brief background on each method. Section 3 provides the setting for the comparison along with background on the datasets. Section 4 then summarizes the results of the comparison in terms of predictive accuracy, uncertainty quantification and computation time. Section 5 draws conclusions from this study and highlights future research areas for the analysis of massive spatial data.

## 2 Overview of Methods for Analyzing Large Spatial Data

This section contains a brief overview of the competitors in this case study competition. For convenience, we group the methods into one of the following categories: (i) low rank, (ii) sparse covariance matrices, (iii) sparse precision matrices and (iv) algorithmic. The low-rank approaches are so classified because these typically involve reducing the rank of the \(N\times N\) matrix \({\varvec{\Sigma }}\). Sparse covariance methods work by introducing “0’s” into \({\varvec{\Sigma }}\) allowing for sparse matrix computations. Sparse precision methods, in contrast, induce sparsity in the precision matrix to allow for efficient computation. Algorithmic approaches (which is perhaps the most vaguely defined category) differ from the previous approaches in that they focus more on a transductive approach to learning by focusing more on fitting schemes than model building. Importantly, we introduce these categories as a subjective classification purely for clarity in exposition. As with any subjective grouping, a single method may include pieces of various categories. As such, we strongly encourage viewing the method as a whole rather than solely through the lens of our subjective categorization.

### 2.1 Low-Rank Methods

#### 2.1.1 Fixed Rank Kriging

*K*basis functions \(\varvec{h}(\varvec{s}) = (h_1(\varvec{s}),\dots ,h_K(\varvec{s}))', \varvec{s} \in \mathcal {D},\) and

*K*basis-function coefficients \(\varvec{w}^\star = (w_1^\star ,\dots ,w_K^\star )'\) such that,

*K*basis functions ensures that all estimation and prediction equations only contain inverses of matrices of size \(K \times K\), where \(K \ll N\). In practice, the set \(\{h_k(\varvec{\cdot })\}\) in (3) is comprised of functions at

*R*different resolutions such that (3) can also be written as

The coefficients \(\varvec{w}^\star = (w^\star _{rk}: r = 1,\dots ,R;~k = 1,\dots , K_r)'\) have as covariance matrix \(\mathbb {V}\text {ar}(\varvec{w}^\star ) = \varvec{\Sigma }_{w^\star }(\varvec{\theta })\), where \(\varvec{\theta }\) are parameters that need to be estimated. In this work, \(\varvec{\Sigma }_{w^\star }(\varvec{\theta })\) is a block-diagonal matrix composed from *R* dense matrices, where the \(r\mathrm{th}\) block has \((i,j)\mathrm{th}\) element \(\sigma ^2_r\exp (-d_r(i,j)/\phi _r)\) and where \(d_r(i,j)\) is the distance between the centroids of the \(i\mathrm{th}\) and \(j\mathrm{th}\) basis function at the \(r\mathrm{th}\) resolution; \(\sigma ^2_r\) is the variance at the \(r\mathrm{th}\) resolution; \(\phi _r\) is the spatial correlation parameter of the exponential correlation function at the \(r\mathrm{th}\) resolution; and \(\varvec{\theta } = (\sigma ^2_1,\dots ,\sigma ^2_R,\phi _1,\dots ,\phi _R)'\). Note that \(\varvec{\Sigma }_{w^\star }(\varvec{\theta })\) can also be unstructured in which case \(K(K+1)/2\) parameters need to be estimated; however, this case is not considered here.

*N*observed locations is,

#### 2.1.2 Predictive Processes

In the subsequent analyses presented in Sect. 4, we applied a fairly coarse 14\(\times \)14 knot grid in an attempt to balance computing time with predictive performance. Increasing the number of knots beyond 196 will improve inference, at the cost of longer run time.

As with FRK, the associated likelihood under (8) only requires calculating the inverse and determinant of a dense \(K\times K\) matrix and diagonal \(N\times N\) matrices which results in massive computational savings when \(K \ll N\). However, one advertised advantage of using the PP approach as opposed to FRK or LatticeKrig is that the PP basis functions are completely determined by the choice of covariance function \(\mathbb {C}(\cdot ,\cdot )\). Hence, the PP approach is unaltered even when considering modeling complexities such as anisotropy, non-stationarity or even multivariate processes. At the same time, however, when \(\mathbb {C}(\cdot ,\cdot )\) is governed by unknown parameters (which is nearly always the case) the PP basis functions need to be calculated iteratively rather than once as in FRK or LatticeKrig which will subsequently increase computation time.

### 2.2 Sparse Covariance Methods

#### 2.2.1 Spatial Partitioning

*d*. Notice that, in (9) each subregion shares common \(\varvec{\beta }\) and \(\varvec{w}^\star \) parameters which allows smoothing across subregions in spite of the independence assumption. Further, the assumption of independence across subregions effectively creates a block-diagonal structure for \({\varvec{\Sigma }}\) and allows the likelihood to be computed in parallel (with one node per subregion) thereby facilitating computation.

By way of distinction, this approach is inherently different from the “divide and conquer” approach (Liang et al. 2013; Barbian and Assunção 2017). In the divide and conquer approach, the full dataset is subsampled, the model is fit to each subset and the results across subsamples are pooled. In contrast, the spatial partition approach uses all the data simultaneously in obtaining estimates, but the independence across regions facilitates computation.

The key to implementing the spatial partitioning approach is the choice of partition, and the literature is replete with various options. A priori methods to define the spatial partitioning include partitioning the region into equal areas (Sang et al. 2011), partitioning based on centroid clustering (Knorr-Held and Raßer 2000; Kim et al. 2005) and hierarchical clustering based on spatial gradients (Anderson et al. 2014; Heaton et al. 2017). Alternatively, model-based approaches to spatial partitioning include treed regression (Konomi et al. 2014) and mixture modeling (Neelon et al. 2014), but these approaches typically require more computation. For this analysis, a couple of different partitioning schemes were considered, but each scheme resulted in approximately equivalent model fit to the training data. Hence, based on the results from the training data, for the competition below we used an equal area partition of approximately 6000 observations per subregion.

#### 2.2.2 Covariance Tapering

The idea of covariance tapering is based on the fact that many entries in the covariance matrix \(\varvec{\Sigma }\) in (1) are close to zero and associated location pairs could be considered as essentially independent. Covariance tapering multiplies the covariance function \(\mathbb {C}(\varvec{s}_i,\varvec{s}_j)\) with a compactly supported covariance function, resulting in another positive-definite covariance function but with compact support. From a theoretical perspective, covariance tapering (in the framework of infill-asymptotics) is using the concept of Gaussian equivalent measures and mis-specified covariance functions (see, e.g., Stein 1999 and references therein). Subsequently, Furrer et al. (2006) have assumed a second-order stationary and isotropic Matérn covariance to show asymptotic optimality for prediction under tapering. This idea has been extended to different covariance structures (Stein 2013), non-Gaussian response (Hirano and Yajima 2013) and multivariate and/or spatiotemporal setting (Furrer et al. 2016).

From a computational aspect, the compact support of the resulting covariance function provides the computational savings needed by employing sparse matrix algorithms to efficiently solve systems of linear equations. More precisely, to evaluate density (1), a Cholesky factorization for \({\varvec{\Sigma }}\) is performed followed by two solves of triangular systems. For typical spatial data settings, the solve algorithm is effectively linear in the number of observations.

Although tapering can be adapted to better take into account uneven densities of locations and complex anisotropies, we use a simple straightforward approach for this competition. The implementation here relies almost exclusively on the R package spam (Furrer and Sain 2010; Furrer 2016). Alternatively to likelihood approaches and in view of computational costs, we have minimized the squared difference between an empirical covariance and parameterized covariance function. The gridded structure of the data is exploited and the empirical covariance is estimated for a specific set of locations only; and thus is close to classical variogram estimation and fitting (Cressie 1993).

### 2.3 Sparse Precision Methods

#### 2.3.1 LatticeKrig

LatticeKrig (LK, Nychka et al. 2015) uses nearly the same setup as is employed by FRK. Specifically, LK assumes the model (6) but omits the fine-scale process \(\xi (\cdot )\). LatticeKrig also follows the multiresolution approach in (4) for the matrix \({\varvec{H}}\), but LK uses a different structure and constraints than FRK. First, the marginal variance of each resolution \(\varvec{h}_{r}'(\varvec{s})\varvec{w}_r^\star \) where \(\varvec{h}_r'(\varvec{s}) = (h_{r1}(\varvec{s}),\dots ,h_{rK_r}(\varvec{s}))'\) are the basis functions of the \(r\mathrm{th}\) resolution with coefficients \(\varvec{w}^\star _{r} = (w^\star _{r1},\dots ,w^\star _{rK_r})'\) is constrained to be \(\sigma ^2_{w^\star }\alpha _r\) where \(\sigma ^2_{w^\star },\alpha _r>0\) and \(\sum _{r=1}^R\alpha _r = 1\). To further reduce the number of parameters, LK sets \(\alpha _r \sim r^{-\nu }\) where \(\nu \) is a single free parameter.

*r*. For this article, LK defines

LatticeKrig assumes the coefficients at each resolution \(\varvec{w}^\star _{r} = (w^\star _{r1},\dots ,w^\star _{rK_r})'\) are independent (similar to the block-diagonal structure used in FRK) and follow a multivariate normal distribution with covariance \(\varvec{Q}_r^{-1}(\phi _r)\) parameterized by a single parameter \(\phi _r\). Because the locations \(\{\varvec{u}_{rk}\}_{k=1}^{K_r}\) are prescribed to be a regular grid, LK uses a spatial autoregression/Markov random field (see Banerjee et al. 2014, Section 4.4) structure for \(\varvec{Q}_r^{-1}(\phi _r)\) leading to sparsity and computational tractability. Furthermore, because \(\varvec{Q}_r(\phi _r)\) is sparse, LK can set *K* to be very large (as in this competition where \(K=136,000 > N\)) without much additional computational cost. The supplementary material to this article contains additional information about the implementation of LatticeKrig used in this case study.

#### 2.3.2 Multiresolution Approximations

The multiresolution approximation (MRA) can be viewed as a combination of several previously described approaches. Similar to FRK or LatticeKrig, the MRA also uses the basis-function approach in (4) but uses *compactly* supported basis functions at different resolutions. In contrast to FRK or LatticeKrig, the MRA basis functions and the prior distribution of the corresponding weights are chosen using the predictive-process approach to automatically adapt to any given covariance function \(\mathbb {C}(\cdot )\), and so the MRA can adjust flexibly to a desired spatial smoothness and dependence structure. Scalability of the MRA is ensured in that for increasing resolution, the number of basis functions increases while the support of each function (i.e., the part of the spatial domain in which it is nonzero) decreases allowing the number of basis functions to be approximately the same as the data. Decreasing support (and increasing sparsity of the covariance matrices of the corresponding weights) is achieved either by increasingly severe tapering of the covariance function (MRA-taper; Katzfuss and Gong 2017) or by recursively partitioning the spatial domain (MRA-block; Katzfuss 2017). This can lead to (nearly) exact approximations with quasilinear computational complexity.

While the MRA-taper has some attractive smoothness properties, we focus here on the MRA-block which is based on a recursive partitioning of the domain \(\mathcal {D}\) into smaller and smaller subregions up to some level *M*. Within each (sub-)region at each resolution, there is a small number, say \(r_0\), of basis functions. The resulting approximation of the process (including its variance and smoothness) in each region at resolution *M* is exact. In addition, it is feasible to compute and store the joint posterior covariance matrix (i.e., not just its inverse as with related approaches) for a large number of prediction locations as a product of two sparse matrices (Jurek and Katzfuss 2018).

The MRA-block is designed to take full advantage of high-performance computing systems, in that inference is well suited for massively distributed computing, with limited communication overhead. The computational task is split into small parts by assigning a computational node to each region of the recursive partitioning. The nodes then deal in parallel with the basis functions corresponding to their assigned regions leading to a polylogarithmic computational complexity. For this project, we use \(M=9\) levels, partition each domain in 2 parts and set the number of basis function in each partition to \(r_0=64\).

#### 2.3.3 Stochastic PDEs

The stochastic partial differential equation approach (SPDE) is based on the equivalence between Matérn covariance fields and stochastic PDEs, in combination with the Markov property that on two-dimensional domains holds for integer valued smoothness parameters in the Matérn family. The starting point is a basis expansion for \(w(\varvec{s})\) of the form (3), where the basis functions \(h_k(\varvec{s})\) are chosen to be piecewise linear on a triangulation of the domain (Lindgren et al. 2011). The optimal joint distribution for the \(w_k^\star \) coefficients is obtained through a finite element construction, which leads to a sparse inverse covariance matrix (precision) \(\varvec{Q}_\theta (\varvec{\phi })\). The precision matrix elements are polynomials in the precision and inverse range parameters (\(1/\phi _{\sigma }^2\) and \(1/\phi _r\)), with sparse matrix coefficients that are determined solely by the choice of triangulation. This differs from the sequential Markov construction of the NNGP method which instead constructs a square-root-free \(\varvec{L}\varvec{D}\varvec{L}'\) Cholesky decomposition of its resulting precision matrix (in a reverse order permutation of the elements).

The spatial process is specified through a joint Gaussian model for \(\varvec{z}=(\varvec{w}^\star ,\, \varvec{\beta })\) with prior mean \(\varvec{0}\) and block-diagonal precision \(\varvec{Q}_z=\text {diag}(\varvec{Q}_{w^\star },\varvec{Q}_\beta )\), where \(\varvec{Q}_\beta =\varvec{I}\cdot 10^{-8}\) gives a vague prior for \(\varvec{\beta }\). Introducing the sparse basis evaluation matrix \(\varvec{H}\) with elements \(H_{ij}=h_j(\varvec{s}_i)\) and covariate matrix \(\varvec{X}=X_j(\varvec{s}_i)\), the observation model is then \(\varvec{Y} = \varvec{X}\varvec{\beta } + \varvec{H} \varvec{w}^\star + \varvec{\varepsilon } = {\varvec{A}}\varvec{z} + \varvec{\varepsilon }\) where \(\varvec{A}=(\varvec{H},\,\varvec{X})\), and \(\varvec{\varepsilon }\) is a zero mean observation noise vector with diagonal precision \(\varvec{Q}_\varepsilon =\varvec{I}/\sigma _\varepsilon ^2\).

Using the precision based equations for multivariate Normal distributions, the conditional precision and expectation for \(\varvec{z}\) are given by \(\varvec{Q}_{z|y} = \varvec{Q}_z + \varvec{A'} \varvec{Q}_\varepsilon \varvec{A}\) and \(\varvec{\mu }_{z|y} = \varvec{Q}_{z|y}^{-1} \varvec{A'} \varvec{Q}_\varepsilon \varvec{Y}\), where sparse Cholesky factorisation of \(\varvec{Q}_{z|y}\) is used for the linear solve. The elements of \(\varvec{z}\) are automatically reordered to keep the Cholesky factors as sparse as possible. The resulting computational and storage cost for the posterior predictions and multivariate Gaussian likelihood of a spatial Gaussian Markov random field of this type with *K* basis functions is \(\mathcal {O}(K^{3/2})\). Since the direct solver does not take advantage of the stationarity of the model, the same prediction cost would apply to non-stationary models. For larger problems, more easily parallelizable iterative sparse solvers (e.g., multigrid) can be applied, but for the relatively small size of the problem here, the straightforward implementation of a direct solver is likely preferable.

The implementation of the SPDE method used here is based on the R package INLA (Rue et al. 2017), which is aimed at Bayesian inference for latent Gaussian models (in particular Bayesian generalized linear, additive, and mixed models) using integrated nested Laplace approximations (Rue et al. 2009). The parameter optimization for \(\varvec{\phi }=(\phi _{r},\phi _{\sigma },\sigma _\varepsilon ^2)\) uses general numerical log-likelihood derivatives, thus the full Bayesian inference was therefore turned off, leading to an empirical Bayes estimate of the covariance parameters. Most of the running time is still spent on parameter optimization, but using the same parameter estimation technique as for LK, in combination with a purely Gaussian implementation, substantively reduces the total running time even without specialized code for the derivatives.

#### 2.3.4 Nearest Neighbor Processes

A sparse formulation of \(\varvec{A}\) ensures that evaluating the likelihood of \(\varvec{w}\) (and, hence, of \(\varvec{Y}\)) will be computationally scalable because \({\varvec{\Sigma }}^{-1}\) is sparse. Because spatial covariances decrease with increasing distance, Vecchia (1988) demonstrated that replacing the conditional set \(\varvec{w}_{1:(i-1)}\) by the smaller set of *m* nearest neighbors (in terms of Euclidean distance) of \(\varvec{s}_i\) provides an excellent approximation to the conditional density in (13). Datta et al. (2016a) demonstrated that this is equivalent to \(\varvec{A}\) having at-most *m* nonzero entries in each row (in this study we take \(m=25\)) and thereby corresponds to a proper probability distribution. Similarly, for prediction at a new location \(\varvec{s}\), a sparse \(\varvec{a}(\varvec{s})\) in (14) is constructed based on *m*-nearest neighbors of \(\varvec{s}\) among \(\varvec{s}_1, \dots , \varvec{s}_N\). The resulting Gaussian process is referred to as the Nearest Neighbor Gaussian Process (NNGP). Generalizing the use of nearest neighbors from expedient likelihood evaluations as in Vecchia (1988) and Stein et al. (2004) to the well-defined NNGP on the entire domain enables fully Bayesian inference and coherent recovery of the latent SREs.

Using an NNGP, the model can be written as \(\varvec{Y} \sim N(\varvec{X}\varvec{\beta }, \varvec{\widetilde{\Sigma }} (\varvec{\phi }) )\) where \(\varvec{\widetilde{\Sigma }}\) is the NNGP covariance matrix derived from the full GP. A Bayesian specification is completed by specifying priors for the parameters \(\varvec{\beta }\) and \(\varvec{\phi }\). For this application, the covariance function \(\mathbb C\) consists of an stationary exponential GP with variance \(\sigma ^2\) and range \(\phi \) and a nugget process with variance \(\sigma ^2_\varepsilon \) (see (5)). We assign a normal prior for \(\varvec{\beta }\), inverse gamma priors for \(\sigma ^2_w\) and \(\sigma ^2_\varepsilon \) and a uniform prior for \(\phi \). A Gibbs sampler for the model involves conjugate updates for \(\varvec{\beta }\) and metropolis random walk updates for \(\varvec{\phi }= (\sigma ^2_w, \sigma ^2_\varepsilon , \phi )'\).

Letting \(\alpha = \sigma ^2_\varepsilon /\sigma ^2_w\), the model can also be expressed as \(\varvec{Y} \sim N(\varvec{X}\varvec{\beta }, \sigma ^2_w \varvec{\widetilde{R} } (\phi ,\alpha ) )\) where \(\varvec{\widetilde{R} }\) is the NNGP matrix derived from \(\varvec{C}(\phi ) + \alpha \varvec{I}\), \(\varvec{C}(\phi )\) being the correlation matrix of the exponential GP. Fixing \(\alpha \) and \(\phi \) gives a conjugate normal–inverse Gamma posterior distribution for \(\varvec{\beta }\) and \(\sigma ^2_w\). Predictive distributions for *y*(*s*) at new locations can also be obtained as *t*-distributions. The fixed values of \(\alpha \) and \(\phi \) can be chosen from a grid-search by minimizing root-mean-square predictive error score based on *K*-fold cross-validation. This hybrid approach departs from fully Bayesian philosophy by using hyper-parameter tuning. However, it offers a pragmatic solution for massive spatial datasets. We refer to this model as the *conjugate NNGP* model and will be the model used in this computation. Detailed algorithms for both the models are provided in Finley et al. (2018). NNGP models for analyzing massive spatial data are available on CRAN as the R-package *spNNGP* (Finley et al. 2017).

#### 2.3.5 Periodic Embedding

When the observation locations form a regular grid, and the model is stationary, methods that make use of the discrete Fourier transform (DFT), also known as spectral methods, can be statistically and computationally beneficial, since the DFT is an approximately decorrelating transform, and it can be computed quickly and with low memory burden using fast Fourier transform (FFT) algorithms. For spatially gridded data in two or higher dimensions—as opposed to time series data in one dimension—there are two prominent issues to be addressed. The first is edge effects, and the second is missing values. By projecting onto trigonometric bases, spectral methods essentially assume that the process is periodic on the observation domain, which leads to bias in the estimates of the spectrum (Guyon 1982; Dahlhaus and Künsch 1987). Guinness and Fuentes (2017) and Guinness (2017) propose the use of small domain expansions and imputing data in a periodic fashion on the expanded lattice. Imputation-based methods also solve the second issue of missing values, since the missing observations can be imputed as well.

*m*, making the full vector \(\varvec{Y} = (\varvec{U}',\varvec{V}')'\). The discrete Fourier transform of the entire vector is

*k*, the spectrum \(f_k\) is updated with

*m*. This is critical since it ensures that \(R_k\) is periodic on the expanded grid. In practice, the expected value in (15) is replaced with \(|J(\varvec{\nu })|^2\) computed using an imputed vector \(\varvec{V}\), a conditional simulation of missing values given \(\varvec{U}\) under covariance function \(R_k\). This ensures that the imputed vector \(\varvec{V}\) is periodic on the expanded lattice and reduces edge effects. The iterative procedure can also be run with an intermediate parametric step in which the Whittle likelihood (Whittle 1954) is used to estimate a parametric spectral density, which is used to filter the imputed data prior to smoothing the spectrum. See Guinness (2017) for details about more elaborate averaging schemes and monitoring for convergence of the iterative method.

### 2.4 Algorithmic Approaches

#### 2.4.1 Metakriging

Spatial metakriging is an approximate Bayesian method that is not tied to any specific model and is partly algorithmic in nature. In particular, any spatial model described above can be used to draw inference from subsets (as described below). From (1), let the \(N\times N\) covariance matrix be determined by a set of covariance parameters \(\varvec{\phi }\) such that \({\varvec{\Sigma }}= {\varvec{\Sigma }}(\varvec{\phi })\) (e.g., \(\varvec{\phi }\) could represent decay parameters from the Matérn covariance function) and \(\mu (\varvec{s}) = \varvec{X}'(\varvec{s})\varvec{\beta }\) where \(\varvec{X}(\varvec{s})\) is a set of known covariates with unknown coefficients \({\varvec{\beta }}\). Further, let the sampled locations \(\mathcal {S}=\{{\varvec{s}}_1, \ldots ,{\varvec{s}}_N\}\) be partitioned into sets \(\{\mathcal {S}_1, \ldots ,\mathcal {S}_K\}\) such that \(\mathcal {S}_i\cap \mathcal {S}_j=\emptyset \) for \(i\ne j\), \(\bigcup _{i=1}^K\mathcal {S}_i=\mathcal {S}\) and the corresponding partition of the data be given by \(\{{\varvec{y}}_k, {\varvec{X}}_k\}\), for \(k=1,2,\ldots ,K\), where each \({\varvec{y}}_k\) is \(n_k\times 1\) and \({\varvec{X}}_k\) is \(n_k\times p\). Assume that we are able to obtain posterior samples for \({\varvec{\Omega }}= \{{\varvec{\beta }}, {\varvec{\phi }}\}\) from (1) applied independently to each of *K* subsets of the data in *parallel on different cores*. To be specific, assume that \({\varvec{\Omega }}_k = \{{\varvec{\Omega }}_k^{(1)}, {\varvec{\Omega }}_k^{(2)},\ldots , {\varvec{\Omega }}_k^{(M)}\}\) is a collection of *M* posterior samples from \(p({\varvec{\Omega }}\,|\,{\varvec{y}}_k)\). We refer to each \(p({\varvec{\Omega }}\,|\,{\varvec{y}}_k)\) as a “subset posterior.” The metakriging approach we outline below attempts to combine, optimally and meaningfully, these subset posteriors to arrive at a legitimate probability density. We refer to this as the “metaposterior.”

The GM is unique. Further, the geometric median lies in the convex hull of the individual posteriors, so \(\pi ^*({\varvec{\Omega }}\,|\,{\varvec{y}})\) is a legitimate probability density. Specifically, \(\pi ^*({\varvec{\Omega }}\,|\,{\varvec{y}})=\sum _{k=1}^{K} \xi _{h,k}({\varvec{y}})p_k\), \(\sum _{k=1}^{K}\xi _{h,k}({\varvec{y}})=1\), each \(\xi _{h,k}({\varvec{y}})\) being a function of \(h,{\varvec{y}}\), so that \(\int _{{\varvec{\Omega }}}\pi ^*({\varvec{\Omega }}\,|\,{\varvec{y}})\hbox {d}{\varvec{\Omega }}=1\).

Computation of the geometric median \(\pi ^*\equiv \pi ^*({\varvec{\Omega }}\,|\,{\varvec{y}})\) proceeds by employing the popular Weiszfeld’s iterative algorithm that estimates \(\xi _{h,k}({\varvec{y}})\) for every *k* from the subset posteriors \(p_k\). To further elucidate, we use a well known result that the geometric median \(\pi ^*\) satisfies, \(\pi ^*=\left[ \sum _{k=1}^{K}p_k/d_h(p_k,\pi ^*)\right] \left[ \sum _{k=1}^{K}1/d_h(p_k,\pi ^*)\right] ^{-1}\) so that \(\xi _{h,k}({\varvec{y}})= (1/d_h(p_k,\pi ^*))/ \sum _{j=1}^{K}(1/d_h(p_j,\pi ^*))\). Since there is no apparent closed form solution for \(\xi _{h,k}({\varvec{y}})\) that satisfies this equation, one needs to resort to the Weiszfeld iterative algorithm outlined in Minsker et al. (2014) to produce an empirical estimate of \(\xi _{h,k}({\varvec{y}})\) for all \(k=1,..,K\).

*k*-th subset posterior. Then,

The spatial metakriging approach has additional advantages over Minsker et al. (2014). Minsker et al. (2014) suggest computing the stochastically approximated posterior from each subset, which limits users from employing standard R packages to draw posterior samples from them. In contrast, metakriging allows subset posterior computation using popular R packages. Additionally, Minsker et al. (2014) mainly focuses on prediction and restricts its applicability only to i.i.d. settings. On the contrary, Guhaniyogi and Banerjee (2018) present comprehensive analysis on parameter estimation, residual surface interpolation and prediction for spatial Gaussian processes. Theoretical results supporting the proposed approach under restrictive assumptions have been presented in the supplementary material to Guhaniyogi and Banerjee (2018).

One important ingredient of spatial metakriging (SMK) is partitioning the dataset into subsets. For this article, we adopt a random partitioning scheme that randomly divides data into \(K=30\) exhaustive and mutually exclusive subsets. The random partitioning scheme facilitates each subset to be a reasonable representative of the entire domain, so that each subset posterior acts as a “weak learner” of the full posterior. We have explored more sophisticated partitioning schemes and found similar predictive inference.

For the sake of definiteness, this article uses the stationary Gaussian process model for each subset inference which may lead to higher run time. Indeed, the version of metakriging approach presented here yields more accurate results when a stationary Gaussian process model is fitted in each subset. However, the metakriging approach lends much more scalability when any of the above models is employed in each subset. In fact, an extension to spatial metakriging, referred to as distributed spatial kriging (DISK) (Guhaniyogi et al. 2017), scales the non-stationary modified predictive process to millions of observations. Ongoing research on a more general extension of metakriging, coined as Aggregated Monte Carlo (AMC), involves scaling spatiotemporal varying coefficient models to big datasets.

#### 2.4.2 Gapfill

The gapfill method (Gerber et al. 2018) differs from the other herein presented methods in that it is purely algorithmic, distribution-free, and, in particular, not based on Gaussian processes. Like other prediction methods popular within the satellite imaging community (see Gerber et al. 2018; Weiss et al. 2014 for reviews), the gapfill method is attractive because of its low computational workload. A key aspect of gapfill is that it is designed for parallel processing, which allows the user to exploit computing resources at different scales including large servers. Parallelization is enabled by predicting each missing value separately based on only a subset of the data.

To predict the value \(Y(\varvec{s}_0)\) at location \(\varvec{s}_0\) gapfill first selects a suitable subset \(\varvec{A}=\{Y(\varvec{s}_i): \varvec{s}_i \in \mathcal {N}(\varvec{s}_0)\}\), where \(\mathcal {N}(\varvec{s}_0)\) defines a spatial neighborhood around \(\varvec{s}_0\). Finding \(\varvec{A}\) is formalized with rules, which reassure that \(\varvec{A}\) is small but contains enough observed values to inform the prediction. In this study, we require \(\varvec{A}\) to have an extent of at least \(5\times 5\) pixels and to contain at least 25 non-missing values. Subsequently, the prediction of \(Y(\varvec{s}_0)\) is based on \(\varvec{A}\) and relies on sorting algorithms and quantile regression. Moreover, prediction intervals are constructed using permutation arguments (see Gerber et al. 2018 for more details on the prediction and uncertainty intervals).

The gapfill method was originally designed for spatiotemporal data, in which case the neighborhood \(\mathcal {N}(\varvec{s}_0)\) is defined in terms of the spatial and temporal dimensions of the data. As a consequence, the implementation of gapfill in the R package gapfill (Gerber 2017) requires multiple images to work properly. To mimic this situation, we shift the given images by one, two, and three pixels in both directions along the *x* and *y*-axes. Then the algorithm is applied to those 13 images in total (one original image and 12 images obtained through shifts of the original image).

#### 2.4.3 Local Approximate Gaussian Processes

The local approximate Gaussian process (laGP, Gramacy and Apley 2015) addresses the big-*N* problem in GP regression by taking a so-called *transductive* approach to learning, where the fitting scheme is tailored to the prediction problem (Vapnik 1995) as opposed to the usual *inductive* approach of fitting first and predicting later conditional on the fit. A special case of laGP, based on nearest neighbors, is simple to describe. In order to predict at \(\varvec{s}\), simply train a Gaussian process predictor on the nearest *m* neighbors to \(\varvec{s}\); i.e., use the data subset \(\mathcal {Y}_m = \{Y(\varvec{s}_i): \varvec{s}_i \in \mathcal {N}_m(\varvec{s})\}\), where \(\mathcal {N}_m(\varvec{s})\) are the *m* closest observed locations to \(\varvec{s}\) in terms of Euclidean distance. If the data-generating mechanism is not at odds with modeling assumptions (e.g., having a well-specified covariance structure), then one can choose *m* to be as large as possible, up to computational limitations, in order to obtain an accurate approximation. Observe that this use of nearest neighbors (NNs) for prediction is more akin to the classical statistical/machine learning variety, in contrast to their use in determining the global (inverse) covariance structure as described in Sect. 2.3.

Interestingly, NNs do not comprise an optimal data subset for prediction under the usual criteria such as mean-squared error. However, finding the best *m* of \(N!/(m!(N-m)!)\) possible choices represents a combinatorially huge search. The laGP method generalizes this so-called nearest neighbor prediction algorithm (whose modern form in spatial statistical literature is described by Emery 2009) by approximating that search with a greedy heuristic. First, start with a NN set \(\mathcal {Y}_{m_0}(\varvec{s})= \{Y(\varvec{s}_i): \varvec{s}_i \in \mathcal {N}_{m_0}(\varvec{s}))\) where \(m_0 < m\), and then for \(j=m_0+1,\dots ,m\) successively choose \(\varvec{s}_{j}\) to augment \(\mathcal {Y}_{m_0}\) building up a local design data set one point at a time according to one of several simple objective criteria related to mean-square prediction error. The idea is to repeat in this way until there are *m* observations in \(\mathcal {Y}_m(\varvec{s})\). Gramacy and Apley’s preferred variation targets \(\varvec{s}_{j}\) which maximizes the *reduction* in predictive variance at \(\varvec{s}\). To recognize a similar *global* design criterion called *active learning Cohn* (Cohn 1996), they dubbed this criterion ALC. Qualitatively, these local ALC designs tend to have a cluster of neighbors and “satellite” points and have been shown to offer demonstrably better predictive properties than NN and even full-data alternatives especially when the data-generating mechanism is at odds with the modeling assumptions. The reason is that local fitting offers a way to cope with a certain degree of non-stationarity which is common in many real data settings.

ALC search iterations and GP updating considerations as designs are built up, are carefully engineered to lead to a method whose computations are of \(\mathcal {O}(N^3)\) complexity (i.e., the same as the simpler NN alternative). A relatively modest local design size of \(m=50\) typically works well. Moreover, calculations for each \(\varvec{s}\) are statistically independent of the next, which means that they can be trivially parallelized. Through a cascade of multi-core, multi-node and GPU parallelization, Gramacy et al. (2014) and Gramacy and Haaland (2016) illustrated how *N* in the millions, in terms of both training and testing data sizes could be handled (and yield accurate predictors) with less than an hour of computing time. The laGP method has been packaged for R and is available on CRAN (Gramacy 2016). Symmetric multi-core parallelization (via OpenMP) and multi-node automations (via the built-in parallel package) work out-of-the box. GPU extensions are provided in the source code but require custom compilation.

A disadvantage to local modeling in this fashion is that a global predictive covariance is unavailable. Indeed, the statistically independent nature of calculation is what makes the procedure computationally efficient and parallelizable. In fact, the resulting global predictive surface, over a continuum of predictive \(\varvec{s}\)-locations, need not even be smooth. However, in most visual representations of predictive surfaces it can be difficult to distinguish between a genuinely smooth surface and what is plotted via the laGP predictive equations. Finally, it is worth noting that although laGP is applied here in a spatial modeling setting (i.e., with two input variables), it was designed for computer simulation modeling and has been shown to work well in input dimension as high as ten.

## 3 The Competition

Research groups participating in the competition along with their selected method (competitor).

Group members | Method |
---|---|

Abhirup Datta and Andrew Finley | Nearest Neighbor Processes |

Andrew Finley | Predictive Processes |

Reinhard Furrer | Covariance Tapering |

Florian Gerber | Gapfill |

Raj Guhaniyogi | Metakriging |

Matthew J. Heaton | Spatial Partitioning |

Andrew Zammit-Mangion | Fixed Rank Kriging |

Matthias Katzfuss and Dorit Hammerling | Multiresolution Approximations |

Finn Lindgren | Stochastic Partial Differential Equations |

Joseph Guinness | Periodic Embedding |

Douglas Nychka | Lattice Kriging |

Robert Gramacy and Furong Sun | Local Approximate Gaussian Processes |

The simulated dataset was created by, first, fitting a Gaussian process model with constant mean, exponential covariance function and a nugget effect to a random sample of 2500 observations from the above MODIS data. The resulting parameter estimates were 4 / 3, 16.40, 0.05, and 44.49 for the spatial range, spatial variance, nugget variance and constant mean, respectively. The spatial range parameter of 4 / 3 equated to an approximate effective spatial range (the distance at which the correlation is equal to 0.05) of approximately 210 miles (338 km). These parameters were then used to simulate 150,000 observations on the same grid as the MODIS data.

To define test and training sets, the missing data pattern on August 6, 2016 from the same MODIS satellite data product was used to separate each dataset into training and test sets. After the split, the training set for the MODIS data consisted of 105,569 observations leaving 42,740 observations in the test set. The training set for the simulated data also consisted of 105,569 observations but a test set size of 44,431 (the difference in test set size is contributed to missing data due to cloud cover in the original MODIS data). Research teams were provided with the training set and the locations of the test set (but not the actual observation in the test set). Figure 1 displays the full datasets along with the corresponding training set provided to each research group. All datasets used in this article are provided on the public GitHub repository https://github.com/finnlindgren/heatoncomparison.

Each group independently wrote code (also included on the accompanying GitHub page) that provided (i) a point prediction for each location in the test set, (ii) a 95% prediction interval for location in the test set or a corresponding standard error for the prediction, and (iii) the total clock time needed to implement the method. In order to minimize the number of confounding factors in this competition, each group was instructed to use an exponential correlation function (if applicable to their chosen method) and a nugget variance. For the simulated data the groups were instructed to only use a constant mean (because this was how the data were originally simulated). However, for the satellite data, the groups used a linear effect for latitude and longitude so that the residual process more closely resembled the exponential correlation. The code from each team was then run on the Becker computing environment (256 GB of RAM and 2 Intel Xeon E5-2680 v4 2.40GHz CPUs with 14 cores each and 2 threads per core - totaling 56 possible threads for use in parallel computing) located at Brigham Young University (BYU). Each team’s code was run individually and no other processes were simultaneously run so as to provide an accurate measure of computing time.

Each method was compared in terms of mean absolute error (MAE), root-mean-squared error (RMSE), continuous rank probability score (CRPS; see Gneiting and Raftery 2007; Gneiting and Katzfuss 2014), interval score (INT; see Gneiting and Raftery 2007) and prediction interval coverage (CVG; the percent of intervals containing the true value). To calculate the CRPS, we assumed the associated predictive distribution was well approximated by a Gaussian distribution with mean centered at the predicted value and standard deviation equal to the predictive standard error. In cases where only a prediction interval was provided, the predictive standard error was taken as \((U-L)/(2\times \Phi ^{-1}(0.975))\) where *U* and *L* are the upper and lower ends of the interval, respectively.

## 4 Competition Results

### 4.1 Results for Simulated Data

The numerical results for the simulated data competition are displayed in Table 2. First, consider the predictive accuracy as measured by the MAE and RMSE in Table 2. In terms of predictive accuracy, the best MAE was 0.61 while the worst was only 1.03 (68% difference). Similarly, the best RMSE was 0.83 compared to a worst RMSE of only 1.31 (a 57% difference). Yet, notably, with only a single simulated dataset these results are suggestive but not conclusive regarding which methods give consistently better predictions.

Numerical scoring for each competing method on the simulated data.

Method | MAE | RMSE | CRPS | INT | CVG | Run time (min) | Cores used |
---|---|---|---|---|---|---|---|

FRK | 1.03 | 1.31 | 0.74 | 8.35 | 0.84 | 2.18 | 1 |

Gapfill | 0.73 | 1.00 | 0.64 | 18.01 | 0.44 | 0.63 | 40 |

LatticeKrig | 0.63 | 0.87 | 0.45 | 4.04 | 0.97 | 25.58 | 1 |

LAGP | 0.79 | 1.11 | 0.57 | 5.71 | 0.90 | 2.28 | 40 |

Metakriging | 0.74 | 0.97 | 0.53 | 4.69 | 0.99 | 2888.89 | 30 |

MRA | 0.61 | 0.83 | 0.43 | 3.64 | 0.93 | 13.57 | 1 |

NNGP | 0.65 | 0.88 | 0.46 | 3.79 | 0.96 | 1.99 | 10 |

Partition | 0.64 | 0.86 | 0.47 | 5.05 | 0.86 | 77.56 | 55 |

Pred. Proc. | 1.06 | 1.43 | 0.76 | 7.33 | 0.89 | 161.66 | 10 |

SPDE | 0.62 | 0.86 | 0.59 | 7.81 | 1.00 | 138.34 | 2 |

Tapering | 0.69 | 0.97 | 0.55 | 6.39 | 1.00 | 188.36 | 1 |

Periodic Embedding | 0.65 | 0.91 | 0.47 | 4.16 | 0.97 | 13.31 | 1 |

### 4.2 Results for Real Data

Numerical scoring for each competing method on the satellite data.

Method | MAE | RMSE | CRPS | INT | CVG | Run time (min) | Cores used |
---|---|---|---|---|---|---|---|

FRK | 1.96 | 2.44 | 1.44 | 14.08 | 0.79 | 2.32 | 1 |

Gapfill | 1.33 | 1.86 | 1.17 | 34.78 | 0.36 | 1.39 | 40 |

LatticeKrig | 1.22 | 1.68 | 0.87 | 7.55 | 0.96 | 27.92 | 1 |

LAGP | 1.65 | 2.08 | 1.17 | 10.81 | 0.83 | 2.27 | 40 |

Metakriging | 2.08 | 2.50 | 1.44 | 10.77 | 0.89 | 2888.52 | 30 |

MRA | 1.33 | 1.85 | 0.94 | 8.00 | 0.92 | 15.61 | 1 |

NNGP | 1.21 | 1.64 | 0.85 | 7.57 | 0.95 | 2.06 | 10 |

Partition | 1.41 | 1.80 | 1.02 | 10.49 | 0.86 | 79.98 | 55 |

Pred. Proc. | 2.15 | 2.64 | 1.55 | 15.51 | 0.83 | 160.24 | 10 |

SPDE | 1.10 | 1.53 | 0.83 | 8.85 | 0.97 | 120.33 | 2 |

Tapering | 1.87 | 2.45 | 1.32 | 10.31 | 0.93 | 133.26 | 1 |

Periodic Embedding | 1.29 | 1.79 | 0.91 | 7.44 | 0.93 | 9.81 | 1 |

The largest discrepancies among the competing methods is again in terms of uncertainty quantification. Lattice kriging, metakriging, MRA, NNGP and periodic embedding again achieved near nominal coverage rates with small interval scores and CRPS. The SPDE and tapering approaches did better in terms of coverage in that the empirical rates were near nominal (recall that the corresponding coverage rates were too high for the simulated data for these methods). In contrast, the coverage rates on the MODIS data for FRK, Gapfill, LAGP, partitioning and PP were too small resulting in larger interval scores.

## 5 Conclusions

The contribution of this article was fourfold: (i) provide an overview of the plethora of methods available for analyzing large spatial datasets, (ii) provide a brief comparison of the methods by implementing a case study competition among research groups, (iii) make available the code to analyze the data to the broader scientific community and (iv) provide an example of the common task framework for future studies to follow when comparing various analytical methods. In terms of comparison, each of the methods performed very well in terms in predictive accuracy suggesting that any of the above methods are well suited to the task of prediction. However, the methods differed in terms of their ability to accurately quantify the uncertainty associated with the predictions. While we saw that some methods did consistently well in both predictive performance and nominal coverage on the simulated and real data, in general we can expect performance of any method to change with size of the dataset, measurement-error variance, and the nature of missingness. Further, while the results in Table 1 are suggestive, with only one simulated and one real dataset we cannot definitively claim that any one method provides consistently better predictions than any other method. However, the data scenario’s considered here are relatively representative of a typical spatial analysis such that our results can be used as a guide for practitioners.

Each of the above methods performed well for both scenarios considered in this paper. However, situations where each respective method does not perform well are also of interest. For example, it is known that low-rank methods such as FRK and predictive processes will struggle with high signal-to-noise ratio and where the process has a small spatial range (as was seen here for the simulated data; see Zammit-Mangion and Cressie 2018; Zammit-Mangion et al. 2018). The gapfill method may struggle if the data are not on a regular grid. Moreover, depending on the parameters and the pattern of missing values in the data the predictions from gapfill, LAGP and spatial partitioning may show discontinuities. Likewise, it is know that metakriging approach described here is less accurate when each subset uses a non-stationary GP instead of a stationary GP but recent research seeks to remedy this issue (Guhaniyogi et al. 2017).

At the outset of this study, run time and computation time for each method was of interest. However, because many of these methods are very young in their use and implementation, the variability across run time was too great to be used as a measure to compare the methods. For example, some methods are implemented in R while others are implemented in MATLAB. Still, others use R as a front end to call C-optimized functions. Hence, while we reported the run times in the results section, we provide these as more of an “off the shelf” run time estimate rather than an optimized run time. Until time allows for each method to be further developed and software becomes available comparing run times can be misleading.

Importantly, no effort was made to standardize the time spent on this project by each group. Some groups were able to quickly code up their analysis from existing R or MATLAB libraries. Others, however, had to spend more time writing code specific to this analysis. Undoubtedly, some groups likely spent more time running “in house” cross-validation studies to validate their model predictions prior to the final run on the BYU servers while others did not. Because of this difference, we note that some of the discrepancies in results seen here may be attributable to the amount of effort expended by each group. However, we still feel that the results displayed herein give valuable insight into the strengths and weaknesses of each method.

This study, while thorough, is non-comprehensive in that other methods for large spatial data (e.g., Sang and Huang 2012; Stein et al. 2013; Kleiber and Nychka 2015; Castrillon-Candás et al. 2016; Sun and Stein 2016; Litvinenko et al. 2017) were not included. Additionally, methods are sure to be developed in the future which are also viable for modeling large spatial data (see Ton et al. 2017; Taylor-Rodriguez et al. 2018). We made attempts to invite as many groups as possible to participate in this case study but, due to time and other constraining factors, not all groups were able to participate. However, in our opinion, the methods compared herein are representative of the most common methods for large spatial data at the time of writing.

We note that the data scenarios considered in this case study do not cover the spectrum of issues related to spatial data. That is, spatial data may exhibit anisotropy, non-stationarity, large and small range spatial dependence as well as various signal-to-noise ratios. Hence, we note that further practical distinctions between these various methods could be made depending on their applicability to these various spatial data scenarios. However, the comparison included here serves as a nice baseline case for method performance. Further research can develop case study competitions for these more complicated scenarios.

Notably, each method was compared only in terms of predictive accuracy. Further comparisons could include estimation of underlying model parameters. The difficulty in comparing estimation, however, is that not all the methods use the same model structure. For example, NNGP uses an exponential covariance while Gapfill does not require a specified covariance structure. Hence, we leave the comparison of the parameter estimates to a future study.

This comparison focused solely on spatial data. Hence, we stress that the results found here are applicable only to the spatial setting. However, spatiotemporal data are often considerably larger and more complex than spatial data. Many of the above methods have extensions to the space time setting (e.g., Gapfill is built directly for spatiotemporal settings). Further research is needed to compare these methods in the spatiotemporal setting.

## Notes

### Acknowledgements

This material was based upon work supported by the National Science Foundation (NSF) under Grant Number DMS-1417856. Dr. Katzfuss was partially supported by NSF Grants DMS–1521676 and DMS–1654083. Dr. Gramacy and Furong Sun are partially supported by NSF Award #1621746. Dr. Finley was partially supported by NSF DMS-1513481, EF-1241874, EF-1253225, and National Aeronautics and Space Administration (NASA) Carbon Monitoring System (CMS) grants. Dr. Guhaniyogi is partially supported by ONR N00014-18-1-2741. Dr. Gerber and Dr. Furrer were partially supported by SNSF Grant 175529 and acknowledge the support by the University of Zurich Research Priority Program on Global Change and Biodiversity. Dr. Zammit-Mangion’s research was supported by an Australian Research Council (ARC) Discovery Early Career Research Award, DE180100203. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the ARC, NSF or NASA.

## Supplementary material

## References

- Anderson, C., Lee, D., and Dean, N. (2014), “Identifying clusters in Bayesian disease mapping,”
*Biostatistics*, 15, 457–469.CrossRefGoogle Scholar - Banerjee, S., Carlin, B. P., and Gelfand, A. E. (2014),
*Hierarchical modeling and analysis for spatial data*, Crc Press.Google Scholar - Banerjee, S., Gelfand, A. E., Finley, A. O., and Sang, H. (2008), “Gaussian predictive process models for large spatial data sets,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 70, 825–848.MathSciNetCrossRefzbMATHGoogle Scholar - Barbian, M. H. and Assunção, R. M. (2017), “Spatial subsemble estimator for large geostatistical data,”
*Spatial Statistics*, 22, 68–88.MathSciNetCrossRefGoogle Scholar - Bevilacqua, M., Faouzi, T., Furrer, R., and Porcu, E. (2016), “Estimation and Prediction using Generalized Wendland Covariance Function under Fixed Domain Asymptotics,” arXiv:1607.06921v2.
- Bradley, J. R., Cressie, N., Shi, T., et al. (2016), “A comparison of spatial predictors when datasets could be very large,”
*Statistics Surveys*, 10, 100–131.MathSciNetCrossRefzbMATHGoogle Scholar - Castrillon-Candás, J. E., Genton, M. G., and Yokota, R. (2016), “Multi-level restricted maximum likelihood covariance estimation and kriging for large non-gridded spatial datasets,”
*Spatial Statistics*, 18, 105–124.MathSciNetCrossRefGoogle Scholar - Cohn, D. A. (1996), “Neural Network Exploration Using Optimal Experimental Design,” in
*Advances in Neural Information Processing Systems*, Morgan Kaufmann Publishers, vol. 6(9), pp. 679–686.Google Scholar - Cressie, N. (1993),
*Statistics for spatial data*, John Wiley & Sons.Google Scholar - Cressie, N. and Johannesson, G. (2006), “Spatial prediction for massive data sets,” in
*Mastering the Data Explosion in the Earth and Environmental Sciences: Proceedings of the Australian Academy of Science Elizabeth and Frederick White Conference*, Canberra, Australia: Australian Academy of Science, pp. 1–11.Google Scholar - — (2008), “Fixed rank kriging for very large spatial data sets,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 70, 209–226.MathSciNetCrossRefzbMATHGoogle Scholar - Cressie, N. and Wikle, C. K. (2015),
*Statistics for spatio-temporal data*, John Wiley & Sons.Google Scholar - Dahlhaus, R. and Künsch, H. (1987), “Edge effects and efficient parameter estimation for stationary random fields,”
*Biometrika*, 74, 877–882.MathSciNetCrossRefzbMATHGoogle Scholar - Datta, A., Banerjee, S., Finley, A. O., and Gelfand, A. E. (2016a), “Hierarchical nearest-neighbor Gaussian process models for large geostatistical datasets,”
*Journal of the American Statistical Association*, 111, 800–812.MathSciNetCrossRefGoogle Scholar - — (2016b), “On nearest-neighbor Gaussian process models for massive spatial data,”
*Wiley Interdisciplinary Reviews: Computational Statistics*, 8, 162–171.MathSciNetCrossRefGoogle Scholar - Datta, A., Banerjee, S., Finley, A. O., Hamm, N. A., Schaap, M., et al. (2016c), “Nonseparable dynamic nearest neighbor Gaussian process models for large spatio-temporal data with an application to particulate matter analysis,”
*The Annals of Applied Statistics*, 10, 1286–1316.MathSciNetCrossRefzbMATHGoogle Scholar - Du, J., Zhang, H., and Mandrekar, V. S. (2009), “Fixed-domain asymptotic properties of tapered maximum likelihood estimators,”
*Ann. Statist.*, 37, 3330–3361.MathSciNetCrossRefzbMATHGoogle Scholar - Eidsvik, J., Shaby, B. A., Reich, B. J., Wheeler, M., and Niemi, J. (2014), “Estimation and prediction in spatial models with block composite likelihoods,”
*Journal of Computational and Graphical Statistics*, 23, 295–315.MathSciNetCrossRefGoogle Scholar - Emery, X. (2009), “The kriging update equations and their application to the selection of neighboring data,”
*Computational Geosciences*, 13, 269–280.CrossRefGoogle Scholar - Finley, A., Datta, A., and Banerjee, S. (2017),
*spNNGP: Spatial Regression Models for Large Datasets using Nearest Neighbor Gaussian Processes*, r package version 0.1.1.Google Scholar - Finley, A. O., Datta, A., Cook, B. C., Morton, D. C., Andersen, H. E., and Banerjee, S. (2018), “Efficient algorithms for Bayesian Nearest Neighbor Gaussian Processes,” arXiv:1702.00434.
- Finley, A. O., Sang, H., Banerjee, S., and Gelfand, A. E. (2009), “Improving the performance of predictive process modeling for large datasets,”
*Computational statistics & data analysis*, 53, 2873–2884.MathSciNetCrossRefzbMATHGoogle Scholar - Fuentes, M. (2007), “Approximate likelihood for large irregularly spaced spatial data,”
*Journal of the American Statistical Association*, 102, 321–331.MathSciNetCrossRefzbMATHGoogle Scholar - Furrer, R. (2016),
*spam: SPArse Matrix*, r package version 1.4-0.Google Scholar - Furrer, R., Bachoc, F., and Du, J. (2016), “Asymptotic Properties of Multivariate Tapering for Estimation and Prediction,”
*J. Multivariate Anal.*, 149, 177–191.MathSciNetCrossRefzbMATHGoogle Scholar - Furrer, R., Genton, M. G., and Nychka, D. (2006), “Covariance tapering for interpolation of large spatial datasets,”
*Journal of Computational and Graphical Statistics*, 15, 502–523.MathSciNetCrossRefGoogle Scholar - Furrer, R. and Sain, S. R. (2010), “spam: A Sparse Matrix R Package with Emphasis on MCMC Methods for Gaussian Markov Random Fields,”
*J. Stat. Softw.*, 36, 1–25.CrossRefGoogle Scholar - Gerber, F. (2017),
*gapfill: Fill Missing Values in Satellite Data*, r package version 0.9.5.Google Scholar - Gerber, F., Furrer, R., Schaepman-Strub, G., de Jong, R., and Schaepman, M. E. (2018), “Predicting missing values in spatio-temporal satellite data,”
*IEEE Transactions on Geoscience and Remote Sensing*, 56, 2841–2853.CrossRefGoogle Scholar - Gneiting, T. and Katzfuss, M. (2014), “Probabilistic forecasting,”
*Annual Review of Statistics and Its Application*, 1, 125–151.CrossRefGoogle Scholar - Gneiting, T. and Raftery, A. E. (2007), “Strictly proper scoring rules, prediction, and estimation,”
*Journal of the American Statistical Association*, 102, 359–378.MathSciNetCrossRefzbMATHGoogle Scholar - Gramacy, R. and Apley, D. (2015), “Local Gaussian Process Approximation for Large Computer Experiments,”
*Journal of Computational and Graphical Statistics*, 24, 561–578.MathSciNetCrossRefGoogle Scholar - Gramacy, R., Niemi, J., and Weiss, R. (2014), “Massively Parallel Approximate Gaussian Process Regression,”
*Journal of Uncertainty Quantification*, 2, 564–584.MathSciNetCrossRefzbMATHGoogle Scholar - Gramacy, R. B. (2016), “laGP: Large-Scale Spatial Modeling via Local Approximate Gaussian Processes in R,”
*Journal of Statistical Software*, 72, 1–46.MathSciNetCrossRefGoogle Scholar - Gramacy, R. B. and Haaland, B. (2016), “Speeding up neighborhood search in local Gaussian process prediction,”
*Technometrics*, 58, 294–303.MathSciNetCrossRefGoogle Scholar - Guhaniyogi, R. and Banerjee, S. (2018), “Meta-kriging: Scalable Bayesian modeling and inference for massive spatial datasets,”
*Technometrics*.Google Scholar - Guhaniyogi, R., Li, C., Savitsky, T. D., and Srivastava, S. (2017), “A Divide-and-Conquer Bayesian Approach to Large-Scale Kriging,” arXiv preprint arXiv:1712.09767.
- Guinness, J. (2017), “Spectral Density Estimation for Random Fields via Periodic Embeddings,” arXiv preprint arXiv:1710.08978.
- Guinness, J. and Fuentes, M. (2017), “Circulant embedding of approximate covariances for inference from Gaussian data on large lattices,”
*Journal of Computational and Graphical Statistics*, 26, 88–97.MathSciNetCrossRefGoogle Scholar - Guyon, X. (1982), “Parameter estimation for a stationary process on a d-dimensional lattice,”
*Biometrika*, 69, 95–105.MathSciNetCrossRefzbMATHGoogle Scholar - Heaton, M. J., Christensen, W. F., and Terres, M. A. (2017), “Nonstationary Gaussian process models using spatial hierarchical clustering from finite differences,”
*Technometrics*, 59, 93–101.MathSciNetCrossRefGoogle Scholar - Higdon, D. (2002), “Space and space-time modeling using process convolutions,” in
*Quantitative methods for current environmental issues*, Springer, pp. 37–56.Google Scholar - Hirano, T. and Yajima, Y. (2013), “Covariance tapering for prediction of large spatial data sets in transformed random fields,”
*Annals of the Institute of Statistical Mathematics*, 65, 913–939.MathSciNetCrossRefzbMATHGoogle Scholar - Jurek, M. and Katzfuss, M. (2018), “Multi-resolution filters for massive spatio-temporal data,” arXiv:1810.04200.
- Kang, E., Liu, D., and Cressie, N. (2009), “Statistical analysis of small-area data based on independence, spatial, non-hierarchical, and hierarchical models,”
*Computational Statistics & Data Analysis*, 53, 3016–3032.MathSciNetCrossRefzbMATHGoogle Scholar - Kang, E. L. and Cressie, N. (2011), “Bayesian inference for the spatial random effects model,”
*Journal of the American Statistical Association*, 106, 972–983.MathSciNetCrossRefzbMATHGoogle Scholar - Katzfuss, M. (2017), “A multi-resolution approximation for massive spatial datasets,”
*Journal of the American Statistical Association*, 112, 201–214.MathSciNetCrossRefGoogle Scholar - Katzfuss, M. and Cressie, N. (2011), “Spatio-temporal smoothing and EM estimation for massive remote-sensing data sets,”
*Journal of Time Series Analysis*, 32, 430–446.MathSciNetCrossRefzbMATHGoogle Scholar - Katzfuss, M. and Gong, W. (2017), “Multi-resolution approximations of Gaussian processes for large spatial datasets,” arXiv:1710.08976.
- Katzfuss, M. and Hammerling, D. (2017), “Parallel inference for massive distributed spatial data using low-rank models,”
*Statistics and Computing*, 27, 363–375.MathSciNetCrossRefzbMATHGoogle Scholar - Kaufman, C. G., Schervish, M. J., and Nychka, D. W. (2008), “Covariance tapering for likelihood-based estimation in large spatial data sets,”
*Journal of the American Statistical Association*, 103, 1545–1555.MathSciNetCrossRefzbMATHGoogle Scholar - Kim, H.-M., Mallick, B. K., and Holmes, C. (2005), “Analyzing nonstationary spatial data using piecewise Gaussian processes,”
*Journal of the American Statistical Association*, 100, 653–668.MathSciNetCrossRefzbMATHGoogle Scholar - Kleiber, W. and Nychka, D. W. (2015), “Equivalent kriging,”
*Spatial Statistics*, 12, 31–49.MathSciNetCrossRefGoogle Scholar - Knorr-Held, L. and Raßer, G. (2000), “Bayesian detection of clusters and discontinuities in disease maps,”
*Biometrics*, 56, 13–21.CrossRefzbMATHGoogle Scholar - Konomi, B. A., Sang, H., and Mallick, B. K. (2014), “Adaptive bayesian nonstationary modeling for large spatial datasets using covariance approximations,”
*Journal of Computational and Graphical Statistics*, 23, 802–829.MathSciNetCrossRefGoogle Scholar - Lemos, R. T. and Sansó, B. (2009), “A spatio-temporal model for mean, anomaly, and trend fields of North Atlantic sea surface temperature,”
*Journal of the American Statistical Association*, 104, 5–18.MathSciNetCrossRefGoogle Scholar - Liang, F., Cheng, Y., Song, Q., Park, J., and Yang, P. (2013), “A resampling-based stochastic approximation method for analysis of large geostatistical data,”
*Journal of the American Statistical Association*, 108, 325–339.MathSciNetCrossRefzbMATHGoogle Scholar - Lindgren, F., Rue, H., and Lindström, J. (2011), “An explicit link between Gaussian fields and Gaussian Markov random fields: the stochastic partial differential equation approach,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 73, 423–498.MathSciNetCrossRefzbMATHGoogle Scholar - Litvinenko, A., Sun, Y., Genton, M. G., and Keyes, D. (2017), “Likelihood Approximation With Hierarchical Matrices For Large Spatial Datasets,” arXiv preprint arXiv:1709.04419.
- Liu, H., Ong, Y.-S., Shen, X., and Cai, J. (2018), “When Gaussian Process Meets Big Data: A Review of Scalable GPs,” arXiv preprint arXiv:1807.01065.
- Minsker, S. (2015), “Geometric median and robust estimation in Banach spaces,”
*Bernoulli*, 21, 2308–2335.MathSciNetCrossRefzbMATHGoogle Scholar - Minsker, S., Srivastava, S., Lin, L., and Dunson, D. B. (2014), “Robust and scalable Bayes via a median of subset posterior measures,” arXiv preprint arXiv:1403.2660.
- Neelon, B., Gelfand, A. E., and Miranda, M. L. (2014), “A multivariate spatial mixture model for areal data: examining regional differences in standardized test scores,”
*Journal of the Royal Statistical Society: Series C (Applied Statistics)*, 63, 737–761.MathSciNetCrossRefGoogle Scholar - Nychka, D., Bandyopadhyay, S., Hammerling, D., Lindgren, F., and Sain, S. (2015), “A multiresolution Gaussian process model for the analysis of large spatial datasets,”
*Journal of Computational and Graphical Statistics*, 24, 579–599.MathSciNetCrossRefGoogle Scholar - Paciorek, C. J., Lipshitz, B., Zhuo, W., Kaufman, C. G., Thomas, R. C., et al. (2015), “Parallelizing Gaussian Process Calculations In R,”
*Journal of Statistical Software*, 63, 1–23.CrossRefGoogle Scholar - Rue, H., Martino, S., and Chopin, N. (2009), “Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 71, 319–392.MathSciNetCrossRefzbMATHGoogle Scholar - Rue, H., Martino, S., Lindgren, F., Simpson, D., Riebler, A., Krainski, E. T., and Fuglstad, G.-A. (2017),
*INLA: Bayesian Analysis of Latent Gaussian Models using Integrated Nested Laplace Approximations*, r package version 17.06.20.Google Scholar - Sang, H. and Huang, J. Z. (2012), “A full scale approximation of covariance functions for large spatial data sets,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 74, 111–132.MathSciNetCrossRefGoogle Scholar - Sang, H., Jun, M., and Huang, J. Z. (2011), “Covariance approximation for large multivariate spatial data sets with an application to multiple climate model errors,”
*The Annals of Applied Statistics*, 2519–2548.Google Scholar - Schabenberger, O. and Gotway, C. A. (2004),
*Statistical methods for spatial data analysis*, CRC press.Google Scholar - Simpson, D., Lindgren, F., and Rue, H. (2012), “In order to make spatial statistics computationally feasible, we need to forget about the covariance function,”
*Environmetrics*, 23, 65–74.MathSciNetCrossRefGoogle Scholar - Stein, M. L. (1999),
*Interpolation of Spatial Data*, Springer-Verlag, some theory for Kriging.Google Scholar - — (2013), “Statistical properties of covariance tapers,”
*Journal of Computational and Graphical Statistics*, 22, 866–885.MathSciNetCrossRefGoogle Scholar - — (2014), “Limitations on low rank approximations for covariance matrices of spatial data,”
*Spatial Statistics*, 8, 1–19.MathSciNetCrossRefGoogle Scholar - Stein, M. L., Chen, J., Anitescu, M., et al. (2013), “Stochastic approximation of score functions for Gaussian processes,”
*The Annals of Applied Statistics*, 7, 1162–1191.MathSciNetCrossRefzbMATHGoogle Scholar - Stein, M. L., Chi, Z., and Welty, L. J. (2004), “Approximating likelihoods for large spatial data sets,”
*Journal of the Royal Statistical Society: Series B (Statistical Methodology)*, 66, 275–296.MathSciNetCrossRefzbMATHGoogle Scholar - Sun, Y., Li, B., and Genton, M. G. (2012), “Geostatistics for large datasets,” in
*Advances and challenges in space-time modelling of natural events*, Springer, pp. 55–77.Google Scholar - Sun, Y. and Stein, M. L. (2016), “Statistically and computationally efficient estimating equations for large spatial datasets,”
*Journal of Computational and Graphical Statistics*, 25, 187–208.MathSciNetCrossRefGoogle Scholar - Taylor-Rodriguez, D., Finley, A. O., Datta, A., Babcock, C., Andersen, H.-E., Cook, B. D., Morton, D. C., and Baneerjee, S. (2018), “Spatial Factor Models for High-Dimensional and Large Spatial Data: An Application in Forest Variable Mapping,” arXiv preprint arXiv:1801.02078.
- Ton, J.-F., Flaxman, S., Sejdinovic, D., and Bhatt, S. (2017), “Spatial Mapping with Gaussian Processes and Nonstationary Fourier Features,” arXiv preprint arXiv:1711.05615.
- Vapnik, V. (1995),
*The Nature of Statistical Learning Theory*, New York: Springer Verlag.CrossRefzbMATHGoogle Scholar - Varin, C., Reid, N., and Firth, D. (2011), “An overview of composite likelihood methods,”
*Statistica Sinica*, 5–42.Google Scholar - Vecchia, A. V. (1988), “Estimation and model identification for continuous spatial processes,”
*Journal of the Royal Statistical Society. Series B (Methodological)*, 297–312.Google Scholar - Wang, D. and Loh, W.-L. (2011), “On fixed-domain asymptotics and covariance tapering in Gaussian random field models,”
*Electron. J. Statist.*, 5, 238–269.MathSciNetCrossRefzbMATHGoogle Scholar - Weiss, D. J., Atkinson, P. M., Bhatt, S., Mappin, B., Hay, S. I., and Gething, P. W. (2014), “An effective approach for gap-filling continental scale remotely sensed time-series,”
*ISPRS J. Photogramm. Remote Sens.*, 98, 106–118.CrossRefGoogle Scholar - Whittle, P. (1954), “On stationary processes in the plane,”
*Biometrika*, 434–449.Google Scholar - Wikle, C. K., Cressie, N., Zammit-Mangion, A., and Shumack, C. (2017), “A Common Task Framework (CTF) for Objective Comparison of Spatial Prediction Methodologies,”
*Statistics Views*.Google Scholar - Zammit-Mangion, A. and Cressie, N. (2018), “FRK: An R Package for Spatial and Spatio-Temporal Prediction with Large Datasets,” arXiv preprint arXiv:1705.08105.
- Zammit-Mangion, A., Cressie, N., and Shumack, C. (2018), “On statistical approaches to generate Level 3 products from satellite remote sensing retrievals,”
*Remote Sensing*, 10, 155.CrossRefGoogle Scholar

## Copyright information

**OpenAccess**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.