arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.15466cs.CV
收藏

具备修复能力的大规模文本到图像模型是一种零样本主体驱动图像生成器

Large-Scale Text-to-Image Model with Inpainting is a Zero-Shot Subject-Driven Image Generator

Data Science and AI Laboratory, ECE, Seoul National University(数据科学与人工智能实验室、电子与计算机工程系、首尔国立大学);AIIS, ASRI, INMC, ISRC, and Interdisciplinary Program in AI, Seoul National University(人工智能研究所、人工智能研究室、智能网络与计算中心、信息科学与工程系以及人工智能交叉学科项目、首尔国立大学)

Chaehun Shin, Jooyoung Choi, Heeseung Kim, Sungroh Yoon

AI总结:

本文提出Diptych Prompting零样本方法,将主体驱动生成重新解释为双联画修复任务,通过背景移除和注意力增强实现精确主体对齐,显著优于现有零样本图像提示方法,并支持风格化生成与主体驱动编辑。

摘要:

主体驱动的文本到图像生成旨在通过准确捕捉主体的视觉特征和文本提示的语义内容,在期望的上下文中生成新主体的图像。传统方法依赖耗时且资源密集的微调来实现主体对齐,而近期的零样本方法利用即时的图像提示,但往往牺牲主体对齐。在本文中,我们提出了Diptych Prompting,这是一种新颖的零样本方法,通过利用大规模文本到图像模型中双联画生成的涌现特性,将其重新解释为具有精确主体对齐的修复任务。Diptych Prompting将参考图像置于左侧面板,构成一幅不完整的双联画,并在右侧面板上执行以文本为条件的修复。我们进一步通过移除参考图像中的背景来防止不必要的内容泄漏,并通过在修复过程中增强面板之间的注意力权重来改善生成主体的细粒度细节。实验结果证实,我们的方法显著优于零样本图像提示方法,生成的图像在视觉上更受用户青睐。此外,我们的方法不仅支持主体驱动生成,还支持风格化图像生成和主体驱动图像编辑,展示了在多种图像生成应用中的通用性。项目页面:https://diptychprompting.github.io/

英文摘要:

Subject-driven text-to-image generation aims to produce images of a new subject within a desired context by accurately capturing both the visual characteristics of the subject and the semantic content of a text prompt. Traditional methods rely on time- and resource-intensive fine-tuning for subject alignment, while recent zero-shot approaches leverage on-the-fly image prompting, often sacrificing subject alignment. In this paper, we introduce Diptych Prompting, a novel zero-shot approach that reinterprets as an inpainting task with precise subject alignment by leveraging the emergent property of diptych generation in large-scale text-to-image models. Diptych Prompting arranges an incomplete diptych with the reference image in the left panel, and performs text-conditioned inpainting on the right panel. We further prevent unwanted content leakage by removing the background in the reference image and improve fine-grained details in the generated subject by enhancing attention weights between the panels during inpainting. Experimental results confirm that our approach significantly outperforms zero-shot image prompting methods, resulting in images that are visually preferred by users. Additionally, our method supports not only subject-driven generation but also stylized image generation and subject-driven image editing, demonstrating versatility across diverse image generation applications. Project page: https://diptychprompting.github.io/

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

↑