NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Transformers with Representation Autoencoders

Boyang Zheng, Nanye Ma, Shengbang Tong, Saining Xie

Introduction

This paper introduces Representation Autoencoders (RAEs), a novel approach that replaces the aging Variational Autoencoders (VAEs) in latent diffusion models with frozen, pretrained semantic encoders (like DINOv2 or SigLIP) paired with a lightweight transformer decoder. By addressing the architectural challenges of high-dimensional latent spaces, the authors achieve state-of-the-art image generation on ImageNet with up to 47x faster convergence than standard Diffusion Transformers (DiT).

The Problem with VAEs

Most modern image generators, including Stable Diffusion and DiT, operate in a "latent space" created by a VAE. However, the standard VAE used in these models is a legacy component. It relies on outdated convolutional architectures, uses aggressive channel-wise compression that loses detail, and lacks the global semantic structure found in modern vision foundation models.

While recent work has tried to "align" diffusion features with semantic encoders, they still ultimately diffuse in the old VAE space. This paper asks a bold question: Why not just diffuse directly in the representation space of foundation models? The challenge is that these spaces are high-dimensional and "unfriendly" to standard diffusion recipes, often leading to training failure or poor sample quality.

Proposed Method: Representation Autoencoders (RAEs)

The authors propose the RAE framework and several techniques to successfully train diffusion models within these high-dimensional spaces.

Comparison of DiT with VAE versus DiT with RAE architectures.
  1. The RAE Architecture: They freeze a pretrained encoder (e.g., DINOv2-B) and train a lightweight ViT-based decoder to reconstruct pixels. Unlike VAEs, RAEs do not use heavy spatial compression; they maintain a 1:1 mapping between input patches and latent tokens. As shown above, the RAE encoder is significantly more computationally efficient (22 GFLOPs vs. 135 GFLOPs) than the standard SD-VAE encoder.
  2. Width Matching: The authors provide a theoretical proof and empirical evidence that for a diffusion model to succeed in a high-dimensional space, the model's hidden width ($d$) must be at least as large as the latent token dimension ($n$). If $d < n$, the model literally cannot "fit" the data distribution.
  3. $DiT^{DH}$ (Wide Diffusion Head): To satisfy the width requirement without the quadratic cost of making the entire backbone massive, they introduce a "DDT head"—a shallow but very wide transformer module at the end of the DiT that handles the final denoising.
  4. Dimension-Dependent Noise Scheduling: They adapt the noise schedule based on the "effective data dimension," ensuring that the model spends enough training time on the most informative noise levels.
  5. Noise-Augmented Decoding: Since diffusion models produce slightly noisy latents at inference, they train the RAE decoder with additive noise to make it more robust.

Key Insights

  • Semantic Encoders are Secretly Great at Reconstruction: There is a common myth that encoders trained for semantics (like DINO) "discard" low-level pixel details. This paper shows that with a proper transformer decoder, these frozen features can reconstruct images better and more efficiently than the standard SD-VAE.
  • The Width Bottleneck: The most significant realization is that diffusion models are uniquely sensitive to dimensionality. Because Gaussian noise is injected into every dimension, the model must have enough internal "width" to process that full-rank information, even if the underlying data manifold is low-dimensional.
  • Decoupled Scaling: Because the RAE decoder is independent of the diffusion process, a diffusion model can be trained at 256px and simply swapped with an upsampling decoder to generate 512px images without retraining the core generative model.

Key Results

The models were trained and evaluated primarily on ImageNet-1K at 256×256 and 512×512 resolutions.

FID scores over time comparing prior VAE-based models to the new RAE-based approach.
  • State-of-the-Art Quality: On ImageNet 256×256, the RAE-based $DiT^{DH}$ achieved an FID of 1.51 (no guidance) and 1.13 (with guidance), outperforming much larger models like VAR and MAR and establishing a new state-of-the-art trajectory.
  • Massive Speedup: The model reaches the performance level of SiT-XL (a strong DiT baseline) 47x faster in terms of training compute. It also outperforms the recent REPA-XL by 16x.
  • Efficiency: The RAE encoder is roughly 6x more computationally efficient (in GFLOPs) than the standard SD-VAE encoder while providing a much richer latent space.

Limitations and Future Work

While the DDT head mitigates the cost, the requirement that model width must scale with latent dimensionality remains a fundamental constraint. Moving to even larger foundation models (like DINOv2-Giant) would require even wider, more memory-intensive heads. Furthermore, while ImageNet is the standard benchmark, the true test will be scaling RAEs to massive, uncurated web-scale datasets (like LAION) to see if the semantic richness of the latent space translates to better "prompt following" in text-to-image tasks. Finally, exploring whether "generative fine-tuning" of the representation encoder could further boost results remains an open question.

Summary updated

BibTeX
@inproceedings{zheng2026diffusion,
  author = {Boyang Zheng and Nanye Ma and Shengbang Tong and Saining Xie},
  title = {{Diffusion Transformers with Representation Autoencoders}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=0u1LigJaab},
}
Figure