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

单提示单故事:使用单一提示实现免费午餐式的一致文本到图像生成

One-Prompt-One-Story: Free-Lunch Consistent Text-to-Image Generation Using a Single Prompt

Nankai University(南开大学);Computer Vision Center(计算机视觉中心);Universitat Autònoma de Barcelona(巴塞罗那自治大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Linkoping University(林雪平大学);SB Intuitions(SB直觉公司)

Tao Liu, Kai Wang, Senmao Li, Joost van de Weijer, Fahad Shahbaz Khan, Shiqi Yang, Yaxing Wang, Jian Yang, Ming-Ming Cheng

AI总结:

本文提出免训练的一致文本到图像生成方法1Prompt1Story,通过将多个提示拼接为单一输入并利用奇异值重加权与身份保持交叉注意力,在无需额外训练或修改模型架构的情况下实现角色身份一致的叙事图像生成。

摘要:

文本到图像生成模型能够根据输入提示创建高质量图像,但在支持叙事场景中保持身份一致性的需求方面仍存在困难。现有方法通常需要在大规模数据集上进行大量训练,或对原始模型架构进行额外修改,这限制了它们在不同领域和多样化扩散模型配置中的适用性。本文首先观察到语言模型的一种内在能力,我们称之为上下文一致性,即通过单一提示中的上下文来理解身份。受这种内在上下文一致性的启发,我们提出了一种新颖的免训练一致文本到图像(T2I)生成方法,命名为“One-Prompt-One-Story”(1Prompt1Story)。我们的方法1Prompt1Story将所有提示拼接为T2I扩散模型的单一输入,从而在初始阶段保持角色身份。随后,我们使用两种新技术来优化生成过程:奇异值重加权和身份保持交叉注意力,以确保每一帧更好地与输入描述对齐。在实验中,我们将所提方法与多种现有的一致T2I生成方法进行比较,通过定量指标和定性评估证明了其有效性。代码可在 https://github.com/byliutao/1Prompt1Story 获取。

英文摘要:

Text-to-image generation models can create high-quality images from input prompts. However, they struggle to support the consistent generation of identity-preserving requirements for storytelling. Existing approaches to this problem typically require extensive training in large datasets or additional modifications to the original model architectures. This limits their applicability across different domains and diverse diffusion model configurations. In this paper, we first observe the inherent capability of language models, coined context consistency, to comprehend identity through context with a single prompt. Drawing inspiration from the inherent context consistency, we propose a novel training-free method for consistent text-to-image (T2I) generation, termed "One-Prompt-One-Story" (1Prompt1Story). Our approach 1Prompt1Story concatenates all prompts into a single input for T2I diffusion models, initially preserving character identities. We then refine the generation process using two novel techniques: Singular-Value Reweighting and Identity-Preserving Cross-Attention, ensuring better alignment with the input description for each frame. In our experiments, we compare our method against various existing consistent T2I generation approaches to demonstrate its effectiveness through quantitative metrics and qualitative assessments. Code is available at https://github.com/byliutao/1Prompt1Story.

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

↑