arXiv:2610.40647cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40647

Read, Allocate, Route: Role-Coupled Tokenization for Pixel-Space Generative Transformers

Jiongfan Yang, Weichen Fan, Haiwen Diao, Zhongang Cai, Ziwei Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiongfan Yang 1,3^{1,3}, Weichen Fan 2^{2}, Haiwen Diao 2^{2}, Zhongang Cai 3^{3}, Ziwei Liu 2,†^{2,\dagger}

1^{1}Peking University, 2^{2}Nanyang Technological University, 3^{3}SenseTime, †^{\dagger}Corresponding author

Pixel-space generative Transformers typically use one token per image patch, so capturing finer detail requires more tokens and makes global attention increasingly expensive. We observe that finer detail does not necessarily require more global communication: low-frequency structure benefits from global exchange, while high-frequency detail can be modeled locally. Based on this insight, we introduce SpecSlot, a pixel-space rectified-flow Transformer that decouples output detail from the length of the global attention sequence. SpecSlot expands each spatial anchor into multiple slots, each assigned a disjoint band of DCT coefficients; this separates anchor density from spectral subdivision. Only the lowest-frequency slot from each anchor participates in global attention, while all slots interact locally. This allows the model to increase spectral detail without enlarging the global sequence. A spatial head further adds a local correction to the spectral prediction, while the generative state, target, and loss remain in pixel space. On ImageNet-256, SpecSlot achieves a comparable final FID to a FLOPs-matched JiT control while converging faster. On ImageNet-512, it improves FID by 2.84 over the control with 3.9% fewer FLOPs, and comes within only 0.69 FID of JiT-B/16 at 38.2% lower cost. On text-to-image generation, SpecSlot surpasses JiT-B/8 on DPG-Bench by 1.06 at 40.6% lower forward cost.

Project Page: https://yangjiongfan.site/specslot/

GitHub: https://github.com/JiongfanYang/SpecSlot

Hugging Face: https://huggingface.co/Gokottaw434/SpecSlot

Figure

Figure 1 Text-to-image samples generated by SpecSlot. More samples with prompts are shown in Appendix Figure 10.

1 Introduction

Pixel-space generative models learn directly from noise to pixels, eliminating the separately trained autoencoder and its compression bottleneck. This simplicity, however, comes with a computational cost: the full-resolution image must be represented as Transformer tokens. Most pixel-space Transformers use one token per spatial patch, so the patch grid simultaneously determines what the model reads, what each token predicts, and how many tokens participate in global attention. As a result, finer image detail directly increases attention cost: on a 256×256256 \times 256 image, reducing the patch size from 16×1616 \times 16 to 8×88 \times 8 increases the token count from 256 to 1,024, making the quadratic term of dense attention 16×16 \times larger.

Read

spatial anchors

Allocate

spectral roles

Route

carrier + local attention

Decode

dual-basis output

Figure

Figure 2 SpecSlot data flow. Each anchor expands into K slots. G blocks process lowest-radial slot-0 carriers across anchors with context states; L blocks mix all slots within each anchor. The final slot states decode a lapped-DCT spectral base and an anchor-aligned spatial correction, summed in pixel space.

Existing methods address this cost from different directions, but largely retain the coupling between output detail and token communication. JiT routes every patch token through the global sequence [1]. Multiscale systems move detail to extra stages or detailer heads [2, 3, 4], and efficient-attention methods shorten the sequence with generic patterns—windows, selected global tokens, or learned sparsity [5, 6, 7, 8]. Spectral Forcing brings in frequency structure, but only to filter the noisy input; its tokens remain spatial patches [9]. Across the pixel-space generators discussed above, output detail remains tied to a spatial patch grid, even when communication is compressed or restricted.

Our key observation is that finer detail does not necessarily require proportionally more global communication: in the frequency domain, low-frequency structure carries broad image organization and benefits from long-range exchange, while fine detail is largely local. A token carrying broad structure therefore stands to gain from exchanging with the whole image, while a token carrying fine detail mostly does not. Yet in existing designs, what a token communicates is fixed by where it sits, not by what it produces. Can a token's output role also determine how it should communicate?

SpecSlot builds on this idea by making output roles explicit and using them to control communication. It organizes computation around three operations: Read, Allocate, and Route. Read forms a grid of spatial anchors that collect input evidence. Allocate expands each anchor into K indexed slots, with each slot assigned a disjoint radial group of DCT coefficients. Route then uses these spectral roles to decide communication: only the slot assigned the lowest-frequency group from each anchor enters the global stage, while all slots interact locally within the anchor. This separates fine-grained output representation from the length of the global sequence. A spatial head further reuses the same slot states to add a local correction to the spectral prediction, without introducing additional tokens. Figure 2 illustrates this design.

This representation exposes two separate allocation variables. W controls the density of spatial anchors, while K controls the spectral subdivision at each anchor. The total number of slots grows with WK, but the global image sequence contains only W carriers. A fixed token budget can therefore be allocated either to denser spatial anchors or to finer spectral roles without forcing both to increase together. This turns tokenization from a single patch-size choice into an explicit quality-compute allocation problem.

Our contributions are:

  • We introduce an indexed W×KW \times K representation in which spatial anchors collect input evidence and slots receive disjoint spectral coefficient groups. The split exposes anchor density and coefficient subdivision as separate allocation variables, and the same slot states also decode a local pixel correction.

  • We define carrier-routed global–global–local–local (GGLL) attention from the slot index: one lowest-radial carrier per anchor enters global blocks, and all slots enter anchor-local blocks, so the global sequence contains W carriers rather than WK slots.

  • On ImageNet-256 and ImageNet-512, SpecSlot provides two measured quality-compute operating points between JiT's low-cost and high-cost settings. At ImageNet-512, W256/K4 lowers FID by 2.84 over our FLOPs-matched JiT control (JiT-CM) with 3.9% fewer GFLOPs, and trails JiT-B/16 by 0.69 FID at 38.2% lower cost. Larger output windows cover more pixels while the global sequence remains fixed;

the larger improvement over JiT-CM is consistent with this within-anchor allocation. On text-to-image generation, SpecSlot likewise surpasses JiT-B/8 on DPG-Bench by 1.06 at 40.6% lower forward cost.

References (53)