Manuscript Offprint
arXiv:2611.02941RouteREPA: Routed Representation Alignment for Just Image Transformers
ABSTRACT
Representation alignment (REPA) is widely used to accelerate the training of latent-space diffusion transformers (DiTs). However, applying it to pixel-space models such as Just Image Transformers (JiT) is challenging. Our analysis reveals a pronounced representation conflict between discriminative alignment and pixel-space generation. Compared with its latent counterpart, JiT learns representations that are substantially less aligned with DINov2. Applying REPA to JiT consistently reduces the reconstructability of its intermediate representations, whereas this effect is not observed in Latent JiT. We attribute this conflict to JiT directly reconstructing pixels, which requires its representations to hierarchically encode discriminative semantics and reconstruction-relevant visual information across network depths. To address these challenges, we propose Routed Representation Alignment (RouteREPA), which uses lightweight, representation-dependent routers to adaptively route task-oriented representations for alignment and generation. We further apply routing across multiple network depths to accommodate their depth-dependent representation requirements. Extensive experiments on ImageNet-1K at 256×256 resolution show that RouteREPA consistently improves JiT across model scales and training budgets, outperforming standard REPA. On JiT-H/16, RouteREPA further surpasses PixelREPA using only one-third of its training epochs without classifier-free guidance.

(b) Training epochs vs. FID-50K
Figure 1: Overview of RouteREPA. (a) Architecture of RouteREPA. Task-specific channel-wise routers direct intermediate JiT representations to the generation and representation alignment branches according to their representation preference. (b) FID-50K during ImageNet-1K training at 256 × 256 resolution without CFG. RouteREPA requires fewer than 100 and 200 training epochs to match JiT-H/16 and PixelREPA-H/16 trained for 600 epochs, respectively.
1 INTRODUCTION
Latent-space diffusion transformers (DiTs), which perform denoising in the compact latent representations produced by pretrained variational autoencoders (VAEs) (Rombach et al., 2022; Peebles
✉Corresponding author.

(a) Alignment to DINOv2
(b) JiT reconstruction
(c) Latent JiT reconstruction
Figure 2: Pixel-space generation of JiT introduces a pronounced representation conflict: (a) JiT aligns less closely with DINOv2 than Latent JiT. (b) REPA lowers the reconstruction capability of JiT intermediate representations. (c) In contrast, no such degradation is observed in Latent JiT.
& Xie, 2023; Ma et al., 2024) or pretrained visual encoder (Zheng et al., 2026; Singh et al., 2026b), have become a dominant paradigm for efficient image generation. To further improve training efficiency, Representation Alignment (REPA) (Yu et al., 2025) introduces an auxiliary objective that aligns intermediate representations of the latent-space DiTs with features from DINOv2, providing semantic supervision that accelerates convergence.
More recently, pixel-space DiTs such as Just Image Transformers (JiT) (Li & He, 2025) have attracted increasing attention as they remove the need for a pretrained image encoder. Removing the encoder simplifies the generative pipeline and eliminates the reconstruction bottleneck of latent representations, offering potential advantages for scaling. Inspired by the success of REPA in latent-space DiTs, a natural question is whether representation alignment can further improve pixel-space generation with JiT?
Although representation alignment encourages DiTs to learn discriminative visual features, it may conflict with reconstruction-relevant information for image generation. This challenge is particularly pronounced in pixel-space DiTs: Latent-space DiTs operate on pretrained representations, where the encoder already captures perceptually meaningful structures, including semantic information useful for alignment. Therefore, REPA provides complementary supervision rather than requiring the model to learn these features from scratch. In contrast, JiT directly models RGB images and must learn both discriminative and generation-related features from raw pixels. Applying representation alignment may force JiT to allocate additional capacity toward recognition-oriented features that are not directly required for pixel reconstruction, reducing the effectiveness of standard REPA.
To better understand the pronounced representation conflict in JiTs, we conduct two analyses: (1) JiT representations are less suited for direct alignment than latent diffusion model. We first compare the learned representations of pixel-space JiT and a VAE-latent counterpart built with the same Transformer architecture and training recipe. The two models are trained to comparable class-conditional generation quality on ImageNet-256 (FID ≈31). Following REPA, we use CKNNA to measure alignment with DINOv2. As shown in Fig. 2(a), JiT exhibits substantially lower CKNNA than its latent counterpart. This suggests that JiT representations differ substantially from those of the discriminative teacher. (2) Representation alignment suppresses reconstruction-relevant information in JiT representations. We further compare the effect of directly applying REPA to JiT and Latent JiT. Specifically, we examine the changes in their reconstruction performance before and after applying REPA using decoder heads trained on frozen representations. As shown in Fig. 2(b, c), JiT representations trained with REPA become consistently harder to decode back into pixel images, indicating reduced reconstruction capability of the aligned intermediate representations. ¹ In contrast, no comparable degradation in reconstruction capability is observed for Latent JiT.
Motivated by the analyses above, we propose Routed Representation Alignment (RouteREPA) for JiTs. Its core idea is to route intermediate JiT features into two task-oriented representations for pixel-space generation and alignment with discriminative teacher features, thereby alleviating the
This does not imply that representation alignment degrades JiT's generation performance; rather, it indicates that pixel images become harder to reconstruct directly from the aligned intermediate representations.
severe representation conflict between the two objectives. We perform this modulation along the channel dimension, which allows feature responses to be adjusted without altering their spatial organization. Since the relationship between discriminative and reconstruction-relevant information in JiT representations varies across noise levels, training stages, and network depths, RouteREPA is designed to adapt to these changing requirements. Specifically, it uses lightweight, input-dependent routers to separately modulate the representations supplied to the alignment and generation branches, and applies them hierarchically at multiple intermediate layers. The routers are jointly optimized with the generator, enabling adaptive representation allocation for the two tasks.
Extensive experiments in Sec. 4 demonstrate the effectiveness of RouteREPA. With negligible additional parameters and training overhead, RouteREPA improves training efficiency and generation quality across JiT scales and training budgets. On JiT-H, RouteREPA achieves a lower unguided FID than PixelREPA (Shin et al., 2026) using only one-third of its training epochs.
Our contributions are summarized as follows:
-
We analyze the pronounced representation conflict in representation alignment on JiT: (1) JiT representations are less suited for direct alignment than latent diffusion model; and (2) Representation alignment suppresses reconstruction-relevant information in JiT representations.
-
We propose RouteREPA, which adaptively routes features for generation and alignment across multiple network depths to alleviate this pronounced representation conflict.
-
Across different model scales and training budgets, RouteREPA consistently improves JiT generation performance and outperforms both standard REPA and PixelREPA.
Representation alignment. Representation alignment (REPA) (Yu et al., 2025) and its extensions (Wu et al., 2025; Leng et al., 2025; Singh et al., 2026a) have emerged as effective strategies for accelerating latent DiT's training. REPA aligns projected intermediate features of a denoising network with clean-image representations from an external pretrained visual encoder (Caron et al., 2021; Oquab et al., 2023; Radford et al., 2021; Zhai et al., 2023; He et al., 2022). This supervision helps the generator learn useful representations more efficiently, improving both convergence speed and generation quality. However, the success of representation alignment in latent space does not automatically carry over to pixel-space generators.
3 METHOD
RouteREPA equips JiT with lightweight, channel-wise routers that modulate the intermediate representations used by the alignment and generation branches. We first summarize the generative formulation and alignment objective in Sec. 3.1, then present our framework in Sec. 3.2.
3.1 PRELIMINARIES
Flow and diffusion models. Diffusion and flow-based generation can be studied through continuous trajectories that connect data with noise (Ma et al., 2024; Lipman et al., 2023). For a sample and independently noise , their mixture at takes the form
. The schedules and specify the signal and noise amplitudes. A learned field drives the sampling ODE, , and is fitted to derivatives of sampled interpolation paths:
Here, and are schedule derivatives. Linear interpolation with and yields the target , with generation proceeding from noise at toward data at . Fixing instead leaves a noise-only derivative, , as in variance-exploding diffusion. For brevity, class conditioning is not shown.
Just Image Transformers. JiT (Li & He, 2025) performs generation directly in pixel space using a Transformer, without a pretrained autoencoder. Under the linear interpolation above, JiT predicts the clean RGB image rather than velocity, which is recovered as
Thus, the network outputs a clean-image estimate but optimized with the velocity loss in Eq. (1).
Representation alignment. REPA (Yu et al., 2025) uses clean-image features to guide intermediate denoising representations. With a frozen teacher and a trainable MLP , the regularizer is
Here, indexes image patches and denotes cosine similarity. The total objective is , with alignment weight .
3.2 ROUTED REPRESENTATION ALIGNMENT
Standard representation alignment applies the alignment objective to the same intermediate representation that is subsequently used for image generation. For JiT, this shared representation must both align with semantically compressed teacher representations and retain the reconstruction-relevant information required for direct pixel prediction, resulting in the representation conflict discussed in Sec. 1. To address this conflict, RouteREPA routes intermediate JiT representations into two task-oriented representations: one for alignment with the discriminative teacher and the other for subsequent image generation. The routing is learned along the channel dimension and conditioned on the current representation, without manually assigning particular channels to semantics or visual details. Figure 1(a) illustrates the resulting architecture.
Adaptive channel routing. Let denote the image patch representations after block , with patches and channels. We spatially average the representations as and define task-specific routers for generation and alignment:
where indexes the generation or alignment task, and are trainable, and denotes hadamard product and broadcasts over patch positions. The generation features are passed to the next block, while the alignment features are used to align with features from an external pretrained encoder. Our default design couples these task-specific routers through a shared parameterization: a single prediction is used as and , yielding complementary routing. The routers softly modulate channel responses rather than imposing a hard feature partition, so the two tasks can still share useful information. Within this general formulation, standard REPA corresponds to identity routing for both branches, such that generation and alignment consume the same unmodulated representation. Gradients from both objectives update the routing parameters jointly with the generator. This design enables JiT to adaptively route representations between generation and alignment, with routing decisions that evolve during training and respond to the timestep and characteristics of each sample.
Hierarchical routing. JiT learns the complete pixel-representation-pixel compression and reconstruction process across different noise levels during training. As representations evolve through the network, the conflict between alignment and generation likewise changes across depths. This motivates revisiting hierarchical representation routing at multiple locations instead of relying on a single alignment point. We therefore apply RouteREPA at a set of intermediate layers S. Each pair of generation and alignment routers responds to its current representations rather than imposing the same channel assignment throughout the network. The generation stream continues through the remaining blocks, while the selected alignment representations are summed across layers at corresponding patch positions and passed through a shared projector.
Training and inference. Using cosine similarity as in Eq. (3), the RouteREPA alignment loss is
The total training loss combines this alignment loss with the flow-matching loss:
RouteREPA hierarchically provides adaptive task-oriented representations for alignment and generation, helping to mitigate the representation conflict. At inference, the teacher, projector, and alignment branches are discarded, while the shared routing parameters continue to modulate the generation streams.
4 EXPERIMENTS
We present an extensive empirical evaluation of RouteREPA, examining its effectiveness, the contributions of different design choices, and the properties it introduces to JiT. In particular, we address five research questions:
RQ1: Does RouteREPA improve training efficiency and generation quality across JiT scales?
RQ2: How do different design choices affect the performance of RouteREPA?
RQ3: How does RouteREPA route representations?
RQ4: How computationally efficient is RouteREPA?
RQ5: Can RouteREPA generalize to latent-space diffusion models?
4.1 EXPERIMENTAL SETUP
Training configuration. Unless otherwise specified, we strictly follow the original JiT settings (Li & He, 2025). Specifically, we train on the ImageNet-1K training split (Deng et al., 2009; Russakovsky et al., 2015). Images are resized with their aspect ratios preserved, center-cropped to , and randomly flipped horizontally. The backbones are JiT-B/16, JiT-L/16, and JiT-H/16; each processes RGB inputs as patches. We retain the JiT optimization recipe for a fair comparison: AdamW updates use 1,024 images each, with a five-epoch warm-up to a learning rate of . DINov2-B (Oquab et al., 2023) supplies the frozen alignment targets. Appendix A provides additional experimental details.
Sampling. Following JiT's sampling settings, we use a 50-step Heun solver.
Compared methods. We use JiT and JiT trained with REPA (Yu et al., 2025) as controlled baselines, using the same backbone architectures and experimental protocols as RouteREPA. We further compare with advanced generative models in two categories. The latent-space group includes DiT (Peebles & Xie, 2023), SiT (Ma et al., 2024), and SiT trained with REPA or REG (Wu et al., 2025). The pixel-space group includes ADM-G (Dhariwal & Nichol, 2021), VDM++ (Kingma & Gao, 2023), PixelFlow (Chen et al., 2025), PixNerd (Wang et al., 2026), DiP (Chen et al., 2026), DeCo (Ma et al., 2026), PixelDiT (Yu et al., 2026), and PixelREPA (Shin et al., 2026).
Additional experimental settings are provided in Appendix A.
4.2 THE EFFECTIVENESS OF ROUTEREP (RQ1)
To assess the significance of RouteREPA across model scales, we first conduct comparisons on three backbone sizes: JiT-B/16, JiT-L/16, and JiT-H/16. We use vanilla JiT, JiT with REPA, and JiT with
Table 1: FID comparison without CFG. RouteREPA consistently improves JiT across different model scales and training budgets, matching or outperforming REPA and PixelREPA with only one-third of the training epochs.
| Method | Params | Ep. | FID ↓ |
|---|---|---|---|
| JiT-B/16 | |||
| JiT | 131M | 100 | 42.0 |
| + REPA | 131M | 100 | 35.1 |
| + PixelREPA | 131M | 100 | 34.4 |
| + RouteREPA | 132M | 100 | 30.4 |
| JiT | 131M | 200 | 32.2 |
| + REPA | 131M | 200 | 27.5 |
| + PixelREPA | 131M | 200 | 27.6 |
| + RouteREPA | 132M | 200 | 22.2 |
| JiT | 131M | 600 | 25.5 |
| + PixelREPA | 131M | 600 | 22.1 |
| + RouteREPA | 132M | 200 | 22.2 |
| JiT-L/16 | |||
| JiT | 459M | 100 | 21.8 |
| + REPA | 459M | 100 | 16.0 |
| + PixelREPA | 459M | 100 | 17.1 |
| + RouteREPA | 461M | 100 | 14.0 |
| JiT | 459M | 200 | 16.1 |
| + REPA | 459M | 200 | 12.8 |
| + PixelREPA | 459M | 200 | 12.9 |
| + RouteREPA | 461M | 200 | 10.6 |
| JiT | 459M | 600 | 13.8 |
| + PixelREPA | 459M | 600 | 11.0 |
| + RouteREPA | 461M | 200 | 10.6 |
| JiT-H/16 | |||
| JiT | 953M | 600 | 7.20 |
| + REPA | 953M | 200 | 6.68 |
| + PixelREPA | 953M | 600 | 5.52 |
| + RouteREPA | 956M | 100 | 6.58 |
| + RouteREPA | 956M | 200 | 4.96 |
Table 2: FID and IS comparison with SoTA methods under CFG. Bold marks the best JiT-based result. RouteREPA improves JiT performance, achieving the best FID among methods using JiT as the backbone while remaining competitive with methods that employ specially designed decoupled semantic backbones.
| Method | Ep. | FID ↓ | IS ↑ |
|---|---|---|---|
| Latent diffusion | |||
| DiT-XL/2 | 1400 | 2.27 | 278.2 |
| SiT-XL/2 | 1400 | 2.06 | 277.5 |
| + REPA | 800 | 1.42 | 305.7 |
| + REG | 480 | 1.40 | 296.9 |
| Pixel diffusion | |||
| ADM-G | 400 | 4.59 | 186.7 |
| CDM | 2160 | 4.88 | 158.7 |
| RIN | 480 | 3.42 | 182.0 |
| VDM++ | 560 | 2.12 | 267.7 |
| RDM | 400 | 1.99 | 260.4 |
| EPG-XXL/16 | 800 | 1.87 | 287.6 |
| PixelFlow-XL/4 | 320 | 1.98 | 282.1 |
| PixNerd-XL/16 | 320 | 1.93 | 298.0 |
| Transformer with decoupled semantic backbones | |||
| DiP-XL/16 | 600 | 1.79 | 281.9 |
| DeCo-XL/16 | 600 | 1.69 | 304.0 |
| PixelDiT | 320 | 1.61 | 292.7 |
| Transformer only | |||
| JiT-H/16 | 600 | 1.86 | 303.4 |
| + PixelREPA | 600 | 1.81 | 317.2 |
| + RouteREPA | 400 | 1.72 | 316.2 |
PixelREPA as baselines and compare their FID without classifier-free guidance (CFG) (Ho & Salimans, 2022). As shown in Table 1, RouteREPA substantially lowers the FID of JiT across model sizes and training budgets. Compared with standard REPA and PixelREPA, which is specifically designed for JiT, RouteREPA achieves the lowest FID across model sizes and training stages. Notably, on JiT-B, the FID of RouteREPA at 200 epochs nearly matches that of PixelREPA at 600 epochs (22.2 vs. 22.1). On JiT-H, RouteREPA at 200 epochs already achieves a lower FID than PixelREPA at 600 epochs (4.96 vs. 5.52).
Finally, we compare RouteREPA against a broader set of methods, including PixelREPA using the same JiT-H backbone; latent diffusion methods based on DiT and SiT; pixel diffusion models including ADM-G, CDM, RIN, VDM++, RDM, EPG-XXL/16, PixelFlow-XL/4, and PixNerd-XL/16; and pixel diffusion Transformers with decoupled semantic backbones (first proposed in DDT (Wang et al., 2025)), including DiP, DeCo, and PixelDiT. As shown in Table 2, RouteREPA significantly improves JiT and achieves the lowest FID among methods using the JiT architecture (1.72), together with a high IS of 316.2. Compared with methods that substantially modify the diffusion Transformer backbone by introducing a separate low-resolution branch for semantic modeling, RouteREPA achieves the highest IS, outperforms DiP and remains competitive with DeCo and PixelDiT in FID.
4.3 ABLATION STUDIES (RQ2)
We examine three design choices in RouteREPA: the routing strategy, routing configuration, and routing locations. Table 3 reports the JiT-B/16 ablations at 200 epochs with class condition.

Figure 3: Images generated by JiT-H/16 + RouteREPA. Additional samples appear in Appendix D.
We first compare standard representation alignment, a learnable orthogonal decomposition, and RouteREPA's shared complementary routing at layer 4. All three improve upon vanilla JiT. Relative to standard REPA, orthogonal decomposition yields only a marginal FID improvement (27.5 to 27.4) while reducing IS (58.4 to 57.9). In contrast, RouteREPA lowers FID to 24.2 and raises IS to 63.4. This suggests that generation and representation alignment favor different features while still benefiting from shared representations.
We next compare generation-only routing, alignment-only routing, two routers with independent parameters, and our shared-parameter design. As shown in Table 3, routing only one branch provides no improvement or only a marginal improvement over standard REPA. Independent routers provide a clear gain, while sharing the router parameters with complementary generation and alignment weights performs best.
Finally, we compare routing at layer 4, the standard REPA baseline depth, with routing at the deeper layer 6, as well as their combination. This is motivated by JiT having to model the full hierarchy from pixel-level appearance to high-level semantics within a single backbone, making useful alignment signals span multiple depths. At 200 epochs, layer 6 gives modestly better FID and IS than layer 4 for both standard REPA and RouteREPA. Applying RouteREPA with shared routing at both layers gives its best result, with an FID of 22.2 and an IS of 67.0, validating our hypothesis above. We further investigate whether hierarchical alignment is also beneficial for standard REPA. Applying REPA at both layers 4 and 6 uses the same alignment configuration as RouteREPA and is equivalent to removing the routers from the latter. As shown in Table 3, standard REPA at layers 4 and 6 does not outperform its best single-layer variant, whereas RouteREPA at the same two layers outperforms both single-layer variants. This result shows that adaptive routing of task-oriented representations unlocks the potential of hierarchical representation alignment, which standard REPA fails.
4.4 ANALYSIS OF LEARNED ROUTING (RQ3)
Does RouteREPA mitigate representation conflict? Following REPA (Yu et al., 2025), we use CKNNA to quantify the alignment between intermediate JiT features and clean-image DINOv2 representations. CKNNA measures the agreement between the local neighborhood structures of two representation spaces, where a higher value indicates stronger representation alignment. As shown in Fig. 4(a), the alignment-routed representation achieves comparable alignment to standard REPA at the high-noise timestep (), and increasingly outperforms REPA as the noise level decreases. The generation-routed representation, in contrast, remains substantially less aligned with DINOv2.
Table 3: Ablations of RouteREPA on JiT-B/16. We compare different routing strategies, routing configurations, and routing locations. The compared design choices are highlighted in blue, and the best result within each comparison is shown in bold.
| Method | Routing Strategy | Routing config. | Layers | Params | FID ↓ | IS ↑ |
|---|---|---|---|---|---|---|
| JiT-B/16 | - | - | - | 131M | 32.2 | 50.1 |
| + REPA | - | - | 4 | 131M | 27.5 | 58.4 |
| + REPA | Orthogonal | - | 4 | 131M | 27.4 | 57.9 |
| + RouteREPA | Gated | Shared | 4 | 132M | 24.2 | 63.4 |
| + RouteREPA | Gated | Gen. only | 4 | 132M | 27.3 | 58.6 |
| + RouteREPA | Gated | Align. only | 4 | 131M | 28.0 | 56.5 |
| + RouteREPA | Gated | Independent | 4 | 132M | 26.7 | 59.0 |
| + RouteREPA | Gated | Shared | 4 | 132M | 24.2 | 63.4 |
| + RouteREPA | Gated | Shared | 4 | 132M | 24.2 | 63.4 |
| + RouteREPA | Gated | Shared | 6 | 132M | 23.4 | 65.1 |
| + RouteREPA | Gated | Shared | 4 + 6 | 132M | 22.2 | 67.0 |
| + REPA | - | - | 4 | 131M | 27.5 | 58.4 |
| + REPA | - | - | 6 | 131M | 26.7 | 59.4 |
| + REPA | - | - | 4 + 6 | 131M | 27.0 | 58.7 |
| + RouteREPA | Gated | Shared | 4 + 6 | 132M | 22.2 | 67.0 |
Under identical decoding probes, Fig. 4(b,c) shows that the generation route also yields lower MSE and LPIPS than the alignment representations and achieves slightly better reconstruction than the raw representations at every evaluated timestep. This indicates that RouteREPA uses the alignment and generation routers to select representations suited to their respective objectives, rather than enforcing strong alignment directly on the entire representation intended for generation. Meanwhile, the system-level results in Tables 1 and 2 show that RouteREPA also achieves substantially better end-to-end generation performance than JiT and REPA. Together, these results demonstrate that the learned routing effectively allocates representations according to the distinct needs of representation alignment and image generation. Qualitative representation-to-pixel reconstructions are provided in Appendix C.1.

(a) CKNNA comparison
(b) Reconstruction MSE
(c) Reconstruction LPIPS
Figure 4: Analysis of generation and alignment representations. (a) Alignment-routed representations align with DINov2 even better than REPA. (b, c) Generation-routed representations better preserve decodable information for image structure and local appearance, while such reconstruction-related information is suppressed in alignment-routed representations.
How Does Routing Evolve? We next examine how representation routing evolves across training stages, network depths, and flow timesteps. Figure 5 shows that the learned routers progressively favor the generation branch at later training stages across timesteps at both layers. At earlier stages, routers at layers 4 and 6 both assign relatively larger routing weights to the alignment branch in the highly noisy and ambiguous timestep region. This timestep-dependent variation becomes less pronounced as training proceeds, while the overall routing preference shifts toward generation. The routers at two layers also exhibit distinct channel-allocation patterns: the router at layer 4 increasingly concentrates alignment on a relatively small subset of channels, whereas the router at layer 6 maintains broader alignment participation. Together, these observations show that the learned channel-allocation preferences vary with training progress, network depth, and flow timestep.

(a) routing distribution (L4)
(b) routing vs. timestep (L4)
(c) routing distribution (L6)
(d) routing vs. timestep (L6)
Figure 5: Learned routing dynamics at layers 4 and 6. Blue denotes routing for generation and green for alignment; darker shades indicate later epochs. Channels are sorted by routing weight.
4.5 COMPUTATIONAL EFFICIENCY (RQ4)
Table 4 compares the computational cost of REPA and RouteREPA on JiT-H/16. RouteREPA adds only 0.3% parameters and less than 0.1% analytical computation, while all measured overheads remain below 2%. Full results and the measurement protocol are provided in Appendix B.
Table 4: Computational cost on JiT-H/16. RouteREPA adds negligible computational overhead compared with REPA.
| Method | Params (M) | Train GFLOPs | Infer. GFLOPs | Peak mem. (GiB) | Train step (ms) | Infer. forward (ms) |
|---|---|---|---|---|---|---|
| REPA | 953 | 1,146 | 364 | 113 | 583 | 48.6 |
| RouteREPA | 956 (+0.3%) | 1,146 (< 0.1%) | 364 (< 0.1%) | 114 (+0.8%) | 592 (+1.6%) | 49.5 (+1.7%) |
4.6 ROUTEREPA IN LATENT-SPACE ALIGNMENT (RQ5)
We further examine whether representation routing generalizes beyond pixel-space JiT by applying RouteREPA to the latent-space diffusion Transformer SiT-B/2. All variants are trained for 400K iterations under the same official SiT training setting. As shown in Table 5, RouteREPA substantially improves the vanilla SiT baseline, reducing FID from 33.0 to 21.85. It also consistently improves upon standard REPA, reducing FID from 24.40 to 21.85 while increasing IS from 59.90 to 67.04. These results demonstrate that the benefit of task-specific representation routing extends to latent-space diffusion models.
Table 5: RouteREPA improves SiT-B/2 at 400k iterations (CFG 1).
| Method | FID ↓ | IS ↑ |
|---|---|---|
| SiT-B/2 | 33.00 | — |
| + REPA | 24.40 | 59.90 |
| + RouteREPA | 21.85 | 67.04 |
5 CONCLUSION
In this paper, we introduced RouteREPA, a simple and efficient framework for representation alignment in Just Image Transformers. Our analysis reveals a pronounced representation conflict between discriminative alignment and pixel-space generation: JiT representations are naturally less aligned with discriminative teachers, while directly enforcing alignment can suppress reconstruction-relevant information. To mitigate this conflict, RouteREPA learns lightweight, task-specific routing that adaptively allocates intermediate representations to alignment and generation across network depths. Extensive experiments show that RouteREPA consistently improves generation quality and training efficiency across JiT scales, while our analyses further demonstrate meaningful representation specialization and adaptive routing behavior across training stages, noise levels, and network depths.
Limitation. Our current study remains empirical, and the task-dependent routing of intermediate representations still lacks a theoretical understanding. In addition, due to computational constraints, we have not yet evaluated RouteREPA on substantially larger model scales or more challenging text-to-image generation tasks. We regard these limitations as important directions for future work and plan to further investigate both the theoretical foundations of representation routing and its scalability to larger and more complex generative settings.
REFERENCES
Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 9650–9660, 2021.
Shoufa Chen, Chongjian Ge, Shilong Zhang, Peize Sun, and Ping Luo. PixelFlow: Pixel-space generative models with flow. arXiv preprint arXiv:2504.07963, 2025.
Zhennan Chen, Junwei Zhu, Xu Chen, Jiangning Zhang, Xiaobin Hu, Hanzhen Zhao, Chengjie Wang, Jian Yang, and Ying Tai. DiP: Taming diffusion models in pixel space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 36136–36146, 2026.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 248–255, 2009.
Prafulla Dhariwal and Alexander Nichol. Diffusion models beat GANs on image synthesis. In Advances in Neural Information Processing Systems, volume 34, 2021.
Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16000–16009, 2022.
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 Advances in Neural Information Processing Systems, volume 30, 2017.
Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
Jonathan Ho, Ajay N. Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, volume 33, pp. 6840–6851, 2020.
Diederik P. Kingma and Ruiqi Gao. Understanding diffusion objectives as the ELBO with simple data augmentation. In Advances in Neural Information Processing Systems, volume 36, 2023.
Xingjian Leng, Jaskirat Singh, Yunzhong Hou, Zhenchang Xing, Saining Xie, and Liang Zheng. REPA-E: Unlocking VAE for end-to-end tuning of latent diffusion transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 18262–18272, 2025.
Tianhong Li and Kaiming He. Back to basics: Let denoising generative models denoise. arXiv preprint arXiv:2511.13720, 2025.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023.
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 European Conference on Computer Vision, 2024.
Zehong Ma, Longhui Wei, Shuai Wang, Shiliang Zhang, and Qi Tian. DeCo: Frequency-decoupled pixel diffusion for end-to-end image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 43600–43610, 2026.
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. arXiv preprint arXiv:2304.07193, 2023.
William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4195–4205, 2023.
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 Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 8748–8763. PMLR, 2021.
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 10684–10695, 2022.
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet large scale visual recognition challenge. International Journal of Computer Vision, 115 (3):211–252, 2015.
Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training GANs. In Advances in Neural Information Processing Systems, volume 29, 2016.
Jaeyo Shin, Jiwook Kim, and Hyunjung Shim. Representation alignment for just image transformers is not easier than you think. arXiv preprint arXiv:2603.14366, 2026.
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 International Conference on Learning Representations, 2026a.
Jaskirat Singh, Boyang Zheng, Zongze Wu, Richard Zhang, Eli Shechtman, and Saining Xie. Improved baselines with representation autoencoders. arXiv preprint arXiv:2605.18324, 2026b.
Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In International Conference on Learning Representations, 2021.
Shuai Wang, Zhi Tian, Weilin Huang, and Limin Wang. DDT: Decoupled diffusion transformer. arXiv preprint arXiv:2504.05741, 2025.
Shuai Wang, Ziteng Gao, Chenhui Zhu, Weilin Huang, and Limin Wang. PixNerd: Pixel neural field diffusion. In International Conference on Learning Representations, 2026.
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 Advances in Neural Information Processing Systems, volume 38, 2025.
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 International Conference on Learning Representations, 2025.
Yongsheng Yu, Wei Xiong, Weili Nie, Yichen Sheng, Shiqiu Liu, and Jiebo Luo. PixelDiT: Pixel diffusion transformers for image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 14273–14282, 2026.
Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 11975–11986, 2023.
Boyang Zheng, Nanye Ma, Shengbang Tong, and Saining Xie. Diffusion transformers with representation autoencoders. In International Conference on Learning Representations, volume 2026, pp. 35791–35820, 2026.
A ADDITIONAL EXPERIMENTAL SETTINGS
This appendix provides the architecture, optimization, alignment, and evaluation settings used in our experiments. Unless stated otherwise, all configurations follow the JiT recipe (Li & He, 2025); the settings specific to representation alignment and routing are summarized separately below.
A.1 ARCHITECTURE, TRAINING AND EVALUATION CONFIGURATIONS
Table 6: Architecture, training, sampling, and alignment configurations. The JiT settings follow the public recipe (Li & He, 2025); the final block lists the RouteREPA and standard REPA configurations.
| Setting | JiT-B | JiT-L | JiT-H |
|---|---|---|---|
| Architecture | |||
| Depth | 12 | 24 | 32 |
| Hidden dimension | 768 | 1,024 | 1,280 |
| Attention heads | 12 | 16 | 16 |
| Image size | 256 × 256 | ||
| Patch size | 16 × 16 | ||
| Patch bottleneck | 128 | 128 | 256 |
| Dropout | 0 | 0 | 0.2 |
| In-context class tokens | 32 | ||
| In-context start block | 4 | 8 | 10 |
| Training | |||
| Warm-up epochs | 5 | ||
| Optimizer | AdamW, () = (0.9, 0.95) | ||
| Global batch size | 1,024 | ||
| Learning rate | |||
| Learning-rate schedule | constant after warm-up | ||
| Weight decay | 0 | ||
| EMA decay | {0.9996, 0.9999} | ||
| Time sampler | logit(t) ~ | ||
| Noise scale | 1.0 | ||
| Clip of (1 − t) | 0.05 | ||
| Class-token drop | 0.1 | ||
| Sampling | |||
| ODE solver | Heun | ||
| ODE steps | 50 | ||
| Time steps | linear in [0, 1] | ||
| CFG interval | [0.1, 1.0] when used | ||
| Representation alignment | |||
| RouteREPA | |||
| Alignment layers | 4 + 6 | 8 + 12 | 10 + 16 |
| Frozen teacher | DINov2-B | ||
| Alignment coefficient | 0.05 | ||
| Projector | shared 3-layer MLP, hidden width 2C | ||
| Standard REPA | |||
| Alignment layer | 4 | 8 | 10 |
| Frozen teacher | DINov2-B | ||
| Alignment coefficient | 0.05 | ||
| Projector | shared 3-layer MLP, hidden width 2C | ||
Alignment coefficient. We use an alignment coefficient of 0.05 for both standard REPA and RouteREPA. Empirically, the JiT generation loss is approximately one order of magnitude smaller than the SiT generation loss under the standard REPA setup. To keep the generation and alignment objectives on comparable scales, we therefore reduce the standard REPA coefficient of 0.5 used for SiT (Yu et al., 2025) by the same factor of ten, yielding 0.05 for JiT.
Image preprocessing. We exactly follow JiT's preprocessing: images are downsampled, center-cropped to , randomly horizontally flipped, and mapped to .
Metrics. We assess generation quality using 50,000 generated images, reporting Fréchet Inception Distance (FID) (Heusel et al., 2017) and Inception Score (IS) (Salimans et al., 2016) following the settings of JiT (Li & He, 2025). For our evaluations, FID and IS use torch-fidelity toolkit. We also report parameter counts (Params, in millions), including the generator and any VAE decoder used at inference, but excluding training-only alignment modules.
Optimization. We use AdamW with and zero weight decay, which is equivalent to Adam under this setting. The global batch contains 1,024 images. The learning rate increases linearly over the first five epochs to and remains constant thereafter. Following JiT, the flow timestep is sampled from a logit-normal distribution with and .
Performance of compared methods. For comparisons with other state-of-the-art methods in Table 2, we directly adopt the results reported in their original papers. For the unguided comparisons with JiT and JiT+PixelREPA in Table 1, we evaluate the official 600-epoch checkpoints of JiT-B/L/H and JiT-B/L/H+PixelREPA using exactly the same evaluation pipeline as RouteREPA. For the corresponding 100- and 200-epoch results, we reproduce these models using their official code and evaluate them under the same protocol. For JiT+REPA, we use the same training protocol as RouteREPA, train the models for 200 epochs, and compare them with RouteREPA under an identical training epochs.
A.2 ORTHOGONAL-DECOMPOSITION BASELINE
The orthogonal baseline in Table 3 replaces channel-wise gating with a learnable rank- subspace at layer 4 of JiT-B/16, where . Let be a trainable matrix. At every forward pass, we compute a reduced QR decomposition and use its orthonormal factor , such that . For patch features , the alignment coordinates, their reconstruction in the original channel space, and the complementary generation features are
The alignment projector receives the -dimensional coordinates , while the subsequent JiT blocks receive . The basis is initialized orthogonally and optimized jointly by the generation and alignment objectives. This construction enforces an exact orthogonal split, in contrast to RouteREPA's soft, overlapping channel reweighting.
B COMPUTATIONAL OVERHEAD
We compare the computational cost of REPA and RouteREPA across the JiT-B, JiT-L, and JiT-H backbones in Table 7.
All measurements use the same node with four NVIDIA H200 GPUs and PyTorch 2.10.0+cu128. Training uses four-rank distributed data parallelism, a batch size of 128 per GPU (512 in total), BF16 autocast, and FP32 parameters and AdamW states. Each timed training step includes the teacher forward pass, model forward and backward passes, distributed gradient synchronization, the optimizer update, and two EMA updates. Inference uses a batch size of 32 per GPU and measures one network forward pass. We use three warm-up iterations followed by eight measured training steps or 20 measured inference forwards. Peak memory is the maximum allocated memory on one GPU, FLOPs are analytical estimates, and latency and memory are measured values. Across all three model scales, RouteREPA adds only 0.3–0.9% inference-time parameters, less than 0.1% analytical computation, and at most 2.0% peak training memory. The measured training-step overhead ranges from 1.6% to 4.8%, while single-forward inference overhead ranges from 1.7% to 7.0% and decreases with model scale. These results show that RouteREPA is a lightweight addition to REPA.
C ADDITIONAL ANALYSIS
We provide additional analyses of the representations selected by RouteREPA, their semantic content, the behavior of single-layer routers, and model behavior on subsets defined by DINOv2 feature neighborhoods.
Table 7: Computational cost of REPA and RouteREPA. Params follow the inference-generator convention of the main tables and exclude the training-only teacher and alignment projector. Parentheses report the relative overhead of RouteREPA over REPA. Inference latency measures one network forward rather than a complete sampling step. FLOPs are analytical estimates; memory and latency are measured on four NVIDIA H200 GPUs.
(a) Inference-time parameters and analytical compute
| Backbone | Method | Params (M) | Train GFLOPs | Infer. GFLOPs |
|---|---|---|---|---|
| JiT-B | REPA | 131 | 205 | 50 |
| JiT-B | RouteREPA | 132 (+0.9%) | 205 (< 0.1%) | 50 (< 0.1%) |
| JiT-L | REPA | 459 | 582 | 176 |
| JiT-L | RouteREPA | 461 (+0.5%) | 582 (< 0.1%) | 176 (< 0.1%) |
| JiT-H | REPA | 953 | 1,146 | 364 |
| JiT-H | RouteREPA | 956 (+0.3%) | 1,146 (< 0.1%) | 364 (< 0.1%) |
(b) Measured memory and latency
| Backbone | Method | Peak mem. (GiB) | Train step (ms) | Infer. forward (ms) |
|---|---|---|---|---|
| JiT-B | REPA | 26 | 121 | 9.8 |
| JiT-B | RouteREPA | 27 (+2.0%) | 127 (+4.8%) | 10.4 (+7.0%) |
| JiT-L | REPA | 70 | 324 | 30.5 |
| JiT-L | RouteREPA | 71 (+1.0%) | 330 (+2.0%) | 31.3 (+2.7%) |
| JiT-H | REPA | 113 | 583 | 48.6 |
| JiT-H | RouteREPA | 114 (+0.8%) | 592 (+1.6%) | 49.5 (+1.7%) |
C.1 FEATURE-TO-PIXEL RECONSTRUCTIONS
To assess the relative difficulty of reconstructing images from each representation, we quantify the reconstruction performance of the raw, generation-routed, and alignment-routed representations. For each representation, we freeze the RouteREPA backbone and routing parameters and train a decoder block as in Fig. 4(b, c). Figure 6 shows the same fixed validation examples at three flow timesteps; lower corresponds to a more heavily corrupted input in the JiT convention. The generation-routed representation can be decoded into pixel-space images more easily than the alignment-routed representation, while the raw and generation-routed reconstructions remain visually closer, consistent with the MSE and LPIPS results in Fig. 4(b, c).
C.2 SINGLE-LAYER ROUTING DYNAMICS
We additionally analyze models in which RouteREPA is applied only at layer 4 or only at layer 6. Figure 7 compares their routing weights at epochs 100, 300, and 500. In both single-layer settings, the learned routing weights progressively favor the generation branch as training proceeds. At earlier checkpoints, the alignment-branch weights are relatively larger for noisier timesteps, while this timestep-dependent variation becomes less pronounced at later checkpoints.

Figure 6: Feature-to-pixel reconstructions at three flow timesteps. Lower t corresponds to a more heavily corrupted input. As more clean-image signal becomes available, the generation route retains more object structure and local appearance than the alignment route.

(a) routing distribution (L4)
(b) routing vs. timestep (L4)
(c) routing distribution (L6)
(d) routing vs. timestep (L6)
Figure 7: Single-layer routing dynamics in JiT-B/16 models. (a,b) L4-only routing; (c,d) L6-only routing. Blue denotes generation and green alignment.
C.3 AN EXPLORATORY EVALUATION OF THE FEATURE-HACKING HYPOTHESIS
PixelREPA (Shin et al., 2026) proposes the feature-hacking hypothesis to characterize a related challenge in representation alignment for JiT. Specifically, the hypothesis suggests that alignment with semantically compressed teacher representations may suppress distinctions between images that are similar in representation space but differ in visual details. PixelREPA evaluates this hypothesis by measuring generation performance drop of REPA on images that are semantically similar in the teacher representation space. Following its setting, we conduct an exploratory evaluation of this hypothesis using subsets defined by DINOv2 feature similarity. For each of 100 evaluated ImageNet classes, we compute the class centroid and select the 100 nearest and 100 farthest samples, yielding two 10,000-image subsets. Each image is perturbed as and restored over 50 Heun intervals from to using the same image subset and noise across methods. FID is computed against the corresponding clean subset.
Table 8: FID on DINOv2-neighborhood subsets across guidance scales. We report subset-reference FID after perturbing images at and denoising with 50 Heun intervals. Lower is better.
| CFG | Method | Nearest 100 | Farthest 100 |
|---|---|---|---|
| 1.0 | JiT | 34.7 | 23.9 |
| REPA | 24.5 | 20.2 | |
| PixelREPA | 27.5 | 20.6 | |
| RouteREPA | 23.1 | 18.6 | |
| 1.5 | JiT | 20.0 | 18.0 |
| REPA | 15.2 | 15.9 | |
| PixelREPA | 16.1 | 16.0 | |
| RouteREPA | 14.5 | 14.7 | |
| 2.5 | JiT | 10.2 | 15.1 |
| REPA | 9.22 | 13.3 | |
| PixelREPA | 8.76 | 13.9 | |
| RouteREPA | 8.50 | 12.6 | |
| 3.5 | JiT | 8.08 | 17.4 |
| REPA | 8.33 | 14.1 | |
| PixelREPA | 7.20 | 15.4 | |
| RouteREPA | 7.11 | 13.3 |
Table 8 reports the results across guidance scales. As the CFG scale increases, REPA exhibits different relative behavior on the two subsets. At CFG 3.5, REPA obtains an FID of 8.33 on the Nearest-100 subset, compared with 8.08 for JiT, while it obtains 14.1 on the Farthest-100 subset, compared with 17.4 for JiT. Across all evaluated CFG scales, RouteREPA achieves the lowest FID on both subsets. Figure 8 presents representative samples from the two subsets.

(a) Most Similar 100

(b) Least Similar 100
Figure 8: Representative images from the 100 most similar and 100 least similar samples in the DINOv2 feature space for the ImageNet tabby class.
D QUALITATIVE RESULTS
Figures 9–15 present uncurated samples from ImageNet. All images use JiT-H/16 + RouteREPA, a 50-step Heun solver, and CFG 3 throughout the sampling trajectory.

class n01818515

class n01664065

class n07697313

class n01622779

class n02980441

class n07614500

class n09472597

class n09332890

class n01819313
Figure 9: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n01882714

class n09229709

class n02443114

class n02086646

class n02099601

class n02106166

class n09256479

class n02110185

class n02782093
Figure 10: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n02129165

class n03018349

class n01443537

class n01491361

class n01514668

class n01530575

class n01532829

class n01592084

class n01629819
Figure 11: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n01641577

class n01667114

class n01682714

class n01735189

class n01773157

class n01796340

class n01910747

class n02085936

class n02086910
Figure 12: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n02127052

class n02167151

class n02280649

class n02317335

class n02326432

class n02437616

class n02497673

class n02699494

class n02795169
Figure 13: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n02814860

class n03042490

class n03095699

class n03160309

class n03207743

class n03220513

class n03443371

class n03717622

class n03781244
Figure 14: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.

class n03877845

class n04487081

class n04552348

class n07745940

class n07831146

class n02206856

class n01614925

class n02510455

class n02114367
Figure 15: Uncurated samples from JiT-H/16 + RouteREPA on ImageNet 256 × 256.