Free-form Flows: Make Any Architecture a Normalizing Flow

Felix Draxler, Peter Sorrenson, Lea Zimmermann, Armand Rousselot, Ullrich Köthe
10/25/2023
cs.LGstat.ML

Official code: vislearn/FFF (51 stars, MIT, last commit 2025-06-26).

Abstract

Normalizing Flows are generative models that directly maximize the likelihood. Previously, the design of normalizing flows was largely constrained by the need for analytical invertibility. We overcome this constraint by a training procedure that uses an efficient estimator for the gradient of the change of variables formula. This enables any dimension-preserving neural network to serve as a generative model through maximum likelihood training. Our approach allows placing the emphasis on tailoring inductive biases precisely to the task at hand. Specifically, we achieve excellent results in molecule generation benchmarks utilizing $E(n)$-equivariant networks. Moreover, our method is competitive in an inverse problem benchmark, while employing off-the-shelf ResNet architectures.

View on arXivView PDF

Code Implementations(1)

vislearn/FFFOfficial100%
MIT

Free-form flows are a generative model training a pair of neural networks via maximum likelihood

519Python, Jupyter NotebookOct 25, 20231 years agoMIT

Similar Papers

Cite this paper

@article{draxler2023freeform,
  title  = {Free-form Flows: Make Any Architecture a Normalizing Flow},
  author = {Felix Draxler and Peter Sorrenson and Lea Zimmermann and Armand Rousselot and Ullrich Köthe},
  year   = {2023},
  eprint = {2310.16624},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.16624v2}
}

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

Discussion