arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00413stat.MLcs.LG
收藏

扩散模型与流匹配的对齐方法用于文本到图像生成

Alignment of Diffusion Model and Flow Matching for Text-to-Image Generation

Department of Statistics, University of California, Los Angeles(加州大学洛杉矶分校统计学系);Department of Industrial and Systems Engineering, University of Minneasota(明尼苏达大学工业与系统工程系);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院)

Yidong Ouyang, Liyan Xie, Hongyuan Zha, Guang Cheng

AI总结:

本文提出了一种无需微调的对齐框架,通过分数指导和速度指导分别优化扩散模型和流匹配模型,显著降低计算成本并提升生成质量。

摘要:

扩散模型和流匹配在文本到图像生成中展现了显著的成功。尽管许多现有的对齐方法主要集中在微调预训练生成模型以最大化给定的奖励函数上,但这些方法需要大量的计算资源,并且可能在不同的目标上泛化效果不佳。在本工作中,我们提出了一种新的对齐框架,通过利用对齐问题的本质——从奖励加权分布中采样,并展示它适用于扩散模型(通过分数指导)和流匹配模型(通过速度指导)。用于奖励加权分布的分数函数(速度场)可以分解为预训练的分数(速度场)加上奖励的条件期望。对于扩散模型的对齐,我们发现了一个根本性的挑战:指导项的对抗性质可能导致生成图像中出现不期望的伪影。因此,我们提出了一种无需微调的框架,训练一个指导网络来估计奖励的条件期望。我们实现了与基于微调的模型相当的性能,仅需一步生成,计算成本至少减少了60%。对于流匹配的对齐,我们提出了一种无需训练的框架,提高了生成质量,而无需额外的计算成本。

英文摘要:

Diffusion models and flow matching have demonstrated remarkable success in text-to-image generation. While many existing alignment methods primarily focus on fine-tuning pre-trained generative models to maximize a given reward function, these approaches require extensive computational resources and may not generalize well across different objectives. In this work, we propose a novel alignment framework by leveraging the underlying nature of the alignment problem -- sampling from reward-weighted distributions -- and show that it applies to both diffusion models (via score guidance) and flow matching models (via velocity guidance). The score function (velocity field) required for the reward-weighted distribution can be decomposed into the pre-trained score (velocity field) plus a conditional expectation of the reward. For the alignment on the diffusion model, we identify a fundamental challenge: the adversarial nature of the guidance term can introduce undesirable artifacts in the generated images. Therefore, we propose a finetuning-free framework that trains a guidance network to estimate the conditional expectation of the reward. We achieve comparable performance to finetuning-based models with one-step generation with at least a 60% reduction in computational cost. For the alignment on flow matching, we propose a training-free framework that improves the generation quality without additional computational cost.

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

↑