Scalable multi-task Gaussian processes with neural embedding of coregionalization

Haitao Liu, Jiaqi Ding, Xinyu Xie, Xiaomo Jiang, Yusong Zhao, Xiaofang Wang

Gaussian Processes (GPs) are the "Swiss Army Knife" of Bayesian regression, prized for their ability to provide not just a prediction, but a measure of how certain that prediction is. However, when dealing with multiple related tasks—like predicting sensor readings across different parts of a robot—standard models often struggle to balance complexity with accuracy.

A new paper, "Scalable Multi-Task Gaussian Processes with Neural Embedding of Coregionalization," introduces a framework called NSVLMC that marries the flexibility of neural networks with the principled uncertainty of GPs to solve this exact problem.

TL;DR

The authors propose NSVLMC, a scalable multi-task Gaussian Process model that uses input-dependent neural embeddings to transform a small number of latent GPs into a high-dimensional, diverse latent space. By combining this with a tighter, importance-weighted variational bound, the model achieves superior predictive accuracy and uncertainty quantification on both small-scale geospatial data and massive robotics datasets.

What Problem Does This Paper Address?

In Multi-Task Learning (MTL), the goal is to share knowledge across related tasks to improve performance, especially for tasks with sparse data. The Linear Model of Coregionalization (LMC) is the standard Bayesian approach for this; it assumes that multiple tasks are linear combinations of a few underlying "latent" GPs.

However, LMC has two major flaws:

  1. Rigidity: It typically uses constant mixing coefficients. This means the relationship between tasks is assumed to be the same everywhere in the input space, which is rarely true for complex real-world data.
  2. Scalability: GPs traditionally scale cubically $O(N^3)$ with the number of data points, making them unusable for "big data" unless aggressive (and often accuracy-reducing) approximations are used.

Methods

The authors introduce the Neural Scalable Variational LMC (NSVLMC). The core innovation is the Neural Embedding of Coregionalization.

Instead of mixing latent GPs with fixed weights, they use a Multi-Layer Perceptron (MLP) to generate an input-dependent mixing matrix $B(x)$. This allows the model to "warp" and "mix" the latent GPs differently depending on where you are in the input space. This effectively transforms a few base GPs into a high-dimensional ($H$) latent space of "hidden" functions that are much more expressive.

To make this scale to large datasets, the authors employ:

  • Sparse Approximation: They use a set of $M$ "inducing variables" to summarize the data, reducing complexity from $O(N^3)$ to $O(NM^2)$.
  • Tighter ELBO: They derive a more compact Evidence Lower Bound (ELBO) using Importance-Weighted Variational Inference (IWVI). This reduces the variance during training, leading to more stable and accurate model parameters.

Datasets

The model was evaluated on a diverse range of benchmarks:

  • Jura Dataset: A small geospatial dataset (359 points) predicting heavy metal concentrations in soil.
  • EEG Dataset: A medical dataset involving voltage readings from brain activity (extrapolation task).
  • Sarcos Dataset: A large-scale robotics dataset (44,484 points) for inverse dynamics of a 7-DOF robot arm.
  • Fluidized Bed Case: An engineering application using Computational Fluid Dynamics (CFD) data to model the volume fraction of particles in a gas-solid bed.

Key Insights and Ideas

  • Diversity over Quantity: The authors show that you don't necessarily need more latent GPs to model complex tasks; you need more diverse ones. The neural embedding allows even a single latent GP ($Q=1$) to represent multiple tasks effectively by varying the mixing weights across the input domain.
  • Task-Shared vs. Task-Specific: A key "aha moment" in the paper is the comparison with NGPRN (a similar model). While NGPRN puts the neural network at the task-specific level (risking overfitting on tasks with little data), NSVLMC puts the neural embedding at the task-shared level. This allows the model to learn complex correlations from the aggregate data of all tasks, providing a powerful regularizing effect.
  • Non-Gaussian Predictions: Because of the neural mixing, the final predictive distribution is no longer a simple Gaussian. The authors use MCMC sampling to derive the final predictions, capturing more complex uncertainty structures.

Key Results

NSVLMC consistently outperformed state-of-the-art models like GPAR-NL and SVLMC across almost all metrics:

  • Uncertainty Quality: On the Sarcos dataset, NSVLMC achieved significantly lower Negative Log-Likelihood (NLL) compared to other models, indicating much more reliable uncertainty estimates.
  • Handling Low Correlation: In "Case C" of the Sarcos data (where tasks have low correlation), NSVLMC maintained high accuracy while other LMC-based models degraded.
  • Engineering Utility: In the fluidized bed application, NSVLMC successfully recovered complex physical fields from very limited observations, outperforming standard single-task GPs.

Limitations and Future Work

  • Predictive Sampling: Since the predictive distribution is non-Gaussian, it requires sampling (MCMC), which is computationally more expensive than the closed-form solutions of standard GPs.
  • Hyperparameter Sensitivity: The performance depends on the choice of $Q$ (latent GPs) and $H$ (embedding dimension). While the paper provides heuristics, automated architecture search for these parameters remains an open area.
  • Heterogeneous Inputs: The current model assumes all tasks share the same input domain. The authors suggest extending this to "heterogeneous" inputs (where different tasks have different input features) as a promising future direction.

Summary updated

BibTeX
@article{liu2022scalable,
  author = {Haitao Liu and Jiaqi Ding and Xinyu Xie and Xiaomo Jiang and Yusong Zhao and Xiaofang Wang},
  title = {{Scalable multi-task Gaussian processes with neural embedding of coregionalization}},
  journal = {Knowledge-Based Systems},
  year = {2022},
  doi = {10.1016/j.knosys.2022.108775},
}
Figure