LDM-is-AE: Latent Diffusion Model is an Auto-Encoder for End-to-End Image Generation
Zhengqiang Zhang, Lingchen Sun, Rongyuan Wu, Qiaosi Yi, Xiangtao Kong, Chaodong Xiao, Lei Zhang
Abstract
Latent Diffusion Models (LDMs) typically adopt a two-stage pipeline: an auto-encoder (AE) is first pre-trained to define a latent space, then a diffusion model is trained to perform denoising within it. Such a two-stage design introduces a representation mismatch, as the latent space is optimized for reconstruction rather than adapting the denoising dynamics. We reveal that the LDM itself is an AE, and consequently present LDM-is-AE, an end-to-end one-stage LDM training framework that eliminates the need for a separately trained tokenizer. Our key observation is that the LDM backbone actually performs a latent-to-feature-to-latent transformation at each denoising step, which can be interpreted as an internal decoding--encoding process. Leveraging this structure, we split the DiT backbone into two reciprocal components, DiT-E (i.e., DiT Encoding) and DiT-D (i.e., DiT Decoding), and impose image-space supervision on the intermediate features across all timesteps. Our model encourages the internal representation to align with the image domain throughout denoising, thereby establishing an explicit latent-to-image-to-latent path. At the zero-noise timestep, our model further performs an image-to-latent-to-image mapping, corresponding to an auto-encoding process. As a result, LDM-is-AE jointly learns latent representations and denoising dynamics in an end-to-end manner, yielding a diffusion-native latent space tailored to the generation process. Experiments demonstrate that LDM-is-AE exhibits highly competitive generation performance, achieving an FID of 1.80 and 1.90 on 256x256 and 512x512 class-conditional image generation, respectively.
Create a lesson
Metadata
- Comments
- Accepted by NIPS 2026. More info can be found in https://github.com/PolyU-VCLab/LDMisAE
Related papers
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.
PixelUMM: Encoder-Free Unified Image and Video Understanding and Generation
Shared title terminologycs.CVCong Wei, Xuanchi Ren, Bryan Chu et al.
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Shared title terminologycs.CVBaihan Yang, Xin Lin, Yufan Wei et al.
Generation as Reverse Encoding
Shared title terminologycs.CVCheng Shi, Sibei Yang, Hanzhong Guo et al.
Reading, Not Adapting: Unlocking Frozen Visual Knowledge for AI-Generated Image Detection
Shared title terminologycs.CVYuncheng Guo, Ying Dong, Xiaodong Gu
Rank Before You Encode: Reading a Few Percent of a Whole-Slide Image
Shared title terminologycs.CVHaoyu He, Mahdi S. Hosseini