Resampling Base Distributions of Normalizing Flows

Vincent Stimper, Bernhard Schölkopf, José Miguel Hernández-Lobato
10/29/2021
stat.MLcs.AIcs.LG
diffusion-flow

Official code: VincentStimper/resampled-base-flows (49 stars, Python, PyTorch, last commit 2022-09-07).

Abstract

Normalizing flows are a popular class of models for approximating probability distributions. However, their invertible nature limits their ability to model target distributions whose support have a complex topological structure, such as Boltzmann distributions.

Show full abstract

Several procedures have been proposed to solve this problem but many of them sacrifice invertibility and, thereby, tractability of the log-likelihood as well as other desirable properties. To address these limitations, we introduce a base distribution for normalizing flows based on learned rejection sampling, allowing the resulting normalizing flow to model complicated distributions without giving up bijectivity. Furthermore, we develop suitable learning algorithms using both maximizing the log-likelihood and the optimization of the Kullback-Leibler divergence, and apply them to various sample problems, i.e. approximating 2D densities, density estimation of tabular data, image generation, and modeling Boltzmann distributions. In these experiments our method is competitive with or outperforms the baselines.

View on arXivView PDF

Code Implementations(1)

PyTorch

Normalizing Flows with a resampled base distribution

494Python, Jupyter NotebookAug 20, 20204 years ago
normalizing-flowspytorchresampled-base-distribution

Similar Papers

Cite this paper

@article{stimper2021resampling,
  title  = {Resampling Base Distributions of Normalizing Flows},
  author = {Vincent Stimper and Bernhard Schölkopf and José Miguel Hernández-Lobato},
  year   = {2021},
  eprint = {2110.15828},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.15828}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.15828.svg)](https://codeofpaper.com/paper/2110.15828)

Discussion