Manuscript Offprint
arXiv:2610.30890Continuous-depth Deep Gaussian Processes
Abstract
Deep Gaussian processes (DGPs) are appealing Bayesian regression models, but their standard discrete-depth parameterization often becomes harder to optimize as depth grows. We argue that depth is better treated as a latent continuous evolution than as a long discrete stack. We therefore propose a continuous-depth formulation in which the latent representation follows a stochastic differential equation with a depth-indexed drift family equipped with a GP-based prior. This reframes the core design choice as the prior placed on that family, rather than adopting a purely neural continuous-depth parameterization as in neural ODE or neural SDE models. We study two instantiations of this idea: CDGP, a direct GP prior over the state–depth drift, and FlowDGP, a flow-evolved prior that captures richer depth dependence at lower training cost. To motivate the redesign, we analyze how the single-sample DGP objective can become increasingly sensitive under repeated layer composition, while residual DGP is a useful first repair that still remains a finite discrete construction. We also give pathwise sensitivity analysis for the continuous-depth formulation. Experiments on synthetic, benchmark, and large-scale regression tasks show that residual DGP improves over plain DGP, while CDGP and FlowDGP provide a stronger overall story across the regimes we study.
1 Introduction
Deep Gaussian processes (DGPs) promise hierarchical probabilistic regression, but in practice they become difficult to optimize as depth grows. This is exactly the regime where a DGP should be most useful, yet the standard discrete stack often becomes least reliable there. The central question is therefore not only how to stabilize a deep composition, but how depth itself should be parameterized in a probabilistic latent-function model.
Empirically, deeper DGPs often exhibit pathological behavior, with additional layers degrading performance [7, 6]. As a result, DGPs are usually kept shallow, which undercuts their original modeling appeal. This practical difficulty is consistent with a simple sensitivity view of discrete composition: repeated layerwise transformations can amplify parameter perturbations and make optimization progressively more brittle.
Prior work clarifies parts of this picture without resolving it. Theoretical studies identified depth pathologies in deep compositions [7, 6], while residual DGP variants [19] introduced the most direct repair by keeping an identity path. Residual DGP is therefore the right place to start, but it still leaves depth represented as a finite stack of separately parameterized layers. Other successful alternatives, such as deep kernel learning [18] or thin DGPs [5], can improve predictive performance, and related continuous-depth constructions such as differential GP flows [10] show that GP-based dynamics can be useful. Our focus is narrower: preserve a GP-native latent-function view of depth while changing the way depth itself is parameterized.
*Corresponding author: a.h.thiery@nus.edu.sg.
Preprint.
Plain discrete-depth DGPs admit an optimization pathology: repeated layer composition can make the single-sample training objective increasingly sensitive to parameter perturbations. Residual DGP is the natural first fix because it weakens that amplification through an identity shortcut. But it does not change the underlying parameterization of depth. Once depth is treated as continuous latent evolution, the most natural non-GP alternatives are neural ordinary differential equations (ODE) and neural stochastic differential equations (SDE) models. We study the complementary design in which the deep stack is replaced by a latent continuous-depth system whose drift family retains a GP-based prior. Once this latent SDE is in place, the central design choice is no longer the number of layers, but the prior placed on that drift family. This leads to two concrete models: CDGP, which uses a direct separable GP prior on the drift family, and FlowDGP, which uses a GP prior on a base drift together with flow evolution across depth.
Our contributions are fourfold. First, we propose a continuous-depth methodology for DGP regression in which the latent representation evolves as an SDE with a depth-indexed drift family equipped with a GP-based prior. Second, we study two priors on that drift, CDGP and FlowDGP, within a shared sparse variational inference framework. Third, we identify the repeated Jacobian products that control sensitivity in discrete DGPs and derive a finite-horizon pathwise sensitivity bound for the continuous-depth formulation. The stronger contractive corollary is a specialized auxiliary result, not a property used to design our models. Fourth, we show empirically that residual DGP is a meaningful first repair of plain DGP, and that against both discrete-depth baselines and the natural continuous-depth neural alternatives, CDGP and FlowDGP are more stable or more competitive across toy, benchmark, and scalable regression settings. Continuous depth is a better way to represent depth in deep GP regression than a long discrete stack, especially when the drift family retains GP-based structure rather than being parameterized only by neural dynamics.
Gaussian Process (GP). A GP [15] defines a prior over scalar-valued functions , written , where and are the mean and covariance functions. Unless otherwise stated, we assume zero mean and write simply as when no ambiguity arises. For vector-valued mappings , we model each output dimension independently: for . Thus is represented by scalar-valued GPs sharing the same kernel.
Deep Gaussian Process (DGP). A DGP [4] defines a hierarchy of latent representations through a composition of GP mappings. Let denote the latent representation at layer , for , with . The observed output is modeled as a noisy observation of the deepest latent representation, with . The latent representations are defined recursively by for , where is the additive Gaussian noise at layer , and is a vector-valued GP mapping. Although this hierarchy increases expressive power, training becomes significantly harder as depth increases [7, 6].
3 From Discrete-Depth Pathology to the Residual Bridge
Depth and Lipschitz Intuition. Repeated composition can amplify parameter perturbations. To characterize this possibility, we analyze the Lipschitz constant of the standard DGP evidence lower bound (ELBO) under variational inference [16]. Since this objective is typically optimized using Monte Carlo estimates, we work with a single-sample estimator:
Here, the first term is the data-fit term and the second is a Kullback–Leibler (KL) regularizer. We suppress the KL arguments because their exact form depends on the chosen approximation. Moreover, denotes all variational parameters and kernel hyperparameters, and is sampled from the
Throughout the paper, we use the same notation for Monte Carlo samples and their underlying random variables or function values whenever the distinction is clear from context.
variational distribution over the final-layer latent function values, given by
Let denote the Lipschitz constant of on the parameter domain under consideration, with Monte Carlo randomness held fixed. The following proposition gives an assumption-dependent upper bound on this sensitivity.
Proposition 3.1. Consider an L-layer DGP whose sampled layer map at layer is -Lipschitz with respect to its input. Assume in addition that the output-gradient term and the layerwise parameter-Jacobian term are uniformly bounded, and that the KL regularizer decomposes layerwise with uniformly bounded block gradients, as stated precisely in Appendix A. Then the Lipschitz constant of the single-sample DGP objective satisfies
where C is independent of L, and the term captures the contribution of the KL regularizer under that layerwise decomposition. The proof is given in Appendix A.
Proposition 3.1 shows that the depth dependence of is driven mainly by the data-fit term, rather than the KL regularization, and may grow exponentially with depth. Even at the level of a single-sample pathwise estimator, this implies increasing sensitivity to parameter perturbations as depth grows, making standard DGP optimization progressively more ill-conditioned, with estimator variance potentially worsening the effect. Repeated discrete composition allows small perturbations to be multiplied from one layer to the next. That is the pathology we want to repair before introducing a continuous-depth model.
Residual DGP as a First Repair. This motivates a residual formulation of DGPs [19], in which each layer updates the current latent representation additively rather than fully remapping it:
Because the identity path is retained, each residual function only needs to model a correction, reducing perturbation amplification at each layer. However, the model remains a finite discrete composition, so its sensitivity can still be influenced by repeated Jacobian products and may accumulate with depth. Residual DGP is therefore the right first repair, but it still treats depth as a finite stack of separately parameterized residual blocks. This motivates the continuous-depth redesign introduced in Section 4.
4 Continuous-Depth Modeling and Inference
If depth is meant to express gradual representation evolution, then a finite collection of separately parameterized residual layers is only one way to represent that evolution. We therefore replace the discrete layer index by a depth variable , so the latent representation evolves gradually rather than through a fixed stack of residual blocks.
The resulting model is a redesign motivated by the residual view, not a claimed scaling limit of a discrete DGP. Its advantage is that it separates the latent dynamics from the choice of parameterization across depth. Once this shared continuous-depth system is fixed, the main modeling question becomes what prior should be placed on its depth-indexed drift family.
Concretely, the latent representation evolves over depth according to the Itô SDE
where is a Wiener process and is the continuous counterpart of the layerwise noise . The central modeling object is therefore the depth-indexed drift family , with each acting as a vector field on the current latent state. This formulation cleanly separates the latent dynamics from the way dependence across depth is parameterized.
The paper studies two GP-based priors on this same drift family. CDGP places a direct GP prior on the joint state-depth drift, while FlowDGP generates the family by placing a GP prior on a base drift and evolving it across depth. The common latent SDE is the same in both cases; only the prior on changes.
If discretized by Euler–Maruyama with unit step size, Eq. (2) has the update form of a residual DGP layer, but uses a shared depth-indexed drift prior rather than independent layer GPs.
4.1 CDGP: Separable Kernel Instantiation
The continuous-depth model in Section 4 leaves open the prior on the drift family . The most direct answer is to write that family as a single function of state and depth, , and place a GP prior on this joint state–depth drift with a separable kernel:
We term this first prior the continuous-depth DGP (CDGP). CDGP is the most direct implementation of the continuous-depth idea: place a GP prior on the drift family itself and infer that object with standard sparse-GP machinery. The separable structure enables a Kronecker factorization of the inducing-point covariance, making inference scalable. However, it restricts how the drift can vary jointly with state and depth: the covariance between drift values at different depths factorizes into a product of state-only and depth-only terms, preventing the kernel from capturing interactions in which the spatial structure of the drift changes with depth. This motivates a second, more structured prior on the same family .
4.2 FlowDGP: CNF-Transformed GP
CDGP models the shared drift family directly, but its separable kernel is deliberately restrictive. We therefore consider a second prior on the same family , one that enriches the depth dependence without incurring the cost of a non-separable joint kernel. We draw a base drift from a GP prior and evolve it across depth via a continuous normalizing flow (CNF). A shared vector field defines an ODE whose solution at depth gives the evolved drift . Here acts on a finite-dimensional representation of the drift itself, not on the latent state ; in practice it is applied pointwise to sampled drift values such as , and we parameterize it as a small multilayer perceptron (MLP) with parameters . For regression with latent state dimension , each such pointwise drift value lies in , so . Concretely,
Here is learned through its inducing variables rather than fixed as a function. The displayed equation is a function-level idealization; in inference we apply the same flow pointwise to sampled drift values along each propagated data trajectory.
FlowDGP should therefore be understood as a second prior on the same latent SDE in Eq. (2), not as a separate model family. The contrast is simple: CDGP parameterizes depth dependence directly in the kernel, whereas FlowDGP parameterizes it by evolving a base drift through the neural flow . The evolution is deterministic given , keeping inference on a single base GP. This avoids both the large joint kernel matrix of a non-separable kernel and the additional path inference required by a diffusion over . The choice is motivated by tractability, rather than optimality among flow or diffusion architectures. Depth dependence is instead captured by the ODE integration of , which adds solver cost but, as we show in Section 5.2, yields substantially faster training than CDGP. This construction is also related in spirit to differential GP flows [10], but here it is used to define a prior over the depth-indexed drift that sits inside the same continuous-depth regression framework as CDGP.
4.3 Variational Inference
CDGP and FlowDGP are two priors on the same continuous-depth latent system. Their shared inference structure is most transparent at the level of the common simulator rather than model-specific algebra. For each input , both models produce a terminal latent state and then apply the same readout likelihood:
where denotes the latent GP object, collects the Gaussian exogenous noise used during path simulation, and collects the remaining model, kernel, and variational parameters. Here denotes the deterministic map that propagates the latent state from depth 0 to depth once and are given.
The two models differ only in what object carries the GP prior. In CDGP, the latent GP object is the joint state–depth drift , so inference is performed directly on the drift defined over the joint state–depth domain. In FlowDGP, the latent GP object is the base drift ; the full depth-indexed family is then obtained deterministically by evolving through the flow ODE in Eq. (3). This is why FlowDGP places inducing points only on the base GP, whereas CDGP places them on the joint state–depth input.
Both models use the same variational recipe. Introduce inducing variables U for the latent GP object F, place a Gaussian variational distribution
and keep the GP conditional exact, so that the full approximation takes the form
All model-specific structure remains inside the simulator : once F is sampled from its sparse variational posterior and is sampled from its Gaussian law, the latent path and the terminal state are obtained by deterministic propagation. The evidence lower bound is
This is the common inference structure: inducing-point variational inference for GP-driven continuous-depth simulators. In practice, is implemented on the discretized depth grid using a left-point Euler–Maruyama scheme. Writing and , one simulated path is generated by first sampling the relevant GP object and then updating
starting from . In CDGP, the drift value is read directly from the sampled joint GP ; in FlowDGP, one first samples the base GP , transports it through the flow ODE to obtain , and then uses the transported drift in the same update.
With S Monte Carlo samples, the optimized discretized objective is
where each is obtained by the corresponding simulated path under Eq. (8).
For CDGP, we instantiate this construction with on the Cartesian product , where the separable kernel gives the Kronecker prior . The simulator propagates the latent state by discretizing the SDE in Eq. (2) and evaluating the sampled drift along the path. For FlowDGP, we instantiate the same construction with for the base GP alone. After sampling the base drift from its sparse variational posterior, first transports it across depth through the ODE in Eq. (3) to obtain the family , and then propagates the latent state with those transported drift values. CDGP and FlowDGP therefore share the same likelihood, the same simulator-level variational logic, and the same Monte Carlo training principle; they differ only in the latent GP object being approximated and in the domain on which inducing variables are placed.
4.4 Optimization Stability
We now ask what kind of sensitivity statement survives once the deep stack is replaced by a latent SDE. The relevant quantity is the pathwise sensitivity of the SDE solution to parameter perturbations. This analysis clarifies what replaces the repeated Jacobian products of a discrete stack, but it is not itself a training guarantee for CDGP or FlowDGP.
Theorem 4.1. Consider the SDE . Let and denote the strong solutions associated with parameters and , respectively, driven by the same Brownian motion. Assume that the diffusion coefficient is shared across the two systems, and that is Lipschitz continuous in the state variable with constant , and in the parameter variable with constant . Then, for any ,
where for , with continuous extension , for almost every sample path. See Appendix B for the proof.
Theorem 4.1 is a generic pathwise sensitivity statement. Unlike the discrete-depth proposition, it does not grow through repeated products of layerwise Jacobians. It still carries an exponential dependence on T, however, so a depth-uniform conclusion requires extra structure.
Corollary 4.2. Under the assumptions of Theorem 4.1, suppose in addition that the drift satisfies a one-sided contractivity condition on , i.e., there exists such that, for all and ,
Then,
for almost every sample path. See Appendix C for the proof.
Under the contractive regime, the pathwise sensitivity is bounded by . If the loss gradient is bounded by C, the data-fit term at terminal time satisfies, denoting by the Lipschitz constant of the terminal data-fit term with respect to ,
The qualitative difference from discrete DGPs is the object that controls sensitivity. Proposition 3.1 is driven by repeated discrete composition, whereas the continuous-depth formulation yields bounds in terms of a single drift field. The contractive corollary is intentionally stronger and more specialized: neither CDGP nor FlowDGP explicitly enforces that regime. We therefore use these results to interpret the redesign, while Section 5.1 shows empirically that the proposed continuous-depth models remain stable across the depth ranges we study. Appendix F.2 provides a controlled SDE illustration of Corollary 4.2.
5 Experiments
The experiments are organized as a sequence of evidence for the paper's main claim. First, the toy study makes the discrete-depth pathology visible and tests whether residualization is enough to repair it. Second, the benchmark study asks whether the continuous-depth redesign remains competitive on realistic regression tasks once residual DGP is granted as the strongest discrete-depth baseline. Third, the large-scale study asks which part of the continuous-depth family remains practical when direct GP baselines become too expensive to train.
5.1 Toy Example
We begin with a synthetic regression task designed to expose the depth pathology directly. The point of this experiment is diagnostic: make the failure of plain DGP visible, show that residualization is the right first repair, and then ask whether the continuous-depth models remain stable beyond it. The dataset comprises 800 input–output pairs generated from a nonlinear function with additive Gaussian noise, partitioned into 300 training and 500 test samples. We report test negative log-likelihood (NLL), root mean squared error (RMSE), and mean absolute error (MAE), averaged over random seeds. Details of the dataset and hyperparameter settings are provided in Appendix E.1 and Appendix E.2, respectively.
Figure 1 should be read row by row. The top row tests the failure mode of increasing discrete depth, the middle row asks whether the continuous-depth models stay stable as the numerical resolution J changes, and the bottom row asks whether they remain well behaved as the terminal depth T increases.
The top row of Figure 1 shows DGP and Residual DGP as the number of layers L increases from 1 to 10. Standard DGP deteriorates sharply across all three metrics at larger L, consistent with the exponential Lipschitz growth identified in Proposition 3.1. Residual DGP is more robust due to its identity shortcut but still degrades at larger depths, confirming that residualization helps materially but does not remove the limitations of discrete composition.
The middle row fixes T = 1 and varies the number of discretization steps J from 1 to 10. CDGP remains stable across all metrics, matching or outperforming the two-layer Residual DGP configuration (dashed line). FlowDGP achieves lower NLL than CDGP at .

DGP Residual DGP Residual DGP (reference) FlowDGP
Figure 1: Toy regression results. Top: test root mean squared error (RMSE), negative log-likelihood (NLL), and mean absolute error (MAE) versus depth L for standard DGP and residual DGP. Middle: CDGP and FlowDGP versus J at fixed T = 1, with the dashed line showing the two-layer residual DGP reference. Bottom: CDGP and FlowDGP versus T at fixed J = 3. Shaded regions denote one standard deviation across random seeds.
The bottom row fixes J = 3 and varies T from 1 to 10. CDGP maintains stable performance as T increases, and FlowDGP shows better RMSE and MAE at T values. This behavior is qualitatively consistent with the sensitivity perspective of Section 4.4, but the empirical point stands on its own: once depth is parameterized continuously, the models remain well behaved across the range we test.
5.2 Benchmark Datasets
The benchmark study asks a different question from the toy experiment: once residual DGP is granted as the strongest discrete-depth repair, are the proposed continuous-depth models still competitive on realistic regression tasks? We therefore evaluate all methods on six regression datasets spanning diverse data characteristics: heavy_tailed, heteroscedastic, and nonstationary are synthetic datasets designed to test specific modeling challenges, while sarcos_small, uci_bike_small, and uci_energy_small are subsampled versions of real-world datasets (see Appendix E.1 for details). We report test NLL, RMSE, and training time averaged over random seeds. The benchmark baselines are sparse GP, heteroscedastic GP [11], standard DGP, residual DGP [19], deep kernel learning (DKL) [18], thin DGP (TDGP) [5], neural ODE (NODE) [3], neural SDE (NSDE) [12], and transformed GP (TGP) [13].
Table 1 summarizes the results. Three patterns matter most. First, the continuous-depth models are not only stable in the toy setting; they are genuinely competitive on realistic regression tasks. FlowDGP achieves the best NLL on heteroscedastic and nonstationary, while CDGP achieves the best NLL on sarcos_small. TGP has the best NLL on heavy_tailed and uci_bike_small; CDGP or FlowDGP has lower RMSE than TGP on all six datasets. Second, the comparison to discrete-depth baselines matches the motivating story of the paper: standard DGP performs poorly across most datasets, especially in NLL, and residual DGP improves over DGP but still trails CDGP and FlowDGP. Third, the two continuous-depth variants occupy different practical regimes. FlowDGP
Table 1: Regression results on benchmark datasets. We report mean std over multiple random seeds. Bold indicates the best result; underline indicates the second best. Training time is in seconds. Rows highlighted in light blue correspond to our methods. Method abbreviations: DKL = deep kernel learning, TDGP = thin DGP, TGP = transformed GP, NODE = neural ODE, and NSDE = neural SDE.
| Metric | Method | Dataset | |||||
|---|---|---|---|---|---|---|---|
| heavy_tailed | heteroscedastic | nonstationary | sarcos_small | uci_bike_small | uci_energy_small | ||
| RMSE | FlowDGP | ||||||
| CDGP | |||||||
| Heteroskedastic GP | |||||||
| Residual DGP | |||||||
| Sparse GP | |||||||
| TGP | |||||||
| DGP | |||||||
| NODE | |||||||
| TDGP | |||||||
| DKL | |||||||
| NSDE | |||||||
| NLL | FlowDGP | ||||||
| CDGP | |||||||
| Heteroskedastic GP | |||||||
| Residual DGP | |||||||
| Sparse GP | |||||||
| TGP | |||||||
| DGP | |||||||
| NODE | |||||||
| TDGP | |||||||
| DKL | |||||||
| NSDE | |||||||
| Train Time | FlowDGP | ||||||
| CDGP | |||||||
| Heteroskedastic GP | |||||||
| Residual DGP | |||||||
| Sparse GP | |||||||
| TGP | |||||||
| DGP | |||||||
| NODE | |||||||
| TDGP | |||||||
| DKL | |||||||
| NSDE | |||||||
is substantially faster than CDGP, with roughly 5–14× lower training time across datasets, while CDGP remains the strongest direct GP instantiation of the framework.
The benchmark comparison also includes NODE and NSDE, which share continuous-depth dynamics but parameterize the vector field with a neural network rather than a GP-based prior. They play different roles. NODE is the clean deterministic baseline for continuous depth without a GP-based prior, but its NLL is often dramatically worse, especially on heteroscedastic, nonstationary, and sarcos_small. NSDE is the closer stochastic rival: it achieves very strong RMSE on nonstationary and sarcos_small, but its NLL remains markedly weaker. The benchmark results show more than the usefulness of continuous dynamics alone. In this small- to medium-scale regime, the GP-based prior over the drift family materially improves probabilistic performance relative to the neural continuous-depth alternatives. Together with the toy study, this closes the main comparison against both residual DGP and the non-GP continuous-depth baselines. The next subsection isolates the larger-scale regime in which FlowDGP, rather than CDGP, becomes the practical representative of the continuous-depth approach.
5.3 Large-Scale Datasets
The large-scale study isolates the practical regime of FlowDGP. We compare against methods with neural-network components that scale naturally to larger datasets: DKL [18], neural ODE [3], neural SDE [12], and FlowDGP. The evaluation uses the full-size versions of uci_bike, uci_energy, and sarcos (Appendix E.1). CDGP and residual DGP are omitted because their training cost is prohibitive at these scales; the benchmark timings already show this trend, and Appendix D explains why. We report RMSE, NLL, and continuous ranked probability score (CRPS), averaged over random seeds. The point is not that CDGP disappears from the story, but that the two continuous-depth variants occupy different cost-quality regimes: CDGP is the direct GP instantiation, whereas FlowDGP is the scalable one. In this regime, the most meaningful comparison is between FlowDGP and NSDE: both are stochastic continuous-depth models, but only FlowDGP retains a GP-based prior over the drift family.



Figure 2: Results on full-size uci_bike (top), uci_energy (middle), and sarcos (bottom) datasets comparing FlowDGP, deep kernel learning (DKL), neural ordinary differential equations (NODE), and neural stochastic differential equations (NSDE). We report root mean squared error (RMSE), negative log-likelihood (NLL), and continuous ranked probability score (CRPS) averaged over random seeds; error bars denote one standard deviation. For readability, the NLL values of DKL on sarcos are scaled by 0.1 (first) and 1/3 (second) to avoid distorting the y-axis scale.
Figure 2 presents the results. On uci_bike, FlowDGP achieves the best performance across RMSE, NLL, and CRPS. On uci_energy, it obtains the best CRPS and is tied for the best RMSE, while NSDE has the best NLL. On sarcos, it performs comparably to, or slightly better than, neural SDE across all three metrics, while neural ODE and DKL provide the weakest probabilistic performance.
Overall, the large-scale picture is sharper than a generic baseline comparison. NODE remains a useful deterministic continuous-depth reference, but it is not the main rival in probabilistic regression. NSDE is the closer stochastic comparator, and the figure shows that FlowDGP remains competitive with it in NLL and CRPS across the datasets studied here. The practical point is therefore not just that FlowDGP is competitive in point prediction, but that a GP-based prior over the drift family remains useful even in the scalable continuous-depth regime.
6 Related Work
DGPs compose GP mappings [4], with scalable variational inference [16]. Residual [19] and thin DGPs [5] modify this hierarchy. Deep kernel learning [18] instead learns neural features, while TGPs [13] transform a GP through an invertible, potentially input-dependent map. Our focus is the parameterization of latent depth.
GP networks [9] put GP priors on conditional relations in a discrete graphical model; nonlinear multifidelity GPs [14] learn relations between observed fidelity levels. Our depth variable is latent and continuous, without observations required at intermediate depths.
Neural ODEs and SDEs [3, 12] parameterize continuous-depth dynamics with neural vector fields. Deep state-space GPs [20] use conditional SDE representations over the input time variable within a finite hierarchy, enabling sequential inference. Differential GP flows [10] use a GP posterior to determine the drift and diffusion of an input-warping SDE, followed by a separate output GP.
Additional results on YearPredictionMSD are provided in Appendix F.1.
In FlowDGP, a sampled base drift is evolved across latent depth, the state diffusion is specified separately, and the terminal state enters the likelihood directly.
7 Conclusion
For probabilistic regression, depth in a deep GP is better treated as latent continuous evolution than as a long discrete stack. Plain DGPs become increasingly awkward as depth grows, and residual DGP is the right first repair but not the final answer.
We therefore replaced the deep stack by a latent SDE with a depth-indexed drift family and studied two GP-based priors on that family: CDGP as a direct separable prior, and FlowDGP as a structured flow-evolved prior, both trained with a shared sparse variational framework. The theory explains why this continuous-depth formulation lives in a different sensitivity regime from repeated discrete composition, while the strongest depth-uniform statement remains conditional.
Empirically, the pattern is consistent across scales. Residual DGP improves over plain DGP, but the continuous-depth models are more stable or more competitive in the regimes we study, with FlowDGP performing best at larger scale. Continuous depth is a useful redesign of how depth is represented in probabilistic regression. Relative to the natural continuous-depth neural alternatives, especially neural ODEs and neural SDEs, the advantage is not continuous depth alone but continuous depth with a GP-based prior over the drift family.
8 Limitations
On the modelling side, CDGP’s separable kernel limits the joint state–depth dependence of the drift, while FlowDGP captures this dependence through a deterministic CNF, so uncertainty in the drift across depths is inherited solely from the base GP . Our empirical evaluation also focuses on regression tasks of moderate dimensionality, and extending the approach to classification or structured prediction is left to future work.
Acknowledgments
Ying Li and Alexandre Thiery acknowledge support from Singapore MOE AcRF Tier 2 grants MOE-T2EP20123-0010 and MOE-T2EP20223-0011. The contribution of Petar Djuric is supported by the National Science Foundation (NSF) under Award 2212506. The contribution of Michael Zhang is funded by the Research Grants Council under the General Research Fund #17312826 and by the University of Hong Kong Seed Fund for PI Research – Basic Research #2402101367.
References
[1] Thierry Bertin-Mahieux. Year Prediction MSD. UCI Machine Learning Repository, 2011. DOI: 10.24432/C50K61.
[2] Luis Candanedo. Appliances Energy Prediction. UCI Machine Learning Repository, 2017. DOI: 10.24432/C5VC8G.
[3] Ricky TQ Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In Advances in Neural Information Processing Systems, volume 31, 2018.
[4] Andreas Damianou and Neil D. Lawrence. Deep Gaussian processes. In International Conference on Artificial Intelligence and Statistics, pages 207–215, 2013.
[5] Daniel Augusto De Souza, Alexander Nikitin, ST John, Magnus Ross, Mauricio A Álvarez, Marc Deisenroth, João Paulo Gomes, Diego Mesquita, and César Lincoln Mattos. Thin and deep Gaussian processes. In Advances in Neural Information Processing Systems, volume 36, 2023.
[6] Matthew M Dunlop, Mark A Girolami, Andrew M Stuart, and Aretha L Teckentrup. How deep are deep Gaussian processes? Journal of Machine Learning Research, 19(54):1–46, 2018.
[7] David Duvenaud, Oren Rippel, Ryan Adams, and Zoubin Ghahramani. Avoiding pathologies in very deep networks. In International Conference on Artificial Intelligence and Statistics, pages 202–210, 2014.
[8] Hadi Fanaee-T. Bike sharing. UCI Machine Learning Repository, 2013. DOI: 10.24432/C5W894.
[9] Nir Friedman and Iftach Nachman. Gaussian process networks. In Proceedings of the Sixteenth Conference on Uncertainty in Artificial Intelligence, 2000.
[10] Pashupati Hegde, Markus Heinonen, Harri Lähdesmäki, and Samuel Kaski. Deep learning with differential Gaussian process flows. In International Conference on Artificial Intelligence and Statistics, pages 1–15, 2019.
[11] Quoc V Le, Alex J Smola, and Stéphane Canu. Heteroscedastic Gaussian process regression. In Proceedings of the 22nd international conference on Machine learning, pages 489–496, 2005.
[12] Xuechen Li, Ting-Kam Leonard Wong, Ricky TQ Chen, and David Duvenaud. Scalable gradients for stochastic differential equations. In International conference on artificial intelligence and statistics, pages 3870–3882. PMLR, 2020.
[13] Juan Maroñas, Oliver Hamelijnck, Jeremias Knoblauch, and Theodoros Damoulas. Transforming Gaussian processes with normalizing flows. In Proceedings of the 24th International Conference on Artificial Intelligence and Statistics, volume 130, pages 1081–1089. PMLR, 2021.
[14] Paris Perdikaris, Maziar Raissi, Andreas Damianou, Neil D. Lawrence, and George Em Karniadakis. Nonlinear information fusion algorithms for data-efficient multi-fidelity modelling. Proceedings of the Royal Society A, 473(2198):20160751, 2017.
[15] Carl Edward Rasmussen and Christopher K. I. Williams. Gaussian Processes for Machine Learning. MIT Press, Cambridge, MA, USA, 2006.
[16] Hugh Salimbeni and Marc Deisenroth. Doubly stochastic variational inference for deep Gaussian processes. In Advances in Neural Information Processing Systems, volume 30, 2017.
[17] S Vijayakumar and S Schaal. An o(n) algorithm for incremental real time learning in high dimensional space. In Proc. of the Seventeenth International Conference on Machine Learning, pages 1079–1086, 2000.
[18] Andrew Gordon Wilson, Zhiting Hu, Ruslan Salakhutdinov, and Eric P Xing. Deep kernel learning. In International Conference on Artificial Intelligence and Statistics, pages 370–378, 2016.
[19] Kacper Wyrwal, Andreas Krause, and Viacheslav Borovitskiy. Residual deep Gaussian processes on manifolds. In The Thirteenth International Conference on Learning Representations, 2025.
[20] Zheng Zhao, Muhammad Emzir, and Simo Särkkä. Deep state-space Gaussian processes. Statistics and Computing, 2021.
A Proof of Proposition 3.1
Recall that the single-sample DGP objective is
Let denote a Lipschitz constant of . By standard smoothness arguments,
Using the decomposition of the objective and the triangle inequality, we obtain
where
We bound these two terms separately.
Lemma A.1. Assume that
for all , and that each sampled layer function is -Lipschitz with respect to its input, uniformly over , i.e.
Then
where is independent of .
Proof. Write
where is the parameter block associated with layer . For each , by the chain rule,
Since the latent states satisfy
and the additive noise does not depend on , we have
Therefore,
Taking norms and using sub-multiplicativity of operator norms yields
By the assumptions,
Hence,
Taking the supremum over gives the result.
Lemma A.2. Under the layerwise variational parameterization of the DGP objective, the KL regularizer decomposes as
If each layerwise KL term has uniformly bounded gradient, namely
then
Proof. Since the KL regularizer decomposes layerwise, we have
Therefore,
Taking the supremum over yields
and hence .
Combining LemmasA.1 andA.2, we obtain
where the term captures the contribution of the KL regularizer. This proves Proposition 3.1.
B Proof of Theorem 4.1
Proof of Theorem 4.1. Define
so that . Subtracting the two SDEs driven by the same Brownian motion gives
Hence the stochastic terms cancel exactly and
Adding and subtracting yields
Taking norms and using the Lipschitz assumptions,
Therefore, with and ,
Define
so that and . Then
(20)
Multiplying by gives
Integrating from 0 to t and using , we obtain, for ,
and hence
If , Eq. (18) reduces to
Combining the two cases,
where
C Proof of Corollary 4.2
Proof. Starting from the pathwise ODE for established in the proof of Theorem 4.1, we have
Adding and subtracting yields
By the one-sided contractivity assumption, (I) . For (II), Cauchy–Schwarz and the Lipschitz condition in give
Applying Young's inequality with parameter ,
and combining the two bounds yields
Since , Grönwall's inequality gives
Taking square roots and evaluating at ,
for almost every sample path.
D Complexity Analysis
In CDGP, the inducing set is the Cartesian product of size . Exploiting the Kronecker structure of the separable kernel, the per-iteration complexity is .
In FlowDGP, inference is performed only over the base GP with inducing points, giving a per-iteration complexity of , where is the cost of evaluating . The reduction from to inducing points more than compensates for the additional ODE solver cost, resulting in substantially faster training in practice.
This complexity gap is reflected in the benchmark train-time results in Table 1, where FlowDGP is already substantially faster than CDGP on the smaller benchmark subsets. That empirical gap is the main reason why CDGP and residual DGP are not carried into the full-size large-scale experiment.
E Simulation Details
The experiments were run on a single NVIDIA RTX 4500 Ada Generation GPU (24 GB). Note that, for each test input , we draw Monte Carlo samples from the model and form a Gaussian predictive distribution whose moments are estimated from the samples:
The negative log-likelihood is then evaluated as
E.1 Datasets Description
We evaluate on a one-dimensional toy example, three synthetic benchmarks, three real-world regression tasks at two sample sizes, and YearPredictionMSD. For the toy and benchmark datasets, inputs are standardised per dimension and targets are standardised by the training-set mean and standard deviation. The toy example is used in Section 5.1 with and . For the benchmark experiments (Section 5.2), each dataset uses and ; for the real-world tasks, we randomly subsample from the full datasets to this size. For the large-scale experiments (Section 5.3), the full versions of the real-world datasets are used.
1D toy example (toy_example). Inputs are drawn uniformly, and the scalar target is with . Writing for the normalized input, the clean signal is a superposition of seven components, , where
with chirp phase (parameters , , ) and regime-switching gate . The seven components respectively contribute: (1) a chirp with growing envelope, (2) second-harmonic, quadratic-phase, and FM terms with a mild polynomial trend, (3) spectrally conflicting slow and fast sinusoids, (4) a localised high-frequency burst inside a narrow Gaussian window, (5) a square-root cusp, (6) a near-discontinuous step, and (7) a regime blend whose dominant frequency differs sharply between the two sides of the domain. Noise is heteroscedastic with , so the output variance grows roughly from left to right. We use and ; inputs and targets are standardised using training-set statistics. Although the task is strictly one-dimensional ( ), the combination of multi-scale sinusoids, a localised burst, a cusp, a near-step, and a regime change makes it adversarial to any model with a single stationary lengthscale.
Heteroscedastic (heteroscedastic). Inputs with are drawn uniformly on . The latent signal is
and intermediate observations are with and input-dependent noise scale
The scalar target is , so the effective noise is heteroscedastic with roughly a variance ratio across the input space. This benchmark evaluates a model's ability to fit input-dependent aleatoric uncertainty.
Nonstationary (nonstationary). Inputs with are drawn uniformly on . The clean signal is a smooth two-regime blend governed by the first coordinate,
with homoscedastic Gaussian noise . The change in effective lengthscale between the and regimes is the principal challenge: a single stationary kernel cannot match both regimes simultaneously.
Heavy-tailed (heavy_tailed). Inputs with are drawn uniformly on , and the latent signal takes the additive form
Observations are with Student-t noise , where and . The fat tails induce a non-negligible fraction of gross outliers, which stresses baselines that assume Gaussian noise.
SARCOS (sarcos, sarcos_small). The SARCOS inverse-dynamics benchmark [17]: given joint-state features (seven positions, seven velocities, seven accelerations) from a seven-degree-of-freedom anthropomorphic robot arm, predict the first joint torque. We use the standard split with 44,484 training and 4,449 test samples in the large-scale setting, and subsample to and in the benchmark setting (sarcos_small). Features and targets are standardised using the full parent training set.
UCI Bike (uci_bike, uci_bike_small). The UCI Bike Sharing dataset [8]: the target is the hourly rental count (cnt), and the inputs are weather and calendar features (season, yr, mnth, hr, holiday, weekday, workingday, weathersit, temp, atemp, hum, windspeed). We apply an 80/20 time-ordered split with per-feature z-scoring and target standardisation, yielding 13,903 training and 3,476 test samples in the large-scale setting; the benchmark setting subsamples to and . The target is highly non-Gaussian (count data with mixed diurnal and seasonal regimes), making this a useful test of non-stationarity.
UCI Energy (uci_energy, uci_energy_small). The UCI Appliances Energy Prediction dataset [2]: the target is appliance energy consumption (Wh), and the inputs are indoor sensor readings and weather variables, augmented with four derived temporal features (hour of day, day of week, month, weekend indicator) parsed from the timestamp. Metadata columns (date, rv1, rv2) and the target itself are excluded from the inputs. We apply a chronological 80/20 split with z-scoring, yielding 15,788 training and 3,947 test samples in the large-scale setting; the benchmark setting subsamples to and . Targets are strongly right-skewed with sparse high-activity spikes, producing effectively heavy-tailed residuals in small samples.
YearPredictionMSD. YearPredictionMSD [1] is a song-release-year prediction dataset containing 515,345 observations, each represented by 90 numerical audio features. The task is scalar regression from audio characteristics to release year.
Summary. Table 2 summarises the input dimension, sample sizes (benchmark setting), and principal regression challenge targeted by each dataset. All tasks are scalar regression ( ); sample sizes for the corresponding large-scale datasets (sarcos, uci_bike, uci_energy) are given in the paragraphs above.
E.2 Hyperparameter Settings
To ensure reproducibility, we provide the hyperparameter configurations for all methods. Table 3 lists the hyperparameters selected via grid search, and Table 4 reports the fixed settings shared across experiments. For each method and dataset, hyperparameters were selected based on validation performance, considering both NLL and RMSE. We first identified configurations whose validation NLL was close to the best-performing one, and among them chose the configuration with the lowest validation RMSE. This favors models that achieve strong probabilistic performance without sacrificing point prediction accuracy. In these tables, J is the number of integration steps and is the number of inducing locations along depth for CDGP. Neither denotes the terminal horizon T, which is 1.0 for both CDGP and FlowDGP unless varied explicitly.
| Dataset | Primary challenge | |||
|---|---|---|---|---|
| heteroscedastic | 10 | 300 | 500 | input-dependent noise |
| nonstationary | 10 | 300 | 500 | two-regime lengthscale change |
| heavy_tailed | 10 | 300 | 500 | Student- outliers |
| sarcos_small | 21 | 300 | 500 | high-dimensional nonlinear dynamics |
| uci_bike_small | 12 | 300 | 500 | mixed diurnal/seasonal regimes |
| uci_energy_small | 29 | 300 | 500 | skewed, spiky real sensor data |
| sarcos | 21 | 44,484 | 4,449 | high-dimensional nonlinear dynamics |
| uci_bike | 12 | 13,903 | 3,476 | mixed diurnal/seasonal regimes |
| uci_energy | 29 | 15,788 | 3,947 | skewed, spiky real sensor data |
Table 2: Summary of evaluation datasets. The first block lists the three synthetic benchmarks, the second block the subsampled real-world datasets used in Section 5.2, and the third block their full-size counterparts used in Section 5.3. All tasks are scalar regression with .
Table 3: Grid-searched hyperparameters for the benchmark methods. For each method and dataset, we select the configuration with the lowest validation NLL.
| Method | Search space |
|---|---|
| SparseGP | |
| HeteroskedasticGP | |
| DKL | grid_size |
| num_dims | |
| TDGP | |
| DGP | num_layers |
| ResidualDGP | num_layers |
| NODE | hidden_dim |
| num_layers | |
| NSDE | hidden_dim |
| CDGP | |
| FlowDGP | hidden_dims |
F Additional Experimental Comparisons
F.1 Large-scale comparison on YearPredictionMSD
We compare FlowDGP with DKL, NODE and NSDE on YearPredictionMSD (Appendix E.1). Table 5 reports the results: FlowDGP achieves the lowest mean RMSE and NLL, while NSDE achieves the lowest mean CRPS.
Table 4: Fixed hyperparameter settings for the toy and benchmark experiments. Method-specific entries override the defaults.
| Scope | Setting |
|---|---|
| Defaults | num_inducing = 30 (whenever applicable) |
| epochs = 2500 | |
| optimiser = Adam | |
| DKL | epochs = 500 |
| CDGP | |
| (unless otherwise specified) | |
| FlowDGP | |
| (unless otherwise specified) | |
| NODE | |
| solver = Euler | |
| rtol = , atol = | |
| NSDE | adjoint = False |
| solver = Euler | |
| activation = LipSwish | |
| TDGP | diag_qmu = True |
| epochs=1000 | |
| TGP | num_blocks = 3 (SAL) |
| hidden_dims = [50, 50] | |
| epochs = 15000 | |
| lr = 0.001 |
Table 5: YearPredictionMSD results, mean ± standard deviation over random seeds. Lower is better; bold marks the lowest mean.
| Method | RMSE | NLL | CRPS |
|---|---|---|---|
| DKL | |||
| NODE | |||
| NSDE | |||
| FlowDGP |
F.2 A controlled contraction illustration
To illustrate Corollary 4.2, we consider an auxiliary one-dimensional SDE, separate from the fitted CDGP and FlowDGP models. Paired paths share the same Brownian motion, and we measure
The contractive drift is ; the control is . For the contractive drift, and . With equal initial conditions and shared parameter-independent additive noise, the corollary bounds sensitivity by . Table 6 reports the results from 5,000 paired paths. Sensitivity levels off below the bound in the contractive cases, while the control increases with the horizon.
Table 6: Controlled SDE illustration of Corollary 4.2.
| Drift | |||||
|---|---|---|---|---|---|
| Contractive | 0.5 | 0.637 | 1.002 | 1.023 | 2.000 |
| Contractive | 1.0 | 0.521 | 0.672 | 0.673 | 1.000 |
| Contractive | 2.0 | 0.368 | 0.401 | 0.401 | 0.500 |
| Non-contractive | — | 1.136 | 6.870 | 25.542 | — |
F.3 Learned drift evolution
We use the toy dataset to visualize how the learned drift and latent state evolve with continuous depth in CDGP and FlowDGP.
Both models use T = 1, J = 3, 30 inducing points for each state or base GP, and 2,500 training epochs; CDGP uses five depth inducing points. The FlowDGP drift posterior mean is estimated using 512 base-GP samples. We plot eight latent trajectories for each of seven inputs.
Figure 3 plots the drift posterior means at fixed states for CDGP and fixed inputs for FlowDGP, together with sampled latent trajectories. In this toy example, CDGP's drift means change modestly with t, whereas FlowDGP's vary more substantially. The latent trajectories show a similar pattern, with more pronounced changes across depth for FlowDGP.
(a) CDGP drift

(b) FlowDGP drift
(c) CDGP trajectories
(d) FlowDGP trajectories
Figure 3: Learned drift evolution and latent trajectories on the toy dataset. Top: drift posterior means versus t at fixed states h for CDGP and fixed inputs x for FlowDGP. Bottom: sampled latent trajectories (thin lines) and their means (thick lines), colored by input.
G LLM Usage
Large language models were used solely for editing and polishing the writing of this paper.