Lune

CVPR2025Top-tier venue

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

Andrew Z. Wang, Songwei Ge, Tero Karras, Ming-Yu Liu, Yogesh Balaji

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Scalable Diffusion Models with Transformers
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generation cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiency cites High-Resolution Image Synthesis with Latent Diffusion Models
  • MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiency cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiency cites Scalable Diffusion Models with Transformers
  • MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiency cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Scalable Diffusion Models with Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Scalable Diffusion Models with Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • Scalable Diffusion Models with Transformers cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • DuoGen: Towards Autonomous Interleaved Multimodal Generation cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. MIRO: MultI-Reward cOnditioned pretraining improves T2I quality and efficiencyNicolas Dufour, Lucas Degeorge, Arijit Ghosh, Vicky Kalogeiton et al.ICML 2026 · 2 citations
  2. Curriculum Group Policy Optimization: Adaptive Sampling for Unleashing the Potential of Text-to-Image GenerationBaoteng Li, Xianghao Zang, Xinran Wang, Xiangyu Na et al.CVPR 2026
  3. DuoGen: Towards Autonomous Interleaved Multimodal GenerationMin Shi, Xiaohui Zeng, Jiannan Huang, Yin Cui et al.CVPR 2026

Builds on21

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  3. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
  4. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
  5. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations

Related papers

  1. Exploring the Role of Large Language Models in Prompt Encoding for Diffusion ModelsBingqi Ma, Zhuofan Zong, Guanglu Song, Hongsheng Li et al.NeurIPS 2024 · 57 citations
  2. Decoder-Only LLMs are Better Controllers for Diffusion ModelsZiyi Dong, Yao Xiao, Pengxu Wei, Liang LinACM MM 2024 · 3 citations
  3. De-Diffusion Makes Text a Strong Cross-Modal InterfaceChen Wei, Chenxi Liu, Siyuan Qiao, Zhishuai Zhang et al.CVPR 2024
  4. Scaling Down Text Encoders of Text-to-Image Diffusion ModelsLifu Wang, Daqing Liu, Xinchen Liu, Xiaodong HeCVPR 2025
  5. VSC: Visual Search Compositional Text-to-Image Diffusion ModelDo Huu Dat, Nam Hyeon-Woo, Po Yuan Mao, Tae-Hyun OhICCV 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines