Piecewise Normalizing Flows

Harry Bevins, Will Handley, Thomas Gessey-Jones
5/4/2023
stat.MLcs.LG

No official code found. Best implementation: htjb/margarine (13 stars, MIT, last commit 2026-03-23).

Abstract

Normalizing flows are an established approach for modelling complex probability densities through invertible transformations from a base distribution. However, the accuracy with which the target distribution can be captured by the normalizing flow is strongly influenced by the topology of the base distribution. A mismatch between the topology of the target and the base can result in a poor performance, as is typically the case for multi-modal problems. A number of different works have attempted to modify the topology of the base distribution to better match the target, either through the use of Gaussian Mixture Models (Izmailov et al., 2020; Ardizzone et al., 2020; Hagemann & Neumayer, 2021) or learned accept/reject sampling (Stimper et al., 2022). We introduce piecewise normalizing flows which divide the target distribution into clusters, with topologies that better match the standard normal base distribution, and train a series of flows to model complex multi-modal targets. We demonstrate the performance of the piecewise flows using some standard benchmarks and compare the accuracy of the flows to the approach taken in Stimper et al. (2022) for modelling multi-modal distributions. We find that our approach consistently outperforms the approach in Stimper et al. (2022) with a higher emulation accuracy on the standard benchmarks.

View on arXivView PDF

Code Implementations(1)

htjb/margarineCommunity100%
MIT

Easy to use density estimation tools.

1310PythonNov 11, 20217 months agoMIT

Similar Papers

Cite this paper

@article{bevins2023piecewise,
  title  = {Piecewise Normalizing Flows},
  author = {Harry Bevins and Will Handley and Thomas Gessey-Jones},
  year   = {2023},
  eprint = {2305.02930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.02930v2}
}

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/2305.02930.svg)](https://codeofpaper.com/paper/2305.02930)

Discussion