titleScaleTok: How Should Latent Token Budgets Scale for Diffusion Transformers?
authorsYusuf Dalva, Arpit Bansal, Ashwini Pokle, Peyman Milanfar, Mauricio Delbracio
date2026-12-03
venuearXiv (preprint, not peer reviewed)
idarXiv:2612.06314
affiliationGoogle
upvotes3 (Hugging Face Daily Papers, 2026-12-05)
linksabs pdf hf
cite
relatedRRSI: Regularized Recursive Self-Improvement of Agent Harnesses
Dream-RSI: Recursive Self-Improvement through Evolving Worlds
EnvHarness: Awakening Static Worlds for Agent Learning
StreamVibe: Proactive Video Agents for Evolving User Intent
Harness^2: Recursive Agent Harnessing for an Open World
abstractTraining generative vision models natively across multiple resolutions and aspect ratios is costly with standard patch-based tokenizers. The visual token count grows linearly with image area, while the cost of computing self-attention scores in a diffusion transformer (DiT) grows quadratically with token count. We introduce ScaleTok, a continuous visual tokenizer that decouples latent sequence length from the patch grid. Its Continuous Aspect-Aware Positional Embeddings (CAPE) crop a shared coordinate grid to each aspect ratio before interpolation, enabling us to compare fixed, square-root, and linear allocation while training a single tokenizer per configuration jointly across four ImageNet-1K geometries. To distinguish the capacity available inside the tokenizer from the visual budget passed to the generator, we vary the number of padded text positions while holding the class name and visual budget fixed. With a ViT-B/16 backbone, these additional positions improve reconstruction FID under fixed and square-root allocation at larger image sizes but worsen it under linear allocation, suggesting a register-like role when the visual budget is constrained. We show that the visual budget can grow with the square root of image area while retaining both reconstruction fidelity and generation quality. At 512x512 with 256 text-token positions, square-root allocation approaches linear reconstruction fidelity with half as many visual tokens and yields comparable generation FID at roughly half the estimated DiT-XL cost per denoising step.

bibtex

@misc{dalva2026scaletok,
  title={ScaleTok: How Should Latent Token Budgets Scale for Diffusion Transformers?},
  author={Yusuf Dalva and Arpit Bansal and Ashwini Pokle and Peyman Milanfar and Mauricio Delbracio},
  year={2026},
  eprint={2612.06314},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2612.06314}
}