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

Zhenxing Mi, K. Wang, Guocheng Qian, Hanrong Ye, Runtao Liu +3 more
2/14/2026

No official code found. Best implementation: MiZhenxing/ThinkDiff (191 stars, MIT, last commit 2025-09-07).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

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

1918Shell, PythonFeb 17, 20251 years agoMIT
diffusion-modelsin-context-learningreasoningvision-language-model

Similar Papers

Cite this paper

@article{mi2026think,
  title  = {I Think, Therefore I Diffuse: Enabling Multimodal In-Context Reasoning in Diffusion Models},
  author = {Zhenxing Mi and K. Wang and Guocheng Qian and Hanrong Ye and Runtao Liu and Sergey Tulyakov and Kfir Aberman and Dan Xu},
  year   = {2026},
  eprint = {2502.10458},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.10458},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.10458.svg)](https://codeofpaper.com/paper/2502.10458)

Discussion