arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.10458cs.LGcs.AI
收藏

我思故我扩散:在扩散模型中实现多模态上下文推理

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

The Hong Kong University of Science and Technology(香港科技大学)

Zhenxing Mi, Kuan-Chieh Wang, Guocheng Qian, Hanrong Ye, Runtao Liu, Sergey Tulyakov, Kfir Aberman, Dan Xu

AI总结:

提出 ThinkDiff 对齐范式,利用 VLM 与编码器-解码器 LLM 解码器对齐作为代理任务,使扩散模型获得多模态上下文推理与图文组合能力,并在 CoBSAT 上显著提升准确率。

摘要:

本文提出 ThinkDiff,这是一种新颖的对齐范式,通过融合视觉语言模型(VLM)的优势,使文本到图像扩散模型具备多模态上下文理解与推理能力。现有的多模态扩散微调方法主要聚焦像素级重建,而非上下文推理,并且受到基于推理的数据集复杂性高、可得性有限的制约。ThinkDiff 通过将视觉语言训练用作代理任务来应对这些挑战:把 VLM 与编码器-解码器式大型语言模型(LLM)的解码器对齐,而不是与扩散解码器对齐。该代理任务基于如下观察:LLM 解码器与使用相应 LLM 编码器进行提示嵌入的扩散解码器共享相同的输入特征空间。因此,将 VLM 与扩散解码器对齐,可以通过与 LLM 解码器对齐而得到简化。无需复杂训练和数据集,ThinkDiff 即可有效释放扩散模型中的理解、推理与组合能力。实验表明,在用于多模态上下文推理生成且颇具挑战性的 CoBSAT 基准上,ThinkDiff 将准确率从 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 $\textbf{LLM decoder}$ shares the same input feature space with $\textbf{diffusion decoders}$ that use the corresponding $\textbf{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.

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

↑