Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

Recent studies have shown that the denoising process in (generative) diffusion models can induce meaningful (discriminative) representations inside the model, though the quality of these representations still lags behind those learned through recent self-supervised learning methods. We argue that one main bottleneck in training large-scale diffusion models for generation lies in effectively learning these representations. Moreover, training can be made easier by incorporating high-quality external visual representations, rather than relying solely on the diffusion models to learn them independently. We study this by introducing a straightforward regularization called REPresentation Alignment (REPA), which aligns the projections of noisy input hidden states in denoising networks with clean image representations obtained from external, pretrained visual encoders. The results are striking: our simple strategy yields significant improvements in both training efficiency and generation quality when applied to popular diffusion and flow-based transformers, such as DiTs and SiTs. For instance, our method can speed up SiT training by over 17.5$\times$, matching the performance (without classifier-free guidance) of a SiT-XL model trained for 7M steps in less than 400K steps. In terms of final generation quality, our approach achieves state-of-the-art results of FID=1.42 using classifier-free guidance with the guidance interval.

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

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU32.7
3089
Image ClassificationImageNet-1K
Top-1 Acc81.7
1239
Class-conditional Image GenerationImageNet 256x256
Inception Score (IS)306.3
1021
Image ClassificationImageNet-1k (val)
Top-1 Accuracy68.2
960
Image ClassificationImageNet A
Top-1 Acc27.7
723
Image GenerationImageNet 256x256
IS311.4
606
Image ClassificationRESISC45
Accuracy80.4
539
Class-conditional Image GenerationImageNet 256x256 (val)
Inception Score (IS)366
535
Image ClassificationImageNet-Sketch
Top-1 Accuracy26.2
491
Image GenerationImageNet 256x256 (val)
FID1.42
461
Showing 10 of 104 rows
...

Other info

Code

Follow for update