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

Mini-DALLE3:通过提示大型语言模型实现交互式文生图

Mini-DALLE3: Interactive Text to Image by Prompting Large Language Models

Shanghai AI Laboratory(上海人工智能实验室);CUHK(香港中文大学);Beijing Institute of Technology(北京理工大学);Tsinghua University(清华大学)

Zeqiang Lai, Xizhou Zhu, Jifeng Dai, Yu Qiao, Wenhai Wang

AI总结:

本文提出一种通过提示技术和现成T2I模型增强LLM的简单方法,实现无需训练的交互式文生图(iT2I),支持图像生成、编辑与问答,并在多种LLM上验证了其有效性和低代价。

摘要:

人工智能内容生成的革命随着文生图(T2I)扩散模型的蓬勃发展而迅速加速。在短短两年的发展时间内,最先进的模型能够生成前所未有的高质量、多样性和创造性的图像。然而,一个普遍存在的局限性仍然存在于使用自然语言描述与这些流行的T2I模型(如Stable Diffusion)进行有效沟通的过程中。这通常使得在没有提示工程专业知识(涉及复杂的词汇组合、魔法标签和注释)的情况下难以获得引人入胜的图像。受最近发布的DALLE3(一种直接内置在ChatGPT中、能说人类语言的T2I模型)的启发,我们重新审视现有的T2I系统,致力于对齐人类意图,并引入一个新任务——交互式文生图(iT2I),在该任务中,人们可以与大型语言模型(LLM)进行交互,以实现交错的高质量图像生成/编辑/细化,以及使用自然语言进行具有更强图像与文本对应关系的问答。为了解决iT2I问题,我们提出了一种简单的方法,通过提示技术和现成的T2I模型来增强LLM以实现iT2I。我们在不同LLM(如ChatGPT、LLAMA、Baichuan和InternLM)下的各种常见场景中评估了我们的iT2I方法。我们证明,我们的方法可以成为一种便捷且低成本的方式,为任何现有的LLM和任何文生图模型引入iT2I能力,而无需任何训练,同时对LLM在问答和代码生成等方面的固有能力的退化很小。我们希望这项工作能够引起更广泛的关注,并为提升人机交互中的用户体验以及下一代T2I系统的图像质量提供灵感。

英文摘要:

The revolution of artificial intelligence content generation has been rapidly accelerated with the booming text-to-image (T2I) diffusion models. Within just two years of development, it was unprecedentedly of high-quality, diversity, and creativity that the state-of-the-art models could generate. However, a prevalent limitation persists in the effective communication with these popular T2I models, such as Stable Diffusion, using natural language descriptions. This typically makes an engaging image hard to obtain without expertise in prompt engineering with complex word compositions, magic tags, and annotations. Inspired by the recently released DALLE3 - a T2I model directly built-in ChatGPT that talks human language, we revisit the existing T2I systems endeavoring to align human intent and introduce a new task - interactive text to image (iT2I), where people can interact with LLM for interleaved high-quality image generation/edit/refinement and question answering with stronger images and text correspondences using natural language. In addressing the iT2I problem, we present a simple approach that augments LLMs for iT2I with prompting techniques and off-the-shelf T2I models. We evaluate our approach for iT2I in a variety of common-used scenarios under different LLMs, e.g., ChatGPT, LLAMA, Baichuan, and InternLM. We demonstrate that our approach could be a convenient and low-cost way to introduce the iT2I ability for any existing LLMs and any text-to-image models without any training while bringing little degradation on LLMs' inherent capabilities in, e.g., question answering and code generation. We hope this work could draw broader attention and provide inspiration for boosting user experience in human-machine interactions alongside the image quality of the next-generation T2I systems.

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

↑