Our new X account is live! Follow @wizwand_team for updates
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
Class-conditional Image GenerationImageNet 256x256
Inception Score (IS)306.3
441
Image GenerationImageNet 256x256 (val)
FID1.42
307
Class-conditional Image GenerationImageNet 256x256 (train)
IS305.7
305
Class-conditional Image GenerationImageNet 256x256 (val)
FID1.42
293
Image GenerationImageNet 256x256
FID1.42
243
Image GenerationImageNet 512x512 (val)
FID-50K2.08
184
Class-conditional Image GenerationImageNet 256x256 (train val)
FID1.42
178
Class-conditional Image GenerationImageNet 256x256 (test)
FID1.29
167
Class-conditional Image GenerationImageNet--
132
Text-to-Image GenerationMS-COCO (val)
FID4.6
112
Showing 10 of 33 rows

Other info

Code

Follow for update