arXiv:2610.39948cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39948

UniRA: Unified Representation Alignment and Auto-Encoding for Efficient Diffusion Generation

An Lanji, Dawei Liu, Jin Li, Haoran Xu, Mei Chen, Yu Tian

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 256×256256 \times 256 and 512×512512 \times 512, UniRA matches or surpasses state-of-the-art DiTs (SD3, REPA, RAE) in FID while reducing training steps by up to 5×5 \times. We further show that the unified representation space supports improved zero-shot classification and linear probing, con-

firming that generation and understanding benefit from a shared, aligned latent space.

1. Introduction

Diffusion models have become the leading paradigm for high-fidelity image and video generation (Ho et al., 2020; Rombach et al., 2022; Peebles & Xie, 2023; Esser et al., 2024; Brooks et al., 2024). The shift from U-Net backbones to diffusion transformers (DiT) (Peebles & Xie, 2023) has enabled principled scaling, but training these transformers from scratch remains expensive: convergence typically requires millions of optimizer steps and large-scale compute. This cost motivates a growing interest in injecting representation learning signals into the diffusion backbone to accelerate training and improve sample quality.

Two complementary lines of work have emerged. First, Representation Alignment (REPA) (Yu et al., 2024) and its variants (Yu et al., 2025a;b) accelerate DiT training by projecting the diffusion backbone's intermediate features into the embedding space of a pretrained self-supervised representation model (e.g., DINOv2 (Oquab et al., 2024)) and aligning them with a cosine loss. This simple signal can cut training steps several-fold and improve FID. Second, Representation Auto-Encoders (RAE) (Li et al., 2024) and related representation-space tokenizers (Wang et al., 2025; Chen et al., 2024) replace the pixel-space VAE (Kingma & Welling, 2014; Rombach et al., 2022) with a tokenizer whose encoder and decoder operate in a learned representation space, yielding a more compact and semantically meaningful latent for diffusion.

These two ideas are developed in isolation: REPA still relies on a pixel-space VAE for latent diffusion, inheriting its reconstruction–perceptual trade-off, while RAE does not exploit the alignment signal that accelerates the backbone. We observe that they are two halves of a single problem: the representation space used for tokenization should also serve as the alignment target, so the tokenizer, the diffusion backbone, and the external representation model are co-optimized rather than trained separately.

We present UniRA, a unified framework that couples representation alignment and representation auto-encoding into a

1^{1}University of Electronic Science and Technology of China, Chengdu, China. Correspondence to: An Lanji lanji.an@uestc.edu.cn.

Proceedings of the 43rd43^{rd} International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

Motivation for unifying representation alignment, representut encoding in diffusion models

Figure

Figure 1. Motivation. REPA aligns the diffusion backbone with an external representation model but keeps a pixel-space VAE. RAE replaces the VAE with a representation tokenizer but does not align the backbone. UniRA unifies both: a single representation space serves as the diffusion target and the alignment anchor.

single objective. Our contributions are:

• Unified objective. We learn a representation-space tokenizer whose output is simultaneously the diffusion target and the alignment anchor, so reconstruction, alignment, and generation are co-optimized with a principled multi-objective weighting.

• Theoretical guarantee. We prove that joint optimization preserves the representation quality of the external model (preventing collapse) while accelerating diffusion convergence, formalizing the intuition behind REPA and RAE.

• Efficiency. On ImageNet 256×256256 \times 256 and 512×512512 \times 512, UniRA matches or surpasses REPA, RAE, and SD3 in FID while reducing training steps by up to 5×5 \times.

• Shared representation. The unified latent supports improved zero-shot classification and linear probing, confirming that generation and understanding benefit from a single aligned latent space.

Figure 1 sketches the motivation: REPA aligns the backbone but keeps a pixel VAE; RAE replaces the VAE but does not align the backbone; UniRA does both in one representation space.

References (48)