# Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers

Chaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang, Zheju Zheng, Yankai Cao · arXiv · 2026-11-22

- **Problem** The same pretrained representation can serve as a condition and as REPA's alignment target, but REPA may make the condition redundant or work against it, and whether the two roles conflict is unknown.
- **Method** Splits each patch representation into an image-level part and a within-image part, gives the image-level part to the diffusion transformer as one token drawn from a token prior at sampling, and keeps the REPA loss unchanged.
- **Results** Reached FID 9.3 at 400K iterations on SiT-B/2 without guidance, against 24.4 for REPA.

![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…](https://refivu.com/papers/82f7832c-887e-4a1b-a76c-ce9459d3452d/figures/figure-bd70b68eb9b8c0ec1615fd51a3d28eb2.png?thumb=512)

**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.

[Original paper](https://arxiv.org/abs/2611.29138v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Chaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang, Zheju Zheng, Yankai Cao · Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers · Original paper figure · Extracted the figure area from page 7 of the original PDF.

## One representation, two roles

A pretrained encoder such as DINOv2 gives each image patch a vector, and that representation can enter a diffusion transformer in more than one role. As an alignment target, the representation exists only inside a training loss: REPA pulls a block's hidden states toward it, so the model must recover that information from the noisy latent alone.

As a condition, the representation is a clean extra input that describes the image, but nothing then pulls the hidden states toward it, and at sampling a separate model has to supply the condition, as RCG does.

The question therefore turns on overlap: where the condition and REPA carry the same information they may conflict, and where only REPA supervises a part, the condition can show whether it helps REPA.

## Splitting the patch representation

The design rule is to supply the global and supervise the local, which means giving the condition only the image-level part and leaving the within-image part to REPA. The image-level part is the average of the patches' unit-normalized representations, and the within-image part is each patch's deviation from that average. Writing each normalized patch vector as \\(\\hat y^{\[n\]}\\), the image mean as \\(\\bar y=\\frac{1}{N}\\sum\_n \\hat y^{\[n\]}\\) and the deviation as \\(\\tilde y^{\[n\]}=\\hat y^{\[n\]}-\\bar y\\), each patch splits as \\(\\hat y^{\[n\]}=\\bar y+\\tilde y^{\[n\]}\\).

REPA's patch-averaged similarity separates into two terms once the projected hidden states are split in the same way. The image-level term is the inner product of the two image means, \\(\\bar y^\\top \\bar h\\), and the within-image term is the average inner product of the deviations. The separation is exact because the deviations sum to zero over the patches, which holds only when the image-level part is the patch average.

The image-level term is not small: at perfect alignment it equals \\(\\\|\\bar y\\\|^2\\), which is 0.29 for DINOv2-B on ImageNet and 0.42 for CLIP-L.

## Feeding the token into training

The token g is the patch average rescaled to unit length, \\(g=\\bar y/\\\|\\bar y\\\|\_2\\). A standardization s(·) over the D channels of g is followed by a linear layer (A, b) and LayerNorm, giving \\(e=\\mathrm{LN}(A\\,s(g)+b)\\) in the hidden size D'. The embedding e is one extra input beside the N patch embeddings; patches attend to it in every block, and the token's own output is discarded.

Training minimizes the denoising loss plus λ times the REPA loss, with g as an argument of both: \\(L(\\theta,\\phi)=L\_{vel}(\\theta;g)+\\lambda L\_{REPA}(\\theta,\\phi;g)\\). Both losses keep their original forms; only the hidden states change, because e is prepended to the patch embeddings and passed through blocks 1 to ℓ. λ is 0.5, and ℓ is 4 for SiT-B/2 and 8 for SiT-L/2 and SiT-XL/2, as in REPA.

During training the token is zeroed for a random 20% of samples, so the network also learns to run without it. The new parameters are the linear layer and the LayerNorm, 0.59M for SiT-B/2, 0.79M for SiT-L/2 and 0.89M for SiT-XL/2, and the change to REPA's training code is a few lines.

## Drawing the token at sampling

Sampling first draws g for the class from a token prior and then generates the latent given that g. This corresponds to the marginal \\(p(z^\*\\mid c)=\\int p\_\\theta(z^\*\\mid c,g)\\,p\_\\psi(g\\mid c)\\,dg\\), where \\(p\_\\theta\\) is the distribution the diffusion transformer samples from when it receives g.

Because the token depends only on the encoder, one prior serves every diffusion transformer built on that encoder, and it adds at most 0.2% to REPA's sampling compute.

## A controlled comparison with probe scores

Every variant in this comparison is a SiT-B/2 with DINOv2-B, trained from scratch on ImageNet for 50K iterations under REPA's recipe. Each row reports the mean and standard deviation over three seeds. The variants differ in where the token enters, before block 1 (early) or after the aligned blocks (late), and in which part REPA aligns: none, full, or one part only.

The authors report similar results for SiT-L/2 and CLIP-L in an appendix section.

Mimage fits a linear map from the image mean of the hidden states to ȳ and averages the centered cosine on images not used for fitting, where the centered cosine is \\(\\mathrm{csim}(a,b)=\\mathrm{sim}(a-E\[a\],\\,b-E\[b\])\\). Mwithin fits a linear map from the patch hidden states with the image mean removed to the within-image parts, and averages the cosine over patches of images not used for fitting.

Scores are read at t = 0.75 unless stated otherwise, and FID and sFID are computed on 50K samples.

## Finding 1: the image-level part

The token and REPA together teach the image-level part well beyond what their separate gains add up to. REPA alone is weak on this part: Mimage rises only from 0.260 with neither token nor REPA to 0.319 with full REPA. The token alone is stronger, raising Mimage to 0.539 with the early token, and the early token with image-level REPA reaches 0.939.

REPA's image-level cosine drops as the noise grows, and at the highest noise it falls to the class-mean reference, so the noisy latent shows little of the image beyond its class. The token alone is used only moderately by the aligned blocks: zeroing it changes each aligned block's hidden states by 18%.

With both together, Mimage rises by 0.58, against 0.34 for the sum of the separate gains, and the image-level cosine stays at 0.96 at every noise level. The authors read this as evidence that the two roles do not conflict on the image-level part.

## Finding 2: the within-image part

The token alone raises Mwithin by at most 0.016 at any noise level. REPA alone improves the within-image part at low noise, but barely at high noise, where t is at least 0.75.

With the early token and full REPA, Mwithin reaches 0.399, against 0.325 for full REPA with no token. The gain depends on the token being clean, carrying the image's own image-level part, and entering before the aligned blocks. When the trained model's token is zeroed, Mwithin falls nearly back to REPA alone, and a constant, class-level or same-class image's token gives at most 0.348.

The encoder's \[CLS\] token, a global summary of the same image, reaches 0.367, and a token noised together with the image reaches 0.344. With the late token, Mwithin is 0.326 with full REPA, close to the 0.325 of full REPA with no token, so early entry is needed.

## Finding 3: which part drives the FID gain

To find which part improves FID, REPA's loss is restricted to one part, with and without the token, and nothing else in REPA changes. Without the token, aligning only the within-image part lowers FID by 20.1, and aligning only the image-level part lowers it by 9.7, both relative to the model with neither token nor REPA. That model reaches FID 93.97, the image-level-only variant 84.27 and the within-image-only variant 73.89.

With the token, image-level REPA reaches FID 65.97 and within-image REPA 47.55, against 67.41 for the token alone, so the gains over the token alone are 1.4 and 19.9.

Full REPA with the token reaches FID 47.03, against 47.55 for within-image REPA, with a higher Mwithin (0.399 against 0.379) and a better sFID (8.06 against 8.54). The authors attribute the edge of the full variant to its image-level term, which makes the blocks use the token more: block 1's attention to the token is 67%, against 41% with within-image REPA.

## Comparison with published baselines

The comparison covers ImageNet at 256 by 256 with SiT-B/2, SiT-L/2 and SiT-XL/2, without guidance, against numbers published for SiT, REPA and REPA variants. On SiT-B/2 at 50K iterations, GC-REPA reaches FID 47.0, against 66.0 for REED and 78.2 for REPA. At 400K iterations the SiT-B/2 FID is 9.3, against 19.5 for REED and 24.4 for REPA, and the SiT-L/2 FID is 3.5, against 8.7 for sREPA and 10.0 for REPA.

On SiT-XL/2, GC-REPA reaches FID 4.0 at 200K iterations, which beats the 5.9 that REPA reports after 4M iterations. At all three sizes GC-REPA reaches REPA's published 400K FID within 100K iterations. Counting the token prior, SiT-B/2 with GC-REPA (227M in total) beats REPA's SiT-L/2 at 458M, with FID 9.3 against 10.0.

Without REPA, the token alone reaches FID 16.5 at 400K on SiT-B/2, far behind the 9.3 of GC-REPA and the 24.4 of REPA alone. Table 2 reports published baseline numbers, so these are not controlled reruns under one setting.

At 400K iterations GC-REPA has the best FID, sFID, IS and precision at all three sizes, the exception being REPA-E's lower sFID at SiT-XL/2. GC-REPA's recall is 0.01 to 0.05 lower than the baselines' recall. Figure 5 shows SiT-XL/2 samples with GC-REPA after 400K iterations.

## Guidance and text-to-image generation

At 1M iterations, REED reaches 1.80 and SARA 1.82 in the published comparison. With REPA's own guidance setting, one scale of 1.8 for t≤0.7, GC-REPA reaches 1.80.

Under the guidance setting in Table 5, REPA reaches 1.98 at 400K iterations as re-run by iREPA, and 1.96 at 1M iterations. For text-to-image, MMDiT trained from scratch on MS-COCO for 150K iterations with a 50-step ODE sampler reaches FID 4.46 with GC-REPA.

## Other encoders and the denoising loss

With DINOv2-L, each with its own token prior, GC-REPA lowers SiT-B/2 FID at 400K from 21.88 to 13.04 against REPA alone, and with CLIP-L from 23.54 to 16.03. sFID, IS and precision also improve with both encoders.

With the token, REPA lowers the denoising loss more than without it: by 0.0041 against 0.0017 at SiT-B/2, and by 0.0080 against 0.0065 at SiT-L/2.

## Cost of the token prior

On one GPU, SiT-B/2 with REPA trains at 2.79 iterations per second and with GC-REPA at 2.78, and samples at 5.79 images per second against 5.76. Sampling with the prior is at most 0.5% slower.

A prior ten times smaller, with 9.2M parameters, still gives 16.15 FID for SiT-B/2 with GC-REPA at 400K, against 24.4 for REPA. The 96M prior reaches 9.32, and a 192M prior gives 9.30, so the gain saturates at the default size.

## Where the recall cost comes from

GC-REPA's recall is 0.62 for SiT-B/2 against 0.65 for REPA. With real image tokens, the same diffusion transformer reaches recall 0.67, above REPA's 0.65, so the transformer itself does not lower recall. With the token prior's tokens the recall is 0.62, against 0.67 with real tokens, so the prior accounts for the drop.

The authors attribute this to prior tokens varying less within a class: their mean cosine to the class mean token is 0.718, against 0.674 for real image tokens. With the class-mean token alone, recall falls to 0.16.

With held-out validation tokens, FID is 11.66 against 10.20 for training tokens, and recall is 0.64 against 0.67.

## Where GC-REPA sits among related methods

iREPA removes global components from REPA's target, whereas GC-REPA keeps the image-level part in the target and also supplies it as a condition. RCG samples a condition from a learned prior, and GC-REPA samples a clean token the same way while pairing it with REPA's alignment target.

GC-REPA's token stays clean and does not have to be generated jointly.

## Limitations

The rule was tested with one kind of condition, a patch-average token, and with the REPA loss; other conditions and alignment losses are left for later work. GC-REPA needs a separate token prior at sampling, and that prior slightly lowers recall.

The baseline numbers in Table 2 and Table 3 are taken from the cited papers rather than rerun under one setting.

## Paper info

- **Authors**: Chaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang, Zheju Zheng, Yankai Cao
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-22
- **Added**: 2026-11-24
- **Updated**: 2026-11-22
- **Version**: v1
- **arXiv**: 2611.29138
- **Category**: cs.CV
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.29138v1) · [PDF ↗](https://arxiv.org/pdf/2611.29138v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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).

## Quote from the paper

Chaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang, Zheju Zheng, Yankai Cao (2026). Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers. arXiv:2611.29138v1. https://arxiv.org/abs/2611.29138v1

**BibTeX**

```
@misc{ji2026supply,
  title = {{Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers}},
  author = {Chaojie Ji and Sergio Quiroga-Sandoval and Ruxin Wang and Zheju Zheng and Yankai Cao},
  year = {2026},
  eprint = {2611.29138},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29138v1}
}
```

## Related papers

- [GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models](https://refivu.com/en/papers/85a30c3b-b6e0-4eaf-8fb4-fe6a473a1c05-glide-towards-photorealistic-image-generation-and-editing.md)
- [Cascade R-CNN: High Quality Object Detection and Instance Segmentation](https://refivu.com/en/papers/484c94a6-ca7a-4e4d-a933-9ea5ec919a68-cascade-r-cnn-high-quality-object-detection-and.md)
- [DINOv2: Learning Robust Visual Features without Supervision](https://refivu.com/en/papers/7e38faf5-df28-456e-b030-fb3b41cff096-dinov2-learning-robust-visual-features-without-supervision.md)
- [GGDriver: Glance at What Is Shared, Gaze at What Differs for Perception-Free Planning](https://refivu.com/en/papers/a75669d0-77fa-417d-a062-ed0440a2d1f6-ggdriver-glance-at-what-is-shared-gaze-at.md)
- [Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding](https://refivu.com/en/papers/eaa0c3ba-e0e4-4517-8ef7-d6ec6ba261b6-photorealistic-text-to-image-diffusion-models-with-deep.md)
- [Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets](https://refivu.com/en/papers/82291bd9-5c41-4b81-bfde-a025a948f4b9-stable-video-diffusion-scaling-latent-video-diffusion-models.md)

## Other paper commentary

- [ClothCast: Generative Cloth World Modeling under Partial Observability](https://refivu.com/en/papers/076c3607-2c3b-4953-9f6d-a9ba2eda860d-clothcast-generative-cloth-world-modeling-under-partial.md)
- [Demystifying Classifier-Free Guidance for Auto-Regressive Image Generation](https://refivu.com/en/papers/6287a67b-6c39-4e7c-895c-4860610f0055-demystifying-classifier-free-guidance-for-auto-regressive.md)
- [Taking Apart and Putting Together: Tracking Objects Through Physical Transformations](https://refivu.com/en/papers/3ba4843e-15fd-408e-a5ee-f200916294f0-taking-apart-and-putting-together-tracking-objects-through.md)
- [Portable Active Recovery under Timed and Position-Dependent Visual Outages](https://refivu.com/en/papers/5a165dc9-cd43-4fe6-b754-3f469661e4b2-portable-active-recovery-under-timed-and-position-dependent.md)
- [EchoAlign: Echocardiography foundation model with multilevel report alignment](https://refivu.com/en/papers/eb79d777-02f7-419b-b2f3-354bb59e9f8e-echoalign-echocardiography-foundation-model-with-multilevel.md)
- [Reject and Report: Forgery-Evident Undetectable Watermarks for Generative Image Models](https://refivu.com/en/papers/fda73fc0-8e34-4feb-908f-a96954d340bd-reject-and-report-forgery-evident-undetectable-watermarks.md)
- [SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence](https://refivu.com/en/papers/86fce25e-e423-4579-8a54-9d29731bae56-sae-audit-clinical-trial-prediction-via-inference-time.md)
- [Consumer-Time Validity in Stateful AI Runtimes: Verifying Recovered State and Deferred Authority](https://refivu.com/en/papers/10891027-e917-4c00-9951-e0a1b39afa4e-consumer-time-validity-in-stateful-ai-runtimes-verifying.md)
- [Single-Transformer Latent Diffusion](https://refivu.com/en/papers/59e9ca2d-5bae-4c22-8f79-65dd9e241471-single-transformer-latent-diffusion.md)
- [On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning](https://refivu.com/en/papers/f8ab0d56-c0f6-43ce-a3d3-d08d017b18f7-on-adaptive-step-sizes-for-eligibility-traces-in.md)
- [When Can a Rewiring Control Test LLM Weight Readers? C2 and an Eligibility Protocol](https://refivu.com/en/papers/ca62c1dd-9cda-4db6-95ba-f9a745d44a5a-when-can-a-rewiring-control-test-llm-weight.md)
- [Is the learner or the summary the limit? Auditing machine-learning energy reconstruction for air-shower arrays on KASCADE and GRAPES-3](https://refivu.com/en/papers/a294ff7f-d5bb-421a-90ae-3859d70da407-is-the-learner-or-the-summary-the-limit.md)

## Terms in this paper

- [ImageNet](https://refivu.com/en/terms/5eadad128667-imagenet)
- [FID](https://refivu.com/en/terms/e110afe65f86-fid)
- [inception score](https://refivu.com/en/terms/25dbfbd4fd96-inception-score)
- [MS-COCO](https://refivu.com/en/terms/3c7d75a4a2eb-ms-coco)
- [DINOv2](https://refivu.com/en/terms/15de7b44cbeb-dinov2)
- [attention](https://refivu.com/en/terms/99bae6e0dde0-attention)
- [LayerNorm](https://refivu.com/en/terms/71749b6cdbf4-layernorm)
- [linear probe](https://refivu.com/en/terms/ac513e2ee27c-linear-probe)
- [Token](https://refivu.com/en/terms/130ef85207eb-token)
- [REPA](https://refivu.com/en/terms/4893ece9ac4e-repa)
- [sFID](https://refivu.com/en/terms/c6cf2b81f210-sfid)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/82f7832c-887e-4a1b-a76c-ce9459d3452d-supply-the-global-supervise-the-local-combining)
