Skip to main content
QUICK REVIEW

[Paper Review] Conditional Density Estimation with Bayesian Normalising Flows

Brian L. Trippe, Richard E. Turner|arXiv (Cornell University)|Feb 14, 2018
Bayesian Methods and Mixture ModelsComputer Science17 references41 citations
TL;DR

The paper uses Bayesian neural networks to parameterise normalising flows for conditional density estimation, enabling flexible, tractable modeling of complex, heteroscedastic conditional distributions and scalable application to large spatial datasets.

ABSTRACT

Modeling complex conditional distributions is critical in a variety of settings. Despite a long tradition of research into conditional density estimation, current methods employ either simple parametric forms or are difficult to learn in practice. This paper employs normalising flows as a flexible likelihood model and presents an efficient method for fitting them to complex densities. These estimators must trade-off between modeling distributional complexity, functional complexity and heteroscedasticity without overfitting. We recognize these trade-offs as modeling decisions and develop a Bayesian framework for placing priors over these conditional density estimators using variational Bayesian neural networks. We evaluate this method on several small benchmark regression datasets, on some of which it obtains state of the art performance. Finally, we apply the method to two spatial density modeling tasks with over 1 million datapoints using the New York City yellow taxi dataset and the Chicago crime dataset.

Motivation & Objective

  • Motivate the need for flexible, tractable conditional density estimation (CDE) beyond simple parametric forms.
  • Introduce normalising flows as a flexible likelihood model for CDE.
  • Develop a Bayesian framework with priors over conditional densities via Bayesian neural networks.
  • Provide an efficient variational inference method to fit these models.
  • Demonstrate scalability to large spatial datasets and evidence of state-of-the-art performance on benchmarks.

Proposed method

  • Use normalising flows as the conditional likelihood p(y|x) with parameters produced by a neural network h_theta(x).
  • Invert the normalising flow to enable efficient exact density evaluation for CDE (z0 = f1(f2(...(y)))) with log-density computed via a sum of log-determinants.
  • Parameterize radial flows with a three-parameter form f(z)=z+ (alpha beta (z-gamma)) / (alpha+|z-gamma|) and enforce monotonicity via softplus transforms on alpha and beta.
  • Place priors over the neural network weights to induce priors over p(y|x) and its heteroscedastic changes using Bayesian neural networks.
  • Perform variational inference (mean-field Gaussian, fixed variance, local reparameterization) to approximate the posterior over theta.
  • Adopt an autoregressive/auto-regressive structure to extend to multidimensional targets, enabling 2D density estimation (p(y1|x) p(y2|y1,x)).

Experimental results

Research questions

  • RQ1Can normalising flows serve as a tractable, flexible likelihood model for conditional density estimation?
  • RQ2How can priors over conditional distributions be expressed and learned to balance distributional complexity and heteroscedasticity?
  • RQ3Does Bayesian inference over neural network parameters yield robust, non-overfitting CDE models compared to existing approaches?
  • RQ4How well do Bayesian normalising flows scale to large real-world spatial datasets and capture non-Gaussian, heteroscedastic densities?
  • RQ5Do autoregressive extensions improve modeling of multidimensional conditional densities?

Key findings

  • Bayesian normalising flows achieve state-of-the-art or competitive test log-likelihoods on several small UCI regression benchmarks.
  • NF-5 (5-stage flows) provides the strongest performance among the evaluated NF variants and often outperforms MF and HMC baselines in several datasets.
  • The approach captures non-Gaussian predictive distributions with heteroscedastic noise, outperforming several baselines on density estimation tasks.
  • Autoregressive extensions enable 2D conditional density estimation, demonstrated on spatial tasks.
  • On NYC taxi data and Chicago crime data, the method scales to over one million datapoints and yields interpretable conditional densities over space.
  • MDN and LV baselines generally underperform NF models on most datasets except for some specific tasks (e.g., wine quality).

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.