Manuscript Offprint

arXiv:2610.12978

Learning Representations to Guide Pixel Diffusion Transformers

Zihao Pan, Mengting Chen, Cheng Shi, Taihang Hu, Zhengrong Yue, Zikang Wang, Yuan Wang, Wei Li, Sibei Yang

Abstract

Visual representations are largely developed for understanding, yet what makes them useful for generation remains unclear. We study this question in pixel diffusion transformers and uncover two key insights. First, better representation quality does not necessarily translate into greater generative utility, as externally aligned semantics can be progressively lost during pixel synthesis. Second, architectural separation with specialized pixel decoders mainly redistributes semantic and spatial modeling, without necessarily yielding representations better suited to generation. These insights suggest that a useful generative representation must be both properly formed and actively exploited. Motivated by these insights, we introduce Representation Guidance (RG), which directly forms and exploits internal representations while retaining a plain Transformer architecture. A low-dimensional bottleneck forces generation-relevant information into a compact representation, which is then explicitly used to guide decoder generation by modifying the flow-matching target according to its induced prediction offset. RG learns clearer semantic and spatial structure while scaling efficiently in both parameters and computation. On ImageNet 256×256256 \times 256, RG-L/16 with only 459M parameters outperforms substantially larger pixel diffusion transformers, while RG-XL/16 achieves an FID of 1.55. RG further reaches an FID of 1.741.74 at 512×512512 \times 512 and extends to text-to-image generation, achieving 0.89 on GenEval and 87.1 on DPG-Bench.

Code: https://github.com/Pan-Zihao/Representation-Guidance

Project Page: https://pan-zihao.github.io/Representation-Guidance

Learning Representations to Guide Pixel Diffusion Transformers

Figure

(a)

(b)

Figure 2: Our RG enables efficient scaling and better internal representations. (a) RG scales consistently from B to XL. It achieves lower FID with fewer parameters and FLOPs than plain-Transformer JiT baselines, while also outperforming pixel-specialized decoders at lower complexity. (b) RG learns clearer spatial structure and more localized semantic correspondence.

1 Introduction

Representation learning has been a central theme in computer vision (Chen et al., 2020; He et al., 2020; Caron et al., 2021; He et al., 2022). By transforming pixels into structured features, modern vision models have learned representations that transfer effectively across recognition tasks such as classification, detection, and segmentation (Oquab et al., 2023; Siméoni et al., 2025). Yet visual representations have been developed predominantly for understanding. Whether the same notion of a “good representation” applies to generation remains much less clear. Unlike recognition, which can discard much of the low-level image content once semantics are extracted, generation must organize global semantics and spatial structure while ultimately recovering every pixel. This raises a fundamental question: what makes a representation useful for visual generation?

Recent generative models have increasingly borrowed representations from pretrained vision encoders. One line of work improves the latent space in which generation operates, either by aligning autoencoder latents with pretrained features (Yao et al., 2025; Leng et al., 2025; Yue et al., 2026) or by directly using such features as generative latents (Zheng et al., 2026a; Shi et al., 2026b; Singh et al., 2026). Another line aligns intermediate generative features with pretrained representations (Yu et al., 2024; Wu et al., 2025; Wang et al., 2025b; Singh et al., 2025). While these approaches show that semantic representations can facilitate generative learning, they largely focus on what information a representation contains. For generation, this is only part of the problem: a representation may encode rich semantic and spatial structure, yet provide limited benefit if it is not properly formed for synthesis or if the generative process does not actually exploit it.

We study this problem in pixel diffusion transformers (pDiTs) (Chen et al., 2025c; Yu et al., 2026), where representation learning and image synthesis take place end-to-end from raw pixels rather than through a representation space predefined by an external autoencoder (Rombach et al., 2022). More importantly, JiT (Li & He, 2026) shows that competitive pixel generation can be achieved with a plain Transformer, providing a simple setting for examining how internal representations emerge and interact with pixel synthesis. Our analysis of this setting reveals two key insights.

• First, better representation quality does not necessarily translate into greater generative utility. Aligning an intermediate JiT layer with DINOv2 (Oquab et al., 2023) substantially improves its semantic and spatial structure at the aligned layer. However, these gains rapidly diminish in subsequent layers as the network approaches pixel prediction. The same mismatch appears in generation: REPA (Yu et al., 2024) accelerates early training, but the baseline eventually overtakes it, while moving the alignment deeper further degrades the final FID. These results show that simply injecting stronger semantics is insufficient—a representation benefits generation only when its information is preserved and remains functionally relevant to subsequent synthesis.

• Second, architectural separation does not necessarily improve representation for generation; it mainly redistributes semantic and spatial modeling across the network. A natural response is to separate representation learning from pixel synthesis with an additional specialized

Learning Representations to Guide Pixel Diffusion Transformers

Standard Patch-Level Transformer

Figure

(a) JiT

(b) Ours

Pixel-Specialized Decoder

(c) PixelDiT

Figure

(d) DeCo

Figure

(e) DiP

Figure 3: Architecture comparison. (a) JiT and (b) RG use patch-level input and standard Transformer blocks. JiT uses a single stack, while RG conditions its decoder on the bottleneck output, which is randomly dropped during training. (c)–(e) Pixel-specialized decoders take pixel-level input: patch attention with pixel-wise FFNs in PixelDiT, a pixel-wise MLP in DeCo, and a convolutional network with skip connections in DiP. Input tokens are noisy, output tokens are clean, and rounded squares denote the tokens output by the patch embedding or patch encoder.

pixel decoder (Yu et al., 2026; Ma et al., 2026a; Chen et al., 2026). However, the decoder itself reshapes the encoder representation: its spatial modeling capacity determines what the encoder must retain, producing different balances of global semantics and spatial structure without yielding a representation better suited to generation. These designs also incur substantial parameter and computation overhead. Thus, they mainly shift the modeling burden between encoder and decoder while departing from JiT's simple, scalable Transformer design.

Together, these findings suggest that a useful generative representation must be both properly formed and actively exploited. It should emerge through a compact interface that encourages the model to organize information into a concise, generation-relevant representation, while remaining tightly coupled to subsequent synthesis. Neither alone is sufficient: forcing the generator to rely on a poorly formed representation can amplify unhelpful low-level information, whereas a well-structured representation provides little benefit if it can be ignored.

Based on these insights, we introduce Representation Guidance (RG). RG preserves a plain Transformer architecture and operates on the representation interface rather than introducing a specialized pixel decoder. First, a low-dimensional bottleneck between the encoder and decoder forms a compact implicit latent space, encouraging generation-relevant information to be organized into a concise internal representation. Second, RG explicitly strengthens the generative utility of this representation. We compare decoder predictions with and without the representation and use the resulting representation-induced velocity offset to modify the flow-matching target (Lipman et al., 2023; Liu et al., 2023; Albergo & Vanden-Eijnden, 2023). This increases the model's dependence on the representation, while gradients through it simultaneously shape the encoder toward information useful for synthesis. The bottleneck and guidance thus play complementary roles: the former governs how the representation is formed, while the latter ensures that generation actually uses it. Pretrained representation alignment thus provides a semantic scaffold, while the representation consumed by the decoder is ultimately learned end-to-end for generation. RG also shares a core principle with self-distillation in self-supervised learning (Caron et al., 2021; Oquab et al., 2023): the representation is bootstrapped from targets derived from the model's own predictions. Whereas self-distillation sharpens the teacher distribution to induce discriminative features, RG sharpens the velocity target along the representation-induced offset, which compels the representation to encode the semantic and spatial structure required for generation (Figure 6).

Figure 2 summarizes the consequences of this representation-centered design. Without introducing specialized pixel modules, RG achieves a substantially stronger parameter–quality and compute–quality trade-off, scales consistently with model size, and develops markedly clearer semantic and spatial organization in its internal representations. On ImageNet (Deng et al., 2009) 256×256256 \times 256, RG-XL/16 achieves an FID of 1.55, while RG-L/16 reaches 1.79 with only 459M parameters, outperforming substantially larger pixel-space models. RG further achieves an FID of 1.74 at 512×512512 \times 512 and extends naturally to text-to-image generation, reaching 0.89 on GenEval (Ghosh et al., 2023).

Learning Representations to Guide Pixel Diffusion Transformers

and 87.1 on DPG-Bench (Hu et al., 2024). These results show that effective representation learning in pixel diffusion does not require increasingly elaborate pixel decoders or ever-stronger externally imposed features. Instead, a plain Transformer can learn representations that benefit generation when the representation is both properly formed and explicitly exploited.

References (55)