arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.16080cs.CV
收藏

从反思到完美:通过反思调优扩展文本到图像扩散模型的推理时优化

From Reflection to Perfection: Scaling Inference-Time Optimization for Text-to-Image Diffusion Models via Reflection Tuning

CUHK MMLab(香港中文大学多模态实验室);KAUST(科威特科学与技术研究中心);Hugging Face(Hugging Face公司);Shanghai AI Lab(上海人工智能实验室)

Le Zhuo, Liangbing Zhao, Sayak Paul, Yue Liao, Renrui Zhang, Yi Xin, Peng Gao, Mohamed Elhoseiny, Hongsheng Li

AI总结:

针对文本到图像扩散模型在复杂场景中的不足,提出ReflectionFlow推理时框架,通过噪声级、提示级和反思级三轴扩展,并利用百万级数据集GenRef调优FLUX.1-dev,显著提升图像质量。

摘要:

近期,通过大规模扩展训练数据和模型参数,文本到图像扩散模型在视觉质量上取得了显著成就,但在处理复杂场景和细节方面仍面临挑战。受大型语言模型中涌现的自我反思能力的启发,我们提出了ReflectionFlow,一个推理时框架,使扩散模型能够迭代地反思并改进其输出。ReflectionFlow引入了三个互补的推理时扩展轴:(1)噪声级扩展,用于优化潜在初始化;(2)提示级扩展,用于精确的语义引导;以及最值得注意的是,(3)反思级扩展,它明确提供可操作的反思,以迭代评估和纠正先前的生成。为了促进反思级扩展,我们构建了GenRef,一个大规模数据集,包含100万个三元组,每个三元组包含一个反思、一个有缺陷的图像和一个增强图像。利用该数据集,我们通过在一个统一框架内联合建模多模态输入,对最先进的扩散Transformer FLUX.1-dev进行高效的反思调优。实验结果表明,ReflectionFlow显著优于朴素的噪声级扩展方法,为在具有挑战性的任务上实现更高质量的图像合成提供了一种可扩展且计算高效的解决方案。

英文摘要:

Recent text-to-image diffusion models achieve impressive visual quality through extensive scaling of training data and model parameters, yet they often struggle with complex scenes and fine-grained details. Inspired by the self-reflection capabilities emergent in large language models, we propose ReflectionFlow, an inference-time framework enabling diffusion models to iteratively reflect upon and refine their outputs. ReflectionFlow introduces three complementary inference-time scaling axes: (1) noise-level scaling to optimize latent initialization; (2) prompt-level scaling for precise semantic guidance; and most notably, (3) reflection-level scaling, which explicitly provides actionable reflections to iteratively assess and correct previous generations. To facilitate reflection-level scaling, we construct GenRef, a large-scale dataset comprising 1 million triplets, each containing a reflection, a flawed image, and an enhanced image. Leveraging this dataset, we efficiently perform reflection tuning on state-of-the-art diffusion transformer, FLUX.1-dev, by jointly modeling multimodal inputs within a unified framework. Experimental results show that ReflectionFlow significantly outperforms naive noise-level scaling methods, offering a scalable and compute-efficient solution toward higher-quality image synthesis on challenging tasks.

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

↑