arXiv:2610.20608cs.CVOct 2026

Manuscript Offprint

arXiv:2610.20608

Representation Conditioning for Generation

Saeed Razavi, Xingjian Leng, Liang Zheng

ABSTRACT

Representation-alignment methods effectively accelerate the diffusion transformer training. REPA, for example, uses a pretrained vision encoder to supervise an intermediate layer through an MLP projection head which is discarded after training. It aims to import semantics from the vision encoder to the diffusion backbone. While this objective is achieved at early layers by back-propagating the alignment loss, there is no guarantee that later layers, supervised by the velocity prediction loss alone, can well access such semantics. We propose a simple solution, representation conditioning (RECON), to improve semantics in later layers. During training, we feed the pretrained vision encoder tokens into later layers; during inference, because we no longer have the clean image, we reuse the MLP head (as a proxy to the vision encoder) and project its output tokens to the later layers. Our method adds no parameters and leads to much faster convergence: RECON is 63×63\times faster than SiT and 25×25\times faster than REPA. Code is available at https://github.com/saeidrazavi/RECON.

Figure

(a) REPA

(b) RECON training

(c) RECON inference

(d) Training steps vs. gFID-50K Improved generation performance

Figure 1: RECON conditions the later layers on the representation that REPA discards. (a) REPA trains a projection head gϕg_{\phi} against a frozen vision encoder through the REPA loss, then discards it at inference. RECON inherits most of REPA, but (b) conditions later layers with the vision encoder tokens during training and (c) during inference retains gϕg_{\phi} as a proxy to the vision encoder and does the same conditioning. (d) gFID-50K against training step on ImageNet 256×256256 \times 256 without guidance; RECON reaches the final quality of SiT-XL/2 and of REPA much earlier.

1 INTRODUCTION

An effective strategy for efficient diffusion transformer training is to align the diffusion features with an external vision encoder (Yu et al., 2025). Specifically, REPA (Yu et al., 2025) uses a lightweight projection head gϕ1g_{\phi}^{1} to map the intermediate features of diffusion backbone to be similar to those of the frozen vision encoder (Fig. 1a). Several follow-up works build on this idea, e.g., REG (Wu et al., 2025), DDT (Wang et al., 2026) and REPA-E (Leng et al., 2025).

By aligning the diffusion model with an external vision encoder, the assumption is that the diffusion backbone will effectively access and use the semantic features, so that generation will eventually

1^{1}We use gϕg_{\phi} interchangeably with “projection head”. Project page: recondiffusion.github.io

Figure

(a) Strong correlation of gFID and CKNNA

(b) gϕg_{\phi} output has more semantics than any layer

(c) RECON improves CKNNA across layers

Figure 2: Alignment with the vision encoder, measured by CKNNA against DINOv2-B. (a) gFID against CKNNA over training checkpoints. (b) CKNNA of backbone features at each layer. Dashed line is CKNNA between the projector output gϕ(h)g_{\phi}(h) and the vision encoder, which is stronger than any layer. (c) CKNNA of every layer for REPA and RECON at t = 0.25.

improve. In this work, we examine the alignment between the vision encoder features and features of each layer of the diffusion transformer, and the feature from gϕg_{\phi}. We find that the feature from gϕg_{\phi} has the highest level of alignment with the vision encoder, as shown in Fig. 2b. This finding is not surprising, because gϕg_{\phi} is physically closest to the vision encoder and is directly optimized to minimize alignment loss.

Surprisingly, despite its strong alignment with the vision encoder, existing methods typically discard the projection head gϕg_{\phi} after training, as shown in Fig. 1a. We argue that the practice is a waste of model resources including learned weights and semantics: the full potential of representation alignment is not achieved.

We introduce a very simple fix, named REpresentation CONDITIONING (RECON). Our idea is that instead of removing gϕg_{\phi} after training, we keep it and use it as a proxy of the vision encoder during inference, so that strong semantics from gϕg_{\phi} can be explicitly used to benefit generation. Specifically, during inference, RECON pools the gϕg_{\phi} output features into semantic tokens, concatenates them with the patch tokens, and lets the diffusion backbone attend to both types of tokens. Correspondingly, we have a small modification for training recipe: during training, the semantic tokens directly come from the vision encoder and serve as condition for the backbone.

Despite its simplicity, this fix effectively improves the semantics of the backbone features, as shown in Fig. 2c. Meanwhile, this method also improves generation quality: we report FID = 3.25 at 80 epochs using SD-VAE, which is competitive with the state-of-the-art methods. This is consistent with previous observation that better semantic alignment leads to better generation quality (Fig. 2a). Furthermore, our method is advantageous in that it adds no parameters 2^{2} and needs fewer sampling steps to reach the same quality (Table 5). We summarize the main points of this paper below.

• We question the common practice of discarding gϕg_{\phi} after training. Retaining it allows the semantics learned through representation alignment to guide generation.

• We introduce RECON that reuses gϕg_{\phi} at inference to make the semantics more accessible (Fig. 1c).

• RECON converges 63×63 \times faster than SiT and 25×25 \times faster than REPA (Fig. 1d, Fig. 3) and is parameter efficient and sampling-step efficient.

References (76)