WorksComputer Science
Know, then Draw: A New Learning Paradigm for Visual Generation
Abstract
Visual generation requires both high-level semantic knowledge and fine-grained pixel details. We propose a learning paradigm that assigns these roles to autoregressive pretraining for knowledge acquisition and diffusion post-training for high-fidelity rendering. Within this framework, we study the objective, representation, and scaling of knowledge acquisition and rendering. Controlled comparisons identify autoregression as the stronger pretraining objective for downstream rendering, improving both learning efficiency and final generation quality. We further find that AR-only generation quality does not necessarily correlate with final performance; semantic quality matters more. This motivates a purely semantic tokenizer trained with language supervision alone, without an image decoder or reconstruction loss. We establish compute-optimal scaling laws for knowledge acquisition and rendering, and find that autoregressive pretraining lowers the fitted asymptotic rendering loss compared with pixel diffusion models trained from scratch. Guided by the laws, we train a 3B-parameter text-to-image model with only 6,600 H100 GPU-hours, achieving 86 on GenEval and 87 on DPG-Bench and validating the proposed paradigm at scale.
Introduction
Visual generation has advanced primarily through two modeling paradigms: autoregressive models predict discrete visual tokens (Sun et al., 2024; Tian et al., 2024; Pang et al., 2024), while latent diffusion models (LDMs) and pixel diffusion models (PDMs) denoise continuous signals (Ho et al., 2020; Rombach et al., 2022; Peebles & Xie, 2023). They are typically compared as competing paradigms, asking which produces better images. Yet this comparison asks each paradigm to solve two distinct learning problems: *acquiring high-level visual knowledge and rendering it into detailed images. We therefore argue that these problems need not favor the same objective, and look beyond their competition to uncover the synergy between autoregression and diffusion.
We find that the two problems indeed favor different objectives: autoregression for visual knowledge acquisition and diffusion for rendering. This specialization gives rise to a natural pretraining–post-training paradigm, where autoregressive pretraining provides the foundation on which diffusion is post-trained for rendering. This mirrors modern language models, where broad knowledge is first acquired and subsequently adapted toward desired behaviors. At inference, the autoregressive rollout provides a structured visual representation that conditions diffusion, connecting the two learning processes. Across the evaluated protocols and compute budgets, this specialization consistently yields stronger generators, revealing the synergy between the two objectives.
Specializing autoregression for knowledge acquisition changes what it should learn. In visual autoregressive models, the tokenizer defines the prediction target and therefore shapes the information the model is incentivized to capture. Conventional tokenizers preserve low-level appearance for image reconstruction. Once rendering is delegated to diffusion, however, the autoregressive representation no longer needs to support reconstruction or standalone image generation. Across different tokenizers, we find a striking dissociation: neither reconstruction quality nor AR-only generation quality determines post-training generation performance; semantic quality does. This motivates Semantic-LM, a semantic tokenizer trained through language supervision alone, without an image decoder or reconstruction loss. Visual tokenization thus shifts from preserving pixels for reconstruction to providing semantic learning targets for autoregressive knowledge acquisition.
Separating knowledge acquisition from rendering introduces a new question for scaling visual generation: how should compute be allocated between the two stages? We establish scaling laws for autoregressive pretraining and diffusion post-training that characterize the effects of model size, data, and compute and guide compute-optimal allocation. These laws also reveal a broader benefit of autoregressive pretraining. At matched model and data scales, diffusion post-training achieves both lower loss and a lower fitted asymptotic rendering loss than PDM trained from scratch. This finding suggests that autoregressive pretraining improves the attainable performance of diffusion rendering beyond accelerating convergence speed.
Given an available training budget of approximately 6,600 H100 GPU-hours, we use our scaling laws to select a roughly 3B-parameter model and allocate compute between pretraining and post-training. The resulting model achieves strong text-to-image generation (Figure 1), reaching 0.86 on GenEval (Ghosh et al., 2023) and 87.78 on DPG-Bench (Hu et al., 2024). This performance is achieved with approximately 1/48 of the estimated training compute of Z-Image-Base (Z-Image Team et al., 2025), while attaining comparable DPG-Bench performance.

Figure 1. Strong visual generation with compute-efficient training. Left: DPG-Bench versus training compute; marker size denotes model size. Our 3B model achieves competitive performance with only 6,600 H100 GPU-hours (48× less than Z-Image-Base). Right: Text-to-Image generated samples.
Method
As shown in Figure 2, our framework assigns visual knowledge acquisition and rendering to distinct learning objectives. During pretraining, a frozen visual tokenizer converts images into discrete tokens, which a text-conditioned autoregressive (AR) model learns to predict. We then freeze the AR backbone and add trainable pixel-diffusion modules that reuse its attention projections and representations for rendering. During post-training, the renderer conditions on tokens from ground-truth images; at inference, these are replaced by tokens generated autoregressively from the text prompt.

Figure 2. Overview of our learning paradigm. Autoregressive pretraining acquires visual knowledge through discrete token prediction. The pretrained backbone is then frozen and augmented with diffusion modules that reuse its attention and representations to render high-fidelity images. This division of labor specializes autoregression for knowledge acquisition and diffusion for rendering.
Autoregressive Pretraining for Knowledge Acquisition
Autoregressive objective. Given an image and its caption, a frozen visual tokenizer maps the image to discrete tokens , while a frozen text encoder produces conditioning features . Following RandAR (Pang et al., 2024), we sample a permutation over spatial positions and use position-instruction tokens to specify each prediction location. We train the AR model with
averaged over images and sampled permutations, where denotes preceding tokens in the sampled order. Only the AR parameters are optimized. By defining the prediction targets, the tokenizer determines what information the model is trained to capture.
Visual tokenizers. The visual tokenizer defines the prediction targets for AR pretraining and thus shapes the information the model learns. To examine which targets best support visual knowledge acquisition, we compare three tokenizers with different visual representations and training supervision (Figure 3), including Recon, Semantic-Recon, and Semantic-LM.

Figure 3. Training the three visual tokenizers. Recon and Semantic-Recon use image reconstruction supervision, whereas Semantic-LM learns its codebook through language modeling.
Recon. We use the pretrained reconstruction-based Emu3.5 tokenizer (Cui et al., [12]), which consists of an image encoder, an IBQ codebook (Shi et al., 2025a), and an image decoder.
Semantic-Recon. We quantize features of a frozen Qwen2.5-VL vision encoder (Bai et al., [1]) using an IBQ codebook. We train the codebook and a decoder with reconstruction supervision.
Semantic-LM. We use the same semantic visual representation but train the IBQ codebook through next-token prediction within a frozen Qwen2.5-VL model. This variant requires neither an image decoder nor a reconstruction loss.
These variants let us examine two design choices. Comparing Recon with Semantic-Recon evaluates the benefit of using semantic representations for AR pretraining. Comparing Semantic-Recon with Semantic-LM tests whether reconstruction supervision is necessary for learning effective semantic tokens. All tokenizers remain frozen during generator training and are evaluated using the same protocol. We provide the tokenizer training details in Appendix § 6.§ 1.
Pixel-Diffusion Post-Training for Rendering
To render the representations learned during AR pretraining, we freeze the backbone parameters and introduce trainable pixel-diffusion modules . The renderer reuses the backbone’s frozen attention projections. Its trainable modules comprise an input projection for noisy image patches, timestep embeddings, diffusion-specific feed-forward and adaptive-normalization layers (Peebles & Xie, 2023), and a linear pixel readout. Only is optimized during post-training.
We train the renderer using pixel-space flow matching. Given a clean image and noise , we construct . The renderer receives , timestep , text features , and representations of visual tokens produced by the frozen AR backbone. The renderer predicts the clean image , which we convert to a velocity prediction using a numerically stabilized transformation. We train the renderer by minimizing the mean squared error between the predicted and target velocities:
The loss is computed in velocity space, while the network directly predicts . We sample timesteps from a logit-normal distribution with a resolution-dependent shift (Esser et al., 2024). Appendix § 6.§ 2 details the conversion from image predictions to velocities and the optimization settings.
The source of the conditioning tokens differs between post-training and inference. During post-training, we extract tokens directly from the ground-truth image , so the visual condition corresponds to the image used to construct . At inference, the AR model generates visual tokens from the text prompt, and these tokens condition the renderer.
Scaling Methodology
Separating knowledge acquisition from rendering introduces a resource allocation problem: given a fixed compute budget, how much should be assigned to each stage, and how should each stage balance model size and training data? We address these questions by fitting scaling laws for autoregressive pretraining and diffusion post-training. We also fit scaling law for a pixel-diffusion baseline trained from scratch to examine the benefits of autoregressive pretraining.
Fitting objective-specific scaling laws. For each objective, we train a family of models across widths and depths and fit
where is the number of trainable parameters, is the cumulative training-token count, and estimates the asymptotic loss under the fitted model. We fit autoregressive cross-entropy and diffusion velocity-MSE separately, using as a compute proxy. For diffusion post-training, this proxy excludes the frozen AR forward pass (Appendix § 6.8). We cross-check the parametric fits using training-curve envelopes and IsoFLOP analyses.
To reduce optimization-related confounds, we tune training recipes that transfer across model sizes within each family. We also conduct an independent hyperparameter search for the from-scratch diffusion baseline. Appendices § 6.§ 3 and § 6.6 describe hyperparameter transfer. Appendices § 6.§ 4 and § 6.§ 5 provide compute accounting and the full scaling protocols.
Optimizing the learning paradigm through compute allocation. Within our two-stage framework, compute allocation determines the relative emphasis on knowledge acquisition and rendering. We parameterize this allocation by , so that different values of define different learning paradigm. To derive a scaling-guided allocation, we first minimize each stage’s fitted loss under the compute constraint . For each paired AR backbone and diffusion renderer, we then determine the data budget required to place each stage at its compute-optimal operating point. The resulting compute costs specify the allocation , which we examine across total budgets. This procedure translates the stage-specific scaling laws into a concrete training strategy without directly combining autoregressive and diffusion losses. We additionally compare the fitted asymptotic losses of diffusion post-training and pixel diffusion trained from scratch to assess potential benefits beyond faster convergence. § 3.3 presents the results.
Experiments
Our experiments address three questions. First, does autoregressive pretraining lead to better image generation than diffusion-based training under comparable model sizes and image exposure? (Sec. 3.1) Second, should the visual tokens used for pretraining preserve image details or focus on semantic information? (Sec. 3.2) Third, how should model size, training data, and compute be allocated between knowledge acquisition and rendering? (§ 3.3) We then use these findings to guide the training of a larger text-to-image model and evaluate its generation quality (§ 3.4).
Autoregression or Diffusion for Visual Knowledge Acquisition?
We assess visual knowledge acquisition through the quality of image generation after pixel-diffusion post-training. We compare latent diffusion and autoregression as pretraining objectives, followed by the same rendering architecture and post-training protocol. We denote these two-stage routes as and . We also include pixel diffusion and latent diffusion as baselines.
Training and Evaluation Setup. All four routes use approximately 400M parameters in the final generator and the same cumulative number of training image samples. Both two-stage routes combine a 250M-parameter pretrained backbone with 150M trainable rendering parameters. They also use semantic visual representations: AR uses our semantic tokenizer, while LDM pretraining uses SVG Autoencoder-P, a semantic tokenizer built on DINOv3 (Shi et al., 2025b; Simeóni et al., 2025). The former produces discrete tokens, whereas the latter produces continuous representations. The direct LDM baseline uses the reconstruction-based FLUX.2 autoencoder [4]. We evaluate generation quality on GenEval (Ghosh et al., 2023) and DPG-Bench (Hu et al., 2024). Table 4 and Appendix § 6.§ 2 provide the full training and evaluation protocols.
| Setting | PDM | LDM | LDM→PDM | AR→PDM |
| Architecture and representation | ||||
| Backbone width | 1408 | 1280 | 1280 | 1408 |
| Layers / heads | 16 / 11 | 15 / 10 | 8 / 10 | 8 / 11 |
| FFN width | 3840 | 3584 | 3584 | 3840 |
| Representation | Pixels | FLUX.2 | SVG Autoencoder-P | Three tokenizers |
| Latent channels | — | 128 (packed) | 384 | Discrete codes |
| Parameters (M) | ∼400 | ∼400 | ∼250 + 150 | ∼250 + 150 |
| Image output | Pixels | Frozen decoder | Pixel renderer | Pixel renderer |
| Training budget and curriculum | ||||
| Updates | 400k PDM | 400k LDM | 150k LDM + 250k PDM | 150k AR + 250k PDM |
| Resolution tiers | Native images with random aspect ratios; areas near and . | Native images with random aspect ratios; areas near and . | Native images with random aspect ratios; areas near and . | Native images with random aspect ratios; areas near and . |
| Curriculum | First 50k updates: low resolution only. Remaining 350k: mixed resolution, counting continuously across stages. | First 50k updates: low resolution only. Remaining 350k: mixed resolution, counting continuously across stages. | First 50k updates: low resolution only. Remaining 350k: mixed resolution, counting continuously across stages. | First 50k updates: low resolution only. Remaining 350k: mixed resolution, counting continuously across stages. |
| Token budget | 262,400 per update; mixed-phase low:high token quotas of 1:4. | 262,400 per update; mixed-phase low:high token quotas of 1:4. | 262,400 per update; mixed-phase low:high token quotas of 1:4. | 262,400 per update; mixed-phase low:high token quotas of 1:4. |
| Optimization | ||||
| Base learning rate | SVG-T2I / | / | ||
| Warmup updates | 2,000 | 2,000 | SVG-T2I / 0 | 2,000 / 0 |
| AdamW | , , weight decay 0.01; gradient clipping at norm 1. | , , weight decay 0.01; gradient clipping at norm 1. | , , weight decay 0.01; gradient clipping at norm 1. | |
| Schedule / EMA | Constant learning rate after warmup; EMA disabled. SVG latent pretraining follows SVG-T2I optimization. | Constant learning rate after warmup; EMA disabled. SVG latent pretraining follows SVG-T2I optimization. | Constant learning rate after warmup; EMA disabled. SVG latent pretraining follows SVG-T2I optimization. | |
| Diffusion settings | ||||
| Gaussian noise std. | 2 | 1 | 1 / 2 | 2 (post-training) |
| Latent recipe | — | SD3 | SVG-T2I | — |
| Objective | Velocity flow matching for all diffusion stages. | Velocity flow matching for all diffusion stages. | Velocity flow matching for all diffusion stages. | Velocity flow matching for all diffusion stages. |
| Pixel rendering | 16-pixel patches; logit-normal timesteps (, ); high-resolution shift . Both pretraining–post-training routes use the same renderer training recipe. | 16-pixel patches; logit-normal timesteps (, ); high-resolution shift . Both pretraining–post-training routes use the same renderer training recipe. | 16-pixel patches; logit-normal timesteps (, ); high-resolution shift . Both pretraining–post-training routes use the same renderer training recipe. | 16-pixel patches; logit-normal timesteps (, ); high-resolution shift . Both pretraining–post-training routes use the same renderer training recipe. |
Table 4. Training recipes for the controlled generation comparisons. All routes match cumulative image exposure and use approximately 400M final parameters. Pretraining–post-training budgets include both stages; all AR tokenizer variants share the AR→PDM recipe.
Results. Autoregressive pretraining yields better generation quality after diffusion post-training than the evaluated LDM-pretraining pipeline. AR→PDM reaches 64.8 on GenEval after 100k post-training updates, exceeding the score of PDM trained for 400k iterations (61.2). With further post-training, it reaches 65.5 on GenEval and 71.1 on DPG-Bench (Table 1). In contrast, direct LDM reaches 57.3 on GenEval, while LDM→PDM achieves 56.6. These results indicate that splitting training into two stages alone is insufficient for generation. Under the evaluated settings, autoregression provides a more effective pretraining objective for subsequent pixel-diffusion rendering.
| Method | GenEval ↑ | Overall | Single Obj. | Two Obj. | Counting | Colors | Position | Color Attri. | DPG ↑ |
| PDM | 61.16 | 97.50 | 47.47 | 33.75 | 87.23 | 50.00 | 51.00 | 62.56 | |
| LDM | 57.34 | 97.50 | 55.56 | 27.50 | 74.47 | 38.00 | 51.00 | 64.33 | |
| LDM → PDM | 56.61 | 90.00 | 60.61 | 32.50 | 75.53 | 39.00 | 42.00 | 60.01 | |
| AR → PDM (ours) | 65.51 | 97.50 | 66.67 | 40.00 | 81.91 | 51.00 | 56.00 | 71.11 |
Table 1. Comparison between different learning paradigms under a matched data budget. Final-generator scores as percentages (↑); GenEval Overall is the mean of the six category scores.
What Should Autoregressive Pretraining Predict?
The preceding experiments support autoregression as an effective pretraining objective for subsequent diffusion rendering. We next ask what information the AR model should learn. Since the tokenizer defines its prediction targets, we compare three tokenizers: Recon, Semantic-Recon, and Semantic-LM (§ 2.1). These variants allow us to examine whether effective targets need to preserve image details for reconstruction or can focus on semantic information. We keep generator training settings fixed and evaluate final image generation quality after the same pixel-diffusion post-training protocol. Appendix § 6.§ 1 provides the tokenizer training details.
Better reconstruction does not necessarily improve final generation. Recon achieves substantially better reconstruction quality than Semantic-Recon, yet yields lower final generation scores: 54.7 versus 65.5 on GenEval and 63.0 versus 71.1 on DPG-Bench (Table 2). Moreover, Semantic-LM requires no reconstruction supervision, yet achieves 64.8 on GenEval and 67.7 on DPG-Bench after post-training. Results indicates effective AR targets need not support reconstruction.
| Tokenizer | Supervision | rFID↓ | GenEval↑ | DPG↑ | GenEval↑ | ∆ GenEval | DPG↑ | ∆ DPG |
| Recon | Recon | 1.04 | 57.49 | 65.94 | 54.67 | −2.82 | 62.98 | −3.04 |
| Sem-Recon | Recon | 40.5 | 50.44 | 67.03 | 65.51 | +15.07 | 71.11 | +4.08 |
| Sem-LM | LM | 0.00 | 0.00 | 64.84 | +64.84 | 67.72 | +67.72 |
Table 2. Semantic quality, rather than reconstruction or AR-only generation quality, determines final generation performance. Recon performs best in reconstruction and AR-only generation, yet produces the weakest final generator; Sem-LM remains strong downstream despite having no reconstruction supervision or image decoder. denotes the change after diffusion post-training.
Better AR-only generation does not necessarily improve final generation. A similar pattern appears when comparing AR-only generation quality. Recon achieves a higher AR-only GenEval score than Semantic-Recon (57.49 versus 50.44), but this ranking reverses after diffusion post-training (54.67 versus 65.51), while DPG-Bench shows the same trend. Figure 4 illustrates this contrast qualitatively. Although Semantic-LM has no image decoder and cannot generate images on its generated tokens, but still support effective diffusion rendering.

Figure 4. AR-only generation quality does not predict final generation quality. Top: AR-only decodes; bottom: final images after diffusion post-training. The semantic tokenizers produce stronger final images despite weaker or unavailable AR-only decodes. Semantic-LM has no decoder.
Semantic representations provide effective pretraining targets. Together, these results show that neither reconstruction quality nor AR-only generation quality reliably predicts final generation quality across the evaluated tokenizers. The largest improvement comes from replacing reconstruction-oriented tokens with pretrained semantic representations. Removing reconstruction supervision retains much of this benefit. When diffusion handles rendering, AR pretraining can therefore focus on learning semantic information without requiring its prediction targets to support image generation.
Scaling Knowledge Acquisition and Rendering
The preceding experiments support autoregressive pretraining for knowledge acquisition and semantic tokens as effective prediction targets. We now ask how pretraining and rendering should scale as more compute becomes available. We fit scaling laws for both stages to study how model size and training data affect performance. We then compare diffusion post-training with training from scratch and use the fitted laws to guide compute allocation between the two stages.
Different Scaling Behavior for Knowledge Acquisition and Rendering. We fit the autoregressive pretraining law using 18 models spanning 55.71M–2.43B trainable parameters (Figure 5 (a)):

Figure 5. Scaling laws for Pretraining and Post-training. (a) AR pretraining; (b) pixel-diffusion post-training. Left: training loss versus full-sequence compute on logarithmic axes, with the lower envelope highlighted in gray; color bars indicate model size. Middle and right: envelope-optimal model and token allocations. Fitting protocols are given in Appendix A.4 and Appendix A.5.
The training-curve envelope, IsoFLOP, and parametric estimates yield and . These estimates suggest that model size and training data should grow at approximately the same rate as the pretraining budget increases.
We fit the post-training law to 14 models spanning 25.1M–2.03B trainable parameters:
The parametric fit favors increasing model size more rapidly than training data. Across the three estimation methods, however, the scaling exponents vary: and . Each renderer is paired with a correspondingly scaled frozen AR backbone, so this law describes rendering performance within the paired model family, rather than diffusion capacity alone.
These results suggest that pretraining and rendering can benefit from different balances between model size and training data. We therefore optimize the two stages separately before deriving their compute allocation. Appendix A.4 and Appendix A.5 provide the full fitting protocols and results.
Autoregressive Pretraining Lowers the Fitted Rendering Loss Floor. We next examine whether the autoregressive rendering pipeline offers benefits beyond faster convergence. We compare the fitted asymptotic losses of diffusion post-training and pixel diffusion trained from scratch under their respective conditioning protocols. Post-training yields in velocity-MSE (Eq. (5)). For independently tuned pixel diffusion trained from scratch, we obtain
with . This fit uses eight models with 23.83M–1.76B parameters. Appendix A.7 reports the allocation estimates from all three methods.
The lower fitted asymptote suggests that the AR-then-diffusion pipeline’s advantage may extend beyond faster convergence, with a lower estimated loss as model size and training data increase. This comparison evaluates the pipeline as a whole, including both pretrained weights and conditioning tokens extracted from the target image, and does not isolate their individual contributions. The asymptotic term summarizes this extrapolated trend under the fitted scaling model.
Allocating Compute Between Knowledge Acquisition and Rendering. We use the fitted laws to derive a compute allocation for the two-stage framework. For total compute , let , . where is the fraction of total compute assigned to post-training. Different values of place different emphasis on knowledge acquisition and rendering.
Autoregressive cross-entropy and diffusion velocity-MSE measure different prediction tasks, so we do not combine them into a single loss. Instead, for each paired AR backbone and renderer, we use the fitted laws to determine each stage’s compute-optimal data budget. The corresponding compute costs then specify the allocation .
The induced allocation is nearly scale-invariant. Under our primary full-sequence accounting, (; see Figure 6). This assigns approximately 60% of the training budget to knowledge acquisition and 40% to rendering. Appendix A.8 provides the accounting details.

Figure 6. Compute-optimal post-training share against model size.
Scaling recipe for the final model. We translate this allocation into a training recipe for the final model. Given a total budget , we assign to autoregressive pre-training. The scaling law then determines the compute-optimal backbone size and data budget . Within our paired model family, the backbone size also specifies the renderer size. We then use the post-training law to determine its compute-optimal data budget . This procedure provides the model configuration and training budgets used for the larger-scale evaluation in the next section.
Validating the Learning Paradigm at Scale
Finally, we evaluate whether the training recipe developed through our controlled experiments and scaling analysis remains effective at larger scale. Guided by the scaling laws in § 3.3, we train a roughly 3B-parameter text-to-image generator using approximately 6,600 H100 GPU-hours. We evaluate compositional accuracy and text–image alignment on GenEval and DPG-Bench, with results reported in Table 3. Category-level scores for HiDream-I1-Full, PixNerd, and SeFi-Image-5B are taken from their original reports ([5] (Wang et al. 2026; SeFi Team 2026)). For
| Model | Size (B) | Single | Two | Count | Colors | Pos. | C-attr. | Overall↑ | Overall↑ |
| PixArt- ([10]) | 0.6 | 0.98 | 0.50 | 0.44 | 0.80 | 0.08 | 0.07 | 0.48 | 71.11 |
| SDXL ((Podell et al., 2023)) | 2.6 | 0.98 | 0.74 | 0.39 | 0.85 | 0.15 | 0.23 | 0.55 | 74.65 |
| DALL-E 3 ([2]) | – | 0.96 | 0.87 | 0.47 | 0.83 | 0.43 | 0.45 | 0.67 | 83.50 |
| PixNerd-XXL/16 ((Wang et al., 2026)) | 1.2 | 0.97 | 0.86 | 0.44 | 0.83 | 0.71 | 0.53 | 0.73 | 80.90 |
| SD3-Medium ((Esser et al., 2024)) | 2.0 | 0.99 | 0.94 | 0.72 | 0.89 | 0.33 | 0.60 | 0.74 | 84.08 |
| BLIP3o-4B ([8]) | 4.0 | – | – | – | – | – | – | 0.77 | 79.73 |
| FLUX.1-dev [3] | 12 | 0.98 | 0.93 | 0.75 | 0.93 | 0.68 | 0.65 | 0.82 | 84.00 |
| HiDream-I1-Full ([5]) | 17 | 1.00 | 0.98 | 0.79 | 0.91 | 0.60 | 0.72 | 0.83 | 85.89 |
| Seedream 3.0 ((Gao et al., 2025)) | – | 0.99 | 0.96 | 0.91 | 0.93 | 0.47 | 0.80 | 0.84 | 88.27 |
| i1 ((Zeng et al., 2026)) | 3.0 | – | – | – | – | – | – | 0.84 | 86.73 |
| Z-Image-Turbo (Z-Image Team et al., 2025) | 6.0 | 1.00 | 0.95 | 0.77 | 0.89 | 0.65 | 0.68 | 0.82 | 84.86 |
| Qwen-Image ((Wu et al., 2025)) | 20 | 0.99 | 0.92 | 0.89 | 0.88 | 0.76 | 0.77 | 0.87 | 88.32 |
| BLIP3o-NEXT SFT ([9]) | 3.0 | – | – | – | – | – | – | 0.87 | 81.98 |
| SeFi-Image-5B (SeFi Team, 2026) | 5.0 | 1.00 | 0.92 | 0.87 | 0.90 | 0.84 | 0.76 | 0.88 | 87.27 |
| Ours | 1.00 | 0.82 | 0.75 | 0.99 | 0.79 | 0.81 | 0.86 | 87.78 |
Table 3. Text-to-image generation on GenEval and DPG-Bench. Model size is in billions of parameters (B), as reported for each system; component accounting may differ. Dash denotes unavailable results. We use LLM to rewrite prompt in order to match the training distribution.
BLIP3o-4B, BLIP3o-NEXT SFT, and i1, we use the aggregate scores reported by Zeng et al. (2026), as category-level scores are unavailable under that evaluation.
Our model achieves 0.86 on GenEval and 87.78 on DPG-Bench using the evaluation protocol in Appendix § 6.9, which includes prompt rewriting and selection over fixed evaluation seeds. Among the baselines in Table 3, only Qwen-Image and Seedream 3.0 report higher DPG-Bench scores. Our GenEval score is also close to those of Qwen-Image and BLIP3o-NEXT SFT (both 0.87) and SeFi-Image-5B (0.88). These results support the practical effectiveness of our training recipe at larger scale. Comparisons across systems remain approximate because text encoders, training data, and evaluation settings differ. The results demonstrate competitive generation quality within the stated training budget, without establishing that the compute allocation is optimal.
Related Work
Diffusion-based visual generation. Diffusion models have evolved from pixel-space denoising (Ho et al. (2020)) to latent diffusion (Rombach et al. (2022)), transformer backbones (Peebles & Xie (2023)), and flow-based objectives (Lipman et al. (2023); Liu et al. (2023); Esser et al. (2024)), underpinning modern text-to-image systems (Black Forest Labs [3, 4]; Z-Image Team et al. (2025); Cai et al. [5]). Recent work shows that representation quality matters beyond reconstruction fidelity (Skorokhodov et al. (2025); Yao et al. (2025)), motivating semantically enriched tokenizers and diffusion representations (Chen et al. [7]; Zheng et al. (2025b); Tong et al. (2026); Yu et al. (2024); Leng et al. (2025); Singh et al. (2025); SeFi Team (2026)). These approaches make diffusion representations more semantic, but semantic learning remains coupled to reconstruction or diffusion itself. We instead separate knowledge acquisition from rendering: autoregressive pretraining learns the semantic representation consumed by the renderer, while diffusion is specialized for rendering it into pixels. This separation further enables Semantic-LM, trained purely through language supervision without an image decoder or reconstruction loss.
Autoregressive visual generation. Autoregressive image models predict learned visual tokens (Van Den Oord et al. (2017); Esser et al. (2021); Yu et al. (2023); Shi et al. (2025a); Zhao et al. (2025; 2026)) using raster, next-scale, or randomized prediction (Sun et al. (2024); Tian et al. (2024); Pang et al. (2024)). Tokenizer design is central to this paradigm (Yu et al. (2023)), with recent work incorporating foundation-model representations or semantic supervision (Zheng et al. (2025a); Ma et al. (2025)). In these approaches, autoregression remains part of image generation, so its representation must support visual synthesis. We instead specialize autoregression for knowledge acquisition and delegate rendering to diffusion, freeing its prediction targets from reconstruction or AR-only generation.
Combining autoregression and diffusion. Several works combine autoregressive and diffusion modeling within a single generative framework. MAR (Li et al. (2024)) uses diffusion as the conditional distribution within continuous-token autoregression, while Transfusion (Zhou et al. (2024)) applies autoregressive and diffusion objectives to different modalities in a shared model. More closely related, concurrent VoT (Sun et al. (2026)) predicts semantic visual tokens before diffusion rendering to extend pretrained VLMs toward unified model. Our distinction is not in how the two objectives are combined, but in what they are asked to learn. We assign autoregression to visual knowledge acquisition during pretraining and introduce diffusion only afterward for rendering, enabling the two roles to be optimized and scaled separately.
Scaling laws for generative models. Scaling laws characterize model–data–compute tradeoffs and compute-optimal training (Kaplan et al. (2020); Henighan et al. (2020); Hoffmann et al. (2022)), while transferable parameterizations enable consistent optimization across scale (Yang et al. (2022); Dey et al. (2025); Zheng et al. (2025c)). Recent work extends scaling analysis to visual diffusion (Ge et al. (2026)). Whereas prior studies primarily scale a single learning objective, we study cross-objective allocation between knowledge acquisition and rendering.
Conclusion
We propose a visual generation paradigm that separates knowledge acquisition from rendering: autoregressive pretraining learns visual knowledge, and diffusion renders it into pixels. Through controlled experiments and scaling analysis, we identify three advantages of this approach. First, semantic tokens provide effective pretraining targets without requiring image reconstruction or standalone AR generation. Second, stage-specific scaling laws guide compute allocation, while the lower fitted asymptotic rendering loss suggests benefits of the pretrained pipeline beyond faster convergence. Third, these findings translate into a compute-efficient text-to-image generator that achieves 0.86 on GenEval and 87.78 on DPG-Bench with approximately 6,600 H100 GPU-hours of training. Together, our results support a practical approach to visual generation that tailors the learning objective, representation, and compute budget to each stage.
Additional Experimental Details
We provide training and evaluation details for the controlled comparisons, hyperparameter studies, and scaling experiments.
Semantic Tokenizer Training
We train two semantic tokenizers to study the role of codebook supervision: Semantic-Recon uses image reconstruction, whereas Semantic-LM uses language modeling. Both quantize post-merger features from the frozen Qwen2.5-VL-32B-Instruct visual encoder using an IBQ codebook (Shi et al., 2025a). Tokenizer training is separate from the AR-pretraining and diffusion-post-training budgets reported in Appendix § 6.§ 2; the resulting tokenizers remain frozen throughout generator training.
Shared configuration. The IBQ codebook contains 131,072 entries with code dimension 256 and quantization temperature 0.25. Both tokenizers use an entropy regularization coefficient of 0.05 and a global batch size of 256. The optimizer uses , , , and weight decay 0.01; gradients are clipped at norm 1. We linearly warm up the learning rate to over 10,000 updates, then apply cosine decay with a minimum learning rate of . Training uses three native-resolution tiers with image areas near , , and pixels and random aspect ratios. We sample these tiers in a 4:2:1 ratio by number of examples. This sample ratio is distinct from the token quotas used for generator training.
Semantic-Recon. An IBQ codebook quantizes the frozen post-merger visual features, and a transformer decoder reconstructs the input image from the quantized representation. The decoder has 12 layers, hidden width 768, and 12 attention heads. We train the codebook and decoder on in-house training data for 80,000 updates. The objective combines image reconstruction, VGG-based LPIPS perceptual supervision, and quantization loss, with respective weights 1, 0.5, and 1, together with the entropy regularizer specified above. The pretrained visual feature extractor remains frozen. We maintain an exponential moving average of the trainable parameters with decay 0.9999 and a 2,000-update warmup.
Semantic-LM. We freeze Qwen2.5-VL-32B-Instruct, including its visual feature extractor and language model, and train only the IBQ codebook. Quantized visual features condition the frozen language model, and next-token cross-entropy on the supervised text targets provides the codebook’s training signal. This language-modeling objective is not restricted to image captions. We train for 40,000 updates on the 200B version of DataComp-VLM (Farina et al., 2026), using the shared optimization and resolution settings above. The objective combines language-modeling cross-entropy with entropy regularization at weight 0.05. No image decoder or image reconstruction loss is used.
Controlled Generation Comparisons
Model capacity. For the direct-pixel and AR controls, we match the total parameter count of the final generators at approximately 400M total parameters. The PDM has width 1408, 16 layers, 11 attention heads with head dimension 128, and feed-forward hidden dimension 3840. The AR backbone uses the same width, attention configuration, and feed-forward dimension, but only eight layers. Diffusion post-training adds randomly initialized rendering modules, including separate diffusion feed-forward layers, while keeping the AR parameters frozen. The AR-pretraining backbone has approximately 250M parameters, and the rendering modules add approximately 150M, giving a final generator of approximately 400M that matches the PDM. This matched size refers to the final generator, not to the number of parameters used during pretraining. Total parameter counts include the frozen AR backbone and trainable rendering modules, count shared weights once, and exclude external frozen text encoders and tokenizers.
Training budget and resolution curriculum. Each generator in the original direct-pixel and AR control receives 400,000 optimizer updates. PDM uses its diffusion objective throughout. The pretraining–post-training models use 150,000 AR-pretraining updates followed by 250,000 diffusion-post-training updates.
Notes. Paired optimization and noise entries denote pretraining / post-training; paired parameter counts denote backbone + renderer. The three AR tokenizers are Recon, Sem-Recon, and Sem-LM.
Latent generators are trained from scratch with frozen released tokenizers: FLUX.2 [4] and DINOv3-based SVG Autoencoder-P (Shi et al., 2025b; Simeoni et al., 2025). Both retain released pre-processing and normalization; FLUX.2 uses posterior-mean encoding. Latent recipes follow SD3 (Esser et al., 2024) or SVG-T2I (Shi et al., 2025b), as indicated.
We use two native-resolution tiers with random aspect ratios. The low-resolution tier has image area , and the high-resolution tier has image area ; these denote approximate areas rather than fixed square image shapes. The curriculum follows the cumulative update count across both stages. The first 50,000 updates use only the low-resolution tier, and the remaining 350,000 mix the two tiers. Thus AR pretraining comprises 50,000 low-resolution and 100,000 mixed-resolution updates; all 250,000 post-training updates use the mixed-resolution phase.
The training token budget is 262,400 per optimizer update throughout. Within the mixed-resolution phase, the low- and high-resolution tiers receive token quotas in a 1:4 ratio, corresponding to 52,480 and 209,920 tokens per update. This ratio specifies token allocation, not image counts or the number of updates assigned to each tier. We align cumulative image presentations across the direct-pixel and three AR generators (Table 1 and Table 2), including both stages for the AR-pretrained models:
We use a deterministic dataloader with the same sample order across controlled comparisons. With matched training steps and global batch size, each model sees the same training samples, counting both stages for the pretraining–post-training models. Repeated presentations count separately.
Tokenizer controls. For the comparisons among Recon, Semantic-Recon, and Semantic-LM, the tokenizer is the only experimental variable. All three use the same generator architecture, training images and captions, preprocessing, sample order, resolution curriculum, token budget, and stage durations. We also align code-embedding initialization, optimization, text conditioning, checkpoint selection, and generation evaluation. Each tokenizer remains frozen during generator training. Differences in the tokenizer’s visual representation and codebook supervision are the interventions defined in § 2. Appendix § 6.§ 1 describes training of the semantic tokenizers, which precedes generator training. We evaluate reconstruction FID (rFID) on the 50,000 ImageNet validation images. Semantic-LM has no image decoder, so reconstruction quality is undefined; Table 2 denotes this case by . For AR-only generation, we evaluate the checkpoint after 150,000 pretraining updates using the same GenEval prompts as the final model and AR classifier-free guidance scale 3.
Shared diffusion objective and noise schedule. PDM and diffusion post-training use the same noising, resolution shift, and loss convention. Images are normalized to . Using the implementation’s clean-time coordinate , we sample with and , and set . Gaussian noise has standard deviation 2. For an image with diffusion patches, the high-resolution schedule uses
Low-resolution images use , including throughout the first 50,000 updates; high-resolution images in the mixed phase use Eq. (8). The diffusion patch size is 16 pixels, following the reference diffusion recipe. The patch count in Eq. (8) is distinct from the AR code sequence length and the global training token budget.
The implementation forms , where . The image prediction is converted to a velocity prediction using the stabilized denominator :
We minimize squared velocity error, averaging over RGB values within each image and then over images. Unequal per-rank image counts are weighted to recover this global image average. The clean-time coordinate is the reverse of the noise-time coordinate in § 2: ; reversing both velocity signs leaves squared error unchanged.
Optimization. We use stage-specific settings selected through prior hyperparameter searches and share the selected settings across tokenizer variants. The PDM base learning rate is , with 2,000 linear-warmup updates followed by a constant rate. AR pretraining uses base learning rate and the same warmup duration. Diffusion post-training uses a separately selected base learning rate of , held constant without warmup. All stages use AdamW with , , weight decay 0.01, and gradient clipping at norm 1. EMA is disabled.
Pretraining Hyperparameter Transfer
Models and frozen representations. We vary width at 16 layers and depth at width 512, yielding the 11 distinct architectures in Table 5. Each model is a causal RandAR transformer with pre-RMSNorm, QK normalization, SwiGLU feed-forward layers, and axial two-dimensional rotary position embeddings. The attention head dimension is fixed at 128. The FFN hidden dimension is , where is model width. The input and output share a trainable, factorized code table with 131,072 entries of dimension 256.
| Sweep | Width | Layers | Heads | FFN | Parameters |
| Depth | 512 | 4 | 4 | 1536 | 48.9M |
| 512 | 8 | 4 | 1536 | 62.5M | |
| 512 | 12 | 4 | 1536 | 76.2M | |
| 512 | 24 | 4 | 1536 | 117.1M | |
| 512 | 32 | 4 | 1536 | 144.4M | |
| Shared | 512 | 16 | 4 | 1536 | 89.8M |
| Width | 256 | 16 | 2 | 768 | 48.1M |
| 384 | 16 | 3 | 1024 | 63.1M | |
| 640 | 16 | 5 | 1792 | 117.0M | |
| 768 | 16 | 6 | 2048 | 149.5M | |
| 1024 | 16 | 8 | 2816 | 242.9M |
Table 5. Architectures used for AR hyperparameter transfer. Each row is trained at all 12 base learning rates. The reference architecture appears in both panels of Fig. 7. Parameter counts include all trainable AR parameters, count the tied code table once, and exclude the frozen visual tokenizer and text encoder. FFN denotes feed-forward hidden dimension; each attention head has dimension 128. Parameter counts are rounded to one decimal place in millions (M).
All sweep arms share frozen FLAN-T5-XL text features (dimension 2048, maximum length 512) and the frozen Semantic-Recon tokenizer described in Appendix § 6.§ 1. Only the AR generator is optimized.
Table 5: Architectures used for AR hyperparameter transfer. Each row is trained at all 12 base learning rates. The reference architecture appears in both panels of Figure 7. Parameter counts include all trainable AR parameters, count the tied code table once, and exclude the frozen visual tokenizer and text encoder. FFN denotes feed-forward hidden dimension; each attention head has dimension 128. Parameter counts are rounded to one decimal place in millions (M).

Figure 7. Pretraining learning-rate transfer across width and depth. Each run trains for 50,000 updates. Each point averages 21 raw training cross-entropy measurements; crosses mark the minimum among the 12 tested base learning rates.
Initialization and transfer rules. Our reference dimensions are width , depth , and FFN hidden dimension . Define and . We fix the base initialization scale at throughout the sweep. Attention and FFN matrices use zero-mean truncated-normal initialization with scale . The width-to-width text projection uses a normal distribution with the same scale. Input/output code projections, the first text projection, and position-instruction token embeddings use normal initialization with scale ; normalization gains start at one and the output bias at zero. The tied code table is initialized from the frozen tokenizer’s codebook values, then trained as part of the AR model.
Following CompleteP-style depth scaling with exponent one, both the attention and FFN residual updates are multiplied by , and the hidden states entering the factorized readout are scaled by . For a hidden matrix, let be its fan-in multiplier: except for the FFN down projection, where . This distinction accounts for rounding the FFN dimension to a multiple of 256. Given base learning rate , weight decay , and AdamW stabilizer , hidden matrices use
Hidden normalization gains and biases retain base learning rate, receive no weight decay, and use . Input/output parameters use base learning rate and , with base weight decay on matrices and no decay on one-dimensional parameters. The second text projection is treated as a hidden matrix. There is no additional depth-dependent learning-rate factor at exponent one. This experiment varies the base learning rate under these fixed rules; it does not search over initialization scales.
Learning-rate grid and training recipe. We test the following 12 base learning rates for every architecture:
.
Each arm runs for 50,000 optimizer updates with global batch size 256 (32 images per rank on eight ranks), using the same in-house image–text data recipe at the native-resolution 256² tier. AdamW uses , base , base weight decay 0.01, and gradient clipping at norm 1. The learning rate increases linearly from to the arm’s base rate over 2,000 updates, then remains constant, with the parameter-group multipliers applied throughout. We use seed 42, text-condition dropout probability 0.1, BF16 model computation.
Loss aggregation and recipe selection. Each arm trains for 50,000 updates. Each plotted point averages 21 raw training CE measurements. Repeated records at an optimizer step are resolved using the latest timestamp before averaging. The shared reference architecture is plotted in both panels. The statistic is training CE rather than held-out loss or decoded image quality. Selecting gives the grid minimum at all six depths and a maximum excess CE of 0.0048 nats per token across all 11 architectures.
AR Scaling Protocol and Results
Training setup. We fit the 18 AR models in Table 6 using the initialization and optimizer scaling rules in Appendix § 6.§ 3. All models use a frozen IBQ tokenizer trained on Qwen2.5-VL-32B post-merger features (131,072 codes, dimension 256, update-80,000 checkpoint), frozen FLAN-T5-XL text features (maximum length 512), and images at the area tier. Training uses AdamW with learning rate , , , weight decay 0.01, gradient clipping at norm 1, and batch size 1,024. The learning rate warms up for 2,000 updates and remains constant thereafter.
| (M) | Layers (depth) | Hidden dim. | Heads | Head dim. | FFN dim. |
| 55.71 | 6 | 512 | 4 | 128 | 1,536 |
| 71.30 | 7 | 640 | 5 | 128 | 1,792 |
| 99.96 | 9 | 768 | 6 | 128 | 2,048 |
| 137.73 | 10 | 896 | 7 | 128 | 2,560 |
| 191.53 | 12 | 1,024 | 8 | 128 | 2,816 |
| 260.95 | 14 | 1,152 | 9 | 128 | 3,072 |
| 323.07 | 14 | 1,280 | 10 | 128 | 3,328 |
| 343.39 | 15 | 1,280 | 10 | 128 | 3,584 |
| 401.57 | 15 | 1,408 | 11 | 128 | 3,840 |
| 425.72 | 16 | 1,408 | 11 | 128 | 3,840 |
| 493.02 | 16 | 1,536 | 12 | 128 | 4,096 |
| 549.65 | 18 | 1,536 | 12 | 128 | 4,096 |
| 688.28 | 19 | 1,664 | 13 | 128 | 4,608 |
| 860.44 | 21 | 1,792 | 14 | 128 | 4,864 |
| 1,059.83 | 23 | 1,920 | 15 | 128 | 5,120 |
| 1,276.36 | 24 | 2,048 | 16 | 128 | 5,632 |
| 1,764.95 | 27 | 2,304 | 18 | 128 | 6,144 |
| 2,425.92 | 30 | 2,560 | 20 | 128 | 6,912 |
Table 6. AR architectures used for the scaling fits. Models are sorted by trainable parameters ; and denote hidden and FFN dimensions. Shared vocabulary weights are counted once; frozen encoders and tokenizers are excluded.
Loss and compute. Let count text tokens and count supervised visual targets. We count all processed sequence positions:
The factor of two accounts for one position-instruction token per visual code.
Training-curve envelope. Following Hoffmann et al. (2022); Ge et al. (2026), we interpolate loss linearly in within each model’s observed range and select the minimum at 1,600 log-spaced budgets. The range starts at the first crossing of the two smallest models and ends at the smaller of and the maximum observed compute. Each winner defines and . We fit power laws by ordinary least squares in log–log space, retaining boundary winners. Figures display one point per winning model, nearest the geometric mean of its winning budgets.
IsoFLOP profiles. We interpolate loss at each budget and fit a quadratic in . A valid minimum requires positive curvature, at least five models, and at least two model sizes on either side. The candidate budgets are
We regress and in log–log space over the longest contiguous valid segment.
Parametric loss. Within the envelope range, we interpolate loss in log at 24 geometrically spaced token counts per model after update 5,000. For the resulting 432 equally weighted samples, we fit , where and , by minimizing
where is the Huber loss. We select the lowest objective among 75 L-BFGS-B initializations with positive coefficients and exponents. The optimal allocation has and .
Full-sequence results. The envelope covers – FLOPs; IsoFLOP uses 12 budgets over – FLOPs. The parametric loss coefficients are
Table 7 gives the full-sequence allocation laws.
| Method | (M) | (B) | ||
| Envelope | 296.96 | 56.12 | 0.5268 | 0.4732 |
| IsoFLOP | 270.58 | 61.60 | 0.4705 | 0.5295 |
| Parametric | 199.05 | 83.73 | 0.4823 | 0.5177 |
Table 7. Full-sequence AR allocation laws. and .
Post-training Scaling Protocol and Results
Training recipe. We initialize each model from its pretrained AR backbone and keep the AR parameters, including attention projections, frozen. Only the diffusion FFNs, AdaLN modules, and input/output adapters are newly initialized and trained; the adapters include patch and timestep embeddings and the pixel readout. We use CompleteP initialization with base scale 0.02.
The scaling family uses native images at the area tier, 14-pixel diffusion patches, frozen FLAN-T5-XL text features with maximum length 512, and global batch size 512. We train with AdamW (, , weight decay 0.01), clip gradients at norm 1, and use base learning rate without warmup or learning-rate decay. Parameter-group rates follow CompleteP scaling. Parameter EMA is disabled.
We normalize images to , use Gaussian noise with standard deviation 2, and sample the clean-time coordinate from a logit-normal distribution with location 0 and scale 1. The velocity conversion uses denominator , as in Appendix § 6.§ 2. Text conditioning is dropped with probability 0.1; the AR visual conditioning is retained.
Post-training learning-rate search. We search the eight base learning rates at width/depth pairs , , , and . For each architecture, the pretrained AR checkpoint and diffusion initialization are fixed across learning rates. We compare all eight rates for all four architectures at approximately 20,000 updates, averaging 41 raw loss measurements without smoothing. For the three smaller models, the window spans updates 19,600–20,400. For the largest model, we use the last 41 measurements of each run: updates 18,060–18,860 for the four lower rates and 18,480–19,280 for the four higher rates.
The observed minima occur at , , , and in order of increasing model size. The shared rate used for scaling is within 0.0003 velocity-MSE of the observed minimum for all four models.

Figure 8. Post-training learning-rate search. Mean training loss at approximately 20,000 updates for four width/depth pairs. Each point averages 41 measurements; the largest model uses its final available windows. Crosses mark the minimum for each model.
Data and parameter accounting. We fit the 14 architectures in Table 8 using raw training velocity-MSE, without smoothing or a loss threshold. The results use the fixed September 20 data snapshot. Each renderer is trained on its corresponding frozen AR backbone. We first fit the AR scaling law and, for each model size, select the AR checkpoint corresponding to its predicted compute-optimal FLOPs budget for diffusion post-training.
| Parameters (M) | Layers | Width | Heads | FFN width |
| 25.13 | 6 | 512 | 4 | 1536 |
| 43.46 | 7 | 640 | 5 | 1792 |
| 77.23 | 9 | 768 | 6 | 2048 |
| 120.73 | 10 | 896 | 7 | 2560 |
| 184.00 | 12 | 1024 | 8 | 2816 |
| 265.85 | 14 | 1152 | 9 | 3072 |
| 360.77 | 15 | 1280 | 10 | 3584 |
| 457.95 | 16 | 1408 | 11 | 3840 |
| 604.00 | 18 | 1536 | 12 | 4096 |
| 763.60 | 19 | 1664 | 13 | 4608 |
| 966.18 | 21 | 1792 | 14 | 4864 |
| 1201.11 | 23 | 1920 | 15 | 5120 |
| 1450.28 | 24 | 2048 | 16 | 5632 |
| 2026.19 | 27 | 2304 | 18 | 6144 |
Table 8. Post-training model family, ordered by trainable diffusion parameter count. Attention heads have dimension 128. The AR backbone and external encoders remain frozen and are excluded from the parameter counts.
counts trainable diffusion parameters, including embeddings, modulation, feed-forward blocks, and readout, but excludes the frozen AR path and external encoders. Let count the AR codes consumed during post-training, the supervised diffusion patches, and the text positions. Each AR code has one position-instruction token. An AR grid of covers an image of pixels, whereas the renderer uses patches. Thus each image contains four diffusion patches per AR code, and the cumulative counts satisfy
We use as a normalized compute proxy rather than a physical-operation count: exact FLOPs require separate accounting for the frozen AR forward pass and the trainable renderer’s forward/backward passes. The source AR checkpoint varies across models, so the fitted law is conditional on this checkpoint family.
Parametric loss modelling. The fit covers – in full-sequence compute, ending at the maximum observed budget. The training-curve envelope uses the same interval. We fit by minimizing squared log-loss residuals, giving each model equal total weight. All eligible observations enter the fit. We select the lowest objective among nine initializations, constraining and the amplitudes and exponents to be positive. The fitted surface is
The allocation exponents satisfy and under .
Training-curve envelope. We interpolate loss linearly in within each model’s observed range, select the lowest loss at 500 log-spaced budgets, and regress and on . Boundary winners are retained. All budgets enter the regression, whereas figures display one representative per winning model, nearest the geometric mean of its winning budgets.
IsoFLOP profiles. We evaluate 15 log-spaced budgets over the same compute interval. At each budget, a quadratic in is fitted to interpolated raw loss. An accepted minimum requires at least three model sizes, positive curvature, and both the observed minimum and fitted vertex strictly inside the available size range. We regress all accepted vertices: eight budgets over –. No training curve is extrapolated to construct an envelope or IsoFLOP point.
| Method | (M) | (B) | ||
| Parametric | 513.48 | 32.46 | 0.7021 | 0.2979 |
| Envelope | 395.28 | 42.16 | 0.5492 | 0.4508 |
| IsoFLOP | 377.99 | 44.09 | 0.4538 | 0.5462 |
Table 9. Post-training allocation fits. With , and , using full-sequence token counts.
Pixel-Diffusion Hyperparameter Transfer
We independently tune the PDM baseline trained from scratch using Completer learning-rate transfer. We vary width over at 16 layers and depth over at width 512. Each configuration is trained for 50,000 updates. The eight base learning rates are
We retain the original search statistic: mean training velocity-MSE over the final 10,000 updates. Each point averages 500 logged measurements, without smoothing. Figure 9 shows the complete width and depth searches. Every curve reaches its grid minimum at either or , supporting learning-rate transfer across model sizes. Table 10 lists these minima.

Figure 9. Pixel-diffusion learning-rate transfer. Original width and depth search results after 50,000 training updates. Points average the final 10,000 updates; crosses mark the best tested learning rate.
| Sweep | Width | Layers | Best base LR | Training loss |
| Width | 256 | 16 | 0.1405 | |
| Width | 384 | 16 | 0.1309 | |
| Width | 512 | 16 | 0.1258 | |
| Width | 640 | 16 | 0.1231 | |
| Width | 768 | 16 | 0.1214 | |
| Width | 1024 | 16 | 0.1195 | |
| Depth | 512 | 4 | 0.1355 | |
| Depth | 512 | 8 | 0.1295 | |
| Depth | 512 | 12 | 0.1273 | |
| Depth | 512 | 16 | 0.1258 | |
| Depth | 512 | 24 | 0.1241 | |
| Depth | 512 | 32 | 0.1234 |
Table 10. Grid minima in the original PDM hyperparameter search. The shared width-512, depth-16 architecture is evaluated in both sweeps.
The original search uses 16-pixel patches and FFN width , where is model width. Additional checks at five anchor architectures use FFN width rounded from and learning rates . Their minima also lie at or . The scaling family uses this rounded FFN configuration with 14-pixel patches and base learning rate . Training uses global batch size 512, AdamW with , , weight decay 0.01, and 2,000 warmup updates followed by a constant rate. This search concerns PDMs trained from scratch. The independent post-training search is described in Appendix § 6.§ 5.
Pixel-Diffusion Scaling from Scratch
Models and compute. We train eight PDMs from scratch using the recipe in Appendix § 6.6. Noise scale, timestep distribution, text-conditioning dropout, and loss averaging are identical to diffusion post-training (Appendix § 6.§ 5). Table 11 gives their architectures and trainable parameter counts. The models contain no AR backbone. Here includes the denoiser’s attention, FFN, modulation, text projection, patch embedding, and image readout, excluding the frozen text encoder. counts the actual packed text and diffusion positions, including the effect of text-condition dropout, and .
| Parameters (M) | Layers | Width | Heads | FFN width |
| 23.83 | 6 | 512 | 4 | 1536 |
| 69.97 | 9 | 768 | 6 | 2048 |
| 164.08 | 12 | 1024 | 8 | 2816 |
| 319.16 | 15 | 1280 | 10 | 3584 |
| 529.29 | 18 | 1536 | 12 | 4096 |
| 844.62 | 21 | 1792 | 14 | 4864 |
| 1265.74 | 24 | 2048 | 16 | 5632 |
| 1760.20 | 27 | 2304 | 18 | 6144 |
Table 11. Pure PDM scaling architectures, ordered by trainable parameter count. All attention heads have dimension 128.
Fitting protocol. We use raw training velocity-MSE without EMA, binning, or a loss threshold. The envelope and parametric fits cover . We interpolate each observed loss curve in and select the minimum at 500 log-spaced budgets. All envelope winners, including boundary winners, enter the log–log allocation regression; figures display one representative point per winning model.
For IsoFLOP, we evaluate 15 log-spaced candidate budgets and fit a quadratic in at each budget. A valid minimum requires at least three model sizes, positive curvature, and both the observed minimum and fitted vertex inside the available size range. Nine budgets are accepted over – FLOPs. No training curve is extrapolated to construct an envelope or IsoFLOP point.
For the parametric estimator, we fit all eligible observations by minimizing squared log-loss residuals, giving each model equal total weight. We retain the best of nine initializations, with and positive amplitudes and exponents. The resulting loss law is
Its fitted asymptotic loss exceeds the post-training value . Table 12 gives the three compute-optimal allocation fits, and Figure 10 shows the envelope and IsoFLOP results.
| Method | (M) | (B) | ||
| Envelope | 394.37 | 42.26 | 0.5744 | 0.4256 |
| IsoFLOP | 409.73 | 40.68 | 0.5161 | 0.4839 |
| Parametric | 535.04 | 31.15 | 0.7143 | 0.2857 |
Table 12. Full-sequence PDM allocation laws. For , and .

Figure 10. Pixel-diffusion scaling from scratch. Full-sequence compute accounting for eight model sizes. Top: training losses and envelope allocations. Bottom: six representative IsoFLOP profiles and allocation fits using all nine accepted minima. Stars mark the quadratic minima.
Compute Accounting and Stage Allocation
We use throughout, with counting the trainable parameters of that stage and counting processed sequence positions. For diffusion post-training, excludes the frozen AR backbone; for diffusion from scratch, it includes the entire denoising model. Both exclude external frozen encoders. Pure PDM processes text and diffusion patches, whereas post-training also processes AR codes and position-instruction tokens. We therefore use each model’s actual packed-token count rather than assigning the same token count to the two architectures.
Induced budget allocation. We convert the two envelope laws into a budget split. Inverting gives the compute at which a model of size is the envelope winner, . For each jointly scaled model we evaluate from Appendix § 6.§ 4 and from Appendix § 6.§ 5 using full-sequence counts, then set . Table 13 lists the nine models with ; the smaller models give noisy envelope winners and unstable splits. Summed over these models the split is (). This allocation uses the normalized proxy, which excludes the frozen-AR forward pass in post-training, rather than measured hardware FLOPs. AR cross-entropy is never combined numerically with diffusion loss; each stage is optimized under its own metric.
| (M) | (M) | |||
| 260.95 | 265.85 | 0.383 | ||
| 343.39 | 360.77 | 0.391 | ||
| 425.72 | 457.95 | 0.398 | ||
| 549.65 | 604.00 | 0.402 | ||
| 688.28 | 763.60 | 0.402 | ||
| 860.44 | 966.18 | 0.403 | ||
| 1059.83 | 1201.11 | 0.403 | ||
| 1276.36 | 1450.28 | 0.401 | ||
| 1764.95 | 2026.19 | 0.400 | ||
| Total | 0.401 |
Table 13. Induced pretraining–post-training budget allocation at the envelope compute-optimal. For each jointly scaled model, each stage is placed at its own envelope optimum and . excludes frozen modules; uses the full-sequence proxy. Models below 261M are omitted as noisy.
Final Model Recipe and Evaluation
Final-model training. The large-scale AR backbone has width 2304 and 27 layers. It uses frozen Qwen3-4B text features from layers 9, 18, and 27, concatenated to 7680 dimensions; feature extraction stops at layer 27 and uses BF16. AR pretraining uses a global batch size of 2048 and a caption mixture of 70% flattened long captions and 30% canonical structured captions. The 150k-update AR curriculum uses 50k updates at the 256-resolution tier, ramps toward a 50/25/25 mixture of the 256/512/1024 tiers over the next 50k, and holds that mixture for the last 50k. These proportions count examples within the global batch. This final-model recipe is separate from the controlled comparisons in Table 2. We then freeze the AR backbone and train the diffusion modules for 100,000 updates with global batch size 512. Diffusion uses four times as many visual target tokens per image as AR pretraining, so we reduce its image batch size by a factor of four. This balances visual-target throughput per update at a matched resolution. Guided by the prescribed 3:2 stage allocation, we use a matching ratio of pretraining to post-training updates. Post-training follows the diffusion resolution curriculum, preserving its resolution proportions while reducing each resolution-specific batch size proportionally to give global batch size 512. We use AdamW with weight decay 0.01 and base learning rate , selected by the post-training learning-rate search in Appendix § 6.§ 5.
Training cost. The total training budget is approximately 6,600 H100 GPU-hours. Following the prescribed 3:2 allocation, the nominal stage budgets are approximately 3,960 GPU-hours for AR pretraining and 2,640 GPU-hours for diffusion post-training. These are budget allocations rather than separate measurements of stage runtime.
Evaluation sampling. We use an exponential moving average (EMA) of the trainable diffusion parameters, with decay 0.9999 starting at update 20,000; the frozen AR parameters remain unchanged. We set AR classifier-free guidance (CFG) to 3 and use a 50-step Euler sampler for diffusion, with AR-conditioning CFG 3 and text-conditioning CFG 4. GenEval uses 553 prompts with one image per prompt and seed 42; DPG-Bench uses 1,065 prompts with four images per prompt and seeds 42–45. We use LLM-assisted prompt rewriting and select prompt variants using evaluation scores under fixed seeds.
Qualitative examples. Figure 11 presents 32 generations result from the final text-to-image model.

Figure 11. Selected generation samples from our final text-to-image model.
Discussion: Semantic inference and rendering in frontier models.
Our results suggest a broader interpretation of the separation between knowledge acquisition and rendering. We suspect that frontier visual generators ((OpenAI, 2026; Ideogram; Reve, 2026)) increasingly perform substantial semantic inference before committing to pixel generation. An autoregressive process can expand a user request into a richer specification through text or visual tokens, structured representations, retrieved information, or agentic interaction. Prompt rewriting and long textual rollouts are simple instances of this principle ([11]): additional context progressively specifies the desired image and reduces the ambiguity left to the renderer. Under this view, the role of autoregression is not necessarily to produce an image that can already be decoded, but to resolve what should be rendered; diffusion can then focus on realizing this specification in pixels.
Semantic-LM admits a similar interpretation. Its discrete visual tokens are trained through language supervision and need not reconstruct or directly generate an image. They can instead be viewed as a compressed semantic state between inference and rendering. In this sense, a semantic visual rollout and a long textual rollout may serve related purposes: both enrich the renderer’s conditioning context, but visual tokens may encode the relevant information more compactly and in a spatially grounded form. This perspective also raises a question not resolved by our current experiments. Semantic-Recon retains reconstruction-oriented visual information, whereas Semantic-LM more directly aligns its representation with language semantics. Without explicit textual rollouts, our results do not determine which interface is preferable when a generator already has access to rich language or agentic context. We suspect that Semantic-LM may be particularly compatible with such inference, while Semantic-Recon may preserve complementary visual information. Understanding how textual, visual, structured, and agentic representations should interact—and how much uncertainty each should resolve before rendering—is an important direction for future visual generation systems.
References
- [1]Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, Humen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhaohai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren Fu, Yiheng Xu, Jiabo Ye, Xi Zhang, Tianbao Xie, Zesen Cheng, Hang Zhang, Zhibo Yang, Haiyang Xu, and Junyang Lin. Qwen2.5-vl technical report, 2025. URL https://arxiv.org/abs/2502.13923.
- [2]James Betker, Gabriel Goh, Li Jing, Tim Brooks, Jianfeng Wang, Linjie Li, Long Ouyang, Juntang Zhuang, Joyce Lee, Yufei Guo, Wesam Manassra, Prafulla Dhariwal, Casey Chu, Yunxin Jiao, and Aditya Ramesh. Improving image generation with better captions. OpenAI technical report, 2023. URL https://cdn.openai.com/papers/dall-e-3.pdf.
- [3]Black Forest Labs. FLUX.1 [dev]. https://huggingface.co/black-forest-labs/FLUX.1-dev, 2024.
- [4]Black Forest Labs. FLUX.2: Official inference repository and autoencoder. https://github.com/black-forest-labs/flux2, 2025.
- [5]Qi Cai, Jingwen Chen, Yang Chen, et al. HiDream-I1: A high-efficient image generative foundation model with sparse diffusion transformer. arXiv preprint arXiv:2505.22705, 2025. URL https://arxiv.org/abs/2505.22705.
- [7]Hao Chen, Yujin Han, Fangyi Chen, Xiang Li, Yidong Wang, Jindong Wang, Ze Wang, Zicheng Liu, Difan Zou, and Bhiksha Raj. Masked Autoencoders Are Effective Tokenizers for Diffusion Models. arXiv preprint arXiv:2502.03444, 2025b. URL https://arxiv.org/abs/2502.03444.
- [8]Jiuhai Chen, Zhiyang Xu, Xichen Pan, Yushi Hu, Can Qin, Tom Goldstein, Lifu Huang, Tianyi Zhou, Saining Xie, Silvio Savarese, Le Xue, Caiming Xiong, and Ran Xu. BLIP3-o: A family of fully open unified multimodal models—architecture, training and dataset. arXiv preprint arXiv:2505.09568, 2025c. URL https://arxiv.org/abs/2505.09568.
- [9]Jiuhai Chen, Le Xue, Zhiyang Xu, Xichen Pan, Shusheng Yang, Can Qin, An Yan, Honglu Zhou, Zeyuan Chen, Lifu Huang, Tianyi Zhou, Junnan Li, Silvio Savarese, Caiming Xiong, and Ran Xu. BLIP3o-NEXT: Next frontier of native image generation. arXiv preprint arXiv:2510.15857, 2025d. URL https://arxiv.org/abs/2510.15857.
- [10]Junsong Chen, Jincheng Yu, Chongjian Ge, Lewei Yao, Enze Xie, Yue Wu, Zhongdao Wang, James Kwok, Ping Luo, Huchuan Lu, and Zhenguo Li. PixArt-α: Fast training of diffusion transformer for photorealistic text-to-image synthesis. arXiv preprint arXiv:2310.00426, 2023. URL https://arxiv.org/abs/2310.00426.
- [11]Zilong Chen, Chaorui Deng, Kunchang Li, Hongyi Yuan, and Haoqi Fan. Scaling properties of text conditioning in visual generation. arXiv preprint arXiv:2607.29679, 2026. doi: 10.48550/arXiv.2607.29679. URL https://arxiv.org/abs/2607.29679.
- [12]Yufeng Cui, Honghao Chen, Haoge Deng, Xu Huang, Xinghang Li, Jirong Liu, Yang Liu, Zhuoyan Luo, Jinsheng Wang, Wenxuan Wang, et al. Emu3.5: Native multimodal models are world learners. arXiv preprint arXiv:2510.26583, 2025.arxiv.org/abs/2510.26583