Doubly Mixed-Effects Gaussian Process Regression

Jun Ho Yoon, Daniel P. Jeong, Seyoung KimAISTATS 2022

Introduction

Multi-task Gaussian Processes (GPs) are essential for modeling related datasets, such as temperature variations across multiple geographic locations. Despite their power, traditional multi-task GPs like the Intrinsic Model of Coregionalization (IMC) or Linear Model of Coregionalization (LMC) suffer from two primary limitations: a lack of interpretability and the "autokrigeability" trap. In noiseless scenarios with block designs, these models often fail to transfer information between tasks, treating each task in isolation despite high correlations.

This paper introduces Doubly Mixed-Effects Gaussian Process (DMGP) Regression, a framework designed to decompose complex multi-task data into four interpretable components. By utilizing "Cartesian product" kernels instead of standard tensor products, the authors improve predictive accuracy, resolve autokrigeability, and reduce computational complexity.

Methods: Four-Way Decomposition

The core innovation of DMGP is the decomposition of the output function into four distinct, additive components:

  1. Fixed Task Effects: Global trends shared across all tasks.
  2. Fixed Sample Effects: Global trends shared across all samples.
  3. Random Task Effects: Variations specific to a task but consistent across samples.
  4. Random Sample Effects: Variations specific to a sample but consistent across tasks.
Conceptual decomposition of a multi-task function into fixed and random effects for samples ($x$) and tasks ($g$).

This decomposition is achieved by replacing traditional tensor product kernels ($K_x \otimes \Sigma_g$) with Cartesian product kernels. Specifically, the model uses the direct sum ($\boxplus$) for fixed effects and the Kronecker sum ($\oplus$) for random effects. This structural change forces the GP to assign variance to specific, meaningful components, enhancing interpretability.

Key Insights: Sparsity and Scalability

The use of Cartesian products results in sparser covariance matrices compared to dense tensor products. This sparsity is a key strength, preventing the model from "smearing" variance across the entire correlation matrix and allowing for clearer separation of global trends from local quirks.

Furthermore, the authors address the computational bottleneck of multi-task GPs. Theorem 1 in the paper demonstrates that the inversion of the massive $np \times np$ covariance matrix can be reduced from $O(n^3 p^3)$ to $O(n^3)$ for exact inference. When combined with Stochastic Variational Inference (SVI) and inducing points, the complexity further drops to $O(m^3)$, making the model highly scalable to massive datasets.

Comparison of fixed and random effects across different GP variants (a-d), illustrating the model's ability to isolate specific signal components.

Experimental Results

The DMGP model was rigorously evaluated against standard benchmarks (IMC, LMC, COGP, CVGP) across diverse real-world datasets, including U.S. COVID-19 cases, NASA air temperatures, and NYC taxi trip data.

  • Accuracy: DMGP consistently outperformed competitors in Mean Absolute Error (MAE) and Negative Log Predictive Density (NLPD).
  • Sample Efficiency: The model reached optimal accuracy with approximately half the number of inducing points required by LMC or IMC, indicating a more efficient capture of underlying data structures.
  • Interpretability in Practice: In COVID-19 modeling, DMGP successfully separated national trends from state-specific surges (e.g., in Florida or Wisconsin), providing actionable epidemiological insights that standard "black-box" GPs could not offer.

Conclusion

Doubly Mixed-Effects GP Regression represents a significant step forward in multi-task modeling. By prioritizing structural decomposition and computational efficiency, it provides a framework that is both more accurate and more interpretable than traditional methods. Future work includes extending this framework to Deep GPs and developing methods to handle irregularly sampled data more robustly.

Summary updated

BibTeX
@inproceedings{yoon2022doubly,
  author = {Jun Ho Yoon and Daniel P. Jeong and Seyoung Kim},
  title = {{Doubly Mixed-Effects Gaussian Process Regression}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure