Skip to main content
QUICK REVIEW

[Paper Review] Non-Gaussian Gaussian Processes for Few-Shot Regression

Marcin Sendera, Jacek Tabor|arXiv (Cornell University)|Oct 26, 2021
Gaussian Processes and Bayesian InferenceComputer Science49 references5 citations
TL;DR

This paper proposes Non-Gaussian Gaussian Processes (NGGPs), a novel method that enhances Gaussian Processes (GPs) for few-shot regression by using invertible ODE-based normalizing flows to model locally non-Gaussian posterior predictive distributions. By sharing flow parameters across components of random vectors and conditioning them on context embeddings, NGGPs achieve state-of-the-art performance on diverse few-shot regression benchmarks, particularly excelling in modeling complex, multi-modal, and heteroscedastic data distributions.

ABSTRACT

Gaussian Processes (GPs) have been widely used in machine learning to model distributions over functions, with applications including multi-modal regression, time-series prediction, and few-shot learning. GPs are particularly useful in the last application since they rely on Normal distributions and enable closed-form computation of the posterior probability function. Unfortunately, because the resulting posterior is not flexible enough to capture complex distributions, GPs assume high similarity between subsequent tasks - a requirement rarely met in real-world conditions. In this work, we address this limitation by leveraging the flexibility of Normalizing Flows to modulate the posterior predictive distribution of the GP. This makes the GP posterior locally non-Gaussian, therefore we name our method Non-Gaussian Gaussian Processes (NGGPs). More precisely, we propose an invertible ODE-based mapping that operates on each component of the random variable vectors and shares the parameters across all of them. We empirically tested the flexibility of NGGPs on various few-shot learning regression datasets, showing that the mapping can incorporate context embedding information to model different noise levels for periodic functions. As a result, our method shares the structure of the problem between subsequent tasks, but the contextualization allows for adaptation to dissimilarities. NGGPs outperform the competing state-of-the-art approaches on a diversified set of benchmarks and applications.

Motivation & Objective

  • Address the rigidity of standard Gaussian Processes in modeling complex, non-Gaussian distributions common in real-world few-shot learning tasks.
  • Overcome the limitation of GP posterior distributions being overly constrained by Gaussian assumptions, especially in multi-modal or heteroscedastic regression.
  • Enable task generalization across dissimilar few-shot tasks by incorporating context-aware, adaptive noise modeling through normalizing flows.
  • Maintain computational efficiency and closed-form inference while increasing modeling flexibility beyond standard GPs.
  • Demonstrate superior performance on diverse few-shot regression benchmarks, including real-world time-series and EEG data.

Proposed method

  • Introduce Non-Gaussian Gaussian Processes (NGGPs), a framework that modifies the GP posterior predictive distribution using continuous normalizing flows (CNFs).
  • Employ an invertible ODE-based mapping that operates independently on each component of the random variable vector, enabling flexible, non-Gaussian transformations.
  • Share the parameters of the ODE-based flow across all components to maintain parameter efficiency and scalability.
  • Condition the flow parameters on context embeddings derived from support set data, allowing the model to adapt to task-specific characteristics such as noise level and functional shape.
  • Use the normalizing flow to transform a standard Gaussian prior into a complex, locally non-Gaussian posterior, while preserving the ability to compute closed-form posteriors.
  • Train NGGPs end-to-end using maximum likelihood estimation, optimizing both kernel hyperparameters and flow parameters via backpropagation through the ODE solver.

Experimental results

Research questions

  • RQ1Can normalizing flows be effectively used to make GP posteriors locally non-Gaussian while preserving closed-form inference?
  • RQ2How well can NGGPs model complex, multi-modal, or heteroscedastic regression functions in few-shot settings compared to standard GPs and other SOTA methods?
  • RQ3To what extent does context-conditioned flow parameterization improve generalization across dissimilar few-shot tasks?
  • RQ4Does the proposed ODE-based flow architecture provide better inductive bias and uncertainty quantification than standard kernel-based GP models?
  • RQ5In which real-world few-shot regression scenarios does NGGP outperform existing approaches, particularly when data deviate from Gaussian assumptions?

Key findings

  • NGGPs achieve state-of-the-art performance on a diverse set of few-shot regression benchmarks, including synthetic multi-modal functions, NASDAQ100 stock data, and EEG time-series.
  • On the NASDAQ100 dataset, NGGP with RBF kernel achieves an MSE of 0.012 ± 0.014 (in-range) and 0.016 ± 0.034 (out-of-range), significantly outperforming DKT and other baselines.
  • For EEG data, NGGP with RBF kernel achieves an MSE of 0.222 ± 0.181 (in-range) and 0.463 ± 0.415 (out-of-range), demonstrating robustness on non-Gaussian, noisy biological signals.
  • NGGPs effectively model periodic functions with varying noise levels by learning context-dependent flow parameters, enabling accurate reconstruction of multi-modal sine functions.
  • The method shows improved NLL scores across all datasets, indicating better uncertainty quantification and likelihood fit compared to standard GPs and DKT.
  • Despite higher computational cost than standard GPs, NGGPs provide a strong trade-off between flexibility and performance, especially in complex, non-Gaussian regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.