mlsanityData to 14 Oct 2026

Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models

arXiv 2406.11831 ↗First posted 17 Jun 2024cs.CVcited by 45

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Large language models (LLMs) based on decoder-only transformers have demonstrated superior text understanding capabilities compared to CLIP and T5-series models. However, the paradigm for utilizing current advanced LLMs in text-to-image diffusion models remains to be explored. We observed an unusual phenomenon: directly using a large language model as the prompt encoder significantly degrades the prompt-following ability in image generation. We identified two main obstacles behind this issue. One is the misalignment between the next token prediction training in LLM and the requirement for discriminative prompt features in diffusion models. The other is the intrinsic positional bias introduced by the decoder-only architecture. To deal with this issue, we propose a novel framework to fully harness the capabilities of LLMs. Through the carefully designed usage guidance, we effectively enhance the text representation capability for prompt encoding and eliminate its inherent positional bias. This allows us to integrate state-of-the-art LLMs into the text-to-image generation model flexibly. Furthermore, we also provide an effective manner to fuse multiple LLMs into our framework. Considering the excellent performance and scaling capabilities demonstrated by the transformer architecture, we further design an LLM-Infused Diffusion Transformer (LI-DiT) based on the framework. We conduct extensive experiments to validate LI-DiT across model size and data size. Benefiting from the inherent ability of the LLMs and our innovative designs, the prompt understanding performance of LI-DiT easily surpasses state-of-the-art open-source models as well as mainstream closed-source commercial models including Stable Diffusion 3, DALL-E 3, and Midjourney V6. The LLM-Infused Diffuser framework is also one of the core technologies powering SenseMirage, a highly advanced text-to-image model.

Key facts. Cited by 45 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 50 of its 66 references that are in the map. First posted on arXiv 17 Jun 2024.

Builds on

50 of 66 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching4 Apr
  2. 2024Bridging Different Language Models and Generative Vision Models for Text-to-Image Generation12 Mar
  3. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment8 Mar
  4. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignment17 Oct
  5. 2023Grounded Text-to-Image Synthesis with Attention Refocusing8 Jun
  6. 2023RAPHAEL: Text-to-Image Generation via Large Mixture of Diffusion Paths29 May
  7. 2023LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Models23 May
  8. 2023SUR-adapter: Enhancing Text-to-Image Pre-trained Diffusion Models with Large Language Models9 May
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  10. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 40

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  7. 2022Training language models to follow instructions with human feedbackcited by 15,971
  8. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  9. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  10. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  11. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  12. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
28 more
  1. 2022Scalable Diffusion Models with Transformerscited by 6,054
  2. 2022Flow Matching for Generative Modelingcited by 5,702
  3. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  4. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  5. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  6. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  7. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  8. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
  9. 2023Qwen Technical Reportcited by 3,344
  10. 2019Root Mean Square Layer Normalizationcited by 1,480
  11. 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,216
  12. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
  13. 2023ShareGPT4V: Improving Large Multi-Modal Models with Better Captionscited by 1,005
  14. 2024Are We on the Right Way for Evaluating Large Vision-Language Models?cited by 914
  15. 2023CogVLM: Visual Expert for Pretrained Language Modelscited by 708
  16. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  17. 2023Instruction Tuning with GPT-4cited by 686
  18. 2023Baichuan 2: Open Large-scale Language Modelscited by 670
  19. 2024ShareGPT4Video: Improving Video Understanding and Generation with Better Captionscited by 388
  20. 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 347
  21. 2020Query-Key Normalization for Transformerscited by 280
  22. 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 260
  23. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
  24. 2024Lumina-T2X: Transforming Text into Any Modality, Resolution, and Duration via Flow-based Large Diffusion Transformerscited by 137
  25. 2024MoVA: Adapting Mixture of Vision Experts to Multimodal Contextcited by 83
  26. 2024Rethinking the Spatial Inconsistency in Classifier-Free Diffusion Guidancecited by 59
  27. 2024Be-Your-Outpainter: Mastering Video Outpainting through Input-Specific Adaptationcited by 29
  28. 2024Lumen: Unleashing Versatile Vision-Centric Capabilities of Large Multimodal Modelscited by 24

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 9; 2025: 22; 2026: 14.

45 papers.

Sort:

By area:

  1. 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,660
  2. 2025Step1X-Edit: A Practical Framework for General Image Editingcited by 429
  3. 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 340
  4. 2025Transfer between Modalities with MetaQueriescited by 236
  5. 2024HART: Efficient Visual Generation with Hybrid Autoregressive Transformercited by 132
  6. 2025Lumina-Image 2.0: A Unified and Efficient Image Generative Frameworkcited by 96
  7. 2025WebGen-Bench: Evaluating LLMs on Generating Interactive and Functional Websites from Scratchcited by 72
  8. 2025Ovis-U1 Technical Reportcited by 67
  9. 2024Scalable Ranked Preference Optimization for Text-to-Image Generationcited by 33
  10. 2025Frequency Autoregressive Image Generation with Continuous Tokenscited by 27
  11. 2024EasyRef: Omni-Generalized Group Image Reference for Diffusion Models via Multimodal LLMcited by 25
  12. 2024A Survey on Diffusion Models for Recommender Systemscited by 20
33 more
  1. 2024Mimir: Improving Video Diffusion Models for Precise Text Understandingcited by 16
  2. 2025Exploring the Deep Fusion of Large Language Models and Diffusion Transformers for Text-to-Image Synthesiscited by 16
  3. 2025Neighbor GRPO: Contrastive ODE Policy Optimization Aligns Flow Modelscited by 16
  4. 2025DC-AR: Efficient Masked Autoregressive Image Generation with Deep Compression Hybrid Tokenizercited by 13
  5. 2025X2I: Seamless Integration of Multimodal Understanding into Diffusion Transformer via Attention Distillationcited by 11
  6. 2025UniFusion: Vision-Language Model as Unified Encoder in Image Generationcited by 8
  7. 2025Diffusion Adaptive Text Embedding for Text-to-Image Diffusion Modelscited by 8
  8. 2024VEDIT: Latent Prediction Architecture For Procedural Video Representation Learningcited by 7
  9. 2025Towards Self-Improvement of Diffusion Models via Group Preference Optimizationcited by 7
  10. 2024Prompt-to-Slate: Diffusion Models for Prompt-Conditioned Slate Generationcited by 6
  11. 2026DLLM Agent: See Farther, Run Fastercited by 6
  12. 2025High-Fidelity Diffusion Face Swapping with ID-Constrained Facial Conditioningcited by 5
  13. 2026Denoising, Fast and Slow: Difficulty-Aware Adaptive Sampling for Image Generationcited by 5
  14. 2025Implicit Bias Injection Attacks against Text-to-Image Diffusion Modelscited by 4
  15. 2025Alignment with Fill-In-the-Middle for Enhancing Code Generationcited by 4
  16. 2026Semantic Routing: Exploring Multi-Layer LLM Feature Weighting for Diffusion Transformerscited by 4
  17. 2026AR-CoPO: Align Autoregressive Video Generation with Contrastive Policy Optimizationcited by 4
  18. 2026Improving Joint Audio-Video Generation with Cross-Modal Context Learningcited by 4
  19. 2026Baton: Explicit Semantic Blueprints for Joint Video-Audio Generationcited by 4
  20. 2025LDGen: Enhancing Text-to-Image Synthesis via Large Language Model-Driven Language Representationcited by 3
  21. 2025VIVAT: Virtuous Improving VAE Training through Artifact Mitigationcited by 3
  22. 2026Premier: Personalized Preference Modulation with Learnable User Embedding in Text-to-Image Generationcited by 3
  23. 2025Free Lunch Alignment of Text-to-Image Diffusion Models without Preference Image Pairscited by 2
  24. 2025GRAN-TED: Generating Robust, Aligned, and Nuanced Text Embedding for Diffusion Modelscited by 2
  25. 2026Exploring the Performance Frontier of Compact Unified Image Generation Modelscited by 2
  26. 2025veScale: Consistent and Efficient Tensor Programming with Eager-Mode SPMDcited by 1
  27. 2026Guiding Token-Sparse Diffusion Modelscited by 1
  28. 2026SSG: Scaled Spatial Guidance for Multi-Scale Visual Autoregressive Generationcited by 1
  29. 2026Unveiling the Secret of AdaLN-Zero in Diffusion Transformercited by 1
  30. 2025Synthetic Curriculum Reinforces Compositional Text-to-Image Generationcited by 0
  31. 2026Protect^*: Steerable Retrosynthesis through Neuro-Symbolic State Encodingcited by 0
  32. 2026Delta-K: Boosting Multi-Instance Generation via Cross-Attention Augmentationcited by 0
  33. 2026OccDirector: Language-Guided Behavior and Interaction Generation in 4D Occupancy Spacecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Decoder-Only LLMs are Better Controllers for Diffusion Models
  2. 2025A Comprehensive Study of Decoder-Only LLMs for Text-to-Image Generation
  3. 2024LLM4GEN: Leveraging Semantic Representation of LLMs for Text-to-Image Generation
  4. 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models
  5. 2024On Discrete Prompt Optimization for Diffusion Models
  6. 2026Text-to-Image Models Need Less from Text Encoders Than You Think
  7. 2025Rare Text Semantics Were Always There in Your Diffusion Transformer
  8. 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models