mlsanityData to 14 Oct 2026

A Comprehensive Study of Decoder-Only LLMs for Text-to-Image Generation

arXiv 2506.08210 ↗First posted 9 Jun 2025cs.CV cs.AI cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

Both text-to-image generation and large language models (LLMs) have made significant advancements. However, many text-to-image models still employ the somewhat outdated T5 and CLIP as their text encoders. In this work, we investigate the effectiveness of using modern decoder-only LLMs as text encoders for text-to-image diffusion models. We build a standardized training and evaluation pipeline that allows us to isolate and evaluate the effect of different text embeddings. We train a total of 27 text-to-image models with 12 different text encoders to analyze the critical aspects of LLMs that could impact text-to-image generation, including the approaches to extract embeddings, different LLMs variants, and model sizes. Our experiments reveal that the de facto way of using last-layer embeddings as conditioning leads to inferior performance. Instead, we explore embeddings from various layers and find that using layer-normalized averaging across all layers significantly improves alignment with complex prompts. Most LLMs with this conditioning outperform the baseline T5 model, showing enhanced performance in advanced visio-linguistic reasoning skills.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 56 of its 74 references that are in the map. First posted on arXiv 9 Jun 2025.

Builds on

56 of 74 references.

References · 56

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  9. 2022Scalable Diffusion Models with Transformerscited by 6,054
  10. 2022Classifier-Free Diffusion Guidancecited by 5,847
  11. 2024GPT-4o System Cardcited by 4,588
  12. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
38 more
  1. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  2. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  4. 2023Mistral 7Bcited by 3,164
  5. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  6. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
  7. 2024Qwen2 Technical Reportcited by 2,120
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  9. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  10. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  11. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoiserscited by 931
  12. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  13. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  14. 2022MTEB: Massive Text Embedding Benchmarkcited by 640
  15. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 529
  16. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  17. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 475
  18. 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 474
  19. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
  20. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
  21. 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 428
  22. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  23. 2023Analyzing and Improving the Training Dynamics of Diffusion Modelscited by 402
  24. 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 340
  25. 2023Common Diffusion Noise Schedules and Sample Steps are Flawedcited by 310
  26. 2023Improving Text Embeddings with Large Language Modelscited by 303
  27. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Modelscited by 243
  28. 2023TextDiffuser-2: Unleashing the Power of Language Models for Text Renderingcited by 140
  29. 2024Lumina-T2X: Transforming Text into Any Modality, Resolution, and Duration via Flow-based Large Diffusion Transformerscited by 137
  30. 2024GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generationcited by 135
  31. 2022Analyzing Transformers in Embedding Spacecited by 132
  32. 2024Lumina-Next: Making Lumina-T2X Stronger and Faster with Next-DiTcited by 132
  33. 2024Playground v3: Improving Text-to-Image Alignment with Deep-Fusion Large Language Modelscited by 116
  34. 2023What You See is What You Read? Improving Text-Image Alignment Evaluationcited by 108
  35. 2022Character-Aware Models Improve Visual Text Renderingcited by 92
  36. 2024Repetition Improves Language Model Embeddingscited by 72
  37. 2024Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semanticscited by 44
  38. 2024Revisiting Text-to-Image Evaluation with Gecko: On Metrics, Prompts, and Human Ratingscited by 44

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 6.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models
  2. 2025Decoder-Only LLMs are Better Controllers for Diffusion Models
  3. 2024LLM4GEN: Leveraging Semantic Representation of LLMs for Text-to-Image Generation
  4. 2024LMFusion: Adapting Pretrained Language Models for Multimodal Generation
  5. 2023Generating Images with Multimodal Language Models
  6. 2025Text or Pixels? It Takes Half: On the Token Efficiency of Visual Text Inputs in Multimodal LLMs
  7. 2026Text-to-Image Models Need Less from Text Encoders Than You Think
  8. 2023Muse: Text-To-Image Generation via Masked Generative Transformers