HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Residual Flows for Invertible Generative Modeling

Ricky T. Q. Chen; Jens Behrmann; David Duvenaud; Jörn-Henrik Jacobsen

Residual Flows for Invertible Generative Modeling

Abstract

Flow-based generative models parameterize probability distributions through an invertible transformation and can be trained by maximum likelihood. Invertible residual networks provide a flexible family of transformations where only Lipschitz conditions rather than strict architectural constraints are needed for enforcing invertibility. However, prior work trained invertible residual networks for density estimation by relying on biased log-density estimates whose bias increased with the network's expressiveness. We give a tractable unbiased estimate of the log density using a "Russian roulette" estimator, and reduce the memory required during training by using an alternative infinite series for the gradient. Furthermore, we improve invertible residual blocks by proposing the use of activation functions that avoid derivative saturation and generalizing the Lipschitz condition to induced mixed norms. The resulting approach, called Residual Flows, achieves state-of-the-art performance on density estimation amongst flow-based models, and outperforms networks that use coupling blocks at joint generative and discriminative modeling.

Code Repositories

thu-ml/implicit-normalizing-flows
pytorch
Mentioned in GitHub
rtqichen/residual-flows
Official
pytorch
Mentioned in GitHub
eyalbetzalel/residual-flows
pytorch
Mentioned in GitHub
yperugachidiaz/invertible_densenets
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-celeba-256x256Residual Flow
bpd: 0.992
image-generation-on-cifar-10Residual Flow
FID: 46.37
image-generation-on-imagenet-32x32Residual Flow
bpd: 4.01
image-generation-on-imagenet-64x64Residual Flow
Bits per dim: 3.757
image-generation-on-mnistResidual Flow
bits/dimension: 0.97

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
Residual Flows for Invertible Generative Modeling | Papers | HyperAI