CoRe^2:收集、反思与精炼以生成更好且更快的结果
CoRe^2: Collect, Reflect and Refine to Generate Better and Faster
AI总结:
提出即插即用推理范式 CoRe^2,通过收集 CFG 轨迹、训练弱模型并进行弱到强精炼,在多种扩散模型和自回归模型上同时提升 T2I 生成质量与采样速度。
摘要:
使文本到图像(T2I)生成模型既能快速采样又能良好生成,是一个很有前景的研究方向。以往研究通常要么以牺牲采样效率为代价提升合成图像的视觉质量,要么大幅加速采样却不提升基础模型的生成能力。此外,几乎所有推理方法都无法同时确保在扩散模型(DMs)和视觉自回归模型(ARMs)上取得稳定性能。本文提出一种新颖的即插即用推理范式 CoRe^2,它包含三个子过程:Collect(收集)、Reflect(反思)和 Refine(精炼)。CoRe^2 首先收集无分类器引导(CFG)轨迹,然后利用收集到的数据训练一个弱模型,该弱模型反映易于学习的内容,同时在推理期间将函数评估次数减少一半。随后,CoRe^2 采用弱到强引导来精炼条件输出,从而提升模型生成高频且逼真内容的能力,这些内容是基础模型难以捕捉的。据我们所知,CoRe^2 首次在广泛的 DMs(包括 SDXL、SD3.5 和 FLUX)以及 LlamaGen 等 ARMs 上同时展示了效率和有效性。它在 HPD v2、Pick-of-Pic、Drawbench、GenEval 和 T2I-Compbench 上均表现出显著的性能提升。此外,CoRe^2 可与最先进的 Z-Sampling 无缝集成,在 PickScore 和 AES 上分别比其高出 0.3 和 0.16,同时使用 SD3.5 实现 5.64 秒的时间节省。代码已发布于 https://github.com/xie-lab-ml/CoRe/tree/main。
英文摘要:
Making text-to-image (T2I) generative model sample both fast and well represents a promising research direction. Previous studies have typically focused on either enhancing the visual quality of synthesized images at the expense of sampling efficiency or dramatically accelerating sampling without improving the base model's generative capacity. Moreover, nearly all inference methods have not been able to ensure stable performance simultaneously on both diffusion models (DMs) and visual autoregressive models (ARMs). In this paper, we introduce a novel plug-and-play inference paradigm, CoRe^2, which comprises three subprocesses: Collect, Reflect, and Refine. CoRe^2 first collects classifier-free guidance (CFG) trajectories, and then use collected data to train a weak model that reflects the easy-to-learn contents while reducing number of function evaluations during inference by half. Subsequently, CoRe^2 employs weak-to-strong guidance to refine the conditional output, thereby improving the model's capacity to generate high-frequency and realistic content, which is difficult for the base model to capture. To the best of our knowledge, CoRe^2 is the first to demonstrate both efficiency and effectiveness across a wide range of DMs, including SDXL, SD3.5, and FLUX, as well as ARMs like LlamaGen. It has exhibited significant performance improvements on HPD v2, Pick-of-Pic, Drawbench, GenEval, and T2I-Compbench. Furthermore, CoRe^2 can be seamlessly integrated with the state-of-the-art Z-Sampling, outperforming it by 0.3 and 0.16 on PickScore and AES, while achieving 5.64s time saving using SD3.5.Code is released at https://github.com/xie-lab-ml/CoRe/tree/main.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。