LLM4GEN:利用 LLM 的语义表示进行文本到图像生成
LLM4GEN: Leveraging Semantic Representation of LLMs for Text-to-Image Generation
AI总结:
提出 LLM4GEN 框架,通过交叉适配器模块融合 LLM 特征与文本特征,并引入实体引导正则化损失和 DensePrompts 数据集,显著提升了文本到图像扩散模型的语义对齐与生成质量。
摘要:
扩散模型在文本到图像生成中取得了显著成功。然而,在处理涉及多个对象、属性绑定和长描述的复杂密集提示时,它们常遇到挑战。本文提出一个名为 LLM4GEN 的新框架,通过利用大语言模型(LLMs)的表示来增强文本到图像扩散模型的语义理解。它可以作为即插即用组件无缝集成到各种扩散模型中。专门设计的交叉适配器模块(CAM)将文本到图像模型的原始文本特征与 LLM 特征相结合,从而增强文本到图像生成。此外,为促进和纠正文本提示中的实体-属性关系,我们开发了实体引导正则化损失以进一步提升生成性能。我们还引入了 DensePrompts,包含 7,000 个密集提示,为文本到图像生成任务提供全面评估。实验表明,LLM4GEN 显著提升了 SD1.5 和 SDXL 的语义对齐,在 T2I-CompBench 上的颜色指标分别提升了 9.69% 和 12.90%。此外,它在样本质量、图文对齐和人类评估方面均超越了现有模型。
英文摘要:
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 \textbf{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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。