arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09347cs.CVcs.LGeess.IV

通过条件对比对齐迈向无引导的 AR 视觉生成

Toward Guidance-Free AR Visual Generation via Condition Contrastive Alignment

Tsinghua University(清华大学);The University of Hong Kong(香港大学)

Huayu Chen, Hang Su, Peize Sun, Jun Zhu

AI总结:

提出 Condition Contrastive Alignment (CCA) 方法,通过直接微调预训练模型拟合目标分布,在仅需1%预训练时间下实现高性能的无引导 AR 视觉生成,将采样成本减半,并统一了语言对齐与视觉引导方法。

摘要:

Classifier-Free Guidance (CFG) 是提升视觉生成模型样本质量的关键技术。然而,在自回归(AR)多模态生成中,CFG 在语言和视觉内容之间引入了设计不一致性,这与统一不同模态以进行视觉 AR 的设计理念相悖。受语言模型对齐方法的启发,我们提出了 Condition Contrastive Alignment (CCA) 来促进高性能的无引导 AR 视觉生成,并分析了其与引导采样方法的理论联系。与通过改变采样过程来实现理想采样分布的引导方法不同,CCA 直接微调预训练模型以拟合相同的分布目标。实验结果表明,仅需在预训练数据集上微调一个 epoch(约占预训练 epoch 的 1%),CCA 就能显著提升所有测试模型的无引导性能,与引导采样方法相当。这在很大程度上消除了 AR 视觉生成中对引导采样的需求,并将采样成本减半。此外,通过调整训练参数,CCA 可以在样本多样性和保真度之间实现类似于 CFG 的权衡。这在实验上证实了针对语言的对齐方法与针对视觉的引导方法之间的强理论联系,统一了两个先前独立的研究领域。代码和模型权重:https://github.com/thu-ml/CCA。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑