Know, then Draw: A New Learning Paradigm for Visual Generation

GenAI Diffusion TDIG ML Generative Models
视觉生成任务既需要高层语义知识,也依赖于精细的像素级细节。为此,我们提出一种学习范式:将知识获取的任务交由自回归式预训练完成,而将高保真渲染的任务则交由扩散模型后训练完成。在该框架下,我们系统研究了知识获取与渲染两个阶段各自的目标函数、表征方式及规模扩展规律。通过受控对比实验发现,相较于其他预训练目标,自回归建模是下游渲染任务更优的预训练目标,可同时提升学习效率与最终生成质量。我们进一步发现,仅依赖自回归方式生成图像的质量,并不必然与最终整体性能呈正相关;真正关键的是语义层面的质量。这一发现促使我们设计了一种纯语义型分词器(semantic tokenizer),该分词器仅通过语言监督信号进行训练,既无需图像解码器,也不引入任何图像重建损失。我们分别确立了知识获取与渲染两个阶段的计算最优缩放律(compute-optimal scaling laws),并发现:相比从零开始训练的像素级扩散模型,采用自回归预训练的模型所拟合出的渐近渲染损失更低。依据上述缩放律的指导,我们仅耗费6600个H100 GPU小时,即成功训练出一个参数量达30亿(3B)的文本到图像生成模型;该模型在GenEval基准上取得86分,在DPG-Bench基准上取得87分,从而在大规模场景下充分验证了所提范式的有效性与可行性。
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.
许愿