TheaterGen:基于 LLM 的角色管理用于一致的多轮图像生成
TheaterGen: Character Management with LLM for Consistent Multi-turn Image Generation
AI总结:
本文提出无需训练的框架 TheaterGen,利用 LLM 管理角色提示词与布局,结合 T2I 扩散模型生成图像,并引入 CMIGBench 基准,显著提升了多轮图像生成中的语义和上下文一致性。
摘要:
扩散模型的最新进展能够从文本生成高质量且令人惊叹的图像。然而,在实际场景中需求很高的多轮图像生成,在维持图像与文本之间的语义一致性,以及同一主体在多个交互轮次中的上下文一致性方面,仍面临挑战。为了解决这个问题,我们引入了 TheaterGen,这是一个无需训练的框架,集成了大型语言模型(LLMs)和文本到图像(T2I)模型,以提供多轮图像生成的能力。在该框架内,LLMs 充当“编剧”,参与多轮交互,生成并管理一个标准化的提示词手册,其中包含目标图像中每个角色的提示词和布局设计。基于此,TheaterGen 生成一系列角色图像并提取引导信息,类似于“排练”。随后,通过将提示词手册和引导信息纳入 T2I 扩散模型的反向去噪过程,TheaterGen 生成最终图像,如同进行“最终表演”。通过有效管理提示词手册和角色图像,TheaterGen 显著提升了合成图像的语义和上下文一致性。此外,我们引入了一个专用基准 CMIGBench(Consistent Multi-turn Image Generation Benchmark),包含 8000 条多轮指令。与以往的多轮基准不同,CMIGBench 不预先定义角色。CMIGBench 包含故事生成和多轮编辑任务以进行全面评估。大量实验结果表明,TheaterGen 显著优于最先进的方法。它将前沿的 Mini DALLE 3 模型的平均角色-角色相似度提升了 21%,平均文本-图像相似度提升了 19%。
英文摘要:
Recent advances in diffusion models can generate high-quality and stunning images from text. However, multi-turn image generation, which is of high demand in real-world scenarios, still faces challenges in maintaining semantic consistency between images and texts, as well as contextual consistency of the same subject across multiple interactive turns. To address this issue, we introduce TheaterGen, a training-free framework that integrates large language models (LLMs) and text-to-image (T2I) models to provide the capability of multi-turn image generation. Within this framework, LLMs, acting as a "Screenwriter", engage in multi-turn interaction, generating and managing a standardized prompt book that encompasses prompts and layout designs for each character in the target image. Based on these, Theatergen generate a list of character images and extract guidance information, akin to the "Rehearsal". Subsequently, through incorporating the prompt book and guidance information into the reverse denoising process of T2I diffusion models, Theatergen generate the final image, as conducting the "Final Performance". With the effective management of prompt books and character images, TheaterGen significantly improves semantic and contextual consistency in synthesized images. Furthermore, we introduce a dedicated benchmark, CMIGBench (Consistent Multi-turn Image Generation Benchmark) with 8000 multi-turn instructions. Different from previous multi-turn benchmarks, CMIGBench does not define characters in advance. Both the tasks of story generation and multi-turn editing are included on CMIGBench for comprehensive evaluation. Extensive experimental results show that TheaterGen outperforms state-of-the-art methods significantly. It raises the performance bar of the cutting-edge Mini DALLE 3 model by 21% in average character-character similarity and 19% in average text-image similarity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。