arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.12307

BudgetPix: Compute-Adaptive Tokenization for Pixel-Space Image Diffusion

Ozgur Kara, Yujia Chen, Daniel Watson, David Forsyth, James Matthew Rehg, Wen-Sheng Chu, Du Tran

Ozgur Kara1,†^{1,\dagger} Yujia Chen2^{2} Daniel Watson2^{2} David Forsyth1^{1} James Matthew Rehg1^{1} Wen-Sheng Chu2,‡^{2,\ddagger} Du Tran2,‡^{2,\ddagger}

1^{1}University of Illinois Urbana-Champaign 2^{2}Google

BudgetPix (w/ JiT-L/32) on Class Conditional 512 2^{2}

Figure

BudgetPix (w/ MiniT2I-L/16) on Text-to-Image 512 2^{2}

100%

50%

25%

BudgetPix (w/ PixelDiT-T2I) on Text-to-Image 1024 2^{2}

100%

80%

60%

Figure

Figure 1: Test-time compute adjustment. BudgetPix dynamically scales inference costs, achieving a strong quality-efficiency tradeoff across JiT (top), MiniT2I (bottom left), PixelDiT (bottom right), 3 popular architectures for pixel-space image diffusion. Percentages show the fraction of tokens used.

ABSTRACT

Most image generation models rely on uniform tokenization, allocating the exact same computational budget to equally-sized image patches. This static paradigm cannot adapt to different resource constraints at inference time, and yields suboptimal quality-cost tradeoff by devoting the same effort to both plain backgrounds.

†^{\dagger}Work done during an internship at Google.

‡^{\ddagger}Joint last authors.

and intricate details. We propose BudgetPix, an adaptive tokenization framework that dynamically allocates compute based on visual complexity and spatial layout, enabling flexible computational budgeting at inference time. BudgetPix comprises three key components: (1) an adaptive encoder that maps a fixed-size image to a variable-length token sequence using an entropy-guided quadtree alongside a multi-scale patch embedder; (2) a scale-aware decoder reconstructs fixed-resolution images from multi-scale token sets; and (3) a flexible training and sampling schedule that enables pixel-space denoisers to operate across variable token counts. BudgetPix seamlessly integrates with existing pixel-space diffusion architectures, enabling a single checkpoint to be operated at a wide range of compute budgets. Evaluated on text-to-image generation, BudgetPix matches the fidelity of MiniT2I-L at 5122512^{2} and PixelDiT at 102421024^{2} using just 25% of the original compute budget. In class-conditional using a MeanFlow backbone, BudgetPix requires merely 60% of the full compute budget to produce images with near-zero quality degradation, observing a marginal 0.8-point increase in FID. Comprehensive assessments by human and VLM judges confirm that BudgetPix establishes a significantly improved quality-efficiency trade-off over prior budget-adaptive baselines. More details are available at our project page: https://karaozgur.com/BudgetPix

1 INTRODUCTION

Diffusion Transformers (DiTs) (Peebles & Xie, 2023) have established a new standard for image generation. While most architectures operate in the latent space of a pretrained autoencoder (Rombach et al., 2022), emerging pixel-space DiTs (Li & He, 2026; Yu et al., 2026) process raw pixels directly, bypassing the reconstruction ceiling and eliminating the reliance on a separate tokenizer. However, this architectural purity introduces a severe computational bottleneck: the uniform tokenization. Because self-attention scales quadratically with the number of tokens, pixel-space models incur massive computational costs. Furthermore, because this grid resolution is hardcoded during training, the inference cost becomes rigidly fixed. A deployed model cannot scale down to accommodate resource-constrained edge devices, nor can it dynamically adjust to varying user latency requirements, without undergoing entirely separate retraining.

This static uniform tokenization is fundamentally misaligned with how visual data is structured. Information density varies significantly within images: a cloudless sky offers minimal visual entropy, while heavily textured objects demand the capture of high-frequency details. Forcing a uniform grid to blindly spend identical compute across both regions creates severe computational waste. As shown in Figure 2a, standard MiniT2I (Wang et al., 2026b) wastes 1,024 tokens rendering a simple flag against an open sky, whereas our content-adaptive framework reconstructs the scene perfectly with just 307 tokens (Figure 2b). Even for complex, edge-to-edge textures like a jackfruit—which

MiniT2I-L: uniform

BudgetPix: adaptive

Figure

(a) 1024 tokens

(b) 307 tokens

JiT-L: uniform

BudgetPix: adaptive

(c) 256 tokens

(d) 127 tokens

Figure 2: Uniform vs. content-adaptive tokenization. For a 512×512512 \times 512 image, uniform tokenization requires 1,024 tokens with 16×1616 \times 16 patches (a) and 256 tokens with 32×3232 \times 32 patches (c). BudgetPix adapts to visual content, requiring only 307 (b) and 127 (d) tokens. Baselines in (a) and (c) represent full-budget MiniT2I-L and JiT-L; BudgetPix in (b) and (d) operates at 30% and 50% budgets, respectively.

strictly requires 256 tokens in standard JiT (Li & He, 2026) (Figure 2c)–BudgetPix matches the baseline visual quality while cutting the required token budget by 50% (Figure 2d).

Content-adaptive tokenization is well established in discriminative vision models via token merging (Bolya et al., 2023), token pruning (Rao et al., 2021), or dynamic multi-scale representations (Beyer et al., 2023; Dehghani et al., 2023; Kim et al., 2025; Choudhury et al., 2026). However, extending this paradigm to generative models introduces a fundamental challenge. While discriminative models dynamically allocate tokens over an already-provided input image to predict a class label (Choudhury et al., 2026), generative denoisers must dynamically allocate compute over an image that is actively being generated. This creates a chicken-and-egg dilemma: the denoiser must gauge the local spatial complexity of the image before the image content itself has fully materialized.

In this work, we propose BudgetPix, a framework that adapts any pretrained pixel-space diffusion transformer into a compute-adaptive image generator. BudgetPix introduces three novel components. First, an entropy-driven encoder maps images into variable-length sequences of multi-scale tokens. Second, A complementary decoder reconstructs these variable-length token sequences into predetermined, fixed-resolution images. Finally, a training and inference strategy, coupled with content-layout augmentation, enables standard checkpoints—originally trained on fixed token budgets—to become dynamically adjustable during inference. Our extensive experiments (Section 4.3) demonstrate that BudgetPix can be integrated seamlessly with established pixel-space architectures—including JiT (Li & He, 2026), MiniT2I (Wang et al., 2026b), PixelDiT (Yu et al., 2026), and MeanFlow (Geng et al., 2026; Lu et al., 2026)—and provide a significantly-better quality-efficiency tradeoff (see plots in Section 4.3).

We evaluate BudgetPix on class-conditional and text-to-image pixel-space diffusion models from 2562256^{2} to 102421024^{2} resolution. Under strict low-compute budgets where prior budget-adaptive methods undergo catastrophic collapse, BudgetPix degrades gracefully, preserving high perceptual quality. For class-conditional generation, BudgetPix synthesizes coherent, high-quality images using as little as 10% of the original compute budget (Figure 1, top 3 rows)—a regime where competing methods fail entirely (cf. Figure 6). This robustness mirrors phenomena observed in lossy image compression, where visual data can be heavily down-sampled without significant perceptual degradation.

Quantitatively, for text-to-image generation, BudgetPix matches the fidelity of full-compute baselines while utilizing only 25% of the original token budget, achieving GenEval scores of 0.874 (vs. 0.882) on MiniT2I-L at 5122512^{2}, and 0.725 (vs. 0.721) on PixelDiT at 102421024^{2}. For class-conditional generation, integrating BudgetPix into a MeanFlow (Lu et al., 2026) backbone allows the model to operate at merely 60% of the original compute budget with negligible degradation in visual quality, observing a minimal FID increase of only 0.81 points (from 2.65 to 3.46). Finally, comprehensive evaluations by both human and Vision-Language Model (VLM) judges confirm that BudgetPix achieves a better quality-efficiency tradeoff compared to existing budget-adaptive methods.

Our primary contributions are:

• We propose BudgetPix, a novel compute-adaptive tokenization framework for pixel-space image diffusion, designed to integrate smoothly into diverse pixel-based diffusion architectures such as JiT, MiniT2I, PixelDiT, and MeanFlow.

• BudgetPix introduces three novel components: (1) an entropy-based encoder mapping images into variable-length sequences of multi-scale tokens; (2) a specialized decoder reconstructing fixed-resolution images from these tokens; and (3) a flexible training and sampling schedule supporting denoisers to operate across continuously variable token counts.

• Comprehensive experiments show that BudgetPix achieves an effective quality-efficiency tradeoff compared with alternative adaptive denoising methods.

References (48)

  • Flexidit: Your diffusion transformer can easily generate high-quality samples with less compute
  • Flexivit: One model for all patch sizes
  • Token merging for fast stable diffusion
  • Token merging: Your vit but faster
  • Conceptual 12m: Pushing web-scale image-text pre-training to recognize long-tail visual concepts
  • Pixelflow: Pixel-space generative models with flow (opens arXiv in a new tab)
  • Faster vision transformers with adaptive patches
  • Scalable high-resolution pixel-space image synthesis with hourglass diffusion transformers
  • Navit, a vision transformer for any aspect ratio and resolution
  • Imagenet: A large-scale hierarchical image database
  • Mean flows for one-step generative modeling
  • Geneval: An object-focused framework for evaluating text-to-image alignment
  • Msvit: Dynamic mixed-scale tokenization for vision transformers
  • Gans trained by a two time-scale update rule converge to a local nash equilibrium
  • Classifier-free diffusion guidance
  • Cascaded diffusion models for high fidelity image generation
  • simple diffusion: End-to-end diffusion for high resolution images
  • Simpler diffusion: 1.5 fid on imagenet512 with pixel-space diffusion
  • Ella: Equip diffusion models with llm for enhanced semantic alignment (opens arXiv in a new tab)
  • SapiensID: Foundation for human recognition
  • Pick-a-pic: An open dataset of user preferences for text-to-image generation
  • Superpixel tokenization for vision transformers: Preserving semantic integrity in visual tokens (opens arXiv in a new tab)
  • Pyramid patchification flow for visual generation
  • Back to basics: Let denoising generative models denoise
  • EVit: Expediting vision transformers via token reorganizations
  • Flow matching for generative modeling
  • Region-adaptive sampling for diffusion transformers
  • Dpm-solver++: Fast solver for guided sampling of diffusion probabilistic models
  • One-step latent-free image generation with pixel mean flows
  • DINOv2: Learning robust visual features without supervision
  • Scalable diffusion models with transformers
  • Dynamicvit: Efficient vision transformers with dynamic token sparsification
  • High-resolution image synthesis with latent diffusion models
  • Vision transformers with mixed-resolution tokenization
  • Improved techniques for training gans
  • Cat: Content-adaptive image tokenization
  • Pixnerd: Pixel neural field diffusion
  • Minit2i: A minimalist baseline for text-to-image generation, 2026b
  • Not all images are worth 16x16 words: Dynamic transformers for efficient image recognition
  • Image quality assessment: from error visibility to structural similarity
  • Importance-based token merging for efficient image and video generation
  • Imagereward: Learning and evaluating human preferences for text-to-image generation
  • A-vit: Adaptive tokens for efficient vision transformer
  • Scaling autoregressive models for content-rich text-to-image generation
  • Pixeldit: Pixel diffusion transformers for image generation
  • Elastic Token Compression for Pixel-Space Diffusion Transformers
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Accelerating diffusion transformers with token-wise feature caching