LLM4GEN: Leveraging Semantic Representation of LLMs for Text-to-Image Generation
Diffusion models have exhibited substantial success in text-to-image generation. However, they often encounter challenges when dealing with complex and dense prompts involving multiple objects, attribute binding, and long descriptions. In this paper, we propose a novel framework called LLM4GEN, which enhances the semantic understanding of text-to-image diffusion models by leveraging the representation of Large Language Models (LLMs). It can be seamlessly incorporated into various diffusion models as a plug-and-play component. A specially designed Cross-Adapter Module (CAM) integrates the original text features of text-to-image models with LLM features, thereby enhancing text-to-image generation. Additionally, to facilitate and correct entity-attribute relationships in text prompts, we develop an entity-guided regularization loss to further improve generation performance. We also introduce DensePrompts, which contains 7,000 dense prompts to provide a comprehensive evaluation for the text-to-image generation task. Experiments indicate that LLM4GEN significantly improves the semantic alignment of SD1.5 and SDXL, demonstrating increases of 9.69% and 12.90% in color on T2I-CompBench, respectively. Moreover, it surpasses existing models in terms of sample quality, image-text alignment, and human evaluation.
Authors
- Jun Dan (ORCID: https://orcid.org/0000-0001-7945-3608)
- Zhen Yang (ORCID: https://orcid.org/0000-0003-0670-4538)
- Changjie Fan (ORCID: https://orcid.org/0000-0001-5420-0516)
- Mushui Liu (ORCID: https://orcid.org/0000-0002-2909-7702)
- Yuhang Ma (ORCID: https://orcid.org/0000-0002-4734-1019)
- Bai Liu (ORCID: https://orcid.org/0000-0003-2020-4214)
- Yunlong Yu
- Zhipeng Hu (ORCID: https://orcid.org/0000-0003-4367-0816)
- Zeng Zhao
Institutions
- Hong Kong University of Science and Technology (HK)
- NetEase (China) (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i5.32588
- Citations
- 11
- Primary Topic
- Mathematics, Computing, and Information Processing
- Type
- article
- Field-Weighted Citation Impact
- 23.97
Funders
- National Natural Science Foundation of China
- Science and Technology Innovation 2025 Major Project of Ningbo
- Natural Science Foundation of Zhejiang Province