WorksComputer Science
Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers
Abstract
A pretrained image representation helps train a diffusion transformer in several roles, including as an alignment target, which the model's hidden states learn to match, as in representation alignment (REPA), and as a condition, an extra input describing the image to be generated. Combined, they would give the model an input and a target, but whether they conflict is unknown. To test this, we let the condition carry only part of REPA's target: we split the representation of each image patch into an image-level (global) part, shared by all patches of the image, and a within-image (local) part, the patch's difference from the image-level part, and use one token carrying the image-level part as the condition. Then, the two roles overlap on the image-level part, where they could conflict, while only REPA supervises the within-image part, where we can see whether the token helps REPA. We find that the token and REPA together teach both the image-level part and the within-image part, the main source of REPA's FID improvement, far more than the sum of what each teaches alone, so they cooperate rather than conflict. These findings give one design rule for combining REPA with an image-level condition, supply the global, supervise the local, which we implement as Global-Condition REPA (GC-REPA): REPA with the token as an extra input; the token carries no information beyond REPA's target and is drawn at sampling from a separately trained token prior. GC-REPA greatly accelerates convergence: on ImageNet 256*256, SiT-XL/2 + GC-REPA reaches REPA's 4M- and SiT-XL/2's 7M-iteration FIDs within 200K and 100K iterations (20 and 70 fewer).
Introduction
Diffusion models lead image generation [8, 39], most recently as diffusion transformers [35], e.g., SiT (Scalable Interpolant Transformers) [30]. In these models, a stack of transformer blocks learns to recover an image’s latent, an image’s compressed form from an autoencoder, from a noisy latent, the latent mixed with noise [1, 26, 39]. They train slowly: SiT-XL/2 needs 7M iterations to reach its best Fréchet inception distance (FID) [30] (Figure 1a).

Figure 1. Faster convergence than SiT and REPA, and the split of the representation. (a) FID of SiT-XL/2 over training iterations (ImageNet 256 × 256); arrows: how many times fewer iterations GC-REPA needs to reach the published FID of SiT at 7M and REPA at 4M iterations [30, 52]. (b) Each patch’s representation is the image-level part, shared by all patches, plus the within-image part, the patch’s difference from it (RGB colors: projection onto the top three principal components, the same in all maps; Sec. B.3).
Representations from pretrained encoders, such as DINOv2 [33], which describes an image by one vector per patch, the patch’s representation (Figure 1b), make diffusion transformers train faster and generate better images, in three roles (Figure 2a–Figure 2c), each leaving a gap on its own. As an alignment target, the representation appears only in a training loss, as in REPA (representation alignment) [52]: the REPA loss pulls the hidden states of a transformer block toward the representation and is added to the standard denoising loss of transformer blocks. The representation never reaches the diffusion transformer as input, so the hidden states must recover it from the noisy latent alone, and at high noise, where this latent shows little of the image, this recovery is poor. As a condition, the representation is an extra input that tells the diffusion transformer about the image to be generated; in RCG [24], at image sampling, where there is no image to provide the condition, a separate model supplies it. A condition gives the representation directly but sets no target for the hidden states. As a jointly generated output, the representation is instead noised with the latent and denoised together with it [19, 47], optionally with the REPA loss; so at high noise it shows as little as the noisy latent does.

Figure 2. Roles of a pretrained representation (one vector per patch of the image) in training a diffusion transformer, which maps the noisy latent to the predicted velocity . (a) Alignment target only. (b) Condition only. (c) Jointly generated output: noised and generated with the image (: its predicted velocity). (d) GC-REPA: the patch average of enters clean as the token, supplied at sampling by a token prior model; the REPA loss is unchanged.
The natural alternative, using the same representation both as a clean condition and as an alignment target, here REPA, would close all three gaps, but the two roles may conflict. REPA teaches the hidden states to reproduce the representation, which the condition may already supply, so REPA could make the condition redundant or work against it.
To see how the two roles interact, we must know where they overlap and where they do not: where both carry the same information, they may conflict; where only REPA supervises, we can see whether the condition helps REPA. We therefore split the patch’s representation, itself REPA’s target, into two parts and let the condition, a single token, take only the image-level part, since a condition typically describes the image as a whole. Concretely, the image-level part (Figure 1b) is the patch average of the representation, the one vector closest to all patches of the image, which describes what the image shows as a whole; the within-image part is the patch’s
difference from the patch average, which describes how the patch differs from the image as a whole. The two roles then overlap on the image-level part, where we test whether they conflict, and only REPA supervises the within-image part, where we test whether the token helps REPA.
The split also makes the roles’ interaction measurable part by part: since both roles act on the hidden states, we measure how much of each part the hidden states hold and which part improves image quality. We find: together, the token and REPA teach the image-level part far more than the sum of what each teaches alone (they do not conflict: Finding 1), and the token, mainly if clean and from the image itself, helps REPA teach the within-image part, although the token alone barely improves it (they do cooperate: Finding 2); and REPA improves FID mainly through the within-image part (Finding 3).
These findings give one design rule for combining REPA with an image-level condition, supply the global, supervise the local: supply the image-level part (the global) as a condition (Finding 1), and teach the within-image part (the local) with REPA (Findings 2 and 3). We implement this rule as Global-Condition REPA (GC-REPA, Figure 2d): the patch-average token, drawn at sampling from a separate token prior, supplies the global; the unchanged REPA loss supervises the local by its within-image term (Finding 3), and with the token, its image-level term does no harm.
GC-REPA is simple, and what it adds is small: its token, derived from REPA’s own target, uses no information beyond it, and it changes only a few lines of REPA’s training code; it adds a token (0.6–0.9M parameters) and a separately trained token prior, which adds at most 0.2% to the sampling compute. It is also effective: at 400K iterations, it lowers REPA’s FID from 24.4 to 9.3 on SiT-B/2 and from 10.0 to 3.5 on SiT-L/2 [30], and on SiT-XL/2 it reaches REPA’s 4M-iteration FID within 200K iterations (20× fewer, Figure 1a).
In summary, our contributions are:
Splitting the representation into image-level and within-image parts, we show that a token carrying the image-level part and REPA cooperate rather than conflict in teaching both parts (Findings 1 and 2).
Aligning each part separately, we find REPA’s generation gain mainly in the within-image part (Finding 3), completing the rule supply the global, supervise the local, which GC-REPA implements by adding to REPA a token and a separately trained token prior.
GC-REPA is simple and adds little computation yet greatly speeds up training: it reaches REPA’s and SiT’s published ImageNet FID with 20× and 70× fewer iterations.
Preliminaries
Flow-based diffusion transformers. We follow SiT [30], which generates images in the compressed latent space of a pretrained variational autoencoder (VAE) within the stochastic interpolant framework [1, 26, 27]. The VAE’s encoder [39] maps an image to its latent . The path from this latent to noise is, with , at noise level , with and , so gives the original latent and pure noise. A transformer learns the velocity of this path, its derivative w.r.t. , . Specifically, the transformer cuts into latent patches, embeds each, and passes the embeddings through a stack of transformer blocks, each of which outputs one vector per latent patch; conditioned on and the class label , it minimizes the denoising loss
Sampling follows the path backward: it integrates the reverse-time stochastic differential equation (SDE) from to with SiT’s Euler–Maruyama sampler.
Representation alignment. Let be the representation of the image under a frozen pretrained encoder , e.g. DINOv2: one -dimensional vector for each of image patches, aligned one to one with the diffusion transformer’s latent patches; below, patch refers to both. Let be the hidden states that transformer block of outputs for (we drop from the notation), one vector per patch, with the hidden size. REPA [52] maps the hidden states with a trainable MLP projector and maximizes their patch-wise cosine similarity to the representation,
training with . We call the REPA loss. We keep REPA’s defaults: , and for SiT-B/2 and for SiT-L/2 and SiT-XL/2. Only blocks , i.e., the aligned blocks, receive REPA’s gradient.
Two Roles, Two Parts
The token, the input of GC-REPA (Figure 2d), carries only the image-level part, which REPA also supervises, so on this part REPA could make the token redundant or work against it; on the within-image part, which only REPA supervises, the token could instead help REPA (§ 3.1). Sections 3.2 and 3.3 test these two possibilities, and § 3.4 tests which part gives REPA’s FID gain.
Study design
Split of the representation. Intuitively, the representations of all patches of an image share what the image shows as a whole (in Figure 1b, a balloon in the sky), and each patch’s representation differs in what the patch shows locally (fabric or burner in Figure 1b). Averaging over the patches keeps what they share and cancels what differs, so the image-level part is the average of the patches’ representations, the single vector closest to all of them; the within-image part is each patch’s deviation from that average, what the patch shows locally. In symbols, with the unit-normalized patch representations , their image mean , and each patch’s difference from that mean, , each patch splits as
REPA’s loss compares each patch’s representation with the patch’s projected hidden state (Eq. (2)); to see how this loss acts on each part, we split the projected hidden states in the same way: with the unit-normalized , its image mean and , the similarity in REPA’s loss splits as
because (Sec. B.1), which holds only when the image-level part is the patch average. The split lets us measure how well the hidden states of transformer blocks match each part and align one part at a time.
The token and REPA overlap, and so could conflict, only through the image-level term of Eq. (3), and this term is not small: at perfect alignment, where the similarity is 1, the image-level term gives 0.29 for DINOv2-B on ImageNet and 0.42 for CLIP-L [37].
The token: the condition we study. Our condition, the token, carries the image-level part: the patch average , i.e., rescaled to length 1, embedded as
where standardizes over its channels, and a linear layer and LayerNorm (LN) [2] map to the hidden size . Then, transformer blocks take as one more input next to the patch embeddings; in each block, the patches can draw on through attention, just as they draw on one another; the token is only an input, and its output is discarded. During training, the token is dropped (i.e., is set to zero) for a random 20% of the samples, so the diffusion transformer also learns to run without it. At sampling, where there is no image, is drawn from the token prior, a class-conditional model of (§ 4).
To test whether the interaction between token and REPA depends on where the token enters w.r.t. the aligned blocks, we place the token in two ways: the early token enters before block 1, so every block can read it, and the late token enters after block , so only the blocks after the aligned blocks can.
Common setup and scores. The three findings below compare models that differ only in the token and in what REPA aligns, each comparison answering one of the three tests named at the start of this section. First, we train SiT-B/2 with DINOv2-B on ImageNet from scratch for 50K iterations with REPA’s recipe, using three seeds, and report the mean and standard deviation (Table 1); SiT-L/2 and CLIP-L give similar results (Sec. E.1). We then measure how much of each part (image-level or within-image) the hidden states of the last aligned block hold, with two scores, the cosine and the linear probe, which measure the similarity between the part and these hidden states with or without REPA’s projector. We say that the token or REPA teaches a part when it raises these scores. Both scores are computed at every noise level; unless stated otherwise, we report them at , where the noisy latent shows little of the image-level part (results at all : Figure 4 and 11). With longer training (400K iterations), both scores of all models change, but their ranking of the models is unchanged. Additionally, we measure sample quality by FID [14] and sFID [32] on 50K samples; other metrics and details are in Secs. E and F.
| Token | REPA | FID | sFID | ||
| – | – | ||||
| – | full | ||||
| early | – | ||||
| early | full | ||||
| late | – | ||||
| late | full | ||||
| – | image-level | ||||
| – | within-image | ||||
| early | image-level | ||||
| early | within-image |
Table 1. Table 1. Token placement × REPA target (SiT-B/2, 50K iterations; mean ± std.). , : linear-probe scores for the image-level and within-image parts. Token: none (–), early or late (before or after the aligned blocks). REPA: none (–), full, or one part only; more metrics: Tab. 8.

Figure 4. Both parts across noise levels, with and without the token (SiT-B/2, 50K): image-level and within-image cosine at block 4. Dotted in (a): the class-mean reference (hidden states replaced by the class mean of ); token zeroed: the trained token + REPA model, fed a zeroed token.
Finding 1: the image-level part
The token and REPA together teach the image-level part far more than the sum of what each teaches alone (Figure 3a). We show this with the two scores and explain it by how much the aligned blocks attend to the token.

Figure 3. The three findings (SiT-B/2; higher is better; each panel and metric on its own scale). (a, b) Gain in (a) and (b) over the model with neither token nor REPA; dashed: the sum of the two separate gains. (c) Gain in (hollow) and FID improvement (filled), over the model with neither token nor REPA, of the token with REPA aligning only the image-level part, only the within-image part, or both (full).
Setup: measuring the image-level part. We measure how well the hidden states of the last aligned block match the image-level part by two scores. The image-level cosine measures this match through REPA’s projector. Since only models trained with REPA have the projector, the image-level probe replaces the projector with a fitted linear map, so that models without REPA can be measured too.
These two scores both use the centered cosine , with the mean over images; centering removes what all images share, so the score reflects how images differ. The image-level cosine sets to , the image-level part of the projected hidden states (Eq. (3)). For , we fit a linear map from the image mean of the hidden states, , to . is then the mean of over images not used for fitting (more details in Sec. C).
Observations. 1. REPA alone teaches the image-level part only partly. REPA alone raises only slightly over a model with neither the token nor REPA (Table 1), and its image-level cosine drops as the noise grows (Figure 4a). At the highest noise, REPA alone falls to the class-mean reference (Sec. D.1), the image-level cosine obtained by replacing the hidden states with the class mean of , i.e., seeing only the class (dotted in Figure 4a). So at high noise, the noisy latent reveals little of the image-level part beyond the class, limiting how much of this part REPA can teach.
The token alone supplies more of it, but not all. The token alone raises much more (Table 1), as the token supplies the image-level part directly. But the aligned blocks use the token only moderately: zeroing the token changes each aligned block’s hidden states by only 18% (Fig. 7).
Together, the token and REPA far exceed the sum of their separate gains. The token and REPA together raise by 0.58, against 0.34 for the sum of their separate gains, and their image-level cosine stays at 0.96 at every noise level (Figure 4a). With REPA, the aligned blocks use the token much more: block 1 sends 67% of its attention to the token, against 31% with the token alone, and zeroing the token changes the aligned blocks about three times as much (Sec. D.2), so the two roles do not conflict.
Finding 2: the within-image part
With the token, REPA teaches the within-image part better than REPA alone. We show this with the scores and explore what the gain needs: a clean token carrying the image-level part of the image itself, entering before the aligned blocks.
Setup: measuring the within-image part. The two scores mirror those used in Finding 1, with the within-image parts in place of the image-level ones and the plain cosine in place of the centered one. Specifically, the within-image cosine compares with , and the within-image probe fits a linear map from to and averages the cosine of its predictions over the patches of images not used for fitting. Since the image mean is removed from both sides, the image-level part does not enter either score.
Observations. 1. Alone, the token barely improves the within-image part, and REPA does so only at low noise. The token alone raises by at most 0.016 at every noise level; REPA alone raises it at low noise, where the noisy latent still shows the image, but barely at higher noise (; Table 1 and Fig. 11).
REPA and the token together add far more than the sum of their separate gains in the within-image part, most at high noise. Together they raise by 3.4 times the sum of their separate gains (Figure 3b), so the token helps REPA. With the token, REPA’s within-image cosine exceeds that of REPA alone by 0.13 at the highest noise, against 0.05 at the lowest (Figure 4b), so the gain is largest where REPA alone loses the most of the image-level part.
The gain needs a clean token carrying the image-level part of the image itself, entering before the aligned blocks. Removing or weakening any one of these four requirements, with REPA unchanged, pulls from 0.399 back toward the 0.325 of REPA alone. Without the image’s own information, falls nearly to REPA alone when the trained model’s token is zeroed (Fig. 11) and to at most 0.348 with a constant, a class-level, or another same-class image’s token (Sec. E.3). With only part of the image-level part, the encoder’s [CLS] token (Sec. G.3), a global summary of the same image, reaches only 0.367; without a clean token, a token noised with the image reaches 0.344. Without early entry, the gain disappears: the late token leaves at the level of REPA alone (Table 1 and Sec. E.4).
Finding 3: the source of the FID gain
Turning from the hidden states (Findings 1 and 2) to FID, we find REPA’s FID gain mainly in the within-image part.
Setup: aligning one part at a time. To tell whether the image-level part or the within-image part improves FID, we train models with REPA’s loss restricted to one part, with and without the token (Table 1): image-level REPA aligns only the image-level part of the projected hidden states, , with , and within-image REPA aligns only their within-image parts, , with ; nothing else of REPA changes.
Observation. REPA’s FID gain comes mainly from the within-image part (Figure 3c). Aligning the within-image part alone improves FID far more than aligning the image-level part alone, without the token (over the model with neither, by 20.1 against 9.7) and with it (over the token alone, by 19.9 against 1.4; Table 1). The clearest case is image-level REPA with the token: it teaches the image-level part best of all models ( 0.94) yet barely changes FID, and raising its weight does not help either (Sec. E.5).
With the token, full REPA does at least as well as within-image REPA. Against within-image REPA, full REPA with the token reaches a higher , a better FID, and a similar FID (47.03 and 47.55; Table 1). Its edge comes from the image-level term: this term makes the blocks use the token more (block 1’s attention to the token: 67% vs. 41% with within-image REPA; Sec. D.2).
GC-REPA
Following the rule from Findings 1–3, supply the global (Finding 1), supervise the local (Findings 2 and 3), GC-REPA (Figure 2d) gives REPA the token as an extra input and draws the token at sampling from a token prior. Concretely, the token is the clean patch average of the image itself and enters before block 1, and the unchanged REPA loss supervises the local through its within-image term; with the token, its image-level term does no harm.
Training with the token and REPA. GC-REPA minimizes
where is the token, and and are the denoising loss (Eq. (1)) and the REPA loss (Eq. (2)), unchanged, except that now also receives . Specifically, the embedding of (Eq. (4)) is prepended to the patch embeddings of and processed by the aligned blocks, , i.e., blocks of applied in sequence (the remaining blocks follow as usual):
The REPA loss is computed on the hidden states, , which now depend on through self-attention.
GC-REPA is simple, and what it adds to training is small: the change to REPA’s training code is a few lines (Alg. 1), and the only new parameters are the linear layer and the LayerNorm producing in Eq. (4): 0.59M, 0.79M, and 0.89M for SiT-B/2, L/2, and XL/2. The architecture, and the setting of the aligned blocks follow REPA.
Sampling with the token prior. At sampling, there is no image to compute from, so we first sample (Eq. (4)) for the class and then generate the image given :
where is the distribution that samples from when it receives , and the token prior is a 96M-parameter flow model on , trained once on the pairs of the training images. The drawn is renormalized to unit length (Sec. F.2). The token prior adds at most 0.2% to REPA’s sampling compute, and since depends only on the encoder, one token prior serves every diffusion transformer that uses the same encoder.
Related Work
We group prior methods by the role of the representation (more in Sec. A). Representations as alignment targets. REPA [52] aligns the hidden states of a diffusion transformer [35] with the representation of a pretrained encoder. Later work changes what is aligned or when, e.g., HASTE [46], REED [43], sREPA [49], and iREPA [42]; concurrently, LAP [45] removes the target’s locally predictable content. All of these use the representation only as an alignment target. Closest to us, iREPA [42] finds that the representation’s spatial structure matters more for REPA’s FID than its global semantics, and partly removes global components from REPA’s target. Our Finding 3 instead aligns each part of REPA’s target separately and finds REPA’s gain mainly in the within-image part. Guided by Findings 1–3, where iREPA removes global components from the target, GC-REPA keeps the image-level part there and also supplies it as a condition. Representations as conditions. Some methods condition on representations of given images, retrieved from a database [4, 5] or provided for control [18]; RCG [24] instead samples them from a learned prior. Like RCG, GC-REPA samples a clean condition from a separate prior, but pairs it with REPA’s alignment target and analyzes how the two roles interact on each part of the representation. Joint generation of representation and image. ReDi [19] and REG [47] noise representations with the latent and denoise both. The representation is thus noisy at high noise, where the aligned blocks most need the image-level part (Findings 1 and 2); GC-REPA’s token stays clean and need not be generated jointly.
Experiments
Setup
We train SiT-B/2, L/2, and XL/2 [30] on ImageNet 256 × 256 [7] (1.28M training images, 1,000 classes) in the latent space of the Stable Diffusion VAE [39]. We follow the evaluation protocol of REPA, HASTE, and REED [43, 46, 52]: 50K samples with random labels, the 250-step SDE Euler–Maruyama sampler, and ADM’s evaluator [8]. Implementation details are in Sec. F.
Baselines. We compare with SiT and REPA, with methods that change REPA’s target or schedule (HASTE, REED, iREPA, sREPA, SARA, REPA-E) or generate the representation jointly with the image (ReDi); Sec. A details each. We report the baselines’ numbers from their papers. Metrics. Following REPA, we report FID [14] as the main metric, together with sFID [32], a spatial variant of FID, Inception Score (IS) [40], and precision and recall [20].
Comparison with baselines
Evaluation across iterations. GC-REPA has the lowest FID among the reported results of all three model sizes (Table 2): the margin is largest early (47.0 against 66.0 for REED and 78.2 for REPA at SiT-B/2, 50K) and remains large at 400K (9.3 against 19.5 and 24.4 at SiT-B/2; 3.5 against 8.7 for sREPA and 10.0 for REPA at SiT-L/2). Our method converges fast: GC-REPA reaches REPA’s published 400K FID within 100K at all three sizes, and at SiT-XL/2 its 200K FID (4.0) beats REPA’s after 4M iterations (5.9 [52]). Some smaller models with GC-REPA beat larger baselines at 400K, even counting the token prior: SiT-B/2 with GC-REPA (227M in total) beats REPA’s SiT-L/2 (458M; 9.3 vs. 10.0), and SiT-L/2 with GC-REPA (555M) beats every SiT-XL/2 baseline (675M; 3.5 vs. 4.1 for the best, REPA-E). Neither the token nor REPA suffices alone: without REPA (“GC-REPA w/o REPA” in Table 2), the token alone has a much worse FID at all reported iterations of all three sizes (16.5 vs. 9.3 at SiT-B/2, 400K), as does REPA alone (24.4).
| Method | SiT-B/2 (130M) 50K | SiT-B/2 (130M) 100K | SiT-B/2 (130M) 200K | SiT-B/2 (130M) 400K | SiT-L/2 (458M) 50K | SiT-L/2 (458M) 100K | SiT-L/2 (458M) 200K | SiT-L/2 (458M) 400K | SiT-XL/2 (675M) 50K | SiT-XL/2 (675M) 100K | SiT-XL/2 (675M) 200K | SiT-XL/2 (675M) 400K |
| SiT [30] | – | – | – | 33.0 | – | – | – | 18.8 | – | – | – | 17.2 |
| + REPA [52] | 78.2 | 49.5 | 33.2 | 24.4 | 55.4 | 24.1 | 14.0 | 10.0 | 52.3 | 19.4 | 11.1 | 7.9 |
| + HASTE [46] | – | 39.9 | 25.7 | 19.6 | – | 19.6 | 12.1 | 8.9 | – | 15.9 | 9.9 | 7.3 |
| + REED [43] | 66.0 | 36.8 | 24.6 | 19.5 | 41.7 | 19.1 | 12.1 | 8.9 | 38.0 | 16.0 | 9.8 | 7.3 |
| + iREPA [42] | – | 43.4 | – | 21.4 | – | 20.3 | – | 9.4 | – | 17.0 | – | 7.5 |
| + sREPA [49] | – | 39.9 | – | 20.5 | – | – | – | 8.7 | – | – | 9.4 | 7.2 |
| + REPA-E [23] | – | 34.8 | – | – | – | 16.3 | – | – | – | 12.8 | 7.2 | 4.1 |
| + ReDi [19] | – | – | – | – | – | – | – | 9.4 | 56.1 | 23.1 | 12.6 | 7.5 |
| + REPA + ReDi [19] | – | – | – | – | – | – | – | – | 44.8 | 15.2 | 8.3 | 5.3 |
| + GC-REPA w/o REPA (token only) | 67.4 | 39.6 | 24.3 | 16.5 | 48.8 | 21.9 | 11.5 | 7.3 | 44.0 | 18.2 | 9.5 | – |
| + GC-REPA (ours) | 47.0 | 23.9 | 13.4 | 9.3 | 21.6 | 8.5 | 4.9 | 3.5 | 19.3 | 6.8 | 4.0 | 3.0 |
Table 2. FID without guidance across training iterations and model sizes. Baselines: published numbers; the parameter counts are those of SiT, and GC-REPA has an extra 96M token prior shared by all sizes; “–”: not reported.
All metrics at 400K iterations. GC-REPA leads in FID, sFID, IS, and precision at all model sizes, with one exception: at SiT-XL/2, REPA-E, which also tunes the VAE, has a lower sFID (Tab. 3). GC-REPA’s recall is 0.01–0.05 lower than the baselines’. The cause is the token prior: its tokens vary
slightly less than those of real images (analysis in § 6.3). Figure 5 shows samples of SiT-XL/2 with GC-REPA.

Figure 5. Samples of SiT-XL/2 with GC-REPA after 400K iterations. More samples are in Sec. I.
Cost of the token prior. The token prior adds 96M parameters but little compute, since it generates one 768-dimensional vector per image, while the diffusion transformer processes 256 patches with at least 768 dimensions each. With the token prior and the extra token, GC-REPA trains as fast as REPA and samples at most 0.5% slower (Table 4 and Sec. H.4).
| Model | Parameters (M) REPA | Parameters (M) GC-REPA | Training (iter./s) REPA | Training (iter./s) GC-REPA | Sampling (img/s) REPA | Sampling (img/s) GC-REPA |
| SiT-B/2 | 130 | 131 + 96 | 2.79 | 2.78 | 5.79 | 5.76 |
| SiT-L/2 | 458 | 459 + 96 | 1.16 | 1.16 | 2.11 | 2.10 |
| SiT-XL/2 | 675 | 676 + 96 | 0.82 | 0.82 | 1.47 | 1.47 |
Table 4. Cost of REPA and GC-REPA. Parameters: the diffusion transformer, plus the 96M token prior of GC-REPA (trained once in 13 GPU-minutes, shared by all sizes). Speeds on one GPU: training at batch size 256; sampling includes the token prior (Sec. H.4).
Even a small token prior helps, and the gain saturates at our default size. A token prior ten times smaller (9.2M parameters) still keeps a large gain over REPA: the same SiT-B/2 with GC-REPA at 400K reaches 16.15 FID, against 24.4 for REPA; the 96M token prior improves it further to 9.32, and a 192M one gives no further gain (9.30).
Evaluation of sampling with classifier-free guidance (CFG). Table 5 compares SiT-XL/2 models with CFG [15]. GC-REPA uses two guidance scales, one for the class and one for the token, over an interval of noise levels [21] (Sec. F.2). At 400K iterations, GC-REPA reaches 1.78 FID, on par with REED (1.80) and SARA (1.82) at 1M iterations. The gain holds without the two scales: with REPA’s guidance setting (one scale, 1.8, for [52]), GC-REPA reaches 1.80, still below the guided FIDs of REPA in Table 5
| Method | Iter. | FID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ |
| + REPA§ [52] | 400K | 1.98 | 4.60 | 263.0 | 0.80 | 0.61 |
| + iREPA [42] | 400K | 1.93 | 4.59 | 268.8 | 0.80 | 0.60 |
| + sREPA [49] | 400K | 2.25 | 4.65 | 257.5 | 0.83 | 0.58 |
| + GC-REPA (ours) | 400K | 1.78 | 4.62 | 245.8 | 0.84 | 0.62 |
| + REPA [52] | 1M | 1.96 | 4.49 | 264.0 | 0.82 | 0.60 |
| + REED [43] | 1M | 1.80 | – | 267.5 | 0.81 | 0.61 |
| + SARA [6] | 1M | 1.82 | 4.51 | 279.8 | 0.83 | 0.60 |
| + sREPA [49] | 1M | 1.91 | 4.50 | 271.8 | 0.83 | 0.60 |
Table 5. SiT-XL/2 with guidance. Guidance: baselines as published. §Re-run by iREPA [42].
(1.98 at 400K, re-run by iREPA, and 1.96 at 1M).
Beyond class labels: text-to-image generation. Following REPA’s text-to-image experiment, we train MMDiT [9] from scratch on MS-COCO [25] for 150K iterations (Sec. H.1). With the 50-step ODE sampler, GC-REPA reaches FID 4.46, lower than REPA both as REPA reports it and in our reproduction with the same settings, and lower than MMDiT alone (Tab. 14).
Ablation studies
The performance gain holds with other encoders. We replace DINOv2-B with a larger encoder, DINOv2-L [33] or CLIP-L [37], each with its own token prior. Against REPA alone (SiT-B/2, 400K iterations), GC-REPA lowers FID from 21.88 to 13.04 with DINOv2-L and from 23.54 to 16.03 with CLIP-L, and it also improves sFID, IS, and precision with both encoders. More details are in Sec. H.5.
With the token, REPA helps denoising more, mostly at high noise. With the token, REPA lowers the denoising loss more than without the token, by 0.0041 against 0.0017 at SiT-B/2 and by 0.0080 against 0.0065 at SiT-L/2, and the reduction comes from the higher noise levels (Sec. H.2). In the aligned blocks, the gradient of the REPA loss also points more in the direction of the gradient of the denoising loss with the token: their mean cosine is 0.285 with the token against 0.197 without it at SiT-B/2, and the increase comes from high noise (Sec. H.3).
The token sets the scene. Within a class, Figure 6 and 19 vary the token and the initial noise separately, with the deterministic ODE sampler. We find that changing the token changes the scene (layout and pose); changing the noise changes mainly details, such as textures. This illustrates that the token carries the image-level part, and that the variety within a class comes mostly from the tokens.
Figure 6. The token sets the scene; the noise sets the details (golden retriever). Each row shares one token from the token prior, each column one initial noise .
The recall cost comes mainly from the token prior. At sampling, the token prior draws the token and the diffusion
transformer generates the image from it, so the recall cost could come from either stage; we find that it comes mainly from the token prior. To see which stage lowers recall, we fix the diffusion transformer, the SiT-B/2 with GC-REPA of Table 3 (400K iterations), and change only the tokens it receives at sampling (Sec. G.1). Given tokens of random real images, which spread within a class as real images do, the same diffusion transformer reaches a recall of 0.67, above REPA (0.65, Table 3); hence, the diffusion transformer itself does not lower recall.
| Method | FID↓ | sFID↓ | IS↑ | Prec.↑ | Rec.↑ |
| SiT-B/2, 400K iterations | |||||
| + REPA [52] | 24.4 | 6.40 | 59.9 | 0.59 | 0.65 |
| + HASTE [46] | 19.6 | 6.38 | 73.0 | 0.62 | 0.64 |
| + REED [43] | 19.5 | – | 75.9 | 0.61 | 0.65 |
| + iREPA [42] | 21.4 | 6.77 | 70.9 | 0.60 | 0.65 |
| + sREPA [49] | 20.5 | 6.53 | 71.2 | 0.61 | 0.65 |
| + GC-REPA (ours) | 9.3 | 5.52 | 121.6 | 0.70 | 0.62 |
| SiT-L/2, 400K iterations | |||||
| + REPA [52] | 10.0 | 5.20 | 109.2 | 0.69 | 0.65 |
| + HASTE [46] | 8.9 | 5.18 | 118.9 | 0.69 | 0.66 |
| + REED [43] | 8.9 | – | 122.4 | 0.69 | 0.66 |
| + iREPA [42] | 9.4 | 5.11 | 113.9 | 0.69 | 0.66 |
| + GC-REPA (ours) | 3.5 | 4.83 | 179.3 | 0.78 | 0.61 |
| SiT-XL/2, 400K iterations | |||||
| + REPA [52] | 7.9 | 5.06 | 122.6 | 0.70 | 0.65 |
| + HASTE [46] | 7.3 | 5.05 | 128.7 | 0.72 | 0.64 |
| + REED [43] | 7.3 | – | 134.5 | 0.70 | 0.66 |
| + iREPA [42] | 7.5 | 4.89 | 128.6 | 0.71 | 0.65 |
| + REPA-E [23] | 4.1 | 4.60 | 161.8 | 0.76 | 0.62 |
| + ReDi [19] | 7.5 | 5.1 | 129.5 | 0.72 | 0.62 |
| + REPA + ReDi [19] | 5.3 | 4.9 | 149.8 | 0.74 | 0.63 |
| + GC-REPA (ours) | 3.0 | 4.78 | 186.2 | 0.79 | 0.61 |
Table 3. All metrics at 400K iterations, without guidance.
The recall cost comes instead from the token prior. With the prior’s tokens, the same model’s recall is lower than with real ones (0.62 vs. 0.67). This is because these tokens vary less within a class: on average, a token from the prior has a cosine similarity of 0.718 to the mean token of its class, against 0.674 for the token of a real image. Tokens that vary less give a lower recall; at the extreme, the class-mean token, shared by all samples of a class, gives a recall of only 0.16.
The FID gain does not come from lower diversity, which recall measures: with tokens of random real images, GC-REPA’s images are more diverse than those of REPA (recall 0.67 vs. 0.65, Table 3), yet its FID stays far better (10.20 vs. 24.4).
No sign of memorization in two checks. With tokens of held-out validation images, which the model never saw, SiT-B/2 with GC-REPA at 400K iterations does nearly as well as with tokens of training images (FID 11.66 vs. 10.20; recall 0.64 vs. 0.67), so the model generalizes to tokens it has not seen. Additionally, a generated image copied from a training image would nearly match its source, yet we find that generated images lie, on average, farther from their nearest training image than real images outside the token prior’s training set do (cosine 0.70 vs. 0.80; Sec. G.2).
Conclusion
In this work, we ask whether a pretrained representation’s two roles in a diffusion transformer, as a condition and as REPA’s alignment target, conflict when combined. Splitting the representation into an image-level part, which both roles carry, and a within-image part, which only REPA supervises, we find that the two roles cooperate in teaching both parts, giving the rule supply the global, supervise the local. GC-REPA follows this rule with a clean token of the image’s own image-level part and REPA’s unchanged loss, drawing the token at sampling from a separate token prior. Though simple, GC-REPA improves generation quality and accelerates training convergence over baselines.
Limitations and future work. GC-REPA needs a separate token prior at sampling, which slightly lowers recall. We test the rule with one patch-average token and REPA’s loss; other conditions and alignment losses are next steps.
References
- [1]Michael S. Albergo, Nicholas M. Boffi, and Eric Vanden-Eijnden. Stochastic interpolants: A unifying framework for flows and diffusions. Journal of Machine Learning Research, 26(209):1–80, 2025. 1, 3
- [2]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, pages 1–14, 2016. 3arxiv.org/abs/1607.06450
- [4]Andreas Blattmann, Robin Rombach, Kaan Oktay, Jonas Müller, and Björn Ommer. Retrieval-augmented diffusion models. In NeurIPS, pages 15309–15324, 2022. 6DOI
- [5]Arantxa Casanova, Marlene Careil, Jakob Verbeek, Michal Drozdzal, and Adriana Romero-Soriano. Instance-conditioned GAN. In NeurIPS, pages 27517–27529, 2021. 6arxiv.org/abs/2109.05070
- [6]Hesen Chen, Junyuan Wang, Zhiyu Tan, and Hao Li. SARA: Structural and adversarial representation alignment for training-efficient diffusion models. arXiv preprint arXiv:2503.08253, pages 1–20, 2025. 8
- [7]Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, pages 248–255, 2009. 6
- [8]Prafulla Dhariwal and Alex Nichol. Diffusion models beat GANs on image synthesis. In NeurIPS, pages 8780–8794, 2021. 1, 6
- [9]Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In ICML, pages 12606–12633, 2024. 8
- [14]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. In NeurIPS, pages 6626–6637, 2017. 4, 6
- [15]Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, pages 1–14, 2022. 7arxiv.org/abs/2207.12598
- [18]Nithesh Chandher Karthikeyan, Jonas Unger, and Gabriel Eilertsen. Towards controllable image generation through representation-conditioned diffusion models. arXiv preprint arXiv:2605.27343, pages 1–3, 2026. 6
- [19]Theodoros Kouzelis, Efstathios Karypidis, Ioannis Kakogeorgiou, Spyros Gidar is, and Nikos Komodakis. Boosting generative image modeling via joint image-feature synthesis. In NeurIPS, pages 16685–16714, 2025. 2, 6, 7
- [20]Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Improved precision and recall metric for assessing generative models. In NeurIPS, pages 3927–3936, 2019. 6
- [21]Tuomas Kynkäänniemi, Miika Aittala, Tero Karras, Samuli Laine, Timo Aila, and Jaakko Lehtinen. Applying guidance in a limited interval improves sample and distribution quality in diffusion models. In NeurIPS, pages 122458–122483, 2024. 7
- [23]Xingjian Leng, Jaskirat Singh, Yunzhong Hou, Zhenchang Xing, Saining Xie, and Liang Zheng. REPA-E: Unlocking VAE for end-to-end tuning with latent diffusion transformers. In ICCV, pages 18262–18272, 2025. 7
- [24]Tianhong Li, Dina Katabi, and Kaiming He. Return of unconditional generation: A self-supervised representation generation method. In NeurIPS, pages 125441–125468, 2024. 2, 6
- [25]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common objects in context. In ECCV, pages 740–755, 2014. 8arxiv.org/abs/1405.0312
- [26]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In ICLR, pages 1–28, 2023. 1, 3
- [27]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In ICLR, pages 1–33, 2023.arxiv.org/abs/2209.03003
- [30]Nanye Ma, Mark Goldstein, Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden, and Saining Xie. SiT: Exploring flow and diffusion-based generative models with scalable interpolant transformers. In ECCV, pages 23–40, 2024.arxiv.org/abs/2401.08740
- [32]Charlie Nash, Jacob Menick, Sander Dieleman, and Peter W. Battaglia. Generating images with sparse representations. In ICML, pages 7958–7968, 2021.arxiv.org/abs/2103.03841
- [33]Maxime Oquab, Timothée Darcet, Thé·o Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, Mahmoud Assran, Nicolas Ballas, Wojciech Galuba, Russell Howes, Po-Yao Huang, Shang-Wen Li, Ishan Misra, Michael Rabbat, Vasu Sharma, Gabriel Synnaeve, Hu Xu, Hervé Jégou, Julien Mairal, Patrick Labatut, Armand Joulin, and Piotr Bojanowski. DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research, pages 1–32, 2024.arxiv.org/abs/2304.07193
- [35]William Peebles and Saining Xie. Scalable diffusion models with transformers. In ICCV, pages 4195–4205, 2023.arxiv.org/abs/2212.09748
- [37]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML, pages 8748–8763, 2021.arxiv.org/abs/2103.00020
- [39]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In CVPR, pages 10684–10695, 2022.arxiv.org/abs/2112.10752
- [40]Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training GANs. In NeurIPS, pages 2234–2242, 2016.arxiv.org/abs/1606.03498
- [42]Jaskirat Singh, Xingjian Leng, Zongze Wu, Liang Zheng, Richard Zhang, Eli Shechtman, and Saining Xie. What matters for representation alignment: Global information or spatial structure? In ICLR, pages 33807–33845, 2026.arxiv.org/abs/2512.10794
- [43]Chenyu Wang, Cai Zhou, Sharut Gupta, Zongyu Lin, Stefanie Jegelka, Stephen Bates, and Tommi Jaakkola. Learning diffusion models with flexible representation guidance. In NeurIPS, pages 131176–131222, 2025.arxiv.org/abs/2507.08980
- [45]Yingheng Wang, Yaoqiang Li, Yaqin Wu, Junwen Bai, Jiatao Gu, Christopher De Sa, and Volodymyr Kuleshov. Purify before you align: Improving representation alignment for diffusion models. arXiv preprint arXiv:2610.20761, pages 1–66, 2026.arxiv.org/abs/2610.20761
- [46]Ziqiao Wang, Wangbo Zhao, Yuhao Zhou, Zekai Li, Zhiyuan Liang, Mingjia Shi, Xuanlei Zhao, Pengfei Zhou, Kaipeng Zhang, Zhangyang Wang, Kai Wang, and Yang You. REPA works until it doesn’t: Early-stopped, holistic alignment supercharges diffusion training. In NeurIPS, pages 136854–136887, 2025.arxiv.org/abs/2505.16792
- [47]Ge Wu, Shen Zhang, Ruijing Shi, Shanghua Gao, Zhenyuan Chen, Lei Wang, Zhaowei Chen, Hongcheng Gao, Yao Tang, Jian Yang, Ming-Ming Cheng, and Xiang Li. Representation entanglement for generation: Training diffusion transformers is much easier than you think. In NeurIPS, pages 7714–7743, 2025.arxiv.org/abs/2507.01467
- [49]Shaodong Xu, Zhendong Wang, Litong Gong, Zexian Li, Wengang Zhou, Tiezhen Ge, and Houqiang Li. Beyond point-wise matching: Structural representation alignment for accelerating diffusion transformers. arXiv preprint arXiv:2605.16949, pages 1–22, 2026.arxiv.org/abs/2605.16949
- [52]Sihyun Yu, Sangkyung Kwak, Huiwon Jang, Jongheon Jeong, Jonathan Huang, Jinwoo Shin, and Saining Xie. Representation alignment for generation: Training diffusion transformers is easier than you think. In ICLR, pages 87400–87442, 2025.arxiv.org/abs/2410.06940
