Latent Diffusion Models with Masked AutoEncoders
Junho Lee, Jeongwoo Shin, Hyungwook Choi, Joonseok Lee
TL;DR
This work analyzes autoencoder design choices for Latent Diffusion Models and identifies three critical properties—latent space smoothness, perceptual compression, and reconstruction quality—that jointly influence generation performance. It proposes Variational Masked AutoEncoders (VMAEs) that combine probabilistic encoding with hierarchical, masked autoencoding to realize these properties, and integrates them into Latent Diffusion Models as LDMAEs. Through comprehensive experiments on ImageNet-1K and CelebA-HQ, VMAEs demonstrate superior latent-space behavior, perceptual reconstruction, and overall generation quality, while also offering considerable efficiency gains. The results establish VMAEs as a principled autoencoder design for LDMs with practical implications for scalable, high-fidelity image synthesis.
Abstract
In spite of the remarkable potential of Latent Diffusion Models (LDMs) in image generation, the desired properties and optimal design of the autoencoders have been underexplored. In this work, we analyze the role of autoencoders in LDMs and identify three key properties: latent smoothness, perceptual compression quality, and reconstruction quality. We demonstrate that existing autoencoders fail to simultaneously satisfy all three properties, and propose Variational Masked AutoEncoders (VMAEs), taking advantage of the hierarchical features maintained by Masked AutoEncoders. We integrate VMAEs into the LDM framework, introducing Latent Diffusion Models with Masked AutoEncoders (LDMAEs). Our code is available at https://github.com/isno0907/ldmae.
