NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sequential Inference for Deep Gaussian Process

Yali Wang, Marcus A. Brubaker, Brahim Chaib-draa, Raquel Urtasun

Abstract

Deep Gaussian Processes (DGPs) provide a powerful framework for modeling complex, non-stationary data by stacking multiple GP layers. However, their cubic computational complexity $O(N^3)$ limits their applicability to large-scale datasets. This paper proposes a novel sequential inference framework that combines sequential Monte Carlo (SMC) for state estimation with sparse online Gaussian Processes (GPso) for model updates. This approach achieves linear scaling $O(N)$ with respect to the number of data points. We further extend this framework to handle heteroscedastic noise and multi-task learning. Experimental results across various domains, including human motion tracking and large-scale classification (MNIST), demonstrate that our method significantly outperforms traditional variational DGP approximations in both computational efficiency and predictive accuracy.

Introduction

Gaussian Processes (GPs) are popular non-parametric models known for their flexibility and well-calibrated uncertainty. Yet, "shallow" GPs often struggle with complex dependencies and non-stationary data. Deep Gaussian Processes (DGPs) address these limitations by learning hierarchical representations through stacked GP layers. Despite their theoretical appeal, DGPs face a significant hurdle: inference is computationally expensive. Traditional exact inference scales cubically with the number of observations, and while variational methods offer some relief, they often remain slow and are not inherently suited for sequential or streaming data.

This paper introduces a sequential inference framework designed to make DGPs practical for large-scale applications. By processing data points one by one, the proposed method reduces complexity to linear scaling, enabling the deployment of deep models on datasets previously considered out of reach.

Methods

The core of the proposed framework is a two-stage recursive algorithm applied to each incoming data pair $(x^n, y^n)$.

  1. State Estimation (Forward Pass): To manage the latent layers, the authors employ a sampling mechanism based on Sequential Monte Carlo (particle filtering). For each layer, "particles" representing latent states are drawn, propagated through the network, and weighted according to their ability to explain the observed output.
  2. Model Update (Sparse Pass): To maintain efficiency, the framework utilizes Sparse Online GPs (GPso). By keeping a fixed-size "active set" of inducing points, the update complexity is kept at $O(N)$, avoiding the $O(N^3)$ bottleneck of standard GPs.

The authors also introduce a Heteroscedastic DGP (HDGP) extension, which models both the mean and the variance as GPs to handle input-dependent noise.

Graphical model of DGP and its heteroscedastic extension (HDGP).

Experimental Evaluation

The framework was tested on a wide array of tasks, including human motion (CMU Mocap), financial forecasting (Nasdaq), and medical diagnostics (Parkinsons telemonitoring).

Key findings include:

  • Efficiency: On the Parkinsons dataset, the sequential DGP (DGPseq) completed training in 546 seconds, a 60x speedup over the 33,486 seconds required by the variational DGP (DGPvar).
  • Accuracy: DGPseq consistently outperformed DGPvar and standard sparse GPs in terms of Root Mean Squared Error (RMSE) across motion and trend tracking tasks. On the Tumor gene expression dataset, DGPseq achieved 73% accuracy, compared to 50% for DGPvar.
  • Scalability: The model was successfully applied to the full MNIST dataset (60,000 images), demonstrating its capability for large-scale classification where traditional DGP methods often fail.
Performance comparison (RMSE, MNLP, and Training Time) across varying latent layer depths and dimensions.

Discussion and Conclusion

The results confirm that combining sequential sampling with sparse updates allows DGPs to scale linearly without sacrificing predictive power. The "depth" of the model proves crucial for sharing representations in multi-task settings and providing robust uncertainty estimates. Specifically, the HDGP extension significantly improved Mean Negative Log Probability (MNLP), indicating better-calibrated uncertainty in the presence of non-constant noise.

While the current framework is highly efficient, hyperparameter optimization still relies on an episodic approach. Future work could explore fully one-pass optimization and parallelization of the particle filtering process to further enhance performance. This sequential framework opens new avenues for applying deep probabilistic models to real-time streaming data and complex large-scale systems.

Summary updated

BibTeX
@inproceedings{wang2016sequential,
  author = {Yali Wang and Marcus A. Brubaker and Brahim Chaib-draa and Raquel Urtasun},
  title = {{Sequential Inference for Deep Gaussian Process}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
}
Figure