mlsanityData to 14 Oct 2026

Tree-of-Thoughts Reasoning for Text-to-Image In-Context Learning

arXiv 2607.07117 ↗First posted 8 Jul 2026cs.CV cs.AIcited by 0

On the map: LLM reasoning → Multimodal reasoning

Abstract (arXiv)

In text-to-image in-context learning (T2I-ICL), a model has to infer a latent compositional pattern from fewshot demonstrations for generating a query image. Recent studies show that state-of-the-art multimodal large language models struggle with this setting, particularly due to limited compositional reasoning and sensitivity to prompt construction. In this work, we propose a Tree-of-Thoughts (ToT) reasoning framework for T2I-ICL that introduces a multi-stage reasoning and selection layer that generates, evaluates, and selects among multiple candidate hypotheses before constructing the final prompt for image synthesis. By exploring alternative reasoning branches and selecting a coherent interpretation, the proposed approach mitigates prompt ambiguity and compositional errors. We implement the proposed approach in a complete ToT-T2IICL inference pipeline and evaluate it on the CoBSAT benchmark. Both qualitative and quantitative results show that structured multi-branch reasoning leads to more consistent and semantically aligned image generation compared to baseline and Chain-of-Thought prompting strategies, without any additional training or fine-tuning.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 20 of its 26 references that are in the map. First posted on arXiv 8 Jul 2026.

Builds on

20 of 26 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025ImageGen-CoT: Enhancing Text-to-Image In-context Learning with Chain-of-Thought Reasoning25 Mar
  2. 2024Analogist: Out-of-the-box Visual In-Context Learning with Image Diffusion Model16 May

Other references · 18

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  5. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  7. 2022Compositional Visual Generation with Composable Diffusion Modelscited by 624
  8. 2023Making LLaMA SEE and Draw with SEED Tokenizercited by 185
  9. 2023In-Context Learning Unlocked for Diffusion Modelscited by 104
  10. 2023Ranni: Taming Text-to-Image Diffusion for Accurate Instruction Followingcited by 77
  11. 2023Context Diffusion: In-Context Aware Image Generationcited by 21
  12. 2024Explaining generative diffusion models via visual analysis for interpretable decision-making processcited by 17
6 more
  1. 2020Few-Shot Learning with Geometric Constraintscited by 13
  2. 2024Can MLLMs Perform Text-to-Image In-Context Learning?cited by 13
  3. 2020Self-Augmentation: Generalizing Deep Networks to Unseen Classes for Few-Shot Learningcited by 9
  4. 2022Spatial Reasoning for Few-Shot Object Detectioncited by 6
  5. 2024VersaGen: Unleashing Versatile Visual Control for Text-to-Image Synthesiscited by 2
  6. 2025FlipConcept: Tuning-Free Multi-Concept Personalization for Text-to-Image Generationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Easier Painting Than Thinking: Can Text-to-Image Models Set the Stage, but Not Direct the Play?
  2. 2026StruVis: Enhancing Reasoning-based Text-to-Image Generation via Thinking with Structured Vision
  3. 2026Distilling Visual Reasoning into Text Space
  4. 2024Interleaved-Modal Chain-of-Thought
  5. 2025GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing
  6. 2025AStar: Boosting Multimodal Reasoning with Automated Structured Thinking
  7. 2026Render-of-Thought: Rendering Textual Chain-of-Thought as Images for Visual Latent Reasoning
  8. 2025QG-CoC: Question-Guided Chain-of-Captions for Large Multimodal Models