arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04412cs.CVcs.AIcs.CL
收藏

仅解码器架构的大语言模型是扩散模型更优的控制器

Decoder-Only LLMs are Better Controllers for Diffusion Models

Sun Yat-sen University(中山大学);Pengcheng Laboratory(鹏城实验室)

Ziyi Dong, Yao Xiao, Pengxu Wei, Liang Lin

AI总结:

本文提出通过适配器将仅解码器大语言模型的语义理解能力引入扩散模型,以提升文本到图像生成的质量与可靠性,并通过理论分析和实验验证了其优于现有方法。

摘要:

随着扩散模型的出现,文本到图像生成领域近期取得了突破性进展。这些模型展现出基于文本提示生成高度艺术化且细节精细图像的卓越能力。然而,要获得期望的生成结果,往往需要反复调整文本提示,就像对魔镜施咒一样,其背后原因是当前图像生成模型固有的语义理解能力有限。具体而言,现有扩散模型使用预训练编码器结构对文本提示输入进行编码,而该编码器通常只在有限数量的图像-文本对上训练。基于仅解码器(decoder-only)结构的最先进大语言模型(LLMs)展现出强大的语义理解能力,因为其架构更适合在大规模无标签数据上进行训练。本文提出通过借鉴大语言模型的语义理解优势来增强文本到图像扩散模型,并设计了一个简单而有效的适配器,使扩散模型能够兼容仅解码器结构。同时,我们还提供了针对不同架构(如仅编码器、编码器-解码器和仅解码器)的支撑性理论分析,并进行了广泛的实证评估以验证其有效性。实验结果表明,采用我们所提出的适配器模块增强后的模型在文本到图像生成质量和可靠性方面均优于现有最先进模型。

英文摘要:

Groundbreaking advancements in text-to-image generation have recently been achieved with the emergence of diffusion models. These models exhibit a remarkable ability to generate highly artistic and intricately detailed images based on textual prompts. However, obtaining desired generation outcomes often necessitates repetitive trials of manipulating text prompts just like casting spells on a magic mirror, and the reason behind that is the limited capability of semantic understanding inherent in current image generation models. Specifically, existing diffusion models encode the text prompt input with a pre-trained encoder structure, which is usually trained on a limited number of image-caption pairs. The state-of-the-art large language models (LLMs) based on the decoder-only structure have shown a powerful semantic understanding capability as their architectures are more suitable for training on very large-scale unlabeled data. In this work, we propose to enhance text-to-image diffusion models by borrowing the strength of semantic understanding from large language models, and devise a simple yet effective adapter to allow the diffusion models to be compatible with the decoder-only structure. Meanwhile, we also provide a supporting theoretical analysis with various architectures (e.g., encoder-only, encoder-decoder, and decoder-only), and conduct extensive empirical evaluations to verify its effectiveness. The experimental results show that the enhanced models with our adapter module are superior to the stat-of-the-art models in terms of text-to-image generation quality and reliability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑