2025-02-18 · 专家 · 计算机视觉 · 自然语言处理 · 多模态

I Think, Therefore I Diffuse: Enabling Multimodal In-Context Reasoning in Diffusion Models

本文提出了一种名为ThinkDiff的新方法,通过视觉-语言训练将视觉语言模型的多模态上下文推理能力转移到扩散模型中,从而增强扩散模型在图像生成中的推理能力。

更新于 2025-02-18。作者:Zhenxing Mi、Kuan-Chieh Wang、Guocheng Qian、Hanrong Ye、Runtao Liu、Sergey Tulyakov、Kfir Aberman、Dan Xu。

中文摘要

本文提出了ThinkDiff,一种新型的对齐范式,通过整合视觉-语言模型(VLMs)的优势,赋予了文本到图像扩散模型多模态的情境理解和推理能力。现有的多模态扩散微调方法主要关注像素级别的重建,而不是情境推理,并且受到基于推理的数据集复杂性和可用性有限的限制。ThinkDiff通过利用视觉-语言训练作为代理任务来解决这些挑战,将VLMs与编码器-解码器大型语言模型(LLM)的解码器对齐,而不是扩散解码器。这个代理任务基于观察,即LLM解码器与使用相应LLM编码器进行提示嵌入的扩散解码器共享相同的输入特征空间。因此,通过与LLM解码器对齐,可以简化VLMs与扩散解码器的对齐。无需复杂的训练和数据集,ThinkDiff有效地释放了扩散模型中的理解、推理和创作能力。实验表明,ThinkDiff在具有挑战性的CoBSAT多模态情境推理生成基准测试上显著提高了准确率,从19.2%提升到46.3%,仅需在4个A100 GPU上训练5小时。此外,ThinkDiff在将多张图像和文本组合成逻辑上连贯的图像方面也表现出卓越的性能。项目页面:https://mizhenxing.github.io/ThinkDiff。

英文摘要

This paper presents ThinkDiff, a novel alignment paradigm that empowers text-to-image diffusion models with multimodal in-context understanding and reasoning capabilities by integrating the strengths of vision-language models (VLMs). Existing multimodal diffusion finetuning methods largely focus on pixel-level reconstruction rather than in-context reasoning, and are constrained by the complexity and limited availability of reasoning-based datasets. ThinkDiff addresses these challenges by leveraging vision-language training as a proxy task, aligning VLMs with the decoder of an encoder-decoder large language model (LLM) instead of a diffusion decoder. This proxy task builds on the observation that the LLM decoder shares the same input feature space with diffusion decoders that use the corresponding LLM encoder for prompt embedding. As a result, aligning VLMs with diffusion decoders can be simplified through alignment with the LLM decoder. Without complex training and datasets, ThinkDiff effectively unleashes understanding, reasoning, and composing capabilities in diffusion models. Experiments demonstrate that ThinkDiff significantly improves accuracy from 19.2% to 46.3% on the challenging CoBSAT benchmark for multimodal in-context reasoning generation, with only 5 hours of training on 4 A100 GPUs. Additionally, ThinkDiff demonstrates exceptional performance in composing multiple images and texts into logically coherent images. Project page: https://mizhenxing.github.io/ThinkDiff.

解读

一句话总结

本文提出了一种名为ThinkDiff的新方法,通过视觉-语言训练将视觉语言模型的多模态上下文推理能力转移到扩散模型中,从而增强扩散模型在图像生成中的推理能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源