From Reflection to Perfection: Scaling Inference-Time Optimization for Text-to-Image Diffusion Models via Reflection Tuning
该论文提出了一种名为ReflectionFlow的推理时优化框架,通过迭代反思和改进,显著提高了文本到图像扩散模型在复杂场景和细节上的生成质量。
更新于 2025-04-24。作者:Le Zhuo、Liangbing Zhao、Sayak Paul、Yue Liao、Renrui Zhang、Yi Xin、Peng Gao、Mohamed Elhoseiny、Hongsheng Li。
中文摘要
近期,通过大量扩展训练数据和模型参数,文本到图像的扩散模型实现了令人印象深刻的视觉质量,但它们在处理复杂场景和精细细节时往往力不从心。受大型语言模型中涌现的自我反思能力的启发,我们提出了ReflectionFlow,这是一个推理时框架,使扩散模型能够迭代地反思和细化其输出。ReflectionFlow引入了三个互补的推理时扩展轴:(1) 噪声水平扩展,以优化潜在初始化;(2) 提示级别扩展,用于精确的语义引导;最值得注意的是,(3) 反思级别扩展,它明确地提供可操作的反思,以迭代评估和纠正先前生成的内容。为了促进反思级别扩展,我们构建了GenRef,这是一个包含100万个三元组的的大型数据集,每个三元组包含一个反思、一个有缺陷的图像和一个增强的图像。利用这个数据集,我们在统一的框架内联合建模多模态输入,对最先进的扩散变压器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.
解读
一句话总结
该论文提出了一种名为ReflectionFlow的推理时优化框架,通过迭代反思和改进,显著提高了文本到图像扩散模型在复杂场景和细节上的生成质量。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:文本到图像扩散模型在生成复杂场景和精细细节时存在困难。
- 现有方案不足:现有的推理时优化方法主要关注并行噪声空间搜索策略,缺乏对迭代自我改进的探索。
- 研究目标:通过迭代反思和改进,提高文本到图像扩散模型的生成质量。
问题2:论文的核心创新点是什么?
- 技术创新:提出了ReflectionFlow框架,通过噪声级别、提示级别和反思级别三个维度进行推理时计算扩展。
- 方法改进:构建了GenRef数据集,包含100万个包含反思、错误图像和增强图像的三元组,用于训练和优化模型。
- 优势:通过迭代反思和改进,显著提高了生成质量,同时保持了预训练分布的连续性。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在GenEval基准测试上对ReflectionFlow进行了评估。
- 性能提升:与基线模型相比,ReflectionFlow在所有三个评估维度上均取得了显著的性能提升。
- 对比结果:与现有的推理时扩展方法相比,ReflectionFlow在生成质量上取得了显著的提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:可用于生成高质量的图像,特别是在复杂场景和细节方面。
- 实施建议:使用ReflectionFlow框架可以有效地提高文本到图像扩散模型的性能。
- 局限与展望:目前,ReflectionFlow主要针对文本到图像扩散模型,未来可以扩展到其他类型的生成模型。