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

Efficient Deep Gaussian Process Models for Variable-Sized Inputs

Issam H. Laradji, Mark Schmidt, Vladimir Pavlovic, Minyoung Kim

TL;DR

This paper introduces GP-DRF, a novel deep Bayesian model that combines the strengths of Gaussian Processes (GPs) and Deep Random Features (DRFs) to efficiently handle variable-sized inputs. GP-DRF overcomes the limitations of existing methods by enabling end-to-end learning on complex data like sequences and graphs, while also providing robust uncertainty quantification.

What Problem Does This Paper Address?

Deep Gaussian Processes (DGPs) are powerful Bayesian models that offer appealing properties like uncertainty quantification and the ability to learn deep feature representations. However, they suffer from poor scalability, making them impractical for large datasets. A common workaround is to use Deep Random Feature (DRF) models, which approximate DGPs with a deep neural network structure using random features. While DRFs improve scalability, they are limited to shift-invariant kernels and cannot directly handle variable-sized inputs such as sequences, trees, or graphs. This necessitates complex, often human-engineered, feature extraction steps for such data. The paper aims to bridge this gap by developing a model that is both scalable and capable of handling variable-sized inputs in an end-to-end fashion, while retaining the Bayesian benefits of GPs.

Methods

The proposed model, GP-DRF, is a hybrid architecture. The core innovation lies in its first layer: a Gaussian Process (GP) layer. This GP layer takes potentially variable-sized input data (e.g., sequences) and maps it to a fixed-sized latent feature vector. This is a crucial step because GPs, with their flexible kernel functions, are well-suited for handling variable-sized inputs. Following this GP layer, the model employs multiple Deep Random Feature (DRF) layers. These DRF layers then process the fixed-sized latent features from the GP layer, allowing the model to learn deep, long-range dependencies, similar to standard deep neural networks.

To make this model computationally tractable, the authors propose an efficient variational inference method. This method simultaneously infers the posterior distributions of the GP's latent vectors and the DRF's internal weights and random frequencies. They leverage the inducing point method for the GP layer to improve efficiency and employ a re-parameterization trick for Monte Carlo estimation to handle the complex posterior distributions.

Datasets

The paper evaluates GP-DRF on a variety of datasets across three tasks:

  • Fixed-sized input classification: MNIST, EEG, SPAM
  • Fixed-sized input regression: POWERPLANT, PROTEIN
  • Variable-sized (sequence) input classification: MUSIC, REUTERS2, SCOP

The datasets are standard benchmarks for evaluating machine learning models. The authors note that for sequence datasets (MUSIC, REUTERS2, SCOP), they use "double (1.5) kernel features," and for other datasets, they use the ARD kernel.

Key Insights and Ideas

  • Bridging the gap between GPs and DNNs: The GP-DRF model effectively combines the strengths of GPs (handling variable-sized inputs, Bayesian uncertainty) with those of DNNs (learning deep feature hierarchies).
  • End-to-end learning for complex data: By using a GP as the initial layer, GP-DRF can directly process variable-sized inputs like sequences without requiring manual feature engineering, a significant advantage over DRF-only models.
  • Improved uncertainty quantification: The Bayesian nature of the GP layer, combined with the overall model structure, leads to more reliable uncertainty estimates, particularly for correct predictions, as demonstrated by the Bhattacharyya distance analysis.
  • Scalability through variational inference: The proposed variational inference scheme makes the model scalable to large datasets, addressing a key limitation of traditional DGPs.

Key Results

  • Performance: GP-DRF consistently outperforms standard GP and DRF models across all eight evaluated datasets in terms of error rate (classification) and RMSE (regression).
  • Uncertainty Quantification: The model shows significantly improved uncertainty quantification compared to GP and DRF, as measured by the Bhattacharyya distance. Specifically, GP-DRF exhibits a larger discrepancy between the distances for correctly and misclassified samples, indicating higher confidence in its correct predictions.
  • Variable-Sized Input Handling: The model demonstrates its ability to handle variable-sized inputs effectively, a capability lacking in DRF models.

Limitations and Future Work

  • Kernel Limitations: While the GP layer can handle variable-sized inputs, the DRF layers still rely on random feature expansions, which are primarily known for shift-invariant kernels. The paper mentions that this limitation could be extended to other kernel types.
  • Future Exploration: The authors suggest exploring other structured, variable-size data domains, such as graphs and language data, in future work. They also mention the potential to extend the model to non-Gaussian densities for random features.

Summary updated

BibTeX
@inproceedings{laradji2019efficient,
  author = {Issam H. Laradji and Mark Schmidt and Vladimir Pavlovic and Minyoung Kim},
  title = {{Efficient Deep Gaussian Process Models for Variable-Sized Inputs}},
  booktitle = {IJCNN},
  year = {2019},
  url = {https://openreview.net/forum?id=g-tI410wWIu},
}
Figure