acceptodds
Published as a conference paper at NeurIPS 2026

Demystifying Classifier-Free Guidance for Auto-Regressive Image Generation

Zhiling Zhou, Jiachun Pan, Fengzhuo Zhang, Dirk Bergemann, Zhuoran Yang

Abstract

Classifier-free guidance (CFG) has been widely adopted in autoregressive (AR) models for high-quality image generation. Despite its strong empirical performance, its mechanism in AR models remains unclear. This paper demystifies the mechanism of CFG through both empirical and theoretical studies. By examining the top-ranked semantics of different components in CFG, we show that texture information is primarily encoded in the difference between the conditional and unconditional logits, whereas both logits share previous-token repetition as their leading semantics. This strong repetition semantics obscures the desired texture information, causing greedy decoding from the conditional logits alone to produce nearly pure-color images. Through a training-dynamics analysis of shallow transformers, we prove that this shared repetition semantics does not arise from limitations or failures of pretraining, but instead originates from the texture sparsity of images. We further show that CFG improves generation quality by rectifying this repetition bias during inference. Motivated by the shared semantics between conditional and unconditional logits, we propose Attention Weight Reuse (AttnReuse), which reuses intermediate attention computations from the conditional-logit forward pass to accelerate the unconditional-logit computation. AttnReuse reduces about of attention computation with little performance degradation across different models.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_j3TVOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies why classifier-free guidance (CFG) is effective in autoregressive image generation. Through experiments on LlamaGen, Lumina-mGPT 2.0, and Emu3, the authors argue that conditional and unconditional logits share a strong tendency to repeat previous visual tokens, while texture-related information is more prominent in their difference. A theoretical analysis of a simplified single-layer Transformer attributes this behavior to texture sparsity rather than failed optimization. Based on the similarity between the two CFG branches, the paper proposes Attention Weight Reuse (AttnReuse), which approximates the unconditional attention computation using information from the conditional branch. Experiments on three AR models and SD3-Medium report reduced attention FLOPs with limited degradation on DPG-Bench.

Strengths and weaknesses

Strengths

  1. The paper studies an important and insufficiently understood problem. CFG is widely used in autoregressive image generation and substantially increases inference cost, yet most existing explanations are developed for diffusion models. The empirical analysis across models of different scales is interesting, and the repetition interventions provide useful evidence about the behavior of the highest-probability visual tokens.

  2. The paper also makes a meaningful attempt to connect the empirical observations with theory. In the simplified setting, the analysis reproduces several observed phenomena, including conditional–unconditional prediction alignment, background-token repetition, and recovery through CFG. AttnReuse is simple, requires no additional training, and appears applicable to several model families.

Weaknesses

  1. the theoretical results rely on a highly stylized setting: a single-layer Transformer, orthonormal token and position embeddings, a simplified image distribution with one localized feature block, and a two-stage optimization protocol. The ImageNet wavelet analysis provides only limited motivation for the texture-sparsity assumption and does not directly validate the asymptotic assumption used in the theorem. The paper should more carefully distinguish what is formally established in this model from what is hypothesized for modern deep AR generators.

  2. the causal evidence for the proposed mechanism is incomplete in practical models. The repetition experiment fills the first 20% of visual positions with the same frequent token and then measures whether generation continues to repeat it. This demonstrates continuation under a strongly repetitive prefix, but it does not by itself establish that repetition is the primary cause of pure-color collapse in ordinary prompt-based generation. Natural-generation repetition statistics, diverse-prefix controls, or synthetic datasets with controlled texture density would strengthen the argument. In addition, the logit-space similarity metric compares the conditional–unconditional difference with the absolute magnitude of the logits, although logits are not invariant to additive shifts. Centered logits, probability-space divergences, rank correlations, or top-k overlap would provide more robust evidence.

  3. the practical efficiency evaluation is incomplete. The paper reports normalized attention FLOPs rather than end-to-end latency, throughput, memory use, or total model FLOPs. Attention accounts for only part of inference cost, and AttnReuse may introduce additional masking and renormalization overhead. The choice to reuse attention only in middle layers is also not systematically ablated. A latency–quality comparison across different reused layer ranges would make the practical benefit clearer.

  4. the empirical claims should be scoped more carefully. Most mechanism analyses use greedy decoding and therefore characterize top-ranked token behavior, while practical generation often uses nonzero temperature or other sampling strategies. The SD3 result also shows an uneven trade-off: attention FLOPs decrease from 100% to 87%, while the Overall score drops from 84.1 to 82.5 and the Entity score from 91.0 to 86.5, although some other categories improve. This is not necessarily worse than every AR result, but it indicates that the benefit outside AR models is less clear.

Questions
  1. Can the authors provide empirical evidence connecting the theoretical mechanism to different layers or scales of modern deep AR models? For example, does conditional–unconditional alignment or repetition bias remain similar across early, middle, and late layers?

  2. Can the authors strengthen the causal evidence that texture sparsity produces repetition bias in practical models? Comparisons using natural prefixes, randomized or diverse prefixes, and controlled texture-density datasets would be useful.

  3. Can the authors report end-to-end latency, throughput, memory usage, and total FLOPs, rather than attention FLOPs alone? A systematic ablation over the number and location of reused layers would also clarify the efficiency–quality trade-off.

  4. Do the repetition and logit-similarity findings remain under nonzero-temperature, top-k, or top-p sampling? This would clarify whether the proposed mechanism applies beyond top-ranked semantics under greedy decoding.

Limitations

The paper acknowledges its focus on image generation, but it should also discuss the gap between the simplified theoretical model and modern deep AR architectures, the limited causal evidence for texture sparsity in pretrained models, and the absence of end-to-end efficiency measurements.

Paper formatting concerns

None

Final justification

The rebuttal resolves most of my empirical concerns through additional robustness, model-scale, sampling, and end-to-end efficiency evaluations.

The main remaining issue is that the causal link between texture sparsity and repetition bias is proven only in a simplified setting and is not directly established in practical pretrained models.

AttnReuse is technically sound, but its end-to-end speedup remains modest.

Considering the rebuttal and other reviewers’ positive assessments, I raise my score from 3 to 4. These remaining limitations prevent a stronger accept score.

Reviewer_ibnVOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

This paper studies the classifier-free guidance mechanism in autoregressive image generation models. Through empirical experiments, the authors find that texture-related information is primarily exposed in the difference between the conditional and unconditional logits, while the top-ranked semantics of both conditional and unconditional logits are dominated by previous-token repetition.

Beyond the empirical analysis, the authors provide a theoretical explanation in a simplified shallow-transformer setting, showing that this repetition bias can arise even when the model is well trained. They argue that the phenomenon is caused by texture sparsity in image data rather than insufficient pretraining. Finally, based on their theoretical and empirical analysis, they propose AttnReuse, an acceleration mechanism for AR image generation that reduces attention computation during inference by 25%.

Strengths and weaknesses

Strengths

  1. The paper is well written and easy to follow.
  2. The design of the preliminary pilot empirical experiments is convincing and leads to meaningful observations. Together with the corresponding theoretical analysis, these results provide a new understanding of the commonly used classifier-free guidance mechanism in autoregressive image generation. The theoretical analysis and empirical findings form a coherent and mutually reinforcing story.

Weaknesses

  1. Compared with other CFG-free methods [1], [2], the proposed AttnReuse method provides only limited improvement in computational efficiency. As a result, its practical value may be somewhat limited.
  2. The experimental evaluation is conducted only on DPG-Bench. The lack of results on multiple benchmarks makes the empirical evidence less comprehensive and slightly weakens the reliability of the conclusions.
  3. The paper misses several important related works, especially discussions on CFG-free autoregressive image generation methods [1], [2], [3], [4].

[1] Chen, H., Su, H., Sun, P., & Zhu, J. (2025, May). Toward guidance-free ar visual generation via condition contrastive alignment. In International Conference on Learning Representations (Vol. 2025, pp. 65862-65881).

[2] Chen, H., Jiang, K., Zheng, K., Chen, J., Su, H., & Zhu, J. (2025). Visual generation without guidance. arXiv preprint arXiv:2501.15420.

[3] Geng, Z., Wang, Y., Ma, Y., Li, C., Rao, Y., Gu, S., ... & Jiang, J. (2025). X-omni: Reinforcement learning makes discrete autoregressive image generative models great again. arXiv preprint arXiv:2507.22058.

[4] Jin, J., Zhou, Z., Yang, X., Zhang, H., Liu, P., Zhu, J., & Deng, Z. (2026). LatentUM: Unleashing the Potential of Interleaved Cross-Modal Reasoning via a Latent-Space Unified Model. arXiv preprint arXiv:2604.02097.

Questions
  1. The paper mainly focuses on VQ-VAE-based generative visual features and emphasizes that classifier-free guidance is crucial for this class of AR image generation models. However, recent works have shown that when generative visual features are further aligned with language, CFG can be omitted in AR image generation [3], [4]. Can the proposed analytical framework explain this phenomenon?
  2. In the experiments on AttnReuse, the authors also evaluate the method on diffusion-based text-to-image models and show a certain degree of generality. Which findings in this paper are also applicable to diffusion-based models? In other words, which observations come from the text-to-image problem setting and data distribution, rather than from the specific generative modeling paradigm?
Limitations

yes

Paper formatting concerns

Not available

Final justification

The authors’ rebuttal has adequately addressed my main concerns. I therefore believe that the revised version of the paper is suitable for acceptance.

Reviewer_BiGtOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This work tries to find why CFG is crucial for AR image generation: (1) the conditional and unconditional logits share a dominant previous-token repetition bias; (2) texture information mainly resides in the conditional–unconditional logit difference; (3) this behavior originates from texture sparsity rather than optimization failure; and (4) the proposed Attention Weight Reuse (AttnReuse) leverages these observations to reduce approximately 25% of attention computation with little degradation.

Strengths and weaknesses

Strengths: (1) Novel perspective on AR CFG. The paper investigates CFG specifically for autoregressive image generation rather than diffusion models. This is a timely and relatively underexplored direction. (2) Interpretability-oriented analysis. The analysis of conditional, unconditional, and difference logits provides a plausible explanation for why CFG improves texture generation instead of simply reporting empirical improvements.

Weakness: (1) The theoretical assumptions appear quite restrictive. The analysis relies on a highly simplified shallow transformer together with strong assumptions such as texture sparsity, orthogonal embeddings, and a two-stage optimization procedure. It remains unclear how much of the theoretical insight transfers to modern deep AR transformers. (2) Limited validation of the proposed mechanism. Most experiments are conducted on three existing AR models. It would strengthen the paper to verify whether the same logit decomposition also explains recent AR variants, different tokenizers, or hybrid architectures.

Questions

(1) Can the authors verify whether the proposed repetition-bias mechanism also holds for larger and more recent AR architectures beyond the three evaluated models? (2) Could AttnReuse be extended beyond attention layers (e.g., MLP reuse or KV reuse), and how would approximation errors accumulate in deeper models?

Limitations

(1) The theoretical model abstracts away many properties of practical large transformers. (2) The proposed explanation focuses primarily on image generation and has not yet been validated for multimodal, video, or audio autoregressive generation.

Paper formatting concerns

No.

Final justification

Thanks for authors' response. I have no further concerns, and I will raise my score.

Comments on the paper

1 comment
Meta-review

The reviewers agree that the paper addresses an important and underexplored question: explaining the role of classifier-free guidance in autoregressive image generation. They find the empirical observations interesting, the paper generally clear, and the proposed AttnReuse method technically sound. The main concerns are the strength of the empirical validation and the scope of the theoretical claims. Overall, the paper is technically solid, but additional evidence is needed to better support the proposed mechanism and practical impact.

Clarify the scope of the theoretical claims. Clearly distinguish what is proven in the simplified theoretical setting from what is hypothesized for modern deep AR models, and provide any additional empirical evidence linking the theory to more practical architectures. Strengthen empirical validation of the mechanism. Address whether the repetition-bias and conditional–unconditional logit decomposition generalize across larger models, different architectures, decoding strategies, diffusion model or additional controlled experiments. Demonstrate practical value of AttnReuse. If available, provide end-to-end latency, throughput, memory, or total FLOPs in addition to attention FLOPs, and discuss the efficiency–quality trade-off. Address evaluation completeness and related work. Explain benchmark selection, discuss the missing CFG-free literature.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.