Skip to main content
QUICK REVIEW

[Paper Review] Understanding Variational Inference in Function-Space

David R. Burt, Sebastian W. Ober|arXiv (Cornell University)|Nov 18, 2020
Gaussian Processes and Bayesian InferenceComputer Science16 references9 citations
TL;DR

This paper identifies fundamental issues with using the Kullback-Leibler (KL) divergence for variational inference in function-space, showing that the objective function can be ill-defined when using non-degenerate Gaussian process priors and parametric variational families. It proposes Bayesian linear regression as a principled benchmark to evaluate functional variational inference methods independently of predictive performance, enabling accurate assessment of approximation quality.

ABSTRACT

Recent work has attempted to directly approximate the `function-space' or predictive posterior distribution of Bayesian models, without approximating the posterior distribution over the parameters. This is appealing in e.g. Bayesian neural networks, where we only need the former, and the latter is hard to represent. In this work, we highlight some advantages and limitations of employing the Kullback-Leibler divergence in this setting. For example, we show that minimizing the KL divergence between a wide class of parametric distributions and the posterior induced by a (non-degenerate) Gaussian process prior leads to an ill-defined objective function. Then, we propose (featurized) Bayesian linear regression as a benchmark for `function-space' inference methods that directly measures approximation quality. We apply this methodology to assess aspects of the objective function and inference scheme considered in Sun, Zhang, Shi, and Grosse (2018), emphasizing the quality of approximation to Bayesian inference as opposed to predictive performance.

Motivation & Objective

  • To investigate the validity and well-defined nature of the KL divergence objective in function-space variational inference.
  • To identify conditions under which the KL divergence objective becomes ill-defined, particularly when using non-degenerate Gaussian process priors and parametric variational families.
  • To propose a benchmark for evaluating functional variational inference methods that separates approximation quality from predictive performance.
  • To assess the impact of approximations in existing methods, such as those in Sun et al. (2018), by decoupling inference accuracy from predictive performance.
  • To provide a principled foundation for evaluating future improvements in functional variational inference.

Proposed method

  • The authors analyze the KL divergence between a non-degenerate Gaussian process prior and a parametric variational family in function space, proving that the objective can be ill-defined when the variational family does not cover the support of the posterior.
  • They extend the analysis to single-hidden-layer Bayesian neural networks with ReLU activations, showing ill-defined objectives when prior and posterior widths differ.
  • They propose Bayesian linear regression (BLR) as a benchmark due to its closed-form exact posterior and computable KL divergence in function space.
  • The benchmark enables direct evaluation of approximation quality by comparing the variational posterior to the true posterior, independent of predictive performance.
  • They apply the benchmark to analyze Sun et al. (2018)’s method, isolating the effects of objective approximations on inference quality.
  • The method uses a set of inducing points to define a feature map, and optimizes the variational parameters via gradient-based methods (Adam, L-BFGS), with careful handling of numerical stability via jitter.

Experimental results

Research questions

  • RQ1Under what conditions is the KL divergence objective ill-defined in function-space variational inference when using a non-degenerate Gaussian process prior and a parametric variational family?
  • RQ2Why does the KL divergence objective fail to provide a sensible optimization target in such settings?
  • RQ3Can a benchmark be constructed that evaluates the quality of functional variational inference independently of predictive performance?
  • RQ4How do approximations in the objective function, such as those in Sun et al. (2018), affect the accuracy of the inferred posterior distribution?
  • RQ5To what extent can Bayesian linear regression serve as a reliable benchmark for assessing functional variational inference methods?

Key findings

  • The KL divergence objective in function-space variational inference is ill-defined when the variational family does not cover the support of the true posterior, particularly when the prior is a non-degenerate Gaussian process and the variational family is parametric.
  • This ill-definedness arises because the Radon-Nikodym derivative in the KL divergence is undefined when the variational measure is not absolutely continuous with respect to the posterior measure.
  • The problem persists in single-hidden-layer Bayesian neural networks with ReLU activations when the prior and posterior have different widths, leading to a non-summable KL divergence.
  • Bayesian linear regression provides a valid benchmark for functional variational inference, as both the exact posterior and KL divergence in function space can be computed in closed form.
  • Using this benchmark, the authors show that predictive performance can remain high even when the variational approximation to the posterior is poor, highlighting the need to evaluate inference quality separately.
  • The study reveals that approximations to the objective function in methods like Sun et al. (2018) can significantly degrade the quality of the posterior approximation, even if predictive performance is preserved.

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.