Command Palette
Search for a command to run...
Louay Hazami Rayhane Mama Ragavan Thurairatnam

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
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| image-generation-on-binarized-mnist | Efficient-VDVAE | nats: 79.09 |
| image-generation-on-celeba-256x256 | Efficient-VDVAE | bpd: 0.51 bpd (8-bits): 1.35 |
| image-generation-on-celeba-64x64 | Efficient-VDVAE | bits/dimension: 1.83 |
| image-generation-on-celeba-hq-1024x1024 | Efficient-VDVAE | bits/dimension: 1.01 |
| image-generation-on-ffhq-1024-x-1024 | Efficient-VDVAE | bits/dimension: 2.30 |
| image-generation-on-ffhq-256-x-256 | Efficient-VDVAE | FID: 34.88 bits/dimension: 0.53 |
| image-generation-on-ffhq-256-x-256 | Efficient-VDVAE (DINOv2) | FD: 514.16 Precision: 0.86 Recall: 0.14 |
| image-generation-on-imagenet-64x64 | Efficient-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.