TL;DR
LDM-is-AE introduces a one-stage, end-to-end framework for image generation by revealing that the Latent Diffusion Model (LDM) backbone is inherently an auto-encoder. By aligning intermediate features with the image domain, the authors eliminate the need for a separately pre-trained tokenizer, yielding a "diffusion-native" latent space that achieves state-of-the-art generation quality.
What Problem Does This Paper Address?
Most modern image generators, like Stable Diffusion or FLUX, rely on a two-stage pipeline. First, a separate auto-encoder (like a VAE) is trained to compress images into a compact latent space. Second, a diffusion model is trained to generate data within that fixed space.
The authors argue this creates a representation mismatch. The latent space is optimized for reconstruction (Stage 1) rather than the actual denoising dynamics of the generation process (Stage 2). Furthermore, training high-quality tokenizers adds significant computational overhead. LDM-is-AE seeks to bridge this gap by training the latent representation and the diffusion model simultaneously in a single stage.
Methods
The core innovation lies in the observation that a standard Diffusion Transformer (DiT) naturally performs a latent-to-feature-to-latent transformation. The first half of the network expands the latent into a high-dimensional feature, and the second half compresses it back.
To turn this observation into a functional one-stage model, the authors introduce several key components:
- Decomposition (DiT-D & DiT-E): They split the DiT backbone into a "Decoding" part (DiT-D) and an "Encoding" part (DiT-E).
- Image-Space Alignment: They insert lightweight MLP heads at the interface between DiT-D and DiT-E. They then impose an image-space supervision loss ($L_{toimg}$), including pixel-wise MSE and perceptual LPIPS losses, on the intermediate features. This forces the internal representation to align with the actual image manifold.
- Time-Aware Auxiliary Feature Mixing: To prevent the image-alignment constraint from "choking" the model's denoising capacity at high noise levels, they split the intermediate channels. They use a gating function $\gamma(t) = t^k$ to ensure that at $t=1$ (clean image), the model follows a strict auto-encoding path, while at $t=0$ (pure noise), auxiliary features provide extra capacity for denoising.
- Residual DiT-E Design: DiT-E is designed to predict a residual correction on top of a channel-interpolated skip connection from the input feature, which stabilizes the end-to-end training.
Datasets
The model was primarily trained and evaluated on:
- ImageNet-1K: Used for class-conditional image generation at $256 \times 256$ and $512 \times 512$ resolutions.
- BLIP3o: Used for scaling the model to text-to-image generation tasks.
- GenEval: A benchmark used to evaluate the text-to-image capabilities (spatial reasoning, attribute binding, etc.).
Key Insights and Ideas
- The Backbone is the Tokenizer: The most significant "aha" moment is that we don't need an external VAE. The diffusion model's own internal layers can serve as the encoder and decoder.
- Diffusion-Native Latents: Unlike fixed VAE latents, the latent space in LDM-is-AE is "dynamic." It evolves during training to specifically suit the denoising objective. The authors found that while their latent space has slightly worse reconstruction fidelity (rFID) than a VAE, it has a much lower gap to the natural image distribution (gFID), making it better for generation.
- Zero-Noise Equivalence: At the zero-noise timestep ($t=1$), the diffusion denoising path mathematically collapses into a standard image-to-latent-to-image auto-encoding process.
Key Results
LDM-is-AE achieves highly competitive results, often outperforming more complex two-stage models that don't use external vision foundation models (VFMs):
- ImageNet 256x256: Achieved an FID of 1.80 and an Inception Score (IS) of 314. This outperforms pixel-space models like PixelFlow (1.98) and JiT-H/16 (1.86).
- ImageNet 512x512: Achieved an FID of 1.90, setting a new state-of-the-art for one-stage methods and beating strong two-stage baselines like SiT-XL/2 (2.62).
- Efficiency: The model requires significantly fewer training FLOPs ($7.02 \times 10^{19}$) compared to pixel-space competitors like JiT-H/16 ($14.0 \times 10^{19}$), despite having a similar parameter count (~961M).
Limitations and Future Work
- Residual Constraint: The residual design of DiT-E, while stabilizing, might limit how much the model can explore and optimize the latent space.
- Optimization Complexity: Directly forcing high-dimensional features into the image domain is a delicate balancing act. The authors suggest that more sophisticated optimization strategies for the intermediate "image-aligned" interface could further boost performance.
- Scaling: While the paper shows promising results for text-to-image, further scaling to massive datasets (like LAION) remains a target for future research.
Summary updated