Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models
Not on the map. Why?
Abstract (arXiv)
Text-to-image generation models suffer from alignment problems, where generated images fail to accurately capture the objects and relations in the text prompt. Prior work has focused on improving alignment by refining the diffusion process, ignoring the role of the text encoder, which guides the diffusion. In this work, we investigate how semantic information is distributed across token representations in text-to-image prompts, analyzing it at two levels: (1) in-item representation-whether individual tokens represent their lexical item (i.e., a word or expression conveying a single concept), and (2) cross-item interaction-whether information flows between tokens of different lexical items. We use patching techniques to uncover encoding patterns, and find that information is usually concentrated in only one or two of the item's tokens; for example, in the item ``San Francisco's Golden Gate Bridge'', the token ``Gate'' sufficiently captures the entire expression while the other tokens could effectively be discarded. Lexical items also tend to remain isolated; for instance, in the prompt ``a green dog'', the token ``dog'' encodes no visual information about ``green''. However, in some cases, items do influence each other's representation, often leading to misinterpretations-e.g., in the prompt ``a pool by a table'', the token ``pool'' represents a ``pool table'' after contextualization. Our findings highlight the critical role of token-level encoding in image generation, and demonstrate that simple interventions at the encoding stage can substantially improve alignment and generation quality.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 43 of its 65 references that are in the map. First posted on arXiv 1 Apr 2025.
Builds on
43 of 65 references.
References · 43
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
- 2019Attention is not Explanationcited by 916
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
31 more
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelscited by 696
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 331
- 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 253
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 233
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignmentcited by 169
- 2019On Identifiability in Transformerscited by 115
- 2019Learning to Deceive with Attention-Based Explanationscited by 111
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 75
- 2024Be Yourself: Bounded Attention for Multi-Subject Text-to-Image Generationcited by 68
- 2022DALLE-2 is Seeing Double: Flaws in Word-to-Concept Mapping in Text2Image Modelscited by 50
- 2024From Tokens to Words: On the Inner Lexicon of LLMscited by 46
- 2024Monitoring Latent World States in Language Models with Propositional Probescited by 39
- 2024Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesiscited by 35
- 2023The Hidden Language of Diffusion Modelscited by 34
- 2024Diffusion Lens: Interpreting Text Encoders in Text-to-Image Pipelinescited by 28
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 27
- 2024Improving Compositional Attribute Binding in Text-to-Image Generative Models via Enhanced Text Embeddingscited by 18
- 2024Token Erasure as a Footprint of Implicit Vocabulary Items in LLMscited by 17
- 2024Does Liking Yellow Imply Driving a School Bus? Semantic Leakage in Language Modelscited by 14
- 2024T2I-FactualBench: Benchmarking the Factuality of Text-to-Image Models with Knowledge-Intensive Conceptscited by 12
- 2025Padding Tone: A Mechanistic Analysis of Padding Tokens in T2I Modelscited by 12
- 2024RAGDiffusion: Faithful Cloth Generation via External Knowledge Assimilationcited by 9
- 2024Repairing Catastrophic-Neglect in Text-to-Image Diffusion Models via Attention-Guided Feature Enhancementcited by 5
- 2024NL-Eye: Abductive NLI for Imagescited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025SAEdit: Token-level control for continuous image editing via Sparse AutoEncodercited by 8
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix Itcited by 6
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Modelscited by 2
- 2026Vision-Language Binding in In-Context Image Generationcited by 0
- 2026Vision-Language Binding in In-Context Image Generation23 May 2026
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It16 Apr 2026
- 2025DeLeaker: Dynamic Inference-Time Reweighting For Semantic Leakage Mitigation in Text-to-Image Models16 Oct 2025
- 2025SAEdit: Token-level control for continuous image editing via Sparse AutoEncoder6 Oct 2025