HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Models

Will Grathwohl; Ricky T. Q. Chen; Jesse Bettencourt; Ilya Sutskever; David Duvenaud

FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Models

Abstract

A promising class of generative models maps points from a simple distribution to a complex distribution through an invertible neural network. Likelihood-based training of these models requires restricting their architectures to allow cheap computation of Jacobian determinants. Alternatively, the Jacobian trace can be used if the transformation is specified by an ordinary differential equation. In this paper, we use Hutchinson's trace estimator to give a scalable unbiased estimate of the log-density. The result is a continuous-time invertible generative model with unbiased density estimation and one-pass sampling, while allowing unrestricted neural network architectures. We demonstrate our approach on high-dimensional density estimation, image generation, and variational inference, achieving the state-of-the-art among exact likelihood methods with efficient sampling.

Code Repositories

rtqichen/ffjord
pytorch
Mentioned in GitHub
jacobjinkelly/easy-neural-ode
jax
Mentioned in GitHub
jackgoffinet/ffjord-lite
pytorch
Mentioned in GitHub
BorealisAI/continuous-time-flow-process
pytorch
Mentioned in GitHub
lenz3000/ffjord-path
pytorch
Mentioned in GitHub
mandubian/pytorch-neural-ode
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
density-estimation-on-bsds300FFJORD
CD: 0.683
EMD: 0.0281
Log-likelihood: 157.4
MMD-CD: 0.548
MMD-EMD: 0.0227
NLL: -157.4
density-estimation-on-caltech-101FFJORD
COV-L2: 98.8%
MMD-L2: 18.6
Negative ELBO: 104.03
density-estimation-on-cifar-10FFJORD
NLL (bits/dim): 3.4
density-estimation-on-freyfacesFFJORD
COV-L2: 100%
MMD-L2: 0.834
Negative ELBO: 4.39
density-estimation-on-mnistFFJORD
COV-L2: 96.4%
MMD-L2: 17.3
NLL (bits/dim): 0.99
density-estimation-on-omniglotFFJORD
COV-L2: 99%
MMD-L2: 20.5
Negative ELBO: 98.33
density-estimation-on-uci-gasFFJORD
CD: 1.29
EMD: 0.146
Log-likelihood: 8.59
MMD-CD: 0.95
MMD-EMD: 0.135
density-estimation-on-uci-hepmassFFJORD
CD: 13.8
EMD: 0.164
Log-likelihood: -14.92
MMD-CD: 13.8
MMD-EMD: 0.158
NLL: 14.92
density-estimation-on-uci-minibooneFFJORD
CD: 24.6
EMD: 0.27
Log-likelihood: -10.43
MMD-CD: 24.1
MMD-EMD: 0.254
NLL: 10.43
density-estimation-on-uci-powerFFJORD
CD: 0.153
EMD: 0.116
Log-likelihood: 0.46
MMD-CD: 0.144
MMD-EMD: 0.111
NLL: -0.46

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp