arXiv:2610.38038stat.MLOct 2026

Manuscript Offprint

arXiv:2610.38038

Efficient Deep Gaussian Process Surrogates via Mini-Batch Latent MAP Estimation

Chun-Yi Chang, Chih-Li Sung

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Deep Gaussian processes (DGPs) are flexible surrogate models for computer experiments with nonstationary response surfaces, but inference over their latent representations remains computationally challenging. Existing methods typically rely on variational inference or Markov chain Monte Carlo (MCMC), which impose variational-family assumptions or require costly posterior sampling. We propose the latent maximum-a-posteriori deep Gaussian process (LaMP-DGP), which uses gradient-based optimization to obtain MAP estimates of the latent representations and enables efficient probabilistic prediction through linked-GP calculations. To scale LaMP-DGP to large datasets, we develop a mini-batch optimization algorithm and, under a polynomial mini-batch bias-decay condition, establish a stationarity bound for latent-state optimization that motivates a growing batch-size schedule. Across numerical experiments and real-data analyses, LaMP-DGP provides consistently competitive predictive performance relative to doubly stochastic variational inference, stochastic gradient Hamiltonian Monte Carlo, and fully Bayesian Vecchia DGP inference. Computationally, LaMP-DGP is substantially faster than the Vecchia MCMC approach while remaining broadly competitive with the stochastic-gradient alternatives. These results position LaMP-DGP as a competitive and computationally efficient alternative for DGP inference. An R package, LaMPDGP, is available for implementing the proposed method.

Keywords: computer experiments; nonstationary Gaussian process; uncertainty quantification; latent maximum a posteriori; mini-batch optimization

1 Introduction

Computer simulation plays a crucial role across a wide range of fields, including aerospace engineering (Mak et al., 2018), physics (Morita et al., 2022), and cell biology (Sung et al., 2020), where obtaining precise solutions is essential, yet physical experiments are often prohibitively expensive. To address this challenge, surrogate models have emerged as computationally efficient approaches for approximating complex systems (Gramacy, 2020). Gaussian Processes (GPs) (Rasmussen and Williams, 2006) are one of the methods that have gained significant attention due to their flexibility and ability to capture nonlinear and complex functional relationship. Moreover, the inherent uncertainty quantification makes GPs particularly valuable for sensitivity analysis, model calibration, and sequential design, thereby supporting informed decision-making in real-world applications.

Despite their advantages, standard GPs often struggle with non-stationary problems because they typically rely on a single stationary kernel, which assumes a uniform level of smoothness across the input space. This restrictive assumption can oversmooth rapidly varying regions and consequently lead to poor predictive performance. Deep Gaussian processes (DGPs) address this limitation by composing multiple GP mappings within a hierarchical architecture, enabling flexible modeling of complex and nonstationary input-output relationships. DGPs were introduced by Damianou and Lawrence (2013), who developed a variational inference (VI) framework (Blei et al., 2017) that approximately marginalizes the intermediate latent variables through variational distributions, thereby enabling multiple GP layers to be composed.

Since then, numerous inference methods have been developed to improve the predictive performance and computational scalability of DGPs. One notable extension of VI-based approaches is the doubly stochastic variational inference (DSVI) method proposed by Salimbeni and Deisenroth (2017). By combining inducing-point approximations with stochastic optimization over data mini-batches and Monte Carlo propagation through the GP layers, DGP-DSVI substantially improves the scalability of variational inference for DGPs. However, its approximation quality depends on the variational family, the inducing-point representation, and the Monte Carlo approximation, which can affect predictive accuracy and uncertainty quantification.

As an alternative to variational inference, Havasi et al. (2018a) proposed stochastic gradient Hamiltonian Monte Carlo (SGHMC) for DGPs, using SGHMC to sample the posterior distribution of the inducing outputs and thereby allowing more flexible non-Gaussian posterior structure than Gaussian variational approximations. A different sampling-based approach was developed by Sauer et al. (2023b), who proposed a fully Bayesian MCMC framework that samples both the latent representations and covariance hyperparameters, providing more comprehensive posterior uncertainty quantification at a substantially higher computational cost. To improve scalability, Sauer et al. (2023a) subsequently incorporated the Vecchia approximation (Katzfuss and Guinness, 2021) into this MCMC framework while preserving the advantages of fully Bayesian inference. We refer to these approaches as DGP-SGHMC and MCMC-VEC, respectively, throughout the remainder of the paper.

Motivated by the need for computationally efficient DGP inference without specifying a variational family or running lengthy MCMC chains over the training latent states, we propose the latent maximum-a-posteriori deep Gaussian process (LaMP-DGP). LaMP-DGP uses gradient-based optimization to obtain a maximum-a-posteriori (MAP) estimate of the latent representation while jointly learning the kernel hyperparameters. Under the Gaussian likelihood and squared-exponential kernels considered here, we derive analytical gradients for the MAP objective, thereby avoiding costly finite-difference approximations. For prediction, conditional on the fitted latent states and covariance hyperparameters, we follow the linked-GP framework of Ming et al. (2023) to analytically integrate over uncertainty in the test-point latent representation, enabling efficient probabilistic prediction without prediction-time Monte Carlo sampling.

Rather than approximating or sampling the entire posterior distribution, MAP identifies a latent configuration with high posterior density given the observed inputs and responses. The likelihood favors configurations that explain the observed responses, whereas the GP prior regularizes the latent representation according to the covariance structure induced by the inputs. LaMP-DGP therefore recasts inference over the training latent states as a regularized optimization problem. This MAP perspective has an established precedent in Gaussian process latent-variable models (GP-LVMs), where latent coordinates are optimized as point estimates under prior regularization (Lawrence, 2003, 2005), with extensions to structured priors and multiple latent layers (Wang et al., 2005; Lawrence and Moore, 2007). LaMP-DGP builds on this perspective in the supervised regression setting, optimizing GP-regularized latent states directly from the observed input-response pairs.

MAP inference eliminates posterior sampling, but for larger datasets each objective evaluation still requires factorizing covariance matrices whose dimensions grow with the training sample size. To address this computational bottleneck, we develop a mini-batch optimization algorithm for LaMP-DGP that updates the latent states and kernel hyperparameters using subsets of the training data. Unlike standard empirical-risk objectives that decompose additively across observations, the LaMP-DGP negative log-posterior depends jointly on the observations through covariance matrices, so its mini-batch gradients are generally biased (Chen et al., 2022b). Under suitable regularity conditions and a polynomial bias-decay condition, we derive a nonconvex stationarity bound that separates the usual optimization error from the additional error induced by mini-batch bias. This analysis motivates a progressively increasing mini-batch schedule that reduces this bias while controlling computational cost and, under the stated conditions, preserves an overall O(T−1/2)\mathcal{O}(T^{-1/2}) stationarity rate, where TT denotes the number of optimization epochs.

Within this framework, our contributions are threefold: (i) we introduce LaMP-DGP, a new optimization-based inference framework for DGPs that directly estimates the posterior modes of the training latent representations, avoiding both variational-family approximations and MCMC sampling, while enabling efficient probabilistic prediction through linked-GP calculations; (ii) we develop a mini-batch optimization algorithm for larger datasets and, under a polynomial bias-decay condition, establish a nonconvex stationarity bound that motivates a progressively increasing mini-batch schedule; and (iii) through extensive numerical experiments and real-world computer experiments, we demonstrate that LaMP-DGP provides consistently competitive predictive performance across a broad range of problems while substantially reducing computational cost relative to fully Bayesian Vecchia DGP inference. We provide an open-source implementation in the LaMPDGP package for R, available in the supplementary material.

The remainder of this paper is organized as follows. Section 2 reviews DGPs. Section 3 introduces the proposed LaMP-DGP framework. Section 4 presents the mini-batch algorithm together with its convergence analysis. Section 5 evaluates LaMP-DGP using a collection of synthetic benchmark functions, and Section 6 further assesses its performance on real-world computer experiments. Finally, Section 7 concludes the paper with a discussion of the main findings and future directions.