TL;DR
Latent diffusion models—the engines behind modern AI image generators—usually learn in two disconnected steps, and even recent "end-to-end" methods only guide the middle of the pipeline with semantic understanding. REPR (REPresentation Reconstruction) fixes this by weaving pretrained visual semantics through the entire pipeline, from the image encoder and decoder all the way to the final denoising step. The result? Sharper images and a massive 80× training speedup over standard SiT models.
What Problem Does This Paper Address?
Latent diffusion models (LDMs) make high-resolution image generation computationally feasible by working in a compressed "latent space" rather than raw pixels. Traditionally, you train a Variational Autoencoder (VAE) to compress and reconstruct images, freeze it, and then train a diffusion model (like SiT or DiT) to generate those latents.
Recently, methods like REPA-E unlocked end-to-end training of both the VAE and the diffusion model by aligning intermediate noisy features of the diffusion model with representations from a frozen, pretrained vision model (like DINOv2). While this works well, it has a blind spot: the semantic supervision only reaches the VAE encoder and the early layers of the diffusion model. The VAE decoder and the final denoising layers are left without explicit semantic guidance, which limits how much semantic structure the model can actually preserve.
Methods
REPR extends semantic supervision across both the autoencoding and denoising pathways using two complementary ideas:
- Representation Reconstruction with Learnable Tokens: Instead of just feeding an RGB image into the VAE, REPR appends a set of 256 learnable tokens (mapped to image resolution and concatenated along the channel dimension). The VAE encodes this combined input into a shared latent. The VAE decoder is then tasked with reconstructing both the original image (using standard pixel, perceptual, and adversarial losses) and the pretrained DINOv2 visual features from the semantic tokens. This forces the latent bottleneck—and the decoder—to retain rich semantic information alongside visual details.
- Clean Latent Alignment: During the diffusion process, the SiT backbone predicts a velocity vector to denoise the latent. From this predicted velocity, REPR analytically estimates the clean latent ($\hat{z}_0 = z_t - t v_\theta$) and projects it to match the same frozen DINOv2 features. This places an explicit semantic constraint right at the final denoising prediction, rather than only in the middle layers.
In joint training, the standard diffusion loss only updates the SiT backbone, while the semantic reconstruction and alignment losses guide both SiT and the VAE.
Datasets
All experiments are conducted on ImageNet at $256 \times 256$ resolution (center-cropped and resized). For evaluation, the authors follow the standard ADM pipeline, generating 50,000 images (50 per class across all 1,000 ImageNet classes) and measuring Fréchet Inception Distance (gFID), structural FID (sFID), Inception Score (IS), Precision, and Recall.
Key Insights and Ideas
- Semantics shouldn't fade at the finish line: By measuring layer-wise feature alignment (CKNNA scores), the authors show that in REPA-E, semantic alignment peaks at the supervised intermediate layer and then drops off sharply. REPR maintains strong semantic alignment all the way to the final denoising output and across higher noise levels.
- Both halves of the pipeline matter: Ablation studies show that removing either the VAE's representation reconstruction or the diffusion model's clean latent alignment degrades performance (gFID worsens from 6.55 to 10.6 and 9.3, respectively). The two objectives are genuinely complementary.
- The gains stick around: Even if you take the VAE trained with REPR, freeze it, and train a diffusion model on top of it, the generation quality improvements persist.
- Broad compatibility: REPR works consistently across different model sizes (SiT-B, SiT-L, SiT-XL), different teacher encoders (DINOv2, I-JEPA, CLIP), and different VAE initializations (SD-VAE, VA-VAE).
Key Results
- Faster convergence: On ImageNet $256 \times 256$, REPR matches the reference generation quality of vanilla SiT and REPA using 80× and 35× fewer training steps, respectively.
- Stronger end-to-end quality: After just 80 epochs of end-to-end training (without classifier-free guidance), REPR achieves a gFID of 2.76 and an IS of 187.5, outperforming REPA-E's 4.07 gFID at the same checkpoint.
- State-of-the-art frozen-VAE scaling: When using the REPR-trained VAE (frozen) for 800 epochs of SiT training, the model reaches a gFID of 1.67 without guidance and 1.18 with guidance.
Limitations and Future Work
While REPR significantly boosts gFID and Precision, the authors note that these gains are not consistently accompanied by higher Recall (a measure of sample diversity). Future work could explore how to better balance semantic fidelity with sample diversity.
Summary updated