Toward Guidance-Free AR Visual Generation via Condition Contrastive Alignment

Huayu Chen, Hang Su, Peize Sun, Jun Zhu
2/12/2026

No official code found. Best implementation: FoundationVision/VAR (8,703 stars, MIT, last commit 2025-11-10). 1 more below.

Abstract

Classifier-Free Guidance (CFG) is a critical technique for enhancing the sample quality of visual generative models. However, in autoregressive (AR) multi-modal generation, CFG introduces design inconsistencies between language and visual content, contradicting the design philosophy of unifying different modalities for visual AR. Motivated by language model alignment methods, we propose \textit{Condition Contrastive Alignment} (CCA) to facilitate guidance-free AR visual generation with high performance and analyze its theoretical connection with guided sampling methods. Unlike guidance methods that alter the sampling process to achieve the ideal sampling distribution, CCA directly fine-tunes pretrained models to fit the same distribution target. Experimental results show that CCA can significantly enhance the guidance-free performance of all tested models with just one epoch of fine-tuning ($\sim$ 1\% of pretraining epochs) on the pretraining dataset, on par with guided sampling methods. This largely removes the need for guided sampling in AR visual generation and cuts the sampling cost by half. Moreover, by adjusting training parameters, CCA can achieve trade-offs between sample diversity and fidelity similar to CFG. This experimentally confirms the strong theoretical connection between language-targeted alignment and visual-targeted guidance methods, unifying two previously independent research fields. Code and model weights: https://github.com/thu-ml/CCA.

View on arXivView PDF

Code Implementations(2)

MIT

[NeurIPS 2024 Best Paper Award][GPT beats diffusionšŸ”„] [scaling laws in visual generationšŸ“ˆ] Official impl. of "Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction". An *ultra-simple, user-friendly yet state-of-the-art* codebase for autoregressive image generation!

8,703570Python, Jupyter NotebookApr 1, 202411 months agoMIT
auto-regressive-modelautoregressive-modelsdiffusion-modelsgenerative-aigenerative-model+7 more
thu-ml/CCACommunity100%
MIT

Codes accompanying the paper "Toward Guidance-Free AR Visual Generation via Condition Contrastive Alignment"

371PythonOct 14, 20241 years agoMIT

Similar Papers

Cite this paper

@article{chen2026toward,
  title  = {Toward Guidance-Free AR Visual Generation via Condition Contrastive Alignment},
  author = {Huayu Chen and Hang Su and Peize Sun and Jun Zhu},
  year   = {2026},
  eprint = {2410.09347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.09347},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.09347.svg)](https://codeofpaper.com/paper/2410.09347)

Discussion