[Paper Review] Transforming Gaussian Processes With Normalizing Flows
This paper introduces Transformed Gaussian Processes (TGP), a novel framework that applies learnable, input-dependent normalizing flows to Gaussian process priors, enhancing expressivity while maintaining computational efficiency. By using a variational inference scheme, TGP achieves performance comparable to deep Gaussian processes with far fewer inducing points—matching a standard sparse GP using 100 inducing points with just 5—while encoding interpretable constraints like boundedness.
Gaussian Processes (GPs) can be used as flexible, non-parametric function priors. Inspired by the growing body of work on Normalizing Flows, we enlarge this class of priors through a parametric invertible transformation that can be made input-dependent. Doing so also allows us to encode interpretable prior knowledge (e.g., boundedness constraints). We derive a variational approximation to the resulting Bayesian inference problem, which is as fast as stochastic variational GP regression (Hensman et al., 2013; Dezfouli and Bonilla,2015). This makes the model a computationally efficient alternative to other hierarchical extensions of GP priors (Lazaro-Gredilla,2012; Damianou and Lawrence, 2013). The resulting algorithm's computational and inferential performance is excellent, and we demonstrate this on a range of data sets. For example, even with only 5 inducing points and an input-dependent flow, our method is consistently competitive with a standard sparse GP fitted using 100 inducing points.
Motivation & Objective
- To extend the expressivity of Gaussian process priors beyond standard GPs without increasing computational cost.
- To incorporate interpretable prior knowledge such as boundedness or skewness through learnable, invertible transformations.
- To develop a variational inference method that maintains the efficiency of sparse variational GP regression (O(NM² + M³)) while enabling input-dependent flows.
- To demonstrate that TGP can outperform standard sparse GP and even deep GP models with significantly fewer inducing points.
- To enable uncertainty-aware modeling by combining Bayesian neural networks with GP priors through parameter-uncertain flows.
Proposed method
- Applies parametric, invertible normalizing flows (e.g., coupling layers) to transform a base GP prior f₀ into a more expressive prior fK = G(f₀), where G is input-dependent.
- Uses a neural network to predict flow parameters θ(W, X) for each input X, enabling input-specific warping of the GP prior.
- Employs a variational approximation to the posterior over f₀ and flow parameters, using a sparse variational inference scheme with inducing points.
- Incorporates Monte Carlo dropout or Bayesian neural network layers to model parameter uncertainty in the flow, improving generalization and uncertainty calibration.
- Derives an amortized inference scheme that scales linearly with the number of inducing points, preserving the O(NM² + M³) complexity of standard sparse GP.
- Supports both likelihood and prior transformations, allowing flexible modeling of non-Gaussian likelihoods and non-linear function spaces.
Experimental results
Research questions
- RQ1Can input-dependent normalizing flows significantly enhance the expressivity of Gaussian process priors without increasing computational cost?
- RQ2Can a variational inference scheme for transformed GPs maintain the efficiency of standard sparse GP regression while enabling complex, data-driven warping of the function space?
- RQ3Does incorporating parameter uncertainty in the flow (via Bayesian neural networks) improve uncertainty quantification and generalization in GP models?
- RQ4Can a TGP with only 5 inducing points outperform a standard sparse GP with 100 inducing points in terms of predictive performance and likelihood?
- RQ5To what extent can TGP encode interpretable prior knowledge, such as boundedness or skewness, through structured normalizing flows?
Key findings
- The TGP model achieves test performance comparable to a multi-layer Deep Gaussian Process using only 5 inducing points, outperforming a standard sparse GP with 100 inducing points.
- With just 5 inducing points and input-dependent flows, the TGP consistently matches or exceeds the performance of a standard sparse GP with 100 inducing points across multiple datasets.
- The Bayesian formulation of the flow, using Monte Carlo dropout, leads to significantly better negative log-likelihood (NLL) scores than the point estimate flow, indicating improved uncertainty calibration.
- The model successfully learns distinct warping functions for different input locations, as evidenced by varying marginal distributions across inputs, demonstrating input-dependent transformation capability.
- The variational posterior over f₀ does not collapse to a constant distribution, confirming that the GP component contributes meaningfully to uncertainty and function learning, not just the neural network.
- The method provides a faster alternative to hierarchical GP extensions like Deep GP and Warped GP, while achieving superior or comparable performance with reduced computational cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.