UniRA: Unified Representation Alignment and Auto-Encoding for Efficient Diffusion Generation
Organizations: University of Electronic Science and Technology of China, Chengdu, China.
Abstract
Diffusion transformers (DiTs) have become the dominant architecture for high-fidelity image synthesis, yet they suffer from slow training convergence and high computational cost. Two recent lines of work address this from complementary angles: Representation Alignment (REPA) accelerates DiT training by aligning intermediate features with a pretrained external representation model (e.g., DINOv2), while Representation Auto-Encoders (RAE) replace the pixel-space VAE with a compact representation-space tokenizer learned from self-supervised features. However, these approaches are developed and applied in isolation: REPA still relies on a pixel-space VAE for latent diffusion, and RAE does not exploit the alignment signal that accelerates the diffusion backbone. We present UniRA, a unified framework that couples representation alignment and representation auto-encoding into a single objective. UniRA learns a representation-space tokenizer whose output serves simultaneously as the diffusion target and the alignment anchor, so the tokenizer, the diffusion backbone, and the external representation model are co-optimized. We give a theoretical result showing that this joint optimization preserves the representation quality of the external model while accelerating diffusion convergence, and we derive a principled weighting that balances the reconstruction, alignment, and generation objectives. On ImageNet class-conditional generation at 256256 and 512512, UniRA matches or surpasses state-of-the-art DiTs (SD3, REPA, RAE) in FID while reducing training steps by up to 5*. We further show that the unified representation space supports improved zero-shot classification and linear probing, confirming that generation and understanding benefit from a shared, aligned latent space.
Figures & tables
| Method | FID-256 | FID-512 | IS | Steps to FID 5.0 | Zero-shot / Lin-probe |
|---|---|---|---|---|---|
| DiT ( Peebles and Xie, 2023 ) | 9.62 | 11.2 | 158 | 7M | — / — |
| SD3 ( Esser et al., 2024 ) | 7.83 | 8.9 | 178 | 4M | — / — |
| REPA ( Yu et al., 2024 ) | 5.20 | 6.1 | 201 | 1.2M | 41.2 / 62.4 |
| REPA-E ( Yu and others, 2025a ) | 5.18 | 6.0 | 203 | 1.0M | 41.5 / 62.8 |
| U-REPA ( Yu and others, 2025b ) | 5.10 | 5.9 | 205 | 0.9M | 42.0 / 63.1 |
| RAE ( Li and others, 2024 ) | 5.35 | 6.4 | 196 | 1.5M | 40.8 / 61.5 |
| Configuration | FID-256 | Steps to FID 5.0 |
|---|---|---|
| UniRA (full) | 4.91 | 0.8M |
| w/o alignment ( ) | 5.35 | 1.5M |
| w/o representation tokenizer (pixel VAE) | 5.20 | 1.2M |
| fixed (no MGDA) | 5.02 | 0.9M |
| align at layer 8 | 5.05 | 0.9M |
| align at layer 16 | 4.95 | 0.85M |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Diffusion-Based Image Generation
Diffusion-based image generation creates images by progressively denoising noise, with controls for content, style, and structure.
See all 330 papers