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

Reflect-DiT:通过上下文内反思实现文本到图像 Diffusion Transformer 的推理时扩展

Reflect-DiT: Inference-Time Scaling for Text-to-Image Diffusion Transformers via In-Context Reflection

UCLA(加利福尼亚大学洛杉矶分校);Panasonic AI Research(松下人工智能研究院);Salesforce AI Research(赛富时人工智能研究院)

Shufan Li, Konstantinos Kallidromitis, Akash Gokul, Arsh Koneru, Yusuke Kato, Kazuki Kozuka, Aditya Grover

AI总结:

本文提出 Reflect-DiT,让文本到图像 Diffusion Transformer 借助历史图像示例与文本反馈进行上下文内反思,以少量样本在 GenEval 上达到 0.81 的最先进成绩。

摘要:

推进文本到图像生成的主流方法一直是训练时扩展,即使用更多计算资源,在更多数据上训练更大的模型。尽管有效,但该方法计算成本高昂,因此人们越来越关注通过推理时扩展来提升性能。目前,文本到图像扩散模型的推理时扩展在很大程度上局限于 best-of-N 采样:针对每个提示生成多张图像,并由选择模型挑选最佳输出。受 DeepSeek-R1 等推理模型近期在语言领域取得成功的启发,我们提出一种朴素 best-of-N 采样的替代方案,为文本到图像 Diffusion Transformer 赋予上下文内反思能力。我们提出 Reflect-DiT,该方法使 Diffusion Transformer 能够利用先前生成图像的上下文示例,以及描述必要改进的文本反馈,来完善其生成结果。Reflect-DiT 并非被动依赖随机采样、寄希望于未来生成中出现更好结果,而是显式调整生成内容,以解决需要增强的具体方面。实验结果表明,以 SANA-1.0-1.6B 作为基础模型时,Reflect-DiT 在 GenEval 基准上提升了性能(+0.19)。此外,它在每个提示仅生成 20 个样本的情况下,于 GenEval 上取得 0.81 的全新最先进分数,超过了此前 0.80 的最佳分数;后者由明显更大的模型(SANA-1.5-4.8B)在 best-of-N 方法下使用 2048 个样本获得。

英文摘要:

The predominant approach to advancing text-to-image generation has been training-time scaling, where larger models are trained on more data using greater computational resources. While effective, this approach is computationally expensive, leading to growing interest in inference-time scaling to improve performance. Currently, inference-time scaling for text-to-image diffusion models is largely limited to best-of-N sampling, where multiple images are generated per prompt and a selection model chooses the best output. Inspired by the recent success of reasoning models like DeepSeek-R1 in the language domain, we introduce an alternative to naive best-of-N sampling by equipping text-to-image Diffusion Transformers with in-context reflection capabilities. We propose Reflect-DiT, a method that enables Diffusion Transformers to refine their generations using in-context examples of previously generated images alongside textual feedback describing necessary improvements. Instead of passively relying on random sampling and hoping for a better result in a future generation, Reflect-DiT explicitly tailors its generations to address specific aspects requiring enhancement. Experimental results demonstrate that Reflect-DiT improves performance on the GenEval benchmark (+0.19) using SANA-1.0-1.6B as a base model. Additionally, it achieves a new state-of-the-art score of 0.81 on GenEval while generating only 20 samples per prompt, surpassing the previous best score of 0.80, which was obtained using a significantly larger model (SANA-1.5-4.8B) with 2048 samples under the best-of-N approach.

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

↑