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

Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think

Sihyun Yu, Sangkyung Kwak, Huiwon Jang, Jongheon Jeong, Jonathan Huang, Jinwoo Shin, Saining Xie

Training large-scale generative models, specifically Diffusion Transformers (DiTs), is notoriously slow and computationally expensive. While these models eventually learn to understand the "semantics" of an image through the process of denoising, they do so inefficiently.

To address this, researchers have introduced REPA (REPresentation Alignment), a simple yet powerful regularization technique that speeds up Diffusion Transformer training by up to 17.5×. By aligning the internal noisy hidden states of a model with high-quality, clean-image representations from pretrained encoders, the authors achieve state-of-the-art generation quality with significantly less compute.

The Problem: The "Semantic Gap"

The authors identify a critical bottleneck in training diffusion models: the internal representations learned by standard diffusion models are much weaker than those produced by state-of-the-art self-supervised learning (SSL) models.

Validation accuracy across layers showing the semantic gap between diffusion models and DINOv2.

As shown above, there is a massive gap in linear probing accuracy between the features learned by a diffusion model and those from a dedicated visual encoder like DINOv2. The diffusion model struggles to learn these high-level representations from scratch using only a reconstruction-based denoising objective. If we can "give the model a hint" about what the clean image should look like semantically, we can drastically accelerate the training process.

Methodology: Representation Alignment (REPA)

To bridge this gap, the authors introduce REPA, a straightforward regularization term added to the standard training loss.

REPA architecture and the resulting 17.5x training speedup.

The setup works as follows:

  1. The Target: A separate, frozen, pretrained visual encoder (e.g., DINOv2) processes the clean version of an image to produce a high-quality representation.
  2. The Alignment: During training, the diffusion model receives a noisy version of the same image. REPA takes the hidden states from an early layer of the diffusion model (e.g., layer 8 of 28), projects them through a small MLP, and forces them to match the clean representations from the pretrained encoder.
  3. The Loss: Patch-wise similarity measures (like Cosine Similarity or NT-Xent) are used to minimize the distance between the noisy internal state and the clean target representation.

Crucially, this alignment is only performed during training. At inference time, the pretrained encoder and the MLP projection head are discarded, leaving a standard, highly efficient diffusion model.

Key Insights and Results

The researchers evaluated REPA using standard benchmarks like ImageNet-1K and MS-COCO, testing various target representations including DINOv2, MAE, MoCov3, and CLIP.

  • Massive Speedup: A SiT-XL model trained with REPA for only 400K steps matched the performance of a vanilla SiT-XL model trained for 7M steps—a staggering 17.5× improvement in training efficiency.
  • State-of-the-Art Quality: On ImageNet 256×256, the method achieved an FID of 1.42, setting a new bar for generation quality.
  • The "Aha" Moment on Depth: Aligning only the first few layers (around layer 8) works best. This allows early layers to handle high-level semantics, freeing up later layers to focus on high-frequency details like textures and edges.
  • Noisy-to-Clean Anchoring: Forcing the model to predict "clean" semantic features from noisy patches acts as a powerful anchor, preventing it from getting lost in the noise during early training stages.
  • Scalability and Robustness: The benefits of REPA increase as the model gets larger (e.g., XL vs. Base models). Furthermore, while DINOv2 performed best, REPA improved performance regardless of the specific pretrained encoder used.

Limitations and Future Work

While highly effective, REPA opens several avenues for future research. The authors note that the optimal alignment depth (e.g., layer 8) remains somewhat of a mystery, requiring more theoretical work to understand why deeper alignment degrades performance.

Additionally, while this study focused on the image domain, future work could explore applying REPA to video generation or 3D modalities. Finally, exploring "time-varying" REPA—where the alignment strength adapts based on the noise level ($t$) of the input—could yield even further improvements.

Summary updated

BibTeX
@inproceedings{yu2025representation,
  author = {Sihyun Yu and Sangkyung Kwak and Huiwon Jang and Jongheon Jeong and Jonathan Huang and Jinwoo Shin and Saining Xie},
  title = {{Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=DJSZGGZYVi},
}
Figure