Transformed Latent Variable Multi-Output Gaussian Processes

Xiaoyu Jiang, Xinxing Shi, Sokratia Georgaka, Magnus Rattray, Mauricio A Álvarez

TL;DR

This paper introduces the Transformed Latent Variable Multi-Output Gaussian Process (T-LVMOGP), a novel framework that significantly scales Multi-Output Gaussian Processes (MOGPs) to handle a massive number of outputs. By employing a deep kernel that maps inputs and latent variables into an embedding space, T-LVMOGP captures complex inter-output dependencies while maintaining computational efficiency, outperforming existing methods on diverse benchmarks.

What Problem Does This Paper Address?

Multi-Output Gaussian Processes (MOGPs) are powerful tools for modeling correlated outputs across different functions or variables. However, their practical application is severely hampered by a computational bottleneck: the cost scales cubically with the number of outputs ($P$). This makes them infeasible for high-dimensional problems, such as climate modeling or spatial transcriptomics, where $P$ can easily reach thousands. Existing solutions often resort to restrictive assumptions (e.g., low-rank kernels) that limit the model's ability to capture intricate inter-output relationships, or they employ tensor-based methods that also rely on rigid structural assumptions. This paper aims to bridge this gap by developing a scalable MOGP framework that preserves expressiveness and handles high-dimensional output spaces effectively.

Methods

The core innovation of T-LVMOGP lies in its transformed latent variable deep kernel. Instead of directly modeling the complex cross-output covariances, T-LVMOGP first maps the input data ($x$) and output-specific latent variables ($h_p$) into a shared embedding space using a Lipschitz-regularised neural network. This network, a Residual Connected Neural Network (RCNN) with spectral normalization, ensures smooth and stable mappings, preventing common deep kernel learning issues like feature collapse. A base kernel (e.g., RBF) is then applied in this embedding space to define the cross-covariances. This approach effectively reformulates the MOGP problem into a set of scalar GPs in the learned embedding space.

The framework leverages stochastic variational inference (SVGP), placing inducing points in the embedding space. This allows for efficient mini-batch training on both inputs and outputs, crucial for scalability. The authors also incorporate tighter variational bounds (proposed by Titsias and Bui) to further improve predictive performance. The use of Lipschitz regularization and spectral normalization on the neural network is key to achieving robust generalization and preventing overfitting, common issues in deep kernel methods.

Datasets

The proposed T-LVMOGP model was evaluated on several real-world datasets:

  • Electroencephalogram (EEG) Prediction: A dataset with 256 voltage measurements from 7 scalp electrodes.
  • Inverse Dynamics Prediction (SARCOS): A dataset from an anthropomorphic robot arm with 48,933 samples and 7 outputs.
  • Climate Modelling (ERA5 and Copernicus Marine): Monthly temperature data for the UK from ERA5 and sea water potential temperature from Copernicus Marine, involving thousands of spatial locations (outputs).
  • Spatial Transcriptomics: A 10x Genomics Visium human prostate cancer dataset with gene expression counts for 5,000 genes across 4,352 spatial locations (outputs).

Key Insights and Ideas

  • Deep Kernels for Scalable MOGPs: The paper demonstrates that by using a deep neural network to learn an embedding space, complex MOGP covariances can be implicitly captured without restrictive kernel assumptions. This is a significant departure from traditional MOGP approaches.
  • Lipschitz Regularization is Crucial: Applying Lipschitz constraints (via RCNN and spectral normalization) to the neural network is vital for preventing pathological behaviors and ensuring reliable uncertainty quantification, which is a hallmark of GPs.
  • Embedding Space as a Unifier: Mapping inputs and latent variables into a shared embedding space allows the model to treat the problem as a collection of simpler scalar GPs, enabling the reuse of efficient inference techniques.
  • Scalability Through Variational Inference: The combination of SVGP and mini-batch training on both inputs and outputs is key to achieving scalability to massive numbers of outputs.

Key Results

  • Superior Predictive Accuracy: Across all tested benchmarks (EEG, SARCOS, ERA5, Copernicus Marine, Spatial Transcriptomics), T-LVMOGP consistently outperformed baseline MOGP models in terms of Mean Squared Error (MSE) and Negative Log-Likelihood (NLL). For instance, on the ERA5 dataset with block-wise splitting, T-LVMOGP achieved an MSE of $0.003 \pm 0.000$ and an NLL of $-1.503 \pm 0.026$, significantly better than other models.
  • Computational Efficiency: T-LVMOGP demonstrated competitive or superior training times compared to many baselines, especially for high-dimensional output scenarios. For example, on the SARCOS dataset, it achieved a training time of $5.263 \pm 0.194$ s/epoch, outperforming OILMM and GS-LVMOGP.
  • Handling Non-Gaussian Likelihoods: The framework naturally accommodates non-Gaussian likelihoods, as shown by its successful application to the Spatial Transcriptomics dataset using a Zero-Inflated Negative Binomial (ZINB) likelihood.
  • Impact of Spectral Normalization: Ablation studies showed that spectral normalization significantly improves performance, with optimal results achieved at intermediate SN-UB values, highlighting a trade-off between regularization and model capacity.

Limitations and Future Work

  • Mean-Field Approximation: The current formulation uses a mean-field approximation for the variational distribution of latent variables, which factorizes across outputs. While this ensures computational efficiency, it may limit the model's ability to capture complex posterior dependencies among outputs.
  • Future Directions: The authors suggest exploring structured variational distributions to better capture output couplings without prohibitive computational costs. They also propose investigating amortized inference for further parameter efficiency and incorporating other scalability techniques like structured kernel interpolation and nearest-neighbor approximations.

Summary updated

BibTeX
@inproceedings{jiang2026transformed,
  author = {Xiaoyu Jiang and Xinxing Shi and Sokratia Georgaka and Magnus Rattray and Mauricio A Álvarez},
  title = {{Transformed Latent Variable Multi-Output Gaussian Processes}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=CXKhhN5j1N},
}
Figure