arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07860cs.CV
收藏

桥接不同语言模型与生成式视觉模型以实现文本到图像生成

Bridging Different Language Models and Generative Vision Models for Text-to-Image Generation

The University of Hong Kong(香港大学);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology(香港科技大学)

Shihao Zhao, Shaozhe Hao, Bojia Zi, Huaizhe Xu, Kwan-Yee K. Wong

AI总结:

针对文本到图像生成中不同语言模型与生成式视觉模型的整合需求,本文提出即插即用的LaVi-Bridge流水线,通过LoRA与适配器实现多模型兼容,有效提升文本对齐与图像质量。

摘要:

文本到图像生成技术随着文本到图像扩散模型的出现取得了显著进展。这类模型通常由解读用户提示词的语言模型和生成对应图像的视觉模型组成。随着语言模型和视觉模型在各自领域持续发展,探索用更先进的同类组件替换文本到图像扩散模型中的部件具备巨大潜力。因此,一个更广泛的研究目标是探究如何将任意两个无关联的语言模型与生成式视觉模型整合,以用于文本到图像生成。本文针对这一目标展开研究,提出了LaVi-Bridge——一种可整合多种预训练语言模型与生成式视觉模型以实现文本到图像生成的流水线。通过利用LoRA(低秩适配)和适配器,LaVi-Bridge提供了一种灵活的即插即用方案,无需修改语言模型与视觉模型的原始权重。我们的流水线可兼容多种语言模型与生成式视觉模型,适配不同的架构。在该框架下,我们证明引入更优模块(如更先进的语言模型或生成式视觉模型),可在文本对齐度、图像质量等能力上带来显著提升。我们已开展大量评估以验证LaVi-Bridge的有效性,代码可在https://github.com/ShihaoZhaoZSH/LaVi-Bridge 获取。

英文摘要:

Text-to-image generation has made significant advancements with the introduction of text-to-image diffusion models. These models typically consist of a language model that interprets user prompts and a vision model that generates corresponding images. As language and vision models continue to progress in their respective domains, there is a great potential in exploring the replacement of components in text-to-image diffusion models with more advanced counterparts. A broader research objective would therefore be to investigate the integration of any two unrelated language and generative vision models for text-to-image generation. In this paper, we explore this objective and propose LaVi-Bridge, a pipeline that enables the integration of diverse pre-trained language models and generative vision models for text-to-image generation. By leveraging LoRA and adapters, LaVi-Bridge offers a flexible and plug-and-play approach without requiring modifications to the original weights of the language and vision models. Our pipeline is compatible with various language models and generative vision models, accommodating different structures. Within this framework, we demonstrate that incorporating superior modules, such as more advanced language models or generative vision models, results in notable improvements in capabilities like text alignment or image quality. Extensive evaluations have been conducted to verify the effectiveness of LaVi-Bridge. Code is available at https://github.com/ShihaoZhaoZSH/LaVi-Bridge.

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

↑