Full list of architectures (presets)
We list all implemented NF architectures and their respective class names below. Using these presets facilitates experimentation and modeling, however you can also modify each architecture and build new ones.
Autoregressive architectures
We provide the list of autoregressive architectures in the table below.
Import them with from torchflows.bijections.finite.autoregressive import <class name>.
Click the architecture name to see the API and usage examples.
Check the API for all autoregressive architectures here.
Multiscale architectures
We provide the list of multiscale autoregressive architectures in the table below.
Import them with from torchflows.bijections.finite.multiscale import <class name>.
These architectures are specifically made for image modeling, but can also be used for voxels or tensors with more dimensions.
Click the architecture name to see the API and usage examples.
Check the API for all multiscale architectures here.
Architecture |
Reference |
|---|---|
Dinh et al. NICE: Non-linear Independent Components Estimation (2015) |
|
Dinh et al. Density estimation using Real NVP (2017) |
|
Durkan et al. Neural Spline Flows (2019) |
|
Dolatabadi et al. Invertible Generative Modeling using Linear Rational Splines (2020) |
|
Huang et al. Neural Autoregressive Flows (2018) |
|
Huang et al. Neural Autoregressive Flows (2018) |
|
Huang et al. Neural Autoregressive Flows (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
|
Kingma and Dhariwal Glow: Generative Flow with Invertible 1x1 Convolutions (2018) |
Residual architectures
We provide the list of iterative residual architectures in the table below.
Import them with from torchflows.bijections.finite.residual import <class name>.
Click the architecture name to see the API and usage examples.
Check the API for all residual architectures here.
Architecture |
Reference |
|---|---|
Behrmann et al. Invertible Residual Networks (2019) |
|
Chen et al. Residual Flows for Invertible Generative Modeling (2020) |
|
Hertrich Proximal Residual Flows for Bayesian Inverse Problems (2022) |
We also list presets for some convolutional iterative residual architectures in the table below. These are suitable for image modeling.
Architecture |
Reference |
|---|---|
Behrmann et al. Invertible Residual Networks (2019) |
|
Chen et al. Residual Flows for Invertible Generative Modeling (2020) |
We finally list presets for residual architectures, based on the matrix determinant lemma. These only implement the inverse transformation. This means they can be used for sampling (and variational inference), but not for density estimation on arbitrary data.
Architecture |
Reference |
|---|---|
Rezende and Mohamed Variational Inference with Normalizing Flows (2016) |
|
Rezende and Mohamed Variational Inference with Normalizing Flows (2016) |
|
Van den Berg et al. Sylvester Normalizing Flows for Variational Inference (2019) |
Continuous architectures
We provide the list of continuous architectures in the table below.
Import them with from torchflows.bijections.continuous import <class name> and wrap them with ContinuousFlow.
Click the architecture name to see the API and usage examples.
Check the API for all continuous architectures here.
Architecture |
Reference |
|---|---|
Salman et al. Deep Diffeomorphic Normalizing Flows (2018) |
|
Grathwohl et al. FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Models (2018) |
|
Finlay et al. How to train your neural ODE: the world of Jacobian and kinetic regularization (2020) |
|
Onken et al. OT-Flow: Fast and Accurate Continuous Normalizing Flows via Optimal Transport (2021) |
We also list presets for convolutional continuous architectures in the table below. These are suitable for image modeling.
Architecture |
Reference |
|---|---|
Salman et al. Deep Diffeomorphic Normalizing Flows (2018) |
|
Grathwohl et al. FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Models (2018) |
|
Finlay et al. How to train your neural ODE: the world of Jacobian and kinetic regularization (2020) |