Neural Spline Flows

Conor Durkan, Artur Bekasov, Iain Murray, George Papamakarios
6/10/2019
stat.MLcs.LG

Official code: bayesiains/nsf (296 stars, MIT, last commit 2025-10-19).

Abstract

A normalizing flow models a complex probability density as an invertible transformation of a simple base density. Flows based on either coupling or autoregressive transforms both offer exact density evaluation and sampling, but rely on the parameterization of an easily invertible elementwise transformation, whose choice determines the flexibility of these models. Building upon recent work, we propose a fully-differentiable module based on monotonic rational-quadratic splines, which enhances the flexibility of both coupling and autoregressive transforms while retaining analytic invertibility. We demonstrate that neural spline flows improve density estimation, variational inference, and generative modeling of images.

View on arXivView PDF

Code Implementations(1)

bayesiains/nsfOfficial100%
MIT

Code for Neural Spline Flows paper

29645PythonJun 10, 20191 years agoMIT

Similar Papers

Cite this paper

@article{durkan2019neural,
  title  = {Neural Spline Flows},
  author = {Conor Durkan and Artur Bekasov and Iain Murray and George Papamakarios},
  year   = {2019},
  eprint = {1906.04032},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.04032}
}

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

Discussion