HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Efficient-VDVAE: Less is more

Louay Hazami Rayhane Mama Ragavan Thurairatnam

Efficient-VDVAE: Less is more

Abstract

Hierarchical VAEs have emerged in recent years as a reliable option for maximum likelihood estimation. However, instability issues and demanding computational requirements have hindered research progress in the area. We present simple modifications to the Very Deep VAE to make it converge up to $2.6\times$ faster, save up to $20\times$ in memory load and improve stability during training. Despite these changes, our models achieve comparable or better negative log-likelihood performance than current state-of-the-art models on all $7$ commonly used image datasets we evaluated on. We also make an argument against using 5-bit benchmarks as a way to measure hierarchical VAE's performance due to undesirable biases caused by the 5-bit quantization. Additionally, we empirically demonstrate that roughly $3\%$ of the hierarchical VAE's latent space dimensions is sufficient to encode most of the image information, without loss of performance, opening up the doors to efficiently leverage the hierarchical VAEs' latent space in downstream tasks. We release our source code and models at https://github.com/Rayhane-mamah/Efficient-VDVAE .

Code Repositories

Rayhane-mamah/Efficient-VDVAE
Official
jax
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-binarized-mnistEfficient-VDVAE
nats: 79.09
image-generation-on-celeba-256x256Efficient-VDVAE
bpd: 0.51
bpd (8-bits): 1.35
image-generation-on-celeba-64x64Efficient-VDVAE
bits/dimension: 1.83
image-generation-on-celeba-hq-1024x1024Efficient-VDVAE
bits/dimension: 1.01
image-generation-on-ffhq-1024-x-1024Efficient-VDVAE
bits/dimension: 2.30
image-generation-on-ffhq-256-x-256Efficient-VDVAE
FID: 34.88
bits/dimension: 0.53
image-generation-on-ffhq-256-x-256Efficient-VDVAE (DINOv2)
FD: 514.16
Precision: 0.86
Recall: 0.14
image-generation-on-imagenet-64x64Efficient-VDVAE
Bits per dim: 3.30 (different downsampling)

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
Efficient-VDVAE: Less is more | Papers | HyperAI